From c87daec6f009b45054ad64076b7fafa98412b76d Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Thu, 12 May 2022 07:27:47 +0000 Subject: [PATCH] CodeGen from PR 18849 in Azure/azure-rest-api-specs Fix incorrect description prefix (#18849) --- .../2016-07-07/apimanagement/CHANGELOG.md | 2 +- .../mgmt/2016-07-07/apimanagement/_meta.json | 2 +- .../2016-10-10/apimanagement/CHANGELOG.md | 2 +- .../mgmt/2016-10-10/apimanagement/_meta.json | 2 +- .../2017-03-01/apimanagement/CHANGELOG.md | 2 +- .../mgmt/2017-03-01/apimanagement/_meta.json | 2 +- .../mgmt/2017-03-01/apimanagement/models.go | 4 +- .../2018-01-01/apimanagement/CHANGELOG.md | 2 +- .../mgmt/2018-01-01/apimanagement/_meta.json | 2 +- .../mgmt/2018-01-01/apimanagement/models.go | 6 +- .../2019-01-01/apimanagement/CHANGELOG.md | 2 +- .../mgmt/2019-01-01/apimanagement/_meta.json | 2 +- .../mgmt/2019-01-01/apimanagement/models.go | 6 +- .../2019-12-01/apimanagement/CHANGELOG.md | 2 +- .../mgmt/2019-12-01/apimanagement/_meta.json | 2 +- .../mgmt/2019-12-01/apimanagement/enums.go | 20 +- .../mgmt/2019-12-01/apimanagement/models.go | 6 +- .../2020-12-01/apimanagement/CHANGELOG.md | 44 +- .../mgmt/2020-12-01/apimanagement/_meta.json | 2 +- .../2020-12-01/apimanagement/contentitem.go | 11 +- .../2020-12-01/apimanagement/contenttype.go | 14 +- .../mgmt/2020-12-01/apimanagement/models.go | 149 +- .../apimanagement/portalrevision.go | 9 +- .../2021-08-01/apimanagement/CHANGELOG.md | 64 +- .../mgmt/2021-08-01/apimanagement/_meta.json | 2 +- .../apimanagementapi/interfaces.go | 12 + .../2021-08-01/apimanagement/apischema.go | 20 +- .../mgmt/2021-08-01/apimanagement/enums.go | 15 + .../2021-08-01/apimanagement/globalschema.go | 546 + .../mgmt/2021-08-01/apimanagement/models.go | 314 +- .../privateendpointconnection.go | 6 +- .../apimanagement/CHANGELOG.md | 2 +- .../apimanagement/_meta.json | 2 +- .../apimanagement/models.go | 6 +- .../apimanagement/CHANGELOG.md | 2 +- .../apimanagement/_meta.json | 2 +- .../apimanagement/models.go | 6 +- .../apimanagement/CHANGELOG.md | 2 +- .../apimanagement/_meta.json | 2 +- .../apimanagement/models.go | 4 +- .../mgmt/2015-08-01-preview/web/CHANGELOG.md | 2 +- .../mgmt/2015-08-01-preview/web/_meta.json | 2 +- services/web/mgmt/2016-09-01/web/CHANGELOG.md | 2 +- services/web/mgmt/2016-09-01/web/_meta.json | 2 +- services/web/mgmt/2016-09-01/web/apps.go | 6 +- services/web/mgmt/2016-09-01/web/domains.go | 4 +- services/web/mgmt/2018-02-01/web/CHANGELOG.md | 2 +- services/web/mgmt/2018-02-01/web/_meta.json | 2 +- services/web/mgmt/2018-02-01/web/apps.go | 3 +- services/web/mgmt/2018-02-01/web/domains.go | 4 +- services/web/mgmt/2019-08-01/web/CHANGELOG.md | 2 +- services/web/mgmt/2019-08-01/web/_meta.json | 2 +- services/web/mgmt/2019-08-01/web/apps.go | 907 +- .../web/appservicecertificateorders.go | 40 +- .../2019-08-01/web/appserviceenvironments.go | 82 +- .../mgmt/2019-08-01/web/appserviceplans.go | 55 +- .../web/certificateregistrationprovider.go | 3 +- .../web/mgmt/2019-08-01/web/certificates.go | 12 +- services/web/mgmt/2019-08-01/web/client.go | 34 +- .../web/mgmt/2019-08-01/web/deletedwebapps.go | 6 +- .../web/mgmt/2019-08-01/web/diagnostics.go | 44 +- .../web/domainregistrationprovider.go | 3 +- services/web/mgmt/2019-08-01/web/domains.go | 34 +- services/web/mgmt/2019-08-01/web/provider.go | 8 +- .../mgmt/2019-08-01/web/recommendations.go | 33 +- .../2019-08-01/web/resourcehealthmetadata.go | 13 +- .../web/mgmt/2019-08-01/web/staticsites.go | 61 +- .../mgmt/2019-08-01/web/topleveldomains.go | 6 +- services/web/mgmt/2020-06-01/web/CHANGELOG.md | 10 +- services/web/mgmt/2020-06-01/web/_meta.json | 2 +- services/web/mgmt/2020-06-01/web/apps.go | 913 +- .../web/appservicecertificateorders.go | 40 +- .../2020-06-01/web/appserviceenvironments.go | 82 +- .../mgmt/2020-06-01/web/appserviceplans.go | 55 +- .../web/certificateregistrationprovider.go | 3 +- .../web/mgmt/2020-06-01/web/certificates.go | 12 +- services/web/mgmt/2020-06-01/web/client.go | 34 +- .../web/mgmt/2020-06-01/web/deletedwebapps.go | 6 +- .../web/mgmt/2020-06-01/web/diagnostics.go | 44 +- .../web/domainregistrationprovider.go | 3 +- services/web/mgmt/2020-06-01/web/domains.go | 34 +- services/web/mgmt/2020-06-01/web/models.go | 10 + services/web/mgmt/2020-06-01/web/provider.go | 8 +- .../mgmt/2020-06-01/web/recommendations.go | 33 +- .../2020-06-01/web/resourcehealthmetadata.go | 13 +- .../web/mgmt/2020-06-01/web/staticsites.go | 63 +- .../mgmt/2020-06-01/web/topleveldomains.go | 6 +- services/web/mgmt/2020-09-01/web/CHANGELOG.md | 25 +- services/web/mgmt/2020-09-01/web/_meta.json | 2 +- services/web/mgmt/2020-09-01/web/apps.go | 913 +- .../web/appservicecertificateorders.go | 40 +- .../2020-09-01/web/appserviceenvironments.go | 82 +- .../mgmt/2020-09-01/web/appserviceplans.go | 55 +- .../web/certificateregistrationprovider.go | 3 +- .../web/mgmt/2020-09-01/web/certificates.go | 12 +- services/web/mgmt/2020-09-01/web/client.go | 111 +- .../web/mgmt/2020-09-01/web/deletedwebapps.go | 6 +- .../web/mgmt/2020-09-01/web/diagnostics.go | 44 +- .../web/domainregistrationprovider.go | 3 +- services/web/mgmt/2020-09-01/web/domains.go | 34 +- services/web/mgmt/2020-09-01/web/models.go | 11 +- services/web/mgmt/2020-09-01/web/provider.go | 8 +- .../mgmt/2020-09-01/web/recommendations.go | 33 +- .../2020-09-01/web/resourcehealthmetadata.go | 13 +- .../web/mgmt/2020-09-01/web/staticsites.go | 63 +- .../mgmt/2020-09-01/web/topleveldomains.go | 6 +- .../mgmt/2020-09-01/web/webapi/interfaces.go | 1 - services/web/mgmt/2020-12-01/web/CHANGELOG.md | 427 +- services/web/mgmt/2020-12-01/web/_meta.json | 2 +- services/web/mgmt/2020-12-01/web/apps.go | 935 +- .../web/appservicecertificateorders.go | 40 +- .../2020-12-01/web/appserviceenvironments.go | 97 +- .../mgmt/2020-12-01/web/appserviceplans.go | 55 +- .../web/certificateordersdiagnostics.go | 8 +- .../web/certificateregistrationprovider.go | 3 +- .../web/mgmt/2020-12-01/web/certificates.go | 12 +- services/web/mgmt/2020-12-01/web/client.go | 111 +- .../web/mgmt/2020-12-01/web/deletedwebapps.go | 6 +- .../web/mgmt/2020-12-01/web/diagnostics.go | 44 +- .../web/domainregistrationprovider.go | 3 +- services/web/mgmt/2020-12-01/web/domains.go | 34 +- services/web/mgmt/2020-12-01/web/global.go | 6 +- services/web/mgmt/2020-12-01/web/models.go | 14641 ++++++--------- services/web/mgmt/2020-12-01/web/provider.go | 17 +- .../mgmt/2020-12-01/web/recommendations.go | 33 +- .../2020-12-01/web/resourcehealthmetadata.go | 13 +- .../web/mgmt/2020-12-01/web/staticsites.go | 119 +- .../mgmt/2020-12-01/web/topleveldomains.go | 6 +- .../mgmt/2020-12-01/web/webapi/interfaces.go | 1 - services/web/mgmt/2021-01-15/web/CHANGELOG.md | 427 +- services/web/mgmt/2021-01-15/web/_meta.json | 2 +- services/web/mgmt/2021-01-15/web/apps.go | 953 +- .../web/appservicecertificateorders.go | 40 +- .../2021-01-15/web/appserviceenvironments.go | 97 +- .../mgmt/2021-01-15/web/appserviceplans.go | 55 +- .../web/certificateordersdiagnostics.go | 8 +- .../web/certificateregistrationprovider.go | 3 +- .../web/mgmt/2021-01-15/web/certificates.go | 12 +- services/web/mgmt/2021-01-15/web/client.go | 111 +- .../web/mgmt/2021-01-15/web/deletedwebapps.go | 6 +- .../web/mgmt/2021-01-15/web/diagnostics.go | 44 +- .../web/domainregistrationprovider.go | 3 +- services/web/mgmt/2021-01-15/web/domains.go | 34 +- services/web/mgmt/2021-01-15/web/global.go | 6 +- .../mgmt/2021-01-15/web/kubeenvironments.go | 12 +- services/web/mgmt/2021-01-15/web/models.go | 15257 ++++++---------- services/web/mgmt/2021-01-15/web/provider.go | 17 +- .../mgmt/2021-01-15/web/recommendations.go | 33 +- .../2021-01-15/web/resourcehealthmetadata.go | 13 +- .../web/mgmt/2021-01-15/web/staticsites.go | 119 +- .../mgmt/2021-01-15/web/topleveldomains.go | 6 +- .../mgmt/2021-01-15/web/webapi/interfaces.go | 1 - services/web/mgmt/2021-02-01/web/CHANGELOG.md | 260 +- services/web/mgmt/2021-02-01/web/_meta.json | 2 +- services/web/mgmt/2021-02-01/web/apps.go | 947 +- .../web/appservicecertificateorders.go | 36 +- .../2021-02-01/web/appserviceenvironments.go | 97 +- .../mgmt/2021-02-01/web/appserviceplans.go | 55 +- .../web/certificateordersdiagnostics.go | 8 +- .../web/certificateregistrationprovider.go | 3 +- .../web/mgmt/2021-02-01/web/certificates.go | 12 +- services/web/mgmt/2021-02-01/web/client.go | 111 +- .../web/mgmt/2021-02-01/web/deletedwebapps.go | 6 +- .../web/mgmt/2021-02-01/web/diagnostics.go | 44 +- .../web/domainregistrationprovider.go | 3 +- services/web/mgmt/2021-02-01/web/domains.go | 34 +- services/web/mgmt/2021-02-01/web/enums.go | 38 + services/web/mgmt/2021-02-01/web/global.go | 6 +- .../mgmt/2021-02-01/web/kubeenvironments.go | 12 +- services/web/mgmt/2021-02-01/web/models.go | 1277 +- services/web/mgmt/2021-02-01/web/provider.go | 53 +- .../mgmt/2021-02-01/web/recommendations.go | 33 +- .../2021-02-01/web/resourcehealthmetadata.go | 13 +- .../web/mgmt/2021-02-01/web/staticsites.go | 119 +- .../mgmt/2021-02-01/web/topleveldomains.go | 6 +- .../mgmt/2021-02-01/web/webapi/interfaces.go | 25 +- services/web/mgmt/2021-03-01/web/CHANGELOG.md | 18 +- services/web/mgmt/2021-03-01/web/_meta.json | 2 +- services/web/mgmt/2021-03-01/web/apps.go | 1205 +- .../web/appservicecertificateorders.go | 36 +- .../2021-03-01/web/appserviceenvironments.go | 97 +- .../mgmt/2021-03-01/web/appserviceplans.go | 55 +- .../web/certificateordersdiagnostics.go | 8 +- .../web/certificateregistrationprovider.go | 3 +- .../web/mgmt/2021-03-01/web/certificates.go | 12 +- services/web/mgmt/2021-03-01/web/client.go | 34 +- .../web/mgmt/2021-03-01/web/containerapps.go | 4 +- .../web/mgmt/2021-03-01/web/deletedwebapps.go | 6 +- .../web/mgmt/2021-03-01/web/diagnostics.go | 44 +- .../web/domainregistrationprovider.go | 3 +- services/web/mgmt/2021-03-01/web/domains.go | 34 +- services/web/mgmt/2021-03-01/web/global.go | 6 +- .../mgmt/2021-03-01/web/kubeenvironments.go | 12 +- services/web/mgmt/2021-03-01/web/provider.go | 17 +- .../mgmt/2021-03-01/web/recommendations.go | 33 +- .../2021-03-01/web/resourcehealthmetadata.go | 13 +- .../web/mgmt/2021-03-01/web/staticsites.go | 119 +- .../mgmt/2021-03-01/web/topleveldomains.go | 6 +- .../mgmt/2021-03-01/web/webapi/interfaces.go | 3 + 199 files changed, 19346 insertions(+), 25008 deletions(-) create mode 100644 services/apimanagement/mgmt/2021-08-01/apimanagement/globalschema.go diff --git a/services/apimanagement/mgmt/2016-07-07/apimanagement/CHANGELOG.md b/services/apimanagement/mgmt/2016-07-07/apimanagement/CHANGELOG.md index 52911e4cc5e4..a1ecf841edb0 100644 --- a/services/apimanagement/mgmt/2016-07-07/apimanagement/CHANGELOG.md +++ b/services/apimanagement/mgmt/2016-07-07/apimanagement/CHANGELOG.md @@ -1,2 +1,2 @@ -# Change History +# Unreleased diff --git a/services/apimanagement/mgmt/2016-07-07/apimanagement/_meta.json b/services/apimanagement/mgmt/2016-07-07/apimanagement/_meta.json index 549a88051131..a24f0bff1e12 100644 --- a/services/apimanagement/mgmt/2016-07-07/apimanagement/_meta.json +++ b/services/apimanagement/mgmt/2016-07-07/apimanagement/_meta.json @@ -1,5 +1,5 @@ { - "commit": "3c764635e7d442b3e74caf593029fcd440b3ef82", + "commit": "eb2b882ef0a4aa5956ca38cfa566fc4d7cfb3fb0", "readme": "/_/azure-rest-api-specs/specification/apimanagement/resource-manager/readme.md", "tag": "package-2016-07", "use": "@microsoft.azure/autorest.go@2.1.187", diff --git a/services/apimanagement/mgmt/2016-10-10/apimanagement/CHANGELOG.md b/services/apimanagement/mgmt/2016-10-10/apimanagement/CHANGELOG.md index 52911e4cc5e4..a1ecf841edb0 100644 --- a/services/apimanagement/mgmt/2016-10-10/apimanagement/CHANGELOG.md +++ b/services/apimanagement/mgmt/2016-10-10/apimanagement/CHANGELOG.md @@ -1,2 +1,2 @@ -# Change History +# Unreleased diff --git a/services/apimanagement/mgmt/2016-10-10/apimanagement/_meta.json b/services/apimanagement/mgmt/2016-10-10/apimanagement/_meta.json index e2a7993f5f46..ae95f7b666b1 100644 --- a/services/apimanagement/mgmt/2016-10-10/apimanagement/_meta.json +++ b/services/apimanagement/mgmt/2016-10-10/apimanagement/_meta.json @@ -1,5 +1,5 @@ { - "commit": "3c764635e7d442b3e74caf593029fcd440b3ef82", + "commit": "eb2b882ef0a4aa5956ca38cfa566fc4d7cfb3fb0", "readme": "/_/azure-rest-api-specs/specification/apimanagement/resource-manager/readme.md", "tag": "package-2016-10", "use": "@microsoft.azure/autorest.go@2.1.187", diff --git a/services/apimanagement/mgmt/2017-03-01/apimanagement/CHANGELOG.md b/services/apimanagement/mgmt/2017-03-01/apimanagement/CHANGELOG.md index 52911e4cc5e4..a1ecf841edb0 100644 --- a/services/apimanagement/mgmt/2017-03-01/apimanagement/CHANGELOG.md +++ b/services/apimanagement/mgmt/2017-03-01/apimanagement/CHANGELOG.md @@ -1,2 +1,2 @@ -# Change History +# Unreleased diff --git a/services/apimanagement/mgmt/2017-03-01/apimanagement/_meta.json b/services/apimanagement/mgmt/2017-03-01/apimanagement/_meta.json index 9d14d1932bfd..27fb9b278095 100644 --- a/services/apimanagement/mgmt/2017-03-01/apimanagement/_meta.json +++ b/services/apimanagement/mgmt/2017-03-01/apimanagement/_meta.json @@ -1,5 +1,5 @@ { - "commit": "3c764635e7d442b3e74caf593029fcd440b3ef82", + "commit": "eb2b882ef0a4aa5956ca38cfa566fc4d7cfb3fb0", "readme": "/_/azure-rest-api-specs/specification/apimanagement/resource-manager/readme.md", "tag": "package-2017-03", "use": "@microsoft.azure/autorest.go@2.1.187", diff --git a/services/apimanagement/mgmt/2017-03-01/apimanagement/models.go b/services/apimanagement/mgmt/2017-03-01/apimanagement/models.go index 775d715f2aac..15132a3efdff 100644 --- a/services/apimanagement/mgmt/2017-03-01/apimanagement/models.go +++ b/services/apimanagement/mgmt/2017-03-01/apimanagement/models.go @@ -1468,7 +1468,7 @@ func (avsc *APIVersionSetContract) UnmarshalJSON(body []byte) error { type APIVersionSetContractProperties struct { // DisplayName - Name of API Version Set DisplayName *string `json:"displayName,omitempty"` - // VersioningScheme - An value that determines where the API Version identifer will be located in a HTTP request. Possible values include: 'VersioningSchemeSegment', 'VersioningSchemeQuery', 'VersioningSchemeHeader' + // VersioningScheme - An value that determines where the API Version identifier will be located in a HTTP request. Possible values include: 'VersioningSchemeSegment', 'VersioningSchemeQuery', 'VersioningSchemeHeader' VersioningScheme VersioningScheme `json:"versioningScheme,omitempty"` // Description - Description of API Version Set. Description *string `json:"description,omitempty"` @@ -1531,7 +1531,7 @@ func (avsup *APIVersionSetUpdateParameters) UnmarshalJSON(body []byte) error { type APIVersionSetUpdateParametersProperties struct { // DisplayName - Name of API Version Set DisplayName *string `json:"displayName,omitempty"` - // VersioningScheme - An value that determines where the API Version identifer will be located in a HTTP request. Possible values include: 'VersioningSchemeSegment', 'VersioningSchemeQuery', 'VersioningSchemeHeader' + // VersioningScheme - An value that determines where the API Version identifier will be located in a HTTP request. Possible values include: 'VersioningSchemeSegment', 'VersioningSchemeQuery', 'VersioningSchemeHeader' VersioningScheme VersioningScheme `json:"versioningScheme,omitempty"` // Description - Description of API Version Set. Description *string `json:"description,omitempty"` diff --git a/services/apimanagement/mgmt/2018-01-01/apimanagement/CHANGELOG.md b/services/apimanagement/mgmt/2018-01-01/apimanagement/CHANGELOG.md index 52911e4cc5e4..a1ecf841edb0 100644 --- a/services/apimanagement/mgmt/2018-01-01/apimanagement/CHANGELOG.md +++ b/services/apimanagement/mgmt/2018-01-01/apimanagement/CHANGELOG.md @@ -1,2 +1,2 @@ -# Change History +# Unreleased diff --git a/services/apimanagement/mgmt/2018-01-01/apimanagement/_meta.json b/services/apimanagement/mgmt/2018-01-01/apimanagement/_meta.json index 6b1cca364635..e4eaa8d05ce1 100644 --- a/services/apimanagement/mgmt/2018-01-01/apimanagement/_meta.json +++ b/services/apimanagement/mgmt/2018-01-01/apimanagement/_meta.json @@ -1,5 +1,5 @@ { - "commit": "3c764635e7d442b3e74caf593029fcd440b3ef82", + "commit": "eb2b882ef0a4aa5956ca38cfa566fc4d7cfb3fb0", "readme": "/_/azure-rest-api-specs/specification/apimanagement/resource-manager/readme.md", "tag": "package-2018-01", "use": "@microsoft.azure/autorest.go@2.1.187", diff --git a/services/apimanagement/mgmt/2018-01-01/apimanagement/models.go b/services/apimanagement/mgmt/2018-01-01/apimanagement/models.go index 3015b1664072..3c93f516e741 100644 --- a/services/apimanagement/mgmt/2018-01-01/apimanagement/models.go +++ b/services/apimanagement/mgmt/2018-01-01/apimanagement/models.go @@ -1539,7 +1539,7 @@ type APIVersionSetContractDetails struct { ID *string `json:"id,omitempty"` // Description - Description of API Version Set. Description *string `json:"description,omitempty"` - // VersioningScheme - An value that determines where the API Version identifer will be located in a HTTP request. Possible values include: 'VersioningScheme1Segment', 'VersioningScheme1Query', 'VersioningScheme1Header' + // VersioningScheme - An value that determines where the API Version identifier will be located in a HTTP request. Possible values include: 'VersioningScheme1Segment', 'VersioningScheme1Query', 'VersioningScheme1Header' VersioningScheme VersioningScheme1 `json:"versioningScheme,omitempty"` // VersionQueryName - Name of query parameter that indicates the API Version if versioningScheme is set to `query`. VersionQueryName *string `json:"versionQueryName,omitempty"` @@ -1551,7 +1551,7 @@ type APIVersionSetContractDetails struct { type APIVersionSetContractProperties struct { // DisplayName - Name of API Version Set DisplayName *string `json:"displayName,omitempty"` - // VersioningScheme - An value that determines where the API Version identifer will be located in a HTTP request. Possible values include: 'VersioningSchemeSegment', 'VersioningSchemeQuery', 'VersioningSchemeHeader' + // VersioningScheme - An value that determines where the API Version identifier will be located in a HTTP request. Possible values include: 'VersioningSchemeSegment', 'VersioningSchemeQuery', 'VersioningSchemeHeader' VersioningScheme VersioningScheme `json:"versioningScheme,omitempty"` // Description - Description of API Version Set. Description *string `json:"description,omitempty"` @@ -1614,7 +1614,7 @@ func (avsup *APIVersionSetUpdateParameters) UnmarshalJSON(body []byte) error { type APIVersionSetUpdateParametersProperties struct { // DisplayName - Name of API Version Set DisplayName *string `json:"displayName,omitempty"` - // VersioningScheme - An value that determines where the API Version identifer will be located in a HTTP request. Possible values include: 'VersioningSchemeSegment', 'VersioningSchemeQuery', 'VersioningSchemeHeader' + // VersioningScheme - An value that determines where the API Version identifier will be located in a HTTP request. Possible values include: 'VersioningSchemeSegment', 'VersioningSchemeQuery', 'VersioningSchemeHeader' VersioningScheme VersioningScheme `json:"versioningScheme,omitempty"` // Description - Description of API Version Set. Description *string `json:"description,omitempty"` diff --git a/services/apimanagement/mgmt/2019-01-01/apimanagement/CHANGELOG.md b/services/apimanagement/mgmt/2019-01-01/apimanagement/CHANGELOG.md index 52911e4cc5e4..a1ecf841edb0 100644 --- a/services/apimanagement/mgmt/2019-01-01/apimanagement/CHANGELOG.md +++ b/services/apimanagement/mgmt/2019-01-01/apimanagement/CHANGELOG.md @@ -1,2 +1,2 @@ -# Change History +# Unreleased diff --git a/services/apimanagement/mgmt/2019-01-01/apimanagement/_meta.json b/services/apimanagement/mgmt/2019-01-01/apimanagement/_meta.json index 142b15515f9f..2def97fc4850 100644 --- a/services/apimanagement/mgmt/2019-01-01/apimanagement/_meta.json +++ b/services/apimanagement/mgmt/2019-01-01/apimanagement/_meta.json @@ -1,5 +1,5 @@ { - "commit": "3c764635e7d442b3e74caf593029fcd440b3ef82", + "commit": "eb2b882ef0a4aa5956ca38cfa566fc4d7cfb3fb0", "readme": "/_/azure-rest-api-specs/specification/apimanagement/resource-manager/readme.md", "tag": "package-2019-01", "use": "@microsoft.azure/autorest.go@2.1.187", diff --git a/services/apimanagement/mgmt/2019-01-01/apimanagement/models.go b/services/apimanagement/mgmt/2019-01-01/apimanagement/models.go index 00b6f4a4bae2..19138f049f1c 100644 --- a/services/apimanagement/mgmt/2019-01-01/apimanagement/models.go +++ b/services/apimanagement/mgmt/2019-01-01/apimanagement/models.go @@ -1685,7 +1685,7 @@ type APIVersionSetContractDetails struct { Name *string `json:"name,omitempty"` // Description - Description of API Version Set. Description *string `json:"description,omitempty"` - // VersioningScheme - An value that determines where the API Version identifer will be located in a HTTP request. Possible values include: 'VersioningScheme1Segment', 'VersioningScheme1Query', 'VersioningScheme1Header' + // VersioningScheme - An value that determines where the API Version identifier will be located in a HTTP request. Possible values include: 'VersioningScheme1Segment', 'VersioningScheme1Query', 'VersioningScheme1Header' VersioningScheme VersioningScheme1 `json:"versioningScheme,omitempty"` // VersionQueryName - Name of query parameter that indicates the API Version if versioningScheme is set to `query`. VersionQueryName *string `json:"versionQueryName,omitempty"` @@ -1697,7 +1697,7 @@ type APIVersionSetContractDetails struct { type APIVersionSetContractProperties struct { // DisplayName - Name of API Version Set DisplayName *string `json:"displayName,omitempty"` - // VersioningScheme - An value that determines where the API Version identifer will be located in a HTTP request. Possible values include: 'VersioningSchemeSegment', 'VersioningSchemeQuery', 'VersioningSchemeHeader' + // VersioningScheme - An value that determines where the API Version identifier will be located in a HTTP request. Possible values include: 'VersioningSchemeSegment', 'VersioningSchemeQuery', 'VersioningSchemeHeader' VersioningScheme VersioningScheme `json:"versioningScheme,omitempty"` // Description - Description of API Version Set. Description *string `json:"description,omitempty"` @@ -1760,7 +1760,7 @@ func (avsup *APIVersionSetUpdateParameters) UnmarshalJSON(body []byte) error { type APIVersionSetUpdateParametersProperties struct { // DisplayName - Name of API Version Set DisplayName *string `json:"displayName,omitempty"` - // VersioningScheme - An value that determines where the API Version identifer will be located in a HTTP request. Possible values include: 'VersioningSchemeSegment', 'VersioningSchemeQuery', 'VersioningSchemeHeader' + // VersioningScheme - An value that determines where the API Version identifier will be located in a HTTP request. Possible values include: 'VersioningSchemeSegment', 'VersioningSchemeQuery', 'VersioningSchemeHeader' VersioningScheme VersioningScheme `json:"versioningScheme,omitempty"` // Description - Description of API Version Set. Description *string `json:"description,omitempty"` diff --git a/services/apimanagement/mgmt/2019-12-01/apimanagement/CHANGELOG.md b/services/apimanagement/mgmt/2019-12-01/apimanagement/CHANGELOG.md index 52911e4cc5e4..a1ecf841edb0 100644 --- a/services/apimanagement/mgmt/2019-12-01/apimanagement/CHANGELOG.md +++ b/services/apimanagement/mgmt/2019-12-01/apimanagement/CHANGELOG.md @@ -1,2 +1,2 @@ -# Change History +# Unreleased diff --git a/services/apimanagement/mgmt/2019-12-01/apimanagement/_meta.json b/services/apimanagement/mgmt/2019-12-01/apimanagement/_meta.json index 7126fc9560b2..0466974b183a 100644 --- a/services/apimanagement/mgmt/2019-12-01/apimanagement/_meta.json +++ b/services/apimanagement/mgmt/2019-12-01/apimanagement/_meta.json @@ -1,5 +1,5 @@ { - "commit": "3c764635e7d442b3e74caf593029fcd440b3ef82", + "commit": "eb2b882ef0a4aa5956ca38cfa566fc4d7cfb3fb0", "readme": "/_/azure-rest-api-specs/specification/apimanagement/resource-manager/readme.md", "tag": "package-2019-12", "use": "@microsoft.azure/autorest.go@2.1.187", diff --git a/services/apimanagement/mgmt/2019-12-01/apimanagement/enums.go b/services/apimanagement/mgmt/2019-12-01/apimanagement/enums.go index 1f8550f325ac..7392bc0f9601 100644 --- a/services/apimanagement/mgmt/2019-12-01/apimanagement/enums.go +++ b/services/apimanagement/mgmt/2019-12-01/apimanagement/enums.go @@ -211,17 +211,17 @@ func PossibleConnectivityStatusTypeValues() []ConnectivityStatusType { type ContentFormat string const ( - // Openapi The contents are inline and Content Type is a OpenApi 3.0 Document in YAML format. + // Openapi The contents are inline and Content Type is a OpenAPI 3.0 YAML Document. Openapi ContentFormat = "openapi" - // Openapijson The contents are inline and Content Type is a OpenApi 3.0 Document in JSON format. + // Openapijson The contents are inline and Content Type is a OpenAPI 3.0 JSON Document. Openapijson ContentFormat = "openapi+json" - // OpenapijsonLink The Open Api 3.0 Json document is hosted on a publicly accessible internet address. + // OpenapijsonLink The OpenAPI 3.0 JSON document is hosted on a publicly accessible internet address. OpenapijsonLink ContentFormat = "openapi+json-link" - // OpenapiLink The Open Api 3.0 document is hosted on a publicly accessible internet address. + // OpenapiLink The OpenAPI 3.0 YAML document is hosted on a publicly accessible internet address. OpenapiLink ContentFormat = "openapi-link" - // SwaggerJSON The contents are inline and Content Type is a OpenApi 2.0 Document. + // SwaggerJSON The contents are inline and Content Type is a OpenAPI 2.0 JSON Document. SwaggerJSON ContentFormat = "swagger-json" - // SwaggerLinkJSON The Open Api 2.0 document is hosted on a publicly accessible internet address. + // SwaggerLinkJSON The OpenAPI 2.0 JSON document is hosted on a publicly accessible internet address. SwaggerLinkJSON ContentFormat = "swagger-link-json" // WadlLinkJSON The WADL document is hosted on a publicly accessible internet address. WadlLinkJSON ContentFormat = "wadl-link-json" @@ -242,12 +242,14 @@ func PossibleContentFormatValues() []ContentFormat { type ExportFormat string const ( - // ExportFormatOpenapi Export the Api Definition in OpenApi Specification 3.0 to Storage Blob. + // ExportFormatOpenapi Export the Api Definition in OpenAPI 3.0 Specification as YAML document to Storage + // Blob. ExportFormatOpenapi ExportFormat = "openapi-link" - // ExportFormatOpenapiJSON Export the Api Definition in OpenApi Specification 3.0 as JSON document to + // ExportFormatOpenapiJSON Export the Api Definition in OpenAPI 3.0 Specification as JSON document to // Storage Blob. ExportFormatOpenapiJSON ExportFormat = "openapi+json-link" - // ExportFormatSwagger Export the Api Definition in OpenApi Specification 2.0 format to the Storage Blob. + // ExportFormatSwagger Export the Api Definition in OpenAPI 2.0 Specification as JSON document to the + // Storage Blob. ExportFormatSwagger ExportFormat = "swagger-link" // ExportFormatWadl Export the Api Definition in WADL Schema to Storage Blob. ExportFormatWadl ExportFormat = "wadl-link" diff --git a/services/apimanagement/mgmt/2019-12-01/apimanagement/models.go b/services/apimanagement/mgmt/2019-12-01/apimanagement/models.go index 9423e62f074c..023e9af6fbef 100644 --- a/services/apimanagement/mgmt/2019-12-01/apimanagement/models.go +++ b/services/apimanagement/mgmt/2019-12-01/apimanagement/models.go @@ -1739,7 +1739,7 @@ type APIVersionSetContractDetails struct { Name *string `json:"name,omitempty"` // Description - Description of API Version Set. Description *string `json:"description,omitempty"` - // VersioningScheme - An value that determines where the API Version identifer will be located in a HTTP request. Possible values include: 'VersioningScheme1Segment', 'VersioningScheme1Query', 'VersioningScheme1Header' + // VersioningScheme - An value that determines where the API Version identifier will be located in a HTTP request. Possible values include: 'VersioningScheme1Segment', 'VersioningScheme1Query', 'VersioningScheme1Header' VersioningScheme VersioningScheme1 `json:"versioningScheme,omitempty"` // VersionQueryName - Name of query parameter that indicates the API Version if versioningScheme is set to `query`. VersionQueryName *string `json:"versionQueryName,omitempty"` @@ -1751,7 +1751,7 @@ type APIVersionSetContractDetails struct { type APIVersionSetContractProperties struct { // DisplayName - Name of API Version Set DisplayName *string `json:"displayName,omitempty"` - // VersioningScheme - An value that determines where the API Version identifer will be located in a HTTP request. Possible values include: 'VersioningSchemeSegment', 'VersioningSchemeQuery', 'VersioningSchemeHeader' + // VersioningScheme - An value that determines where the API Version identifier will be located in a HTTP request. Possible values include: 'VersioningSchemeSegment', 'VersioningSchemeQuery', 'VersioningSchemeHeader' VersioningScheme VersioningScheme `json:"versioningScheme,omitempty"` // Description - Description of API Version Set. Description *string `json:"description,omitempty"` @@ -1814,7 +1814,7 @@ func (avsup *APIVersionSetUpdateParameters) UnmarshalJSON(body []byte) error { type APIVersionSetUpdateParametersProperties struct { // DisplayName - Name of API Version Set DisplayName *string `json:"displayName,omitempty"` - // VersioningScheme - An value that determines where the API Version identifer will be located in a HTTP request. Possible values include: 'VersioningSchemeSegment', 'VersioningSchemeQuery', 'VersioningSchemeHeader' + // VersioningScheme - An value that determines where the API Version identifier will be located in a HTTP request. Possible values include: 'VersioningSchemeSegment', 'VersioningSchemeQuery', 'VersioningSchemeHeader' VersioningScheme VersioningScheme `json:"versioningScheme,omitempty"` // Description - Description of API Version Set. Description *string `json:"description,omitempty"` diff --git a/services/apimanagement/mgmt/2020-12-01/apimanagement/CHANGELOG.md b/services/apimanagement/mgmt/2020-12-01/apimanagement/CHANGELOG.md index 52911e4cc5e4..1ea0d9a2c657 100644 --- a/services/apimanagement/mgmt/2020-12-01/apimanagement/CHANGELOG.md +++ b/services/apimanagement/mgmt/2020-12-01/apimanagement/CHANGELOG.md @@ -1,2 +1,44 @@ -# Change History +# Unreleased +## Breaking Changes + +### Struct Changes + +#### Removed Struct Fields + +1. OperationResultContract.ActionLog +1. OperationResultContract.Error +1. OperationResultContract.ResultInfo +1. OperationResultContract.Started +1. OperationResultContract.Status +1. OperationResultContract.Updated +1. TenantConfigurationSyncStateContract.Branch +1. TenantConfigurationSyncStateContract.CommitID +1. TenantConfigurationSyncStateContract.ConfigurationChangeDate +1. TenantConfigurationSyncStateContract.IsExport +1. TenantConfigurationSyncStateContract.IsGitEnabled +1. TenantConfigurationSyncStateContract.IsSynced +1. TenantConfigurationSyncStateContract.SyncDate + +## Additive Changes + +### New Funcs + +1. *OperationResultContract.UnmarshalJSON([]byte) error +1. *TenantConfigurationSyncStateContract.UnmarshalJSON([]byte) error +1. OperationResultContractProperties.MarshalJSON() ([]byte, error) +1. TenantConfigurationSyncStateContract.MarshalJSON() ([]byte, error) + +### Struct Changes + +#### New Structs + +1. OperationResultContractProperties +1. TenantConfigurationSyncStateContractProperties + +#### New Struct Fields + +1. OperationResultContract.*OperationResultContractProperties +1. OperationResultContract.Name +1. OperationResultContract.Type +1. TenantConfigurationSyncStateContract.*TenantConfigurationSyncStateContractProperties diff --git a/services/apimanagement/mgmt/2020-12-01/apimanagement/_meta.json b/services/apimanagement/mgmt/2020-12-01/apimanagement/_meta.json index dd2ca54d9339..eb2bb3d0a5e3 100644 --- a/services/apimanagement/mgmt/2020-12-01/apimanagement/_meta.json +++ b/services/apimanagement/mgmt/2020-12-01/apimanagement/_meta.json @@ -1,5 +1,5 @@ { - "commit": "8d3b22458da4bb9309c0207c2ebc1903de741249", + "commit": "eb2b882ef0a4aa5956ca38cfa566fc4d7cfb3fb0", "readme": "/_/azure-rest-api-specs/specification/apimanagement/resource-manager/readme.md", "tag": "package-2020-12", "use": "@microsoft.azure/autorest.go@2.1.187", diff --git a/services/apimanagement/mgmt/2020-12-01/apimanagement/contentitem.go b/services/apimanagement/mgmt/2020-12-01/apimanagement/contentitem.go index 768a9dfb61bb..48cff72f43f3 100644 --- a/services/apimanagement/mgmt/2020-12-01/apimanagement/contentitem.go +++ b/services/apimanagement/mgmt/2020-12-01/apimanagement/contentitem.go @@ -31,7 +31,7 @@ func NewContentItemClientWithBaseURI(baseURI string, subscriptionID string) Cont return ContentItemClient{NewWithBaseURI(baseURI, subscriptionID)} } -// CreateOrUpdate creates new content item +// CreateOrUpdate creates a new developer portal's content item specified by the provided content type. // Parameters: // resourceGroupName - the name of the resource group. // serviceName - the name of the API Management service. @@ -130,7 +130,7 @@ func (client ContentItemClient) CreateOrUpdateResponder(resp *http.Response) (re return } -// Delete removes specified content item. +// Delete removes the specified developer portal's content item. // Parameters: // resourceGroupName - the name of the resource group. // serviceName - the name of the API Management service. @@ -226,7 +226,7 @@ func (client ContentItemClient) DeleteResponder(resp *http.Response) (result aut return } -// Get returns content item details +// Get returns the developer portal's content item specified by its identifier. // Parameters: // resourceGroupName - the name of the resource group. // serviceName - the name of the API Management service. @@ -320,7 +320,8 @@ func (client ContentItemClient) GetResponder(resp *http.Response) (result Conten return } -// GetEntityTag returns content item metadata +// GetEntityTag returns the entity state (ETag) version of the developer portal's content item specified by its +// identifier. // Parameters: // resourceGroupName - the name of the resource group. // serviceName - the name of the API Management service. @@ -413,7 +414,7 @@ func (client ContentItemClient) GetEntityTagResponder(resp *http.Response) (resu return } -// ListByService returns list of content items +// ListByService lists developer portal's content items specified by the provided content type. // Parameters: // resourceGroupName - the name of the resource group. // serviceName - the name of the API Management service. diff --git a/services/apimanagement/mgmt/2020-12-01/apimanagement/contenttype.go b/services/apimanagement/mgmt/2020-12-01/apimanagement/contenttype.go index 7d9074f6b3cc..57f8bf1db341 100644 --- a/services/apimanagement/mgmt/2020-12-01/apimanagement/contenttype.go +++ b/services/apimanagement/mgmt/2020-12-01/apimanagement/contenttype.go @@ -31,7 +31,9 @@ func NewContentTypeClientWithBaseURI(baseURI string, subscriptionID string) Cont return ContentTypeClient{NewWithBaseURI(baseURI, subscriptionID)} } -// CreateOrUpdate creates or updates an Content Type. +// CreateOrUpdate creates or updates the developer portal's content type. Content types describe content items' +// properties, validation rules, and constraints. Custom content types' identifiers need to start with the `c-` prefix. +// Built-in content types can't be modified. // Parameters: // resourceGroupName - the name of the resource group. // serviceName - the name of the API Management service. @@ -125,7 +127,9 @@ func (client ContentTypeClient) CreateOrUpdateResponder(resp *http.Response) (re return } -// Delete removes specified content type. +// Delete removes the specified developer portal's content type. Content types describe content items' properties, +// validation rules, and constraints. Built-in content types (with identifiers starting with the `c-` prefix) can't be +// removed. // Parameters: // resourceGroupName - the name of the resource group. // serviceName - the name of the API Management service. @@ -216,7 +220,8 @@ func (client ContentTypeClient) DeleteResponder(resp *http.Response) (result aut return } -// Get gets API Management content type details. +// Get gets the details of the developer portal's content type. Content types describe content items' properties, +// validation rules, and constraints. // Parameters: // resourceGroupName - the name of the resource group. // serviceName - the name of the API Management service. @@ -305,7 +310,8 @@ func (client ContentTypeClient) GetResponder(resp *http.Response) (result Conten return } -// ListByService returns list of content types +// ListByService lists the developer portal's content types. Content types describe content items' properties, +// validation rules, and constraints. // Parameters: // resourceGroupName - the name of the resource group. // serviceName - the name of the API Management service. diff --git a/services/apimanagement/mgmt/2020-12-01/apimanagement/models.go b/services/apimanagement/mgmt/2020-12-01/apimanagement/models.go index 086e3884d072..1ea2b59a9e8f 100644 --- a/services/apimanagement/mgmt/2020-12-01/apimanagement/models.go +++ b/services/apimanagement/mgmt/2020-12-01/apimanagement/models.go @@ -7716,7 +7716,7 @@ type IssueUpdateContractProperties struct { type KeyVaultContractCreateProperties struct { // SecretIdentifier - Key vault secret identifier for fetching secret. Providing a versioned secret will prevent auto-refresh. This requires Api Management service to be configured with aka.ms/apimmsi SecretIdentifier *string `json:"secretIdentifier,omitempty"` - // IdentityClientID - SystemAssignedIdentity or UserAssignedIdentity Client Id which will be used to access key vault secret. + // IdentityClientID - Null for SystemAssignedIdentity or Client Id for UserAssignedIdentity , which will be used to access key vault secret. IdentityClientID *string `json:"identityClientId,omitempty"` } @@ -7726,7 +7726,7 @@ type KeyVaultContractProperties struct { LastStatus *KeyVaultLastAccessStatusContractProperties `json:"lastStatus,omitempty"` // SecretIdentifier - Key vault secret identifier for fetching secret. Providing a versioned secret will prevent auto-refresh. This requires Api Management service to be configured with aka.ms/apimmsi SecretIdentifier *string `json:"secretIdentifier,omitempty"` - // IdentityClientID - SystemAssignedIdentity or UserAssignedIdentity Client Id which will be used to access key vault secret. + // IdentityClientID - Null for SystemAssignedIdentity or Client Id for UserAssignedIdentity , which will be used to access key vault secret. IdentityClientID *string `json:"identityClientId,omitempty"` } @@ -9659,9 +9659,81 @@ func NewOperationListResultPage(cur OperationListResult, getNextPage func(contex } } -// OperationResultContract operation Result. +// OperationResultContract long Running Git Operation Results. type OperationResultContract struct { autorest.Response `json:"-"` + // OperationResultContractProperties - Properties of the Operation Contract. + *OperationResultContractProperties `json:"properties,omitempty"` + // ID - READ-ONLY; Resource ID. + ID *string `json:"id,omitempty"` + // Name - READ-ONLY; Resource name. + Name *string `json:"name,omitempty"` + // Type - READ-ONLY; Resource type for API Management resource. + Type *string `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for OperationResultContract. +func (orc OperationResultContract) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if orc.OperationResultContractProperties != nil { + objectMap["properties"] = orc.OperationResultContractProperties + } + return json.Marshal(objectMap) +} + +// UnmarshalJSON is the custom unmarshaler for OperationResultContract struct. +func (orc *OperationResultContract) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "properties": + if v != nil { + var operationResultContractProperties OperationResultContractProperties + err = json.Unmarshal(*v, &operationResultContractProperties) + if err != nil { + return err + } + orc.OperationResultContractProperties = &operationResultContractProperties + } + case "id": + if v != nil { + var ID string + err = json.Unmarshal(*v, &ID) + if err != nil { + return err + } + orc.ID = &ID + } + case "name": + if v != nil { + var name string + err = json.Unmarshal(*v, &name) + if err != nil { + return err + } + orc.Name = &name + } + case "type": + if v != nil { + var typeVar string + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + orc.Type = &typeVar + } + } + } + + return nil +} + +// OperationResultContractProperties operation Result. +type OperationResultContractProperties struct { // ID - Operation result identifier. ID *string `json:"id,omitempty"` // Status - Status of an async operation. Possible values include: 'Started', 'InProgress', 'Succeeded', 'Failed' @@ -9678,26 +9750,26 @@ type OperationResultContract struct { ActionLog *[]OperationResultLogItemContract `json:"actionLog,omitempty"` } -// MarshalJSON is the custom marshaler for OperationResultContract. -func (orc OperationResultContract) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for OperationResultContractProperties. +func (orcp OperationResultContractProperties) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if orc.ID != nil { - objectMap["id"] = orc.ID + if orcp.ID != nil { + objectMap["id"] = orcp.ID } - if orc.Status != "" { - objectMap["status"] = orc.Status + if orcp.Status != "" { + objectMap["status"] = orcp.Status } - if orc.Started != nil { - objectMap["started"] = orc.Started + if orcp.Started != nil { + objectMap["started"] = orcp.Started } - if orc.Updated != nil { - objectMap["updated"] = orc.Updated + if orcp.Updated != nil { + objectMap["updated"] = orcp.Updated } - if orc.ResultInfo != nil { - objectMap["resultInfo"] = orc.ResultInfo + if orcp.ResultInfo != nil { + objectMap["resultInfo"] = orcp.ResultInfo } - if orc.Error != nil { - objectMap["error"] = orc.Error + if orcp.Error != nil { + objectMap["error"] = orcp.Error } return json.Marshal(objectMap) } @@ -15250,9 +15322,48 @@ func (future *TenantConfigurationSaveFuture) result(client TenantConfigurationCl return } -// TenantConfigurationSyncStateContract tenant Configuration Synchronization State. +// TenantConfigurationSyncStateContract result of Tenant Configuration Sync State. type TenantConfigurationSyncStateContract struct { autorest.Response `json:"-"` + // TenantConfigurationSyncStateContractProperties - Properties returned Tenant Configuration Sync State check. + *TenantConfigurationSyncStateContractProperties `json:"properties,omitempty"` +} + +// MarshalJSON is the custom marshaler for TenantConfigurationSyncStateContract. +func (tcssc TenantConfigurationSyncStateContract) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if tcssc.TenantConfigurationSyncStateContractProperties != nil { + objectMap["properties"] = tcssc.TenantConfigurationSyncStateContractProperties + } + return json.Marshal(objectMap) +} + +// UnmarshalJSON is the custom unmarshaler for TenantConfigurationSyncStateContract struct. +func (tcssc *TenantConfigurationSyncStateContract) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "properties": + if v != nil { + var tenantConfigurationSyncStateContractProperties TenantConfigurationSyncStateContractProperties + err = json.Unmarshal(*v, &tenantConfigurationSyncStateContractProperties) + if err != nil { + return err + } + tcssc.TenantConfigurationSyncStateContractProperties = &tenantConfigurationSyncStateContractProperties + } + } + } + + return nil +} + +// TenantConfigurationSyncStateContractProperties tenant Configuration Synchronization State. +type TenantConfigurationSyncStateContractProperties struct { // Branch - The name of Git branch. Branch *string `json:"branch,omitempty"` // CommitID - The latest commit Id. @@ -15267,6 +15378,8 @@ type TenantConfigurationSyncStateContract struct { SyncDate *date.Time `json:"syncDate,omitempty"` // ConfigurationChangeDate - The date of the latest configuration change. The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard. ConfigurationChangeDate *date.Time `json:"configurationChangeDate,omitempty"` + // LastOperationID - Most recent tenant configuration operation identifier + LastOperationID *string `json:"lastOperationId,omitempty"` } // TenantConfigurationValidateFuture an abstraction for monitoring and retrieving the results of a diff --git a/services/apimanagement/mgmt/2020-12-01/apimanagement/portalrevision.go b/services/apimanagement/mgmt/2020-12-01/apimanagement/portalrevision.go index d6c51b419112..5e81153f684a 100644 --- a/services/apimanagement/mgmt/2020-12-01/apimanagement/portalrevision.go +++ b/services/apimanagement/mgmt/2020-12-01/apimanagement/portalrevision.go @@ -31,7 +31,8 @@ func NewPortalRevisionClientWithBaseURI(baseURI string, subscriptionID string) P return PortalRevisionClient{NewWithBaseURI(baseURI, subscriptionID)} } -// CreateOrUpdate creates a new developer portal revision. +// CreateOrUpdate creates a new developer portal's revision by running the portal's publishing. The `isCurrent` +// property indicates if the revision is publicly accessible. // Parameters: // resourceGroupName - the name of the resource group. // serviceName - the name of the API Management service. @@ -133,7 +134,7 @@ func (client PortalRevisionClient) CreateOrUpdateResponder(resp *http.Response) return } -// Get gets developer portal revision specified by its identifier. +// Get gets the developer portal's revision specified by its identifier. // Parameters: // resourceGroupName - the name of the resource group. // serviceName - the name of the API Management service. @@ -223,7 +224,7 @@ func (client PortalRevisionClient) GetResponder(resp *http.Response) (result Por return } -// GetEntityTag gets developer portal revision specified by its identifier. +// GetEntityTag gets the developer portal revision specified by its identifier. // Parameters: // resourceGroupName - the name of the resource group. // serviceName - the name of the API Management service. @@ -312,7 +313,7 @@ func (client PortalRevisionClient) GetEntityTagResponder(resp *http.Response) (r return } -// ListByService lists a collection of developer portal revision entities. +// ListByService lists developer portal's revisions. // Parameters: // resourceGroupName - the name of the resource group. // serviceName - the name of the API Management service. diff --git a/services/apimanagement/mgmt/2021-08-01/apimanagement/CHANGELOG.md b/services/apimanagement/mgmt/2021-08-01/apimanagement/CHANGELOG.md index 52911e4cc5e4..a82f362335d6 100644 --- a/services/apimanagement/mgmt/2021-08-01/apimanagement/CHANGELOG.md +++ b/services/apimanagement/mgmt/2021-08-01/apimanagement/CHANGELOG.md @@ -1,2 +1,64 @@ -# Change History +# Unreleased +## Additive Changes + +### New Constants + +1. SchemaType.SchemaTypeJSON +1. SchemaType.SchemaTypeXML + +### New Funcs + +1. *GlobalSchemaCollectionIterator.Next() error +1. *GlobalSchemaCollectionIterator.NextWithContext(context.Context) error +1. *GlobalSchemaCollectionPage.Next() error +1. *GlobalSchemaCollectionPage.NextWithContext(context.Context) error +1. *GlobalSchemaContract.UnmarshalJSON([]byte) error +1. *GlobalSchemaCreateOrUpdateFuture.UnmarshalJSON([]byte) error +1. GlobalSchemaClient.CreateOrUpdate(context.Context, string, string, string, GlobalSchemaContract, string) (GlobalSchemaCreateOrUpdateFuture, error) +1. GlobalSchemaClient.CreateOrUpdatePreparer(context.Context, string, string, string, GlobalSchemaContract, string) (*http.Request, error) +1. GlobalSchemaClient.CreateOrUpdateResponder(*http.Response) (GlobalSchemaContract, error) +1. GlobalSchemaClient.CreateOrUpdateSender(*http.Request) (GlobalSchemaCreateOrUpdateFuture, error) +1. GlobalSchemaClient.Delete(context.Context, string, string, string, string) (autorest.Response, error) +1. GlobalSchemaClient.DeletePreparer(context.Context, string, string, string, string) (*http.Request, error) +1. GlobalSchemaClient.DeleteResponder(*http.Response) (autorest.Response, error) +1. GlobalSchemaClient.DeleteSender(*http.Request) (*http.Response, error) +1. GlobalSchemaClient.Get(context.Context, string, string, string) (GlobalSchemaContract, error) +1. GlobalSchemaClient.GetEntityTag(context.Context, string, string, string) (autorest.Response, error) +1. GlobalSchemaClient.GetEntityTagPreparer(context.Context, string, string, string) (*http.Request, error) +1. GlobalSchemaClient.GetEntityTagResponder(*http.Response) (autorest.Response, error) +1. GlobalSchemaClient.GetEntityTagSender(*http.Request) (*http.Response, error) +1. GlobalSchemaClient.GetPreparer(context.Context, string, string, string) (*http.Request, error) +1. GlobalSchemaClient.GetResponder(*http.Response) (GlobalSchemaContract, error) +1. GlobalSchemaClient.GetSender(*http.Request) (*http.Response, error) +1. GlobalSchemaClient.ListByService(context.Context, string, string, string, *int32, *int32) (GlobalSchemaCollectionPage, error) +1. GlobalSchemaClient.ListByServiceComplete(context.Context, string, string, string, *int32, *int32) (GlobalSchemaCollectionIterator, error) +1. GlobalSchemaClient.ListByServicePreparer(context.Context, string, string, string, *int32, *int32) (*http.Request, error) +1. GlobalSchemaClient.ListByServiceResponder(*http.Response) (GlobalSchemaCollection, error) +1. GlobalSchemaClient.ListByServiceSender(*http.Request) (*http.Response, error) +1. GlobalSchemaCollection.IsEmpty() bool +1. GlobalSchemaCollection.MarshalJSON() ([]byte, error) +1. GlobalSchemaCollectionIterator.NotDone() bool +1. GlobalSchemaCollectionIterator.Response() GlobalSchemaCollection +1. GlobalSchemaCollectionIterator.Value() GlobalSchemaContract +1. GlobalSchemaCollectionPage.NotDone() bool +1. GlobalSchemaCollectionPage.Response() GlobalSchemaCollection +1. GlobalSchemaCollectionPage.Values() []GlobalSchemaContract +1. GlobalSchemaContract.MarshalJSON() ([]byte, error) +1. NewGlobalSchemaClient(string) GlobalSchemaClient +1. NewGlobalSchemaClientWithBaseURI(string, string) GlobalSchemaClient +1. NewGlobalSchemaCollectionIterator(GlobalSchemaCollectionPage) GlobalSchemaCollectionIterator +1. NewGlobalSchemaCollectionPage(GlobalSchemaCollection, func(context.Context, GlobalSchemaCollection) (GlobalSchemaCollection, error)) GlobalSchemaCollectionPage +1. PossibleSchemaTypeValues() []SchemaType + +### Struct Changes + +#### New Structs + +1. GlobalSchemaClient +1. GlobalSchemaCollection +1. GlobalSchemaCollectionIterator +1. GlobalSchemaCollectionPage +1. GlobalSchemaContract +1. GlobalSchemaContractProperties +1. GlobalSchemaCreateOrUpdateFuture diff --git a/services/apimanagement/mgmt/2021-08-01/apimanagement/_meta.json b/services/apimanagement/mgmt/2021-08-01/apimanagement/_meta.json index 40e42b17afb0..24d6ba1d1134 100644 --- a/services/apimanagement/mgmt/2021-08-01/apimanagement/_meta.json +++ b/services/apimanagement/mgmt/2021-08-01/apimanagement/_meta.json @@ -1,5 +1,5 @@ { - "commit": "4946dbb5b2893a77ce52d08e2a855056e1acd361", + "commit": "eb2b882ef0a4aa5956ca38cfa566fc4d7cfb3fb0", "readme": "/_/azure-rest-api-specs/specification/apimanagement/resource-manager/readme.md", "tag": "package-2021-08", "use": "@microsoft.azure/autorest.go@2.1.187", diff --git a/services/apimanagement/mgmt/2021-08-01/apimanagement/apimanagementapi/interfaces.go b/services/apimanagement/mgmt/2021-08-01/apimanagement/apimanagementapi/interfaces.go index a57be737b46d..680f0002a530 100644 --- a/services/apimanagement/mgmt/2021-08-01/apimanagement/apimanagementapi/interfaces.go +++ b/services/apimanagement/mgmt/2021-08-01/apimanagement/apimanagementapi/interfaces.go @@ -739,6 +739,18 @@ type ReportsClientAPI interface { var _ ReportsClientAPI = (*apimanagement.ReportsClient)(nil) +// GlobalSchemaClientAPI contains the set of methods on the GlobalSchemaClient type. +type GlobalSchemaClientAPI interface { + CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, schemaID string, parameters apimanagement.GlobalSchemaContract, ifMatch string) (result apimanagement.GlobalSchemaCreateOrUpdateFuture, err error) + Delete(ctx context.Context, resourceGroupName string, serviceName string, schemaID string, ifMatch string) (result autorest.Response, err error) + Get(ctx context.Context, resourceGroupName string, serviceName string, schemaID string) (result apimanagement.GlobalSchemaContract, err error) + GetEntityTag(ctx context.Context, resourceGroupName string, serviceName string, schemaID string) (result autorest.Response, err error) + ListByService(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32) (result apimanagement.GlobalSchemaCollectionPage, err error) + ListByServiceComplete(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32) (result apimanagement.GlobalSchemaCollectionIterator, err error) +} + +var _ GlobalSchemaClientAPI = (*apimanagement.GlobalSchemaClient)(nil) + // TenantSettingsClientAPI contains the set of methods on the TenantSettingsClient type. type TenantSettingsClientAPI interface { Get(ctx context.Context, resourceGroupName string, serviceName string) (result apimanagement.TenantSettingsContract, err error) diff --git a/services/apimanagement/mgmt/2021-08-01/apimanagement/apischema.go b/services/apimanagement/mgmt/2021-08-01/apimanagement/apischema.go index 38b473c6419a..2392386dcd60 100644 --- a/services/apimanagement/mgmt/2021-08-01/apimanagement/apischema.go +++ b/services/apimanagement/mgmt/2021-08-01/apimanagement/apischema.go @@ -37,7 +37,7 @@ func NewAPISchemaClientWithBaseURI(baseURI string, subscriptionID string) APISch // serviceName - the name of the API Management service. // apiid - API revision identifier. Must be unique in the current API Management service instance. Non-current // revision has ;rev=n as a suffix where n is the revision number. -// schemaID - schema identifier within an API. Must be unique in the current API Management service instance. +// schemaID - schema id identifier. Must be unique in the current API Management service instance. // parameters - the schema contents to apply. // ifMatch - eTag of the Entity. Not required when creating an entity, but required when updating an entity. func (client APISchemaClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, apiid string, schemaID string, parameters SchemaContract, ifMatch string) (result APISchemaCreateOrUpdateFuture, err error) { @@ -62,8 +62,7 @@ func (client APISchemaClient) CreateOrUpdate(ctx context.Context, resourceGroupN {Target: "apiid", Name: validation.Pattern, Rule: `^[^*#&+:<>?]+$`, Chain: nil}}}, {TargetValue: schemaID, Constraints: []validation.Constraint{{Target: "schemaID", Name: validation.MaxLength, Rule: 80, Chain: nil}, - {Target: "schemaID", Name: validation.MinLength, Rule: 1, Chain: nil}, - {Target: "schemaID", Name: validation.Pattern, Rule: `^[^*#&+:<>?]+$`, Chain: nil}}}, + {Target: "schemaID", Name: validation.MinLength, Rule: 1, Chain: nil}}}, {TargetValue: parameters, Constraints: []validation.Constraint{{Target: "parameters.SchemaContractProperties", Name: validation.Null, Rule: false, Chain: []validation.Constraint{{Target: "parameters.SchemaContractProperties.ContentType", Name: validation.Null, Rule: true, Chain: nil}}}}}}); err != nil { @@ -148,7 +147,7 @@ func (client APISchemaClient) CreateOrUpdateResponder(resp *http.Response) (resu // serviceName - the name of the API Management service. // apiid - API revision identifier. Must be unique in the current API Management service instance. Non-current // revision has ;rev=n as a suffix where n is the revision number. -// schemaID - schema identifier within an API. Must be unique in the current API Management service instance. +// schemaID - schema id identifier. Must be unique in the current API Management service instance. // ifMatch - eTag of the Entity. ETag should match the current entity state from the header response of the GET // request or it should be * for unconditional update. // force - if true removes all references to the schema before deleting it. @@ -174,8 +173,7 @@ func (client APISchemaClient) Delete(ctx context.Context, resourceGroupName stri {Target: "apiid", Name: validation.Pattern, Rule: `^[^*#&+:<>?]+$`, Chain: nil}}}, {TargetValue: schemaID, Constraints: []validation.Constraint{{Target: "schemaID", Name: validation.MaxLength, Rule: 80, Chain: nil}, - {Target: "schemaID", Name: validation.MinLength, Rule: 1, Chain: nil}, - {Target: "schemaID", Name: validation.Pattern, Rule: `^[^*#&+:<>?]+$`, Chain: nil}}}}); err != nil { + {Target: "schemaID", Name: validation.MinLength, Rule: 1, Chain: nil}}}}); err != nil { return result, validation.NewError("apimanagement.APISchemaClient", "Delete", err.Error()) } @@ -251,7 +249,7 @@ func (client APISchemaClient) DeleteResponder(resp *http.Response) (result autor // serviceName - the name of the API Management service. // apiid - API revision identifier. Must be unique in the current API Management service instance. Non-current // revision has ;rev=n as a suffix where n is the revision number. -// schemaID - schema identifier within an API. Must be unique in the current API Management service instance. +// schemaID - schema id identifier. Must be unique in the current API Management service instance. func (client APISchemaClient) Get(ctx context.Context, resourceGroupName string, serviceName string, apiid string, schemaID string) (result SchemaContract, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/APISchemaClient.Get") @@ -274,8 +272,7 @@ func (client APISchemaClient) Get(ctx context.Context, resourceGroupName string, {Target: "apiid", Name: validation.Pattern, Rule: `^[^*#&+:<>?]+$`, Chain: nil}}}, {TargetValue: schemaID, Constraints: []validation.Constraint{{Target: "schemaID", Name: validation.MaxLength, Rule: 80, Chain: nil}, - {Target: "schemaID", Name: validation.MinLength, Rule: 1, Chain: nil}, - {Target: "schemaID", Name: validation.Pattern, Rule: `^[^*#&+:<>?]+$`, Chain: nil}}}}); err != nil { + {Target: "schemaID", Name: validation.MinLength, Rule: 1, Chain: nil}}}}); err != nil { return result, validation.NewError("apimanagement.APISchemaClient", "Get", err.Error()) } @@ -348,7 +345,7 @@ func (client APISchemaClient) GetResponder(resp *http.Response) (result SchemaCo // serviceName - the name of the API Management service. // apiid - API revision identifier. Must be unique in the current API Management service instance. Non-current // revision has ;rev=n as a suffix where n is the revision number. -// schemaID - schema identifier within an API. Must be unique in the current API Management service instance. +// schemaID - schema id identifier. Must be unique in the current API Management service instance. func (client APISchemaClient) GetEntityTag(ctx context.Context, resourceGroupName string, serviceName string, apiid string, schemaID string) (result autorest.Response, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/APISchemaClient.GetEntityTag") @@ -371,8 +368,7 @@ func (client APISchemaClient) GetEntityTag(ctx context.Context, resourceGroupNam {Target: "apiid", Name: validation.Pattern, Rule: `^[^*#&+:<>?]+$`, Chain: nil}}}, {TargetValue: schemaID, Constraints: []validation.Constraint{{Target: "schemaID", Name: validation.MaxLength, Rule: 80, Chain: nil}, - {Target: "schemaID", Name: validation.MinLength, Rule: 1, Chain: nil}, - {Target: "schemaID", Name: validation.Pattern, Rule: `^[^*#&+:<>?]+$`, Chain: nil}}}}); err != nil { + {Target: "schemaID", Name: validation.MinLength, Rule: 1, Chain: nil}}}}); err != nil { return result, validation.NewError("apimanagement.APISchemaClient", "GetEntityTag", err.Error()) } diff --git a/services/apimanagement/mgmt/2021-08-01/apimanagement/enums.go b/services/apimanagement/mgmt/2021-08-01/apimanagement/enums.go index 2be299fcc30c..dfd117b21fee 100644 --- a/services/apimanagement/mgmt/2021-08-01/apimanagement/enums.go +++ b/services/apimanagement/mgmt/2021-08-01/apimanagement/enums.go @@ -927,6 +927,21 @@ func PossibleSamplingTypeValues() []SamplingType { return []SamplingType{SamplingTypeFixed} } +// SchemaType enumerates the values for schema type. +type SchemaType string + +const ( + // SchemaTypeJSON Json schema type. + SchemaTypeJSON SchemaType = "json" + // SchemaTypeXML Xml schema type. + SchemaTypeXML SchemaType = "xml" +) + +// PossibleSchemaTypeValues returns an array of possible values for the SchemaType const type. +func PossibleSchemaTypeValues() []SchemaType { + return []SchemaType{SchemaTypeJSON, SchemaTypeXML} +} + // Severity enumerates the values for severity. type Severity string diff --git a/services/apimanagement/mgmt/2021-08-01/apimanagement/globalschema.go b/services/apimanagement/mgmt/2021-08-01/apimanagement/globalschema.go new file mode 100644 index 000000000000..e8e8eb547b46 --- /dev/null +++ b/services/apimanagement/mgmt/2021-08-01/apimanagement/globalschema.go @@ -0,0 +1,546 @@ +package apimanagement + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +import ( + "context" + "github.com/Azure/go-autorest/autorest" + "github.com/Azure/go-autorest/autorest/azure" + "github.com/Azure/go-autorest/autorest/validation" + "github.com/Azure/go-autorest/tracing" + "net/http" +) + +// GlobalSchemaClient is the apiManagement Client +type GlobalSchemaClient struct { + BaseClient +} + +// NewGlobalSchemaClient creates an instance of the GlobalSchemaClient client. +func NewGlobalSchemaClient(subscriptionID string) GlobalSchemaClient { + return NewGlobalSchemaClientWithBaseURI(DefaultBaseURI, subscriptionID) +} + +// NewGlobalSchemaClientWithBaseURI creates an instance of the GlobalSchemaClient client using a custom endpoint. Use +// this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack). +func NewGlobalSchemaClientWithBaseURI(baseURI string, subscriptionID string) GlobalSchemaClient { + return GlobalSchemaClient{NewWithBaseURI(baseURI, subscriptionID)} +} + +// CreateOrUpdate creates new or updates existing specified Schema of the API Management service instance. +// Parameters: +// resourceGroupName - the name of the resource group. +// serviceName - the name of the API Management service. +// schemaID - schema id identifier. Must be unique in the current API Management service instance. +// parameters - create or update parameters. +// ifMatch - eTag of the Entity. Not required when creating an entity, but required when updating an entity. +func (client GlobalSchemaClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, schemaID string, parameters GlobalSchemaContract, ifMatch string) (result GlobalSchemaCreateOrUpdateFuture, err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/GlobalSchemaClient.CreateOrUpdate") + defer func() { + sc := -1 + if result.FutureAPI != nil && result.FutureAPI.Response() != nil { + sc = result.FutureAPI.Response().StatusCode + } + tracing.EndSpan(ctx, sc, err) + }() + } + if err := validation.Validate([]validation.Validation{ + {TargetValue: serviceName, + Constraints: []validation.Constraint{{Target: "serviceName", Name: validation.MaxLength, Rule: 50, Chain: nil}, + {Target: "serviceName", Name: validation.MinLength, Rule: 1, Chain: nil}, + {Target: "serviceName", Name: validation.Pattern, Rule: `^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$`, Chain: nil}}}, + {TargetValue: schemaID, + Constraints: []validation.Constraint{{Target: "schemaID", Name: validation.MaxLength, Rule: 80, Chain: nil}, + {Target: "schemaID", Name: validation.MinLength, Rule: 1, Chain: nil}}}}); err != nil { + return result, validation.NewError("apimanagement.GlobalSchemaClient", "CreateOrUpdate", err.Error()) + } + + req, err := client.CreateOrUpdatePreparer(ctx, resourceGroupName, serviceName, schemaID, parameters, ifMatch) + if err != nil { + err = autorest.NewErrorWithError(err, "apimanagement.GlobalSchemaClient", "CreateOrUpdate", nil, "Failure preparing request") + return + } + + result, err = client.CreateOrUpdateSender(req) + if err != nil { + err = autorest.NewErrorWithError(err, "apimanagement.GlobalSchemaClient", "CreateOrUpdate", result.Response(), "Failure sending request") + return + } + + return +} + +// CreateOrUpdatePreparer prepares the CreateOrUpdate request. +func (client GlobalSchemaClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serviceName string, schemaID string, parameters GlobalSchemaContract, ifMatch string) (*http.Request, error) { + pathParameters := map[string]interface{}{ + "resourceGroupName": autorest.Encode("path", resourceGroupName), + "schemaId": autorest.Encode("path", schemaID), + "serviceName": autorest.Encode("path", serviceName), + "subscriptionId": autorest.Encode("path", client.SubscriptionID), + } + + const APIVersion = "2021-08-01" + queryParameters := map[string]interface{}{ + "api-version": APIVersion, + } + + preparer := autorest.CreatePreparer( + autorest.AsContentType("application/json; charset=utf-8"), + autorest.AsPut(), + autorest.WithBaseURL(client.BaseURI), + autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/schemas/{schemaId}", pathParameters), + autorest.WithJSON(parameters), + autorest.WithQueryParameters(queryParameters)) + if len(ifMatch) > 0 { + preparer = autorest.DecoratePreparer(preparer, + autorest.WithHeader("If-Match", autorest.String(ifMatch))) + } + return preparer.Prepare((&http.Request{}).WithContext(ctx)) +} + +// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the +// http.Response Body if it receives an error. +func (client GlobalSchemaClient) CreateOrUpdateSender(req *http.Request) (future GlobalSchemaCreateOrUpdateFuture, err error) { + var resp *http.Response + future.FutureAPI = &azure.Future{} + resp, err = client.Send(req, azure.DoRetryWithRegistration(client.Client)) + if err != nil { + return + } + var azf azure.Future + azf, err = azure.NewFutureFromResponse(resp) + future.FutureAPI = &azf + future.Result = future.result + return +} + +// CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always +// closes the http.Response Body. +func (client GlobalSchemaClient) CreateOrUpdateResponder(resp *http.Response) (result GlobalSchemaContract, err error) { + err = autorest.Respond( + resp, + azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusCreated, http.StatusAccepted), + autorest.ByUnmarshallingJSON(&result), + autorest.ByClosing()) + result.Response = autorest.Response{Response: resp} + return +} + +// Delete deletes specific Schema. +// Parameters: +// resourceGroupName - the name of the resource group. +// serviceName - the name of the API Management service. +// schemaID - schema id identifier. Must be unique in the current API Management service instance. +// ifMatch - eTag of the Entity. ETag should match the current entity state from the header response of the GET +// request or it should be * for unconditional update. +func (client GlobalSchemaClient) Delete(ctx context.Context, resourceGroupName string, serviceName string, schemaID string, ifMatch string) (result autorest.Response, err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/GlobalSchemaClient.Delete") + defer func() { + sc := -1 + if result.Response != nil { + sc = result.Response.StatusCode + } + tracing.EndSpan(ctx, sc, err) + }() + } + if err := validation.Validate([]validation.Validation{ + {TargetValue: serviceName, + Constraints: []validation.Constraint{{Target: "serviceName", Name: validation.MaxLength, Rule: 50, Chain: nil}, + {Target: "serviceName", Name: validation.MinLength, Rule: 1, Chain: nil}, + {Target: "serviceName", Name: validation.Pattern, Rule: `^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$`, Chain: nil}}}, + {TargetValue: schemaID, + Constraints: []validation.Constraint{{Target: "schemaID", Name: validation.MaxLength, Rule: 80, Chain: nil}, + {Target: "schemaID", Name: validation.MinLength, Rule: 1, Chain: nil}}}}); err != nil { + return result, validation.NewError("apimanagement.GlobalSchemaClient", "Delete", err.Error()) + } + + req, err := client.DeletePreparer(ctx, resourceGroupName, serviceName, schemaID, ifMatch) + if err != nil { + err = autorest.NewErrorWithError(err, "apimanagement.GlobalSchemaClient", "Delete", nil, "Failure preparing request") + return + } + + resp, err := client.DeleteSender(req) + if err != nil { + result.Response = resp + err = autorest.NewErrorWithError(err, "apimanagement.GlobalSchemaClient", "Delete", resp, "Failure sending request") + return + } + + result, err = client.DeleteResponder(resp) + if err != nil { + err = autorest.NewErrorWithError(err, "apimanagement.GlobalSchemaClient", "Delete", resp, "Failure responding to request") + return + } + + return +} + +// DeletePreparer prepares the Delete request. +func (client GlobalSchemaClient) DeletePreparer(ctx context.Context, resourceGroupName string, serviceName string, schemaID string, ifMatch string) (*http.Request, error) { + pathParameters := map[string]interface{}{ + "resourceGroupName": autorest.Encode("path", resourceGroupName), + "schemaId": autorest.Encode("path", schemaID), + "serviceName": autorest.Encode("path", serviceName), + "subscriptionId": autorest.Encode("path", client.SubscriptionID), + } + + const APIVersion = "2021-08-01" + queryParameters := map[string]interface{}{ + "api-version": APIVersion, + } + + preparer := autorest.CreatePreparer( + autorest.AsDelete(), + autorest.WithBaseURL(client.BaseURI), + autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/schemas/{schemaId}", pathParameters), + autorest.WithQueryParameters(queryParameters), + autorest.WithHeader("If-Match", autorest.String(ifMatch))) + return preparer.Prepare((&http.Request{}).WithContext(ctx)) +} + +// DeleteSender sends the Delete request. The method will close the +// http.Response Body if it receives an error. +func (client GlobalSchemaClient) DeleteSender(req *http.Request) (*http.Response, error) { + return client.Send(req, azure.DoRetryWithRegistration(client.Client)) +} + +// DeleteResponder handles the response to the Delete request. The method always +// closes the http.Response Body. +func (client GlobalSchemaClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) { + err = autorest.Respond( + resp, + azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusNoContent), + autorest.ByClosing()) + result.Response = resp + return +} + +// Get gets the details of the Schema specified by its identifier. +// Parameters: +// resourceGroupName - the name of the resource group. +// serviceName - the name of the API Management service. +// schemaID - schema id identifier. Must be unique in the current API Management service instance. +func (client GlobalSchemaClient) Get(ctx context.Context, resourceGroupName string, serviceName string, schemaID string) (result GlobalSchemaContract, err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/GlobalSchemaClient.Get") + defer func() { + sc := -1 + if result.Response.Response != nil { + sc = result.Response.Response.StatusCode + } + tracing.EndSpan(ctx, sc, err) + }() + } + if err := validation.Validate([]validation.Validation{ + {TargetValue: serviceName, + Constraints: []validation.Constraint{{Target: "serviceName", Name: validation.MaxLength, Rule: 50, Chain: nil}, + {Target: "serviceName", Name: validation.MinLength, Rule: 1, Chain: nil}, + {Target: "serviceName", Name: validation.Pattern, Rule: `^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$`, Chain: nil}}}, + {TargetValue: schemaID, + Constraints: []validation.Constraint{{Target: "schemaID", Name: validation.MaxLength, Rule: 80, Chain: nil}, + {Target: "schemaID", Name: validation.MinLength, Rule: 1, Chain: nil}}}}); err != nil { + return result, validation.NewError("apimanagement.GlobalSchemaClient", "Get", err.Error()) + } + + req, err := client.GetPreparer(ctx, resourceGroupName, serviceName, schemaID) + if err != nil { + err = autorest.NewErrorWithError(err, "apimanagement.GlobalSchemaClient", "Get", nil, "Failure preparing request") + return + } + + resp, err := client.GetSender(req) + if err != nil { + result.Response = autorest.Response{Response: resp} + err = autorest.NewErrorWithError(err, "apimanagement.GlobalSchemaClient", "Get", resp, "Failure sending request") + return + } + + result, err = client.GetResponder(resp) + if err != nil { + err = autorest.NewErrorWithError(err, "apimanagement.GlobalSchemaClient", "Get", resp, "Failure responding to request") + return + } + + return +} + +// GetPreparer prepares the Get request. +func (client GlobalSchemaClient) GetPreparer(ctx context.Context, resourceGroupName string, serviceName string, schemaID string) (*http.Request, error) { + pathParameters := map[string]interface{}{ + "resourceGroupName": autorest.Encode("path", resourceGroupName), + "schemaId": autorest.Encode("path", schemaID), + "serviceName": autorest.Encode("path", serviceName), + "subscriptionId": autorest.Encode("path", client.SubscriptionID), + } + + const APIVersion = "2021-08-01" + queryParameters := map[string]interface{}{ + "api-version": APIVersion, + } + + preparer := autorest.CreatePreparer( + autorest.AsGet(), + autorest.WithBaseURL(client.BaseURI), + autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/schemas/{schemaId}", pathParameters), + autorest.WithQueryParameters(queryParameters)) + return preparer.Prepare((&http.Request{}).WithContext(ctx)) +} + +// GetSender sends the Get request. The method will close the +// http.Response Body if it receives an error. +func (client GlobalSchemaClient) GetSender(req *http.Request) (*http.Response, error) { + return client.Send(req, azure.DoRetryWithRegistration(client.Client)) +} + +// GetResponder handles the response to the Get request. The method always +// closes the http.Response Body. +func (client GlobalSchemaClient) GetResponder(resp *http.Response) (result GlobalSchemaContract, err error) { + err = autorest.Respond( + resp, + azure.WithErrorUnlessStatusCode(http.StatusOK), + autorest.ByUnmarshallingJSON(&result), + autorest.ByClosing()) + result.Response = autorest.Response{Response: resp} + return +} + +// GetEntityTag gets the entity state (Etag) version of the Schema specified by its identifier. +// Parameters: +// resourceGroupName - the name of the resource group. +// serviceName - the name of the API Management service. +// schemaID - schema id identifier. Must be unique in the current API Management service instance. +func (client GlobalSchemaClient) GetEntityTag(ctx context.Context, resourceGroupName string, serviceName string, schemaID string) (result autorest.Response, err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/GlobalSchemaClient.GetEntityTag") + defer func() { + sc := -1 + if result.Response != nil { + sc = result.Response.StatusCode + } + tracing.EndSpan(ctx, sc, err) + }() + } + if err := validation.Validate([]validation.Validation{ + {TargetValue: serviceName, + Constraints: []validation.Constraint{{Target: "serviceName", Name: validation.MaxLength, Rule: 50, Chain: nil}, + {Target: "serviceName", Name: validation.MinLength, Rule: 1, Chain: nil}, + {Target: "serviceName", Name: validation.Pattern, Rule: `^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$`, Chain: nil}}}, + {TargetValue: schemaID, + Constraints: []validation.Constraint{{Target: "schemaID", Name: validation.MaxLength, Rule: 80, Chain: nil}, + {Target: "schemaID", Name: validation.MinLength, Rule: 1, Chain: nil}}}}); err != nil { + return result, validation.NewError("apimanagement.GlobalSchemaClient", "GetEntityTag", err.Error()) + } + + req, err := client.GetEntityTagPreparer(ctx, resourceGroupName, serviceName, schemaID) + if err != nil { + err = autorest.NewErrorWithError(err, "apimanagement.GlobalSchemaClient", "GetEntityTag", nil, "Failure preparing request") + return + } + + resp, err := client.GetEntityTagSender(req) + if err != nil { + result.Response = resp + err = autorest.NewErrorWithError(err, "apimanagement.GlobalSchemaClient", "GetEntityTag", resp, "Failure sending request") + return + } + + result, err = client.GetEntityTagResponder(resp) + if err != nil { + err = autorest.NewErrorWithError(err, "apimanagement.GlobalSchemaClient", "GetEntityTag", resp, "Failure responding to request") + return + } + + return +} + +// GetEntityTagPreparer prepares the GetEntityTag request. +func (client GlobalSchemaClient) GetEntityTagPreparer(ctx context.Context, resourceGroupName string, serviceName string, schemaID string) (*http.Request, error) { + pathParameters := map[string]interface{}{ + "resourceGroupName": autorest.Encode("path", resourceGroupName), + "schemaId": autorest.Encode("path", schemaID), + "serviceName": autorest.Encode("path", serviceName), + "subscriptionId": autorest.Encode("path", client.SubscriptionID), + } + + const APIVersion = "2021-08-01" + queryParameters := map[string]interface{}{ + "api-version": APIVersion, + } + + preparer := autorest.CreatePreparer( + autorest.AsHead(), + autorest.WithBaseURL(client.BaseURI), + autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/schemas/{schemaId}", pathParameters), + autorest.WithQueryParameters(queryParameters)) + return preparer.Prepare((&http.Request{}).WithContext(ctx)) +} + +// GetEntityTagSender sends the GetEntityTag request. The method will close the +// http.Response Body if it receives an error. +func (client GlobalSchemaClient) GetEntityTagSender(req *http.Request) (*http.Response, error) { + return client.Send(req, azure.DoRetryWithRegistration(client.Client)) +} + +// GetEntityTagResponder handles the response to the GetEntityTag request. The method always +// closes the http.Response Body. +func (client GlobalSchemaClient) GetEntityTagResponder(resp *http.Response) (result autorest.Response, err error) { + err = autorest.Respond( + resp, + azure.WithErrorUnlessStatusCode(http.StatusOK), + autorest.ByClosing()) + result.Response = resp + return +} + +// ListByService lists a collection of schemas registered with service instance. +// Parameters: +// resourceGroupName - the name of the resource group. +// serviceName - the name of the API Management service. +// filter - | Field | Usage | Supported operators | Supported functions +// |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, eq, ne, gt, lt +// | substringof, contains, startswith, endswith |
+// top - number of records to return. +// skip - number of records to skip. +func (client GlobalSchemaClient) ListByService(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32) (result GlobalSchemaCollectionPage, err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/GlobalSchemaClient.ListByService") + defer func() { + sc := -1 + if result.gsc.Response.Response != nil { + sc = result.gsc.Response.Response.StatusCode + } + tracing.EndSpan(ctx, sc, err) + }() + } + if err := validation.Validate([]validation.Validation{ + {TargetValue: serviceName, + Constraints: []validation.Constraint{{Target: "serviceName", Name: validation.MaxLength, Rule: 50, Chain: nil}, + {Target: "serviceName", Name: validation.MinLength, Rule: 1, Chain: nil}, + {Target: "serviceName", Name: validation.Pattern, Rule: `^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$`, Chain: nil}}}, + {TargetValue: top, + Constraints: []validation.Constraint{{Target: "top", Name: validation.Null, Rule: false, + Chain: []validation.Constraint{{Target: "top", Name: validation.InclusiveMinimum, Rule: int64(1), Chain: nil}}}}}, + {TargetValue: skip, + Constraints: []validation.Constraint{{Target: "skip", Name: validation.Null, Rule: false, + Chain: []validation.Constraint{{Target: "skip", Name: validation.InclusiveMinimum, Rule: int64(0), Chain: nil}}}}}}); err != nil { + return result, validation.NewError("apimanagement.GlobalSchemaClient", "ListByService", err.Error()) + } + + result.fn = client.listByServiceNextResults + req, err := client.ListByServicePreparer(ctx, resourceGroupName, serviceName, filter, top, skip) + if err != nil { + err = autorest.NewErrorWithError(err, "apimanagement.GlobalSchemaClient", "ListByService", nil, "Failure preparing request") + return + } + + resp, err := client.ListByServiceSender(req) + if err != nil { + result.gsc.Response = autorest.Response{Response: resp} + err = autorest.NewErrorWithError(err, "apimanagement.GlobalSchemaClient", "ListByService", resp, "Failure sending request") + return + } + + result.gsc, err = client.ListByServiceResponder(resp) + if err != nil { + err = autorest.NewErrorWithError(err, "apimanagement.GlobalSchemaClient", "ListByService", resp, "Failure responding to request") + return + } + if result.gsc.hasNextLink() && result.gsc.IsEmpty() { + err = result.NextWithContext(ctx) + return + } + + return +} + +// ListByServicePreparer prepares the ListByService request. +func (client GlobalSchemaClient) ListByServicePreparer(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32) (*http.Request, error) { + pathParameters := map[string]interface{}{ + "resourceGroupName": autorest.Encode("path", resourceGroupName), + "serviceName": autorest.Encode("path", serviceName), + "subscriptionId": autorest.Encode("path", client.SubscriptionID), + } + + const APIVersion = "2021-08-01" + queryParameters := map[string]interface{}{ + "api-version": APIVersion, + } + if len(filter) > 0 { + queryParameters["$filter"] = autorest.Encode("query", filter) + } + if top != nil { + queryParameters["$top"] = autorest.Encode("query", *top) + } + if skip != nil { + queryParameters["$skip"] = autorest.Encode("query", *skip) + } + + preparer := autorest.CreatePreparer( + autorest.AsGet(), + autorest.WithBaseURL(client.BaseURI), + autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/schemas", pathParameters), + autorest.WithQueryParameters(queryParameters)) + return preparer.Prepare((&http.Request{}).WithContext(ctx)) +} + +// ListByServiceSender sends the ListByService request. The method will close the +// http.Response Body if it receives an error. +func (client GlobalSchemaClient) ListByServiceSender(req *http.Request) (*http.Response, error) { + return client.Send(req, azure.DoRetryWithRegistration(client.Client)) +} + +// ListByServiceResponder handles the response to the ListByService request. The method always +// closes the http.Response Body. +func (client GlobalSchemaClient) ListByServiceResponder(resp *http.Response) (result GlobalSchemaCollection, err error) { + err = autorest.Respond( + resp, + azure.WithErrorUnlessStatusCode(http.StatusOK), + autorest.ByUnmarshallingJSON(&result), + autorest.ByClosing()) + result.Response = autorest.Response{Response: resp} + return +} + +// listByServiceNextResults retrieves the next set of results, if any. +func (client GlobalSchemaClient) listByServiceNextResults(ctx context.Context, lastResults GlobalSchemaCollection) (result GlobalSchemaCollection, err error) { + req, err := lastResults.globalSchemaCollectionPreparer(ctx) + if err != nil { + return result, autorest.NewErrorWithError(err, "apimanagement.GlobalSchemaClient", "listByServiceNextResults", nil, "Failure preparing next results request") + } + if req == nil { + return + } + resp, err := client.ListByServiceSender(req) + if err != nil { + result.Response = autorest.Response{Response: resp} + return result, autorest.NewErrorWithError(err, "apimanagement.GlobalSchemaClient", "listByServiceNextResults", resp, "Failure sending next results request") + } + result, err = client.ListByServiceResponder(resp) + if err != nil { + err = autorest.NewErrorWithError(err, "apimanagement.GlobalSchemaClient", "listByServiceNextResults", resp, "Failure responding to next results request") + } + return +} + +// ListByServiceComplete enumerates all values, automatically crossing page boundaries as required. +func (client GlobalSchemaClient) ListByServiceComplete(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32) (result GlobalSchemaCollectionIterator, err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/GlobalSchemaClient.ListByService") + defer func() { + sc := -1 + if result.Response().Response.Response != nil { + sc = result.page.Response().Response.Response.StatusCode + } + tracing.EndSpan(ctx, sc, err) + }() + } + result.page, err = client.ListByService(ctx, resourceGroupName, serviceName, filter, top, skip) + return +} diff --git a/services/apimanagement/mgmt/2021-08-01/apimanagement/models.go b/services/apimanagement/mgmt/2021-08-01/apimanagement/models.go index 6c579f52454c..15ca6f280274 100644 --- a/services/apimanagement/mgmt/2021-08-01/apimanagement/models.go +++ b/services/apimanagement/mgmt/2021-08-01/apimanagement/models.go @@ -6301,6 +6301,304 @@ type GenerateSsoURLResult struct { Value *string `json:"value,omitempty"` } +// GlobalSchemaCollection the response of the list schema operation. +type GlobalSchemaCollection struct { + autorest.Response `json:"-"` + // Value - READ-ONLY; Global Schema Contract value. + Value *[]GlobalSchemaContract `json:"value,omitempty"` + // Count - Total record count number. + Count *int64 `json:"count,omitempty"` + // NextLink - READ-ONLY; Next page link if any. + NextLink *string `json:"nextLink,omitempty"` +} + +// MarshalJSON is the custom marshaler for GlobalSchemaCollection. +func (gsc GlobalSchemaCollection) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if gsc.Count != nil { + objectMap["count"] = gsc.Count + } + return json.Marshal(objectMap) +} + +// GlobalSchemaCollectionIterator provides access to a complete listing of GlobalSchemaContract values. +type GlobalSchemaCollectionIterator struct { + i int + page GlobalSchemaCollectionPage +} + +// NextWithContext advances to the next value. If there was an error making +// the request the iterator does not advance and the error is returned. +func (iter *GlobalSchemaCollectionIterator) NextWithContext(ctx context.Context) (err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/GlobalSchemaCollectionIterator.NextWithContext") + defer func() { + sc := -1 + if iter.Response().Response.Response != nil { + sc = iter.Response().Response.Response.StatusCode + } + tracing.EndSpan(ctx, sc, err) + }() + } + iter.i++ + if iter.i < len(iter.page.Values()) { + return nil + } + err = iter.page.NextWithContext(ctx) + if err != nil { + iter.i-- + return err + } + iter.i = 0 + return nil +} + +// Next advances to the next value. If there was an error making +// the request the iterator does not advance and the error is returned. +// Deprecated: Use NextWithContext() instead. +func (iter *GlobalSchemaCollectionIterator) Next() error { + return iter.NextWithContext(context.Background()) +} + +// NotDone returns true if the enumeration should be started or is not yet complete. +func (iter GlobalSchemaCollectionIterator) NotDone() bool { + return iter.page.NotDone() && iter.i < len(iter.page.Values()) +} + +// Response returns the raw server response from the last page request. +func (iter GlobalSchemaCollectionIterator) Response() GlobalSchemaCollection { + return iter.page.Response() +} + +// Value returns the current value or a zero-initialized value if the +// iterator has advanced beyond the end of the collection. +func (iter GlobalSchemaCollectionIterator) Value() GlobalSchemaContract { + if !iter.page.NotDone() { + return GlobalSchemaContract{} + } + return iter.page.Values()[iter.i] +} + +// Creates a new instance of the GlobalSchemaCollectionIterator type. +func NewGlobalSchemaCollectionIterator(page GlobalSchemaCollectionPage) GlobalSchemaCollectionIterator { + return GlobalSchemaCollectionIterator{page: page} +} + +// IsEmpty returns true if the ListResult contains no values. +func (gsc GlobalSchemaCollection) IsEmpty() bool { + return gsc.Value == nil || len(*gsc.Value) == 0 +} + +// hasNextLink returns true if the NextLink is not empty. +func (gsc GlobalSchemaCollection) hasNextLink() bool { + return gsc.NextLink != nil && len(*gsc.NextLink) != 0 +} + +// globalSchemaCollectionPreparer prepares a request to retrieve the next set of results. +// It returns nil if no more results exist. +func (gsc GlobalSchemaCollection) globalSchemaCollectionPreparer(ctx context.Context) (*http.Request, error) { + if !gsc.hasNextLink() { + return nil, nil + } + return autorest.Prepare((&http.Request{}).WithContext(ctx), + autorest.AsJSON(), + autorest.AsGet(), + autorest.WithBaseURL(to.String(gsc.NextLink))) +} + +// GlobalSchemaCollectionPage contains a page of GlobalSchemaContract values. +type GlobalSchemaCollectionPage struct { + fn func(context.Context, GlobalSchemaCollection) (GlobalSchemaCollection, error) + gsc GlobalSchemaCollection +} + +// NextWithContext advances to the next page of values. If there was an error making +// the request the page does not advance and the error is returned. +func (page *GlobalSchemaCollectionPage) NextWithContext(ctx context.Context) (err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/GlobalSchemaCollectionPage.NextWithContext") + defer func() { + sc := -1 + if page.Response().Response.Response != nil { + sc = page.Response().Response.Response.StatusCode + } + tracing.EndSpan(ctx, sc, err) + }() + } + for { + next, err := page.fn(ctx, page.gsc) + if err != nil { + return err + } + page.gsc = next + if !next.hasNextLink() || !next.IsEmpty() { + break + } + } + return nil +} + +// Next advances to the next page of values. If there was an error making +// the request the page does not advance and the error is returned. +// Deprecated: Use NextWithContext() instead. +func (page *GlobalSchemaCollectionPage) Next() error { + return page.NextWithContext(context.Background()) +} + +// NotDone returns true if the page enumeration should be started or is not yet complete. +func (page GlobalSchemaCollectionPage) NotDone() bool { + return !page.gsc.IsEmpty() +} + +// Response returns the raw server response from the last page request. +func (page GlobalSchemaCollectionPage) Response() GlobalSchemaCollection { + return page.gsc +} + +// Values returns the slice of values for the current page or nil if there are no values. +func (page GlobalSchemaCollectionPage) Values() []GlobalSchemaContract { + if page.gsc.IsEmpty() { + return nil + } + return *page.gsc.Value +} + +// Creates a new instance of the GlobalSchemaCollectionPage type. +func NewGlobalSchemaCollectionPage(cur GlobalSchemaCollection, getNextPage func(context.Context, GlobalSchemaCollection) (GlobalSchemaCollection, error)) GlobalSchemaCollectionPage { + return GlobalSchemaCollectionPage{ + fn: getNextPage, + gsc: cur, + } +} + +// GlobalSchemaContract global Schema Contract details. +type GlobalSchemaContract struct { + autorest.Response `json:"-"` + // GlobalSchemaContractProperties - Properties of the Global Schema. + *GlobalSchemaContractProperties `json:"properties,omitempty"` + // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + ID *string `json:"id,omitempty"` + // Name - READ-ONLY; The name of the resource + Name *string `json:"name,omitempty"` + // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + Type *string `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for GlobalSchemaContract. +func (gsc GlobalSchemaContract) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if gsc.GlobalSchemaContractProperties != nil { + objectMap["properties"] = gsc.GlobalSchemaContractProperties + } + return json.Marshal(objectMap) +} + +// UnmarshalJSON is the custom unmarshaler for GlobalSchemaContract struct. +func (gsc *GlobalSchemaContract) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "properties": + if v != nil { + var globalSchemaContractProperties GlobalSchemaContractProperties + err = json.Unmarshal(*v, &globalSchemaContractProperties) + if err != nil { + return err + } + gsc.GlobalSchemaContractProperties = &globalSchemaContractProperties + } + case "id": + if v != nil { + var ID string + err = json.Unmarshal(*v, &ID) + if err != nil { + return err + } + gsc.ID = &ID + } + case "name": + if v != nil { + var name string + err = json.Unmarshal(*v, &name) + if err != nil { + return err + } + gsc.Name = &name + } + case "type": + if v != nil { + var typeVar string + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + gsc.Type = &typeVar + } + } + } + + return nil +} + +// GlobalSchemaContractProperties schema create or update contract Properties. +type GlobalSchemaContractProperties struct { + // SchemaType - Schema Type. Immutable. Possible values include: 'SchemaTypeXML', 'SchemaTypeJSON' + SchemaType SchemaType `json:"schemaType,omitempty"` + // Description - Free-form schema entity description. + Description *string `json:"description,omitempty"` + // Value - Json-encoded string for non json-based schema. + Value interface{} `json:"value,omitempty"` + // Document - Global Schema document object for json-based schema formats(e.g. json schema). + Document interface{} `json:"document,omitempty"` +} + +// GlobalSchemaCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a +// long-running operation. +type GlobalSchemaCreateOrUpdateFuture struct { + azure.FutureAPI + // Result returns the result of the asynchronous operation. + // If the operation has not completed it will return an error. + Result func(GlobalSchemaClient) (GlobalSchemaContract, error) +} + +// UnmarshalJSON is the custom unmarshaller for CreateFuture. +func (future *GlobalSchemaCreateOrUpdateFuture) UnmarshalJSON(body []byte) error { + var azFuture azure.Future + if err := json.Unmarshal(body, &azFuture); err != nil { + return err + } + future.FutureAPI = &azFuture + future.Result = future.result + return nil +} + +// result is the default implementation for GlobalSchemaCreateOrUpdateFuture.Result. +func (future *GlobalSchemaCreateOrUpdateFuture) result(client GlobalSchemaClient) (gsc GlobalSchemaContract, err error) { + var done bool + done, err = future.DoneWithContext(context.Background(), client) + if err != nil { + err = autorest.NewErrorWithError(err, "apimanagement.GlobalSchemaCreateOrUpdateFuture", "Result", future.Response(), "Polling failure") + return + } + if !done { + gsc.Response.Response = future.Response() + err = azure.NewAsyncOpIncompleteError("apimanagement.GlobalSchemaCreateOrUpdateFuture") + return + } + sender := autorest.DecorateSender(client, autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...)) + if gsc.Response.Response, err = future.GetResult(sender); err == nil && gsc.Response.Response.StatusCode != http.StatusNoContent { + gsc, err = client.CreateOrUpdateResponder(gsc.Response.Response) + if err != nil { + err = autorest.NewErrorWithError(err, "apimanagement.GlobalSchemaCreateOrUpdateFuture", "Result", gsc.Response.Response, "Failure responding to request") + } + } + return +} + // GroupCollection paged Group list representation. type GroupCollection struct { autorest.Response `json:"-"` @@ -7989,7 +8287,7 @@ type IssueUpdateContractProperties struct { type KeyVaultContractCreateProperties struct { // SecretIdentifier - Key vault secret identifier for fetching secret. Providing a versioned secret will prevent auto-refresh. This requires API Management service to be configured with aka.ms/apimmsi SecretIdentifier *string `json:"secretIdentifier,omitempty"` - // IdentityClientID - SystemAssignedIdentity or UserAssignedIdentity Client Id which will be used to access key vault secret. + // IdentityClientID - Null for SystemAssignedIdentity or Client Id for UserAssignedIdentity , which will be used to access key vault secret. IdentityClientID *string `json:"identityClientId,omitempty"` } @@ -7999,7 +8297,7 @@ type KeyVaultContractProperties struct { LastStatus *KeyVaultLastAccessStatusContractProperties `json:"lastStatus,omitempty"` // SecretIdentifier - Key vault secret identifier for fetching secret. Providing a versioned secret will prevent auto-refresh. This requires API Management service to be configured with aka.ms/apimmsi SecretIdentifier *string `json:"secretIdentifier,omitempty"` - // IdentityClientID - SystemAssignedIdentity or UserAssignedIdentity Client Id which will be used to access key vault secret. + // IdentityClientID - Null for SystemAssignedIdentity or Client Id for UserAssignedIdentity , which will be used to access key vault secret. IdentityClientID *string `json:"identityClientId,omitempty"` } @@ -13350,10 +13648,10 @@ func NewSchemaCollectionPage(cur SchemaCollection, getNextPage func(context.Cont } } -// SchemaContract schema Contract details. +// SchemaContract API Schema Contract details. type SchemaContract struct { autorest.Response `json:"-"` - // SchemaContractProperties - Properties of the Schema. + // SchemaContractProperties - Properties of the API Schema. *SchemaContractProperties `json:"properties,omitempty"` // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` @@ -13427,7 +13725,7 @@ func (sc *SchemaContract) UnmarshalJSON(body []byte) error { type SchemaContractProperties struct { // ContentType - Must be a valid a media type used in a Content-Type header as defined in the RFC 2616. Media type of the schema document (e.g. application/json, application/xml).
- `Swagger` Schema use `application/vnd.ms-azure-apim.swagger.definitions+json`
- `WSDL` Schema use `application/vnd.ms-azure-apim.xsd+xml`
- `OpenApi` Schema use `application/vnd.oai.openapi.components+json`
- `WADL Schema` use `application/vnd.ms-azure-apim.wadl.grammars+xml`. ContentType *string `json:"contentType,omitempty"` - // SchemaDocumentProperties - Create or update Properties of the Schema Document. + // SchemaDocumentProperties - Create or update Properties of the API Schema Document. *SchemaDocumentProperties `json:"document,omitempty"` } @@ -13476,13 +13774,13 @@ func (scp *SchemaContractProperties) UnmarshalJSON(body []byte) error { return nil } -// SchemaDocumentProperties schema Document Properties. +// SchemaDocumentProperties api Schema Document Properties. type SchemaDocumentProperties struct { // Value - Json escaped string defining the document representing the Schema. Used for schemas other than Swagger/OpenAPI. Value *string `json:"value,omitempty"` - // Definitions - Types definitions. Used for OpenAPI v2 (Swagger) schemas only, null otherwise. + // Definitions - Types definitions. Used for Swagger/OpenAPI v1 schemas only, null otherwise. Definitions interface{} `json:"definitions,omitempty"` - // Components - Types definitions. Used for OpenAPI v3 schemas only, null otherwise. + // Components - Types definitions. Used for Swagger/OpenAPI v2/v3 schemas only, null otherwise. Components interface{} `json:"components,omitempty"` } diff --git a/services/apimanagement/mgmt/2021-08-01/apimanagement/privateendpointconnection.go b/services/apimanagement/mgmt/2021-08-01/apimanagement/privateendpointconnection.go index af5fa715d5a2..520255d23361 100644 --- a/services/apimanagement/mgmt/2021-08-01/apimanagement/privateendpointconnection.go +++ b/services/apimanagement/mgmt/2021-08-01/apimanagement/privateendpointconnection.go @@ -116,7 +116,7 @@ func (client PrivateEndpointConnectionClient) CreateOrUpdateSender(req *http.Req func (client PrivateEndpointConnectionClient) CreateOrUpdateResponder(resp *http.Response) (result PrivateEndpointConnection, err error) { err = autorest.Respond( resp, - azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusCreated), + azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) result.Response = autorest.Response{Response: resp} @@ -297,7 +297,7 @@ func (client PrivateEndpointConnectionClient) GetByNameResponder(resp *http.Resp return } -// GetPrivateLinkResource description for Gets the private link resources +// GetPrivateLinkResource gets the private link resources // Parameters: // resourceGroupName - the name of the resource group. // serviceName - the name of the API Management service. @@ -467,7 +467,7 @@ func (client PrivateEndpointConnectionClient) ListByServiceResponder(resp *http. return } -// ListPrivateLinkResources description for Gets the private link resources +// ListPrivateLinkResources gets the private link resources // Parameters: // resourceGroupName - the name of the resource group. // serviceName - the name of the API Management service. diff --git a/services/preview/apimanagement/mgmt/2018-06-01-preview/apimanagement/CHANGELOG.md b/services/preview/apimanagement/mgmt/2018-06-01-preview/apimanagement/CHANGELOG.md index 52911e4cc5e4..a1ecf841edb0 100644 --- a/services/preview/apimanagement/mgmt/2018-06-01-preview/apimanagement/CHANGELOG.md +++ b/services/preview/apimanagement/mgmt/2018-06-01-preview/apimanagement/CHANGELOG.md @@ -1,2 +1,2 @@ -# Change History +# Unreleased diff --git a/services/preview/apimanagement/mgmt/2018-06-01-preview/apimanagement/_meta.json b/services/preview/apimanagement/mgmt/2018-06-01-preview/apimanagement/_meta.json index 35fe5a061fcc..f66ff1c32c8f 100644 --- a/services/preview/apimanagement/mgmt/2018-06-01-preview/apimanagement/_meta.json +++ b/services/preview/apimanagement/mgmt/2018-06-01-preview/apimanagement/_meta.json @@ -1,5 +1,5 @@ { - "commit": "3c764635e7d442b3e74caf593029fcd440b3ef82", + "commit": "eb2b882ef0a4aa5956ca38cfa566fc4d7cfb3fb0", "readme": "/_/azure-rest-api-specs/specification/apimanagement/resource-manager/readme.md", "tag": "package-2018-06-preview", "use": "@microsoft.azure/autorest.go@2.1.187", diff --git a/services/preview/apimanagement/mgmt/2018-06-01-preview/apimanagement/models.go b/services/preview/apimanagement/mgmt/2018-06-01-preview/apimanagement/models.go index a9e5e379aa86..6035711d9da2 100644 --- a/services/preview/apimanagement/mgmt/2018-06-01-preview/apimanagement/models.go +++ b/services/preview/apimanagement/mgmt/2018-06-01-preview/apimanagement/models.go @@ -1607,7 +1607,7 @@ type APIVersionSetContractDetails struct { ID *string `json:"id,omitempty"` // Description - Description of API Version Set. Description *string `json:"description,omitempty"` - // VersioningScheme - An value that determines where the API Version identifer will be located in a HTTP request. Possible values include: 'VersioningScheme1Segment', 'VersioningScheme1Query', 'VersioningScheme1Header' + // VersioningScheme - An value that determines where the API Version identifier will be located in a HTTP request. Possible values include: 'VersioningScheme1Segment', 'VersioningScheme1Query', 'VersioningScheme1Header' VersioningScheme VersioningScheme1 `json:"versioningScheme,omitempty"` // VersionQueryName - Name of query parameter that indicates the API Version if versioningScheme is set to `query`. VersionQueryName *string `json:"versionQueryName,omitempty"` @@ -1619,7 +1619,7 @@ type APIVersionSetContractDetails struct { type APIVersionSetContractProperties struct { // DisplayName - Name of API Version Set DisplayName *string `json:"displayName,omitempty"` - // VersioningScheme - An value that determines where the API Version identifer will be located in a HTTP request. Possible values include: 'VersioningSchemeSegment', 'VersioningSchemeQuery', 'VersioningSchemeHeader' + // VersioningScheme - An value that determines where the API Version identifier will be located in a HTTP request. Possible values include: 'VersioningSchemeSegment', 'VersioningSchemeQuery', 'VersioningSchemeHeader' VersioningScheme VersioningScheme `json:"versioningScheme,omitempty"` // Description - Description of API Version Set. Description *string `json:"description,omitempty"` @@ -1682,7 +1682,7 @@ func (avsup *APIVersionSetUpdateParameters) UnmarshalJSON(body []byte) error { type APIVersionSetUpdateParametersProperties struct { // DisplayName - Name of API Version Set DisplayName *string `json:"displayName,omitempty"` - // VersioningScheme - An value that determines where the API Version identifer will be located in a HTTP request. Possible values include: 'VersioningSchemeSegment', 'VersioningSchemeQuery', 'VersioningSchemeHeader' + // VersioningScheme - An value that determines where the API Version identifier will be located in a HTTP request. Possible values include: 'VersioningSchemeSegment', 'VersioningSchemeQuery', 'VersioningSchemeHeader' VersioningScheme VersioningScheme `json:"versioningScheme,omitempty"` // Description - Description of API Version Set. Description *string `json:"description,omitempty"` diff --git a/services/preview/apimanagement/mgmt/2019-12-01-preview/apimanagement/CHANGELOG.md b/services/preview/apimanagement/mgmt/2019-12-01-preview/apimanagement/CHANGELOG.md index 52911e4cc5e4..a1ecf841edb0 100644 --- a/services/preview/apimanagement/mgmt/2019-12-01-preview/apimanagement/CHANGELOG.md +++ b/services/preview/apimanagement/mgmt/2019-12-01-preview/apimanagement/CHANGELOG.md @@ -1,2 +1,2 @@ -# Change History +# Unreleased diff --git a/services/preview/apimanagement/mgmt/2019-12-01-preview/apimanagement/_meta.json b/services/preview/apimanagement/mgmt/2019-12-01-preview/apimanagement/_meta.json index 9019f01b3166..33480de28d6b 100644 --- a/services/preview/apimanagement/mgmt/2019-12-01-preview/apimanagement/_meta.json +++ b/services/preview/apimanagement/mgmt/2019-12-01-preview/apimanagement/_meta.json @@ -1,5 +1,5 @@ { - "commit": "3c764635e7d442b3e74caf593029fcd440b3ef82", + "commit": "eb2b882ef0a4aa5956ca38cfa566fc4d7cfb3fb0", "readme": "/_/azure-rest-api-specs/specification/apimanagement/resource-manager/readme.md", "tag": "package-preview-2019-12", "use": "@microsoft.azure/autorest.go@2.1.187", diff --git a/services/preview/apimanagement/mgmt/2019-12-01-preview/apimanagement/models.go b/services/preview/apimanagement/mgmt/2019-12-01-preview/apimanagement/models.go index 2c6b2a8586ef..d514de773348 100644 --- a/services/preview/apimanagement/mgmt/2019-12-01-preview/apimanagement/models.go +++ b/services/preview/apimanagement/mgmt/2019-12-01-preview/apimanagement/models.go @@ -1739,7 +1739,7 @@ type APIVersionSetContractDetails struct { Name *string `json:"name,omitempty"` // Description - Description of API Version Set. Description *string `json:"description,omitempty"` - // VersioningScheme - An value that determines where the API Version identifer will be located in a HTTP request. Possible values include: 'VersioningScheme1Segment', 'VersioningScheme1Query', 'VersioningScheme1Header' + // VersioningScheme - An value that determines where the API Version identifier will be located in a HTTP request. Possible values include: 'VersioningScheme1Segment', 'VersioningScheme1Query', 'VersioningScheme1Header' VersioningScheme VersioningScheme1 `json:"versioningScheme,omitempty"` // VersionQueryName - Name of query parameter that indicates the API Version if versioningScheme is set to `query`. VersionQueryName *string `json:"versionQueryName,omitempty"` @@ -1751,7 +1751,7 @@ type APIVersionSetContractDetails struct { type APIVersionSetContractProperties struct { // DisplayName - Name of API Version Set DisplayName *string `json:"displayName,omitempty"` - // VersioningScheme - An value that determines where the API Version identifer will be located in a HTTP request. Possible values include: 'VersioningSchemeSegment', 'VersioningSchemeQuery', 'VersioningSchemeHeader' + // VersioningScheme - An value that determines where the API Version identifier will be located in a HTTP request. Possible values include: 'VersioningSchemeSegment', 'VersioningSchemeQuery', 'VersioningSchemeHeader' VersioningScheme VersioningScheme `json:"versioningScheme,omitempty"` // Description - Description of API Version Set. Description *string `json:"description,omitempty"` @@ -1814,7 +1814,7 @@ func (avsup *APIVersionSetUpdateParameters) UnmarshalJSON(body []byte) error { type APIVersionSetUpdateParametersProperties struct { // DisplayName - Name of API Version Set DisplayName *string `json:"displayName,omitempty"` - // VersioningScheme - An value that determines where the API Version identifer will be located in a HTTP request. Possible values include: 'VersioningSchemeSegment', 'VersioningSchemeQuery', 'VersioningSchemeHeader' + // VersioningScheme - An value that determines where the API Version identifier will be located in a HTTP request. Possible values include: 'VersioningSchemeSegment', 'VersioningSchemeQuery', 'VersioningSchemeHeader' VersioningScheme VersioningScheme `json:"versioningScheme,omitempty"` // Description - Description of API Version Set. Description *string `json:"description,omitempty"` diff --git a/services/preview/apimanagement/mgmt/2021-01-01-preview/apimanagement/CHANGELOG.md b/services/preview/apimanagement/mgmt/2021-01-01-preview/apimanagement/CHANGELOG.md index 52911e4cc5e4..a1ecf841edb0 100644 --- a/services/preview/apimanagement/mgmt/2021-01-01-preview/apimanagement/CHANGELOG.md +++ b/services/preview/apimanagement/mgmt/2021-01-01-preview/apimanagement/CHANGELOG.md @@ -1,2 +1,2 @@ -# Change History +# Unreleased diff --git a/services/preview/apimanagement/mgmt/2021-01-01-preview/apimanagement/_meta.json b/services/preview/apimanagement/mgmt/2021-01-01-preview/apimanagement/_meta.json index 3e0c20617f39..34328a725d22 100644 --- a/services/preview/apimanagement/mgmt/2021-01-01-preview/apimanagement/_meta.json +++ b/services/preview/apimanagement/mgmt/2021-01-01-preview/apimanagement/_meta.json @@ -1,5 +1,5 @@ { - "commit": "41bc4891ee06e2225365cb153e88a5749330da99", + "commit": "eb2b882ef0a4aa5956ca38cfa566fc4d7cfb3fb0", "readme": "/_/azure-rest-api-specs/specification/apimanagement/resource-manager/readme.md", "tag": "package-preview-2021-01", "use": "@microsoft.azure/autorest.go@2.1.187", diff --git a/services/preview/apimanagement/mgmt/2021-01-01-preview/apimanagement/models.go b/services/preview/apimanagement/mgmt/2021-01-01-preview/apimanagement/models.go index 09a59db0dcc0..dfcd46138db0 100644 --- a/services/preview/apimanagement/mgmt/2021-01-01-preview/apimanagement/models.go +++ b/services/preview/apimanagement/mgmt/2021-01-01-preview/apimanagement/models.go @@ -7819,7 +7819,7 @@ type IssueUpdateContractProperties struct { type KeyVaultContractCreateProperties struct { // SecretIdentifier - Key vault secret identifier for fetching secret. Providing a versioned secret will prevent auto-refresh. This requires API Management service to be configured with aka.ms/apimmsi SecretIdentifier *string `json:"secretIdentifier,omitempty"` - // IdentityClientID - SystemAssignedIdentity or UserAssignedIdentity Client Id which will be used to access key vault secret. + // IdentityClientID - Null for SystemAssignedIdentity or Client Id for UserAssignedIdentity , which will be used to access key vault secret. IdentityClientID *string `json:"identityClientId,omitempty"` } @@ -7829,7 +7829,7 @@ type KeyVaultContractProperties struct { LastStatus *KeyVaultLastAccessStatusContractProperties `json:"lastStatus,omitempty"` // SecretIdentifier - Key vault secret identifier for fetching secret. Providing a versioned secret will prevent auto-refresh. This requires API Management service to be configured with aka.ms/apimmsi SecretIdentifier *string `json:"secretIdentifier,omitempty"` - // IdentityClientID - SystemAssignedIdentity or UserAssignedIdentity Client Id which will be used to access key vault secret. + // IdentityClientID - Null for SystemAssignedIdentity or Client Id for UserAssignedIdentity , which will be used to access key vault secret. IdentityClientID *string `json:"identityClientId,omitempty"` } diff --git a/services/preview/web/mgmt/2015-08-01-preview/web/CHANGELOG.md b/services/preview/web/mgmt/2015-08-01-preview/web/CHANGELOG.md index 52911e4cc5e4..a1ecf841edb0 100644 --- a/services/preview/web/mgmt/2015-08-01-preview/web/CHANGELOG.md +++ b/services/preview/web/mgmt/2015-08-01-preview/web/CHANGELOG.md @@ -1,2 +1,2 @@ -# Change History +# Unreleased diff --git a/services/preview/web/mgmt/2015-08-01-preview/web/_meta.json b/services/preview/web/mgmt/2015-08-01-preview/web/_meta.json index c3b88e5677e0..bf36339fcf2c 100644 --- a/services/preview/web/mgmt/2015-08-01-preview/web/_meta.json +++ b/services/preview/web/mgmt/2015-08-01-preview/web/_meta.json @@ -1,5 +1,5 @@ { - "commit": "3c764635e7d442b3e74caf593029fcd440b3ef82", + "commit": "eb2b882ef0a4aa5956ca38cfa566fc4d7cfb3fb0", "readme": "/_/azure-rest-api-specs/specification/web/resource-manager/readme.md", "tag": "package-2015-08-preview", "use": "@microsoft.azure/autorest.go@2.1.187", diff --git a/services/web/mgmt/2016-09-01/web/CHANGELOG.md b/services/web/mgmt/2016-09-01/web/CHANGELOG.md index 52911e4cc5e4..a1ecf841edb0 100644 --- a/services/web/mgmt/2016-09-01/web/CHANGELOG.md +++ b/services/web/mgmt/2016-09-01/web/CHANGELOG.md @@ -1,2 +1,2 @@ -# Change History +# Unreleased diff --git a/services/web/mgmt/2016-09-01/web/_meta.json b/services/web/mgmt/2016-09-01/web/_meta.json index bb5cce8fff6b..4fc8718335e6 100644 --- a/services/web/mgmt/2016-09-01/web/_meta.json +++ b/services/web/mgmt/2016-09-01/web/_meta.json @@ -1,5 +1,5 @@ { - "commit": "3c764635e7d442b3e74caf593029fcd440b3ef82", + "commit": "eb2b882ef0a4aa5956ca38cfa566fc4d7cfb3fb0", "readme": "/_/azure-rest-api-specs/specification/web/resource-manager/readme.md", "tag": "package-2016-09", "use": "@microsoft.azure/autorest.go@2.1.187", diff --git a/services/web/mgmt/2016-09-01/web/apps.go b/services/web/mgmt/2016-09-01/web/apps.go index 2c40c480c9f4..0bd8160586b9 100644 --- a/services/web/mgmt/2016-09-01/web/apps.go +++ b/services/web/mgmt/2016-09-01/web/apps.go @@ -2720,8 +2720,7 @@ func (client AppsClient) CreateOrUpdateRelayServiceConnectionSlotResponder(resp // name - unique name of the app to create or update. To create or update a deployment slot, use the {slot} // parameter. // siteEnvelope - a JSON representation of the app properties. See example. -// slot - name of the deployment slot to create or update. By default, this API attempts to create or modify -// the production slot. +// slot - name of the deployment slot to create or update. The name 'production' is reserved. // skipDNSRegistration - if true web app hostname is not registered with DNS on creation. This parameter is // only used for app creation. // skipCustomDomainVerification - if true, custom (non *.azurewebsites.net) domains associated with web app are @@ -29180,8 +29179,7 @@ func (client AppsClient) UpdateSitePushSettingsSlotResponder(resp *http.Response // name - unique name of the app to create or update. To create or update a deployment slot, use the {slot} // parameter. // siteEnvelope - a JSON representation of the app properties. See example. -// slot - name of the deployment slot to create or update. By default, this API attempts to create or modify -// the production slot. +// slot - name of the deployment slot to create or update. The name 'production' is reserved. // skipDNSRegistration - if true web app hostname is not registered with DNS on creation. This parameter is // only used for app creation. // skipCustomDomainVerification - if true, custom (non *.azurewebsites.net) domains associated with web app are diff --git a/services/web/mgmt/2016-09-01/web/domains.go b/services/web/mgmt/2016-09-01/web/domains.go index eba793169a0b..25f9c2aecbb6 100644 --- a/services/web/mgmt/2016-09-01/web/domains.go +++ b/services/web/mgmt/2016-09-01/web/domains.go @@ -255,7 +255,7 @@ func (client DomainsClient) CreateOrUpdateResponder(resp *http.Response) (result } // CreateOrUpdateOwnershipIdentifier creates an ownership identifier for a domain or updates identifier details for an -// existing identifer +// existing identifier // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // domainName - name of domain. @@ -1411,7 +1411,7 @@ func (client DomainsClient) UpdateResponder(resp *http.Response) (result Domain, } // UpdateOwnershipIdentifier creates an ownership identifier for a domain or updates identifier details for an existing -// identifer +// identifier // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // domainName - name of domain. diff --git a/services/web/mgmt/2018-02-01/web/CHANGELOG.md b/services/web/mgmt/2018-02-01/web/CHANGELOG.md index 52911e4cc5e4..a1ecf841edb0 100644 --- a/services/web/mgmt/2018-02-01/web/CHANGELOG.md +++ b/services/web/mgmt/2018-02-01/web/CHANGELOG.md @@ -1,2 +1,2 @@ -# Change History +# Unreleased diff --git a/services/web/mgmt/2018-02-01/web/_meta.json b/services/web/mgmt/2018-02-01/web/_meta.json index d122ca12c7db..e137f8e6a99a 100644 --- a/services/web/mgmt/2018-02-01/web/_meta.json +++ b/services/web/mgmt/2018-02-01/web/_meta.json @@ -1,5 +1,5 @@ { - "commit": "3c764635e7d442b3e74caf593029fcd440b3ef82", + "commit": "eb2b882ef0a4aa5956ca38cfa566fc4d7cfb3fb0", "readme": "/_/azure-rest-api-specs/specification/web/resource-manager/readme.md", "tag": "package-2018-02", "use": "@microsoft.azure/autorest.go@2.1.187", diff --git a/services/web/mgmt/2018-02-01/web/apps.go b/services/web/mgmt/2018-02-01/web/apps.go index 1f0ef7cf6b6c..78efdbe7a490 100644 --- a/services/web/mgmt/2018-02-01/web/apps.go +++ b/services/web/mgmt/2018-02-01/web/apps.go @@ -3093,8 +3093,7 @@ func (client AppsClient) CreateOrUpdateRelayServiceConnectionSlotResponder(resp // name - unique name of the app to create or update. To create or update a deployment slot, use the {slot} // parameter. // siteEnvelope - a JSON representation of the app properties. See example. -// slot - name of the deployment slot to create or update. By default, this API attempts to create or modify -// the production slot. +// slot - name of the deployment slot to create or update. The name 'production' is reserved. func (client AppsClient) CreateOrUpdateSlot(ctx context.Context, resourceGroupName string, name string, siteEnvelope Site, slot string) (result AppsCreateOrUpdateSlotFuture, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/AppsClient.CreateOrUpdateSlot") diff --git a/services/web/mgmt/2018-02-01/web/domains.go b/services/web/mgmt/2018-02-01/web/domains.go index b095248d6f34..4d7fd3c70360 100644 --- a/services/web/mgmt/2018-02-01/web/domains.go +++ b/services/web/mgmt/2018-02-01/web/domains.go @@ -255,7 +255,7 @@ func (client DomainsClient) CreateOrUpdateResponder(resp *http.Response) (result } // CreateOrUpdateOwnershipIdentifier creates an ownership identifier for a domain or updates identifier details for an -// existing identifer +// existing identifier // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // domainName - name of domain. @@ -1411,7 +1411,7 @@ func (client DomainsClient) UpdateResponder(resp *http.Response) (result Domain, } // UpdateOwnershipIdentifier creates an ownership identifier for a domain or updates identifier details for an existing -// identifer +// identifier // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // domainName - name of domain. diff --git a/services/web/mgmt/2019-08-01/web/CHANGELOG.md b/services/web/mgmt/2019-08-01/web/CHANGELOG.md index 52911e4cc5e4..a1ecf841edb0 100644 --- a/services/web/mgmt/2019-08-01/web/CHANGELOG.md +++ b/services/web/mgmt/2019-08-01/web/CHANGELOG.md @@ -1,2 +1,2 @@ -# Change History +# Unreleased diff --git a/services/web/mgmt/2019-08-01/web/_meta.json b/services/web/mgmt/2019-08-01/web/_meta.json index 33928f32366a..a1585e25e2e0 100644 --- a/services/web/mgmt/2019-08-01/web/_meta.json +++ b/services/web/mgmt/2019-08-01/web/_meta.json @@ -1,5 +1,5 @@ { - "commit": "3c764635e7d442b3e74caf593029fcd440b3ef82", + "commit": "eb2b882ef0a4aa5956ca38cfa566fc4d7cfb3fb0", "readme": "/_/azure-rest-api-specs/specification/web/resource-manager/readme.md", "tag": "package-2019-08", "use": "@microsoft.azure/autorest.go@2.1.187", diff --git a/services/web/mgmt/2019-08-01/web/apps.go b/services/web/mgmt/2019-08-01/web/apps.go index f3b6adabfdb4..2d13dc25d566 100644 --- a/services/web/mgmt/2019-08-01/web/apps.go +++ b/services/web/mgmt/2019-08-01/web/apps.go @@ -31,7 +31,7 @@ func NewAppsClientWithBaseURI(baseURI string, subscriptionID string) AppsClient return AppsClient{NewWithBaseURI(baseURI, subscriptionID)} } -// AddPremierAddOn description for Updates a named add-on of an app. +// AddPremierAddOn updates a named add-on of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -120,7 +120,7 @@ func (client AppsClient) AddPremierAddOnResponder(resp *http.Response) (result P return } -// AddPremierAddOnSlot description for Updates a named add-on of an app. +// AddPremierAddOnSlot updates a named add-on of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -212,7 +212,7 @@ func (client AppsClient) AddPremierAddOnSlotResponder(resp *http.Response) (resu return } -// AnalyzeCustomHostname description for Analyze a custom hostname. +// AnalyzeCustomHostname analyze a custom hostname. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -300,7 +300,7 @@ func (client AppsClient) AnalyzeCustomHostnameResponder(resp *http.Response) (re return } -// AnalyzeCustomHostnameSlot description for Analyze a custom hostname. +// AnalyzeCustomHostnameSlot analyze a custom hostname. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -390,8 +390,7 @@ func (client AppsClient) AnalyzeCustomHostnameSlotResponder(resp *http.Response) return } -// ApplySlotConfigToProduction description for Applies the configuration settings from the target slot onto the current -// slot. +// ApplySlotConfigToProduction applies the configuration settings from the target slot onto the current slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -480,8 +479,7 @@ func (client AppsClient) ApplySlotConfigToProductionResponder(resp *http.Respons return } -// ApplySlotConfigurationSlot description for Applies the configuration settings from the target slot onto the current -// slot. +// ApplySlotConfigurationSlot applies the configuration settings from the target slot onto the current slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -572,7 +570,7 @@ func (client AppsClient) ApplySlotConfigurationSlotResponder(resp *http.Response return } -// ApproveOrRejectPrivateEndpointConnection description for Approves or rejects a private endpoint connection +// ApproveOrRejectPrivateEndpointConnection approves or rejects a private endpoint connection // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the site. @@ -662,7 +660,7 @@ func (client AppsClient) ApproveOrRejectPrivateEndpointConnectionResponder(resp return } -// Backup description for Creates a backup of an app. +// Backup creates a backup of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -758,7 +756,7 @@ func (client AppsClient) BackupResponder(resp *http.Response) (result BackupItem return } -// BackupSlot description for Creates a backup of an app. +// BackupSlot creates a backup of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -857,7 +855,7 @@ func (client AppsClient) BackupSlotResponder(resp *http.Response) (result Backup return } -// CopyProductionSlot description for Copies a deployment slot to another deployment slot of an app. +// CopyProductionSlot copies a deployment slot to another deployment slot of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -959,7 +957,7 @@ func (client AppsClient) CopyProductionSlotResponder(resp *http.Response) (resul return } -// CopySlotSlot description for Copies a deployment slot to another deployment slot of an app. +// CopySlotSlot copies a deployment slot to another deployment slot of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -1063,7 +1061,7 @@ func (client AppsClient) CopySlotSlotResponder(resp *http.Response) (result auto return } -// CreateDeployment description for Create a deployment for an app, or a deployment slot. +// CreateDeployment create a deployment for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -1152,7 +1150,7 @@ func (client AppsClient) CreateDeploymentResponder(resp *http.Response) (result return } -// CreateDeploymentSlot description for Create a deployment for an app, or a deployment slot. +// CreateDeploymentSlot create a deployment for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -1244,7 +1242,7 @@ func (client AppsClient) CreateDeploymentSlotResponder(resp *http.Response) (res return } -// CreateFunction description for Create function for web site, or a deployment slot. +// CreateFunction create function for web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -1336,7 +1334,7 @@ func (client AppsClient) CreateFunctionResponder(resp *http.Response) (result Fu return } -// CreateInstanceFunctionSlot description for Create function for web site, or a deployment slot. +// CreateInstanceFunctionSlot create function for web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -1430,7 +1428,7 @@ func (client AppsClient) CreateInstanceFunctionSlotResponder(resp *http.Response return } -// CreateInstanceMSDeployOperation description for Invoke the MSDeploy web app extension. +// CreateInstanceMSDeployOperation invoke the MSDeploy web app extension. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -1522,7 +1520,7 @@ func (client AppsClient) CreateInstanceMSDeployOperationResponder(resp *http.Res return } -// CreateInstanceMSDeployOperationSlot description for Invoke the MSDeploy web app extension. +// CreateInstanceMSDeployOperationSlot invoke the MSDeploy web app extension. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -1616,7 +1614,7 @@ func (client AppsClient) CreateInstanceMSDeployOperationSlotResponder(resp *http return } -// CreateMSDeployOperation description for Invoke the MSDeploy web app extension. +// CreateMSDeployOperation invoke the MSDeploy web app extension. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -1706,7 +1704,7 @@ func (client AppsClient) CreateMSDeployOperationResponder(resp *http.Response) ( return } -// CreateMSDeployOperationSlot description for Invoke the MSDeploy web app extension. +// CreateMSDeployOperationSlot invoke the MSDeploy web app extension. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -1798,8 +1796,7 @@ func (client AppsClient) CreateMSDeployOperationSlotResponder(resp *http.Respons return } -// CreateOrUpdate description for Creates a new web, mobile, or API app in an existing resource group, or updates an -// existing app. +// CreateOrUpdate creates a new web, mobile, or API app in an existing resource group, or updates an existing app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - unique name of the app to create or update. To create or update a deployment slot, use the {slot} @@ -1905,7 +1902,7 @@ func (client AppsClient) CreateOrUpdateResponder(resp *http.Response) (result Si return } -// CreateOrUpdateConfiguration description for Updates the configuration of an app. +// CreateOrUpdateConfiguration updates the configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -2003,7 +2000,7 @@ func (client AppsClient) CreateOrUpdateConfigurationResponder(resp *http.Respons return } -// CreateOrUpdateConfigurationSlot description for Updates the configuration of an app. +// CreateOrUpdateConfigurationSlot updates the configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -2104,8 +2101,8 @@ func (client AppsClient) CreateOrUpdateConfigurationSlotResponder(resp *http.Res return } -// CreateOrUpdateDomainOwnershipIdentifier description for Creates a domain ownership identifier for web app, or -// updates an existing ownership identifier. +// CreateOrUpdateDomainOwnershipIdentifier creates a domain ownership identifier for web app, or updates an existing +// ownership identifier. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -2194,8 +2191,8 @@ func (client AppsClient) CreateOrUpdateDomainOwnershipIdentifierResponder(resp * return } -// CreateOrUpdateDomainOwnershipIdentifierSlot description for Creates a domain ownership identifier for web app, or -// updates an existing ownership identifier. +// CreateOrUpdateDomainOwnershipIdentifierSlot creates a domain ownership identifier for web app, or updates an +// existing ownership identifier. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -2287,7 +2284,7 @@ func (client AppsClient) CreateOrUpdateDomainOwnershipIdentifierSlotResponder(re return } -// CreateOrUpdateFunctionSecret description for Add or update a function secret. +// CreateOrUpdateFunctionSecret add or update a function secret. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -2378,7 +2375,7 @@ func (client AppsClient) CreateOrUpdateFunctionSecretResponder(resp *http.Respon return } -// CreateOrUpdateFunctionSecretSlot description for Add or update a function secret. +// CreateOrUpdateFunctionSecretSlot add or update a function secret. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -2471,7 +2468,7 @@ func (client AppsClient) CreateOrUpdateFunctionSecretSlotResponder(resp *http.Re return } -// CreateOrUpdateHostNameBinding description for Creates a hostname binding for an app. +// CreateOrUpdateHostNameBinding creates a hostname binding for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -2560,7 +2557,7 @@ func (client AppsClient) CreateOrUpdateHostNameBindingResponder(resp *http.Respo return } -// CreateOrUpdateHostNameBindingSlot description for Creates a hostname binding for an app. +// CreateOrUpdateHostNameBindingSlot creates a hostname binding for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -2652,7 +2649,7 @@ func (client AppsClient) CreateOrUpdateHostNameBindingSlotResponder(resp *http.R return } -// CreateOrUpdateHostSecret description for Add or update a host level secret. +// CreateOrUpdateHostSecret add or update a host level secret. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -2743,7 +2740,7 @@ func (client AppsClient) CreateOrUpdateHostSecretResponder(resp *http.Response) return } -// CreateOrUpdateHostSecretSlot description for Add or update a host level secret. +// CreateOrUpdateHostSecretSlot add or update a host level secret. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -2836,7 +2833,7 @@ func (client AppsClient) CreateOrUpdateHostSecretSlotResponder(resp *http.Respon return } -// CreateOrUpdateHybridConnection description for Creates a new Hybrid Connection using a Service Bus relay. +// CreateOrUpdateHybridConnection creates a new Hybrid Connection using a Service Bus relay. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -2927,7 +2924,7 @@ func (client AppsClient) CreateOrUpdateHybridConnectionResponder(resp *http.Resp return } -// CreateOrUpdateHybridConnectionSlot description for Creates a new Hybrid Connection using a Service Bus relay. +// CreateOrUpdateHybridConnectionSlot creates a new Hybrid Connection using a Service Bus relay. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -3020,7 +3017,7 @@ func (client AppsClient) CreateOrUpdateHybridConnectionSlotResponder(resp *http. return } -// CreateOrUpdatePublicCertificate description for Creates a hostname binding for an app. +// CreateOrUpdatePublicCertificate creates a hostname binding for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -3110,7 +3107,7 @@ func (client AppsClient) CreateOrUpdatePublicCertificateResponder(resp *http.Res return } -// CreateOrUpdatePublicCertificateSlot description for Creates a hostname binding for an app. +// CreateOrUpdatePublicCertificateSlot creates a hostname binding for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -3203,8 +3200,8 @@ func (client AppsClient) CreateOrUpdatePublicCertificateSlotResponder(resp *http return } -// CreateOrUpdateRelayServiceConnection description for Creates a new hybrid connection configuration (PUT), or updates -// an existing one (PATCH). +// CreateOrUpdateRelayServiceConnection creates a new hybrid connection configuration (PUT), or updates an existing one +// (PATCH). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -3293,8 +3290,8 @@ func (client AppsClient) CreateOrUpdateRelayServiceConnectionResponder(resp *htt return } -// CreateOrUpdateRelayServiceConnectionSlot description for Creates a new hybrid connection configuration (PUT), or -// updates an existing one (PATCH). +// CreateOrUpdateRelayServiceConnectionSlot creates a new hybrid connection configuration (PUT), or updates an existing +// one (PATCH). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -3386,15 +3383,13 @@ func (client AppsClient) CreateOrUpdateRelayServiceConnectionSlotResponder(resp return } -// CreateOrUpdateSlot description for Creates a new web, mobile, or API app in an existing resource group, or updates -// an existing app. +// CreateOrUpdateSlot creates a new web, mobile, or API app in an existing resource group, or updates an existing app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - unique name of the app to create or update. To create or update a deployment slot, use the {slot} // parameter. // siteEnvelope - a JSON representation of the app properties. See example. -// slot - name of the deployment slot to create or update. By default, this API attempts to create or modify -// the production slot. +// slot - name of the deployment slot to create or update. The name 'production' is reserved. func (client AppsClient) CreateOrUpdateSlot(ctx context.Context, resourceGroupName string, name string, siteEnvelope Site, slot string) (result AppsCreateOrUpdateSlotFuture, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/AppsClient.CreateOrUpdateSlot") @@ -3496,7 +3491,7 @@ func (client AppsClient) CreateOrUpdateSlotResponder(resp *http.Response) (resul return } -// CreateOrUpdateSourceControl description for Updates the source control configuration of an app. +// CreateOrUpdateSourceControl updates the source control configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -3586,7 +3581,7 @@ func (client AppsClient) CreateOrUpdateSourceControlResponder(resp *http.Respons return } -// CreateOrUpdateSourceControlSlot description for Updates the source control configuration of an app. +// CreateOrUpdateSourceControlSlot updates the source control configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -3679,9 +3674,9 @@ func (client AppsClient) CreateOrUpdateSourceControlSlotResponder(resp *http.Res return } -// CreateOrUpdateSwiftVirtualNetworkConnection description for Integrates this Web App with a Virtual Network. This -// requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has -// already been delegated, and is not +// CreateOrUpdateSwiftVirtualNetworkConnection integrates this Web App with a Virtual Network. This requires that 1) +// "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been +// delegated, and is not // in use by another App Service Plan other than the one this App is in. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. @@ -3769,9 +3764,9 @@ func (client AppsClient) CreateOrUpdateSwiftVirtualNetworkConnectionResponder(re return } -// CreateOrUpdateSwiftVirtualNetworkConnectionSlot description for Integrates this Web App with a Virtual Network. This -// requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has -// already been delegated, and is not +// CreateOrUpdateSwiftVirtualNetworkConnectionSlot integrates this Web App with a Virtual Network. This requires that +// 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been +// delegated, and is not // in use by another App Service Plan other than the one this App is in. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. @@ -3862,8 +3857,8 @@ func (client AppsClient) CreateOrUpdateSwiftVirtualNetworkConnectionSlotResponde return } -// CreateOrUpdateVnetConnection description for Adds a Virtual Network connection to an app or slot (PUT) or updates -// the connection properties (PATCH). +// CreateOrUpdateVnetConnection adds a Virtual Network connection to an app or slot (PUT) or updates the connection +// properties (PATCH). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -3952,8 +3947,7 @@ func (client AppsClient) CreateOrUpdateVnetConnectionResponder(resp *http.Respon return } -// CreateOrUpdateVnetConnectionGateway description for Adds a gateway to a connected Virtual Network (PUT) or updates -// it (PATCH). +// CreateOrUpdateVnetConnectionGateway adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -4047,8 +4041,7 @@ func (client AppsClient) CreateOrUpdateVnetConnectionGatewayResponder(resp *http return } -// CreateOrUpdateVnetConnectionGatewaySlot description for Adds a gateway to a connected Virtual Network (PUT) or -// updates it (PATCH). +// CreateOrUpdateVnetConnectionGatewaySlot adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -4145,8 +4138,8 @@ func (client AppsClient) CreateOrUpdateVnetConnectionGatewaySlotResponder(resp * return } -// CreateOrUpdateVnetConnectionSlot description for Adds a Virtual Network connection to an app or slot (PUT) or -// updates the connection properties (PATCH). +// CreateOrUpdateVnetConnectionSlot adds a Virtual Network connection to an app or slot (PUT) or updates the connection +// properties (PATCH). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -4238,7 +4231,7 @@ func (client AppsClient) CreateOrUpdateVnetConnectionSlotResponder(resp *http.Re return } -// Delete description for Deletes a web, mobile, or API app, or one of the deployment slots. +// Delete deletes a web, mobile, or API app, or one of the deployment slots. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app to delete. @@ -4330,7 +4323,7 @@ func (client AppsClient) DeleteResponder(resp *http.Response) (result autorest.R return } -// DeleteBackup description for Deletes a backup of an app by its ID. +// DeleteBackup deletes a backup of an app by its ID. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -4415,7 +4408,7 @@ func (client AppsClient) DeleteBackupResponder(resp *http.Response) (result auto return } -// DeleteBackupConfiguration description for Deletes the backup configuration of an app. +// DeleteBackupConfiguration deletes the backup configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -4498,7 +4491,7 @@ func (client AppsClient) DeleteBackupConfigurationResponder(resp *http.Response) return } -// DeleteBackupConfigurationSlot description for Deletes the backup configuration of an app. +// DeleteBackupConfigurationSlot deletes the backup configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -4584,7 +4577,7 @@ func (client AppsClient) DeleteBackupConfigurationSlotResponder(resp *http.Respo return } -// DeleteBackupSlot description for Deletes a backup of an app by its ID. +// DeleteBackupSlot deletes a backup of an app by its ID. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -4672,7 +4665,7 @@ func (client AppsClient) DeleteBackupSlotResponder(resp *http.Response) (result return } -// DeleteContinuousWebJob description for Delete a continuous web job by its ID for an app, or a deployment slot. +// DeleteContinuousWebJob delete a continuous web job by its ID for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -4757,7 +4750,7 @@ func (client AppsClient) DeleteContinuousWebJobResponder(resp *http.Response) (r return } -// DeleteContinuousWebJobSlot description for Delete a continuous web job by its ID for an app, or a deployment slot. +// DeleteContinuousWebJobSlot delete a continuous web job by its ID for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -4845,7 +4838,7 @@ func (client AppsClient) DeleteContinuousWebJobSlotResponder(resp *http.Response return } -// DeleteDeployment description for Delete a deployment by its ID for an app, or a deployment slot. +// DeleteDeployment delete a deployment by its ID for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -4930,7 +4923,7 @@ func (client AppsClient) DeleteDeploymentResponder(resp *http.Response) (result return } -// DeleteDeploymentSlot description for Delete a deployment by its ID for an app, or a deployment slot. +// DeleteDeploymentSlot delete a deployment by its ID for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -5018,7 +5011,7 @@ func (client AppsClient) DeleteDeploymentSlotResponder(resp *http.Response) (res return } -// DeleteDomainOwnershipIdentifier description for Deletes a domain ownership identifier for a web app. +// DeleteDomainOwnershipIdentifier deletes a domain ownership identifier for a web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -5103,7 +5096,7 @@ func (client AppsClient) DeleteDomainOwnershipIdentifierResponder(resp *http.Res return } -// DeleteDomainOwnershipIdentifierSlot description for Deletes a domain ownership identifier for a web app. +// DeleteDomainOwnershipIdentifierSlot deletes a domain ownership identifier for a web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -5191,7 +5184,7 @@ func (client AppsClient) DeleteDomainOwnershipIdentifierSlotResponder(resp *http return } -// DeleteFunction description for Delete a function for web site, or a deployment slot. +// DeleteFunction delete a function for web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -5276,7 +5269,7 @@ func (client AppsClient) DeleteFunctionResponder(resp *http.Response) (result au return } -// DeleteFunctionSecret description for Delete a function secret. +// DeleteFunctionSecret delete a function secret. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -5363,7 +5356,7 @@ func (client AppsClient) DeleteFunctionSecretResponder(resp *http.Response) (res return } -// DeleteFunctionSecretSlot description for Delete a function secret. +// DeleteFunctionSecretSlot delete a function secret. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -5452,7 +5445,7 @@ func (client AppsClient) DeleteFunctionSecretSlotResponder(resp *http.Response) return } -// DeleteHostNameBinding description for Deletes a hostname binding for an app. +// DeleteHostNameBinding deletes a hostname binding for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -5537,7 +5530,7 @@ func (client AppsClient) DeleteHostNameBindingResponder(resp *http.Response) (re return } -// DeleteHostNameBindingSlot description for Deletes a hostname binding for an app. +// DeleteHostNameBindingSlot deletes a hostname binding for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -5625,7 +5618,7 @@ func (client AppsClient) DeleteHostNameBindingSlotResponder(resp *http.Response) return } -// DeleteHostSecret description for Delete a host level secret. +// DeleteHostSecret delete a host level secret. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -5712,7 +5705,7 @@ func (client AppsClient) DeleteHostSecretResponder(resp *http.Response) (result return } -// DeleteHostSecretSlot description for Delete a host level secret. +// DeleteHostSecretSlot delete a host level secret. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -5801,7 +5794,7 @@ func (client AppsClient) DeleteHostSecretSlotResponder(resp *http.Response) (res return } -// DeleteHybridConnection description for Removes a Hybrid Connection from this site. +// DeleteHybridConnection removes a Hybrid Connection from this site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -5888,7 +5881,7 @@ func (client AppsClient) DeleteHybridConnectionResponder(resp *http.Response) (r return } -// DeleteHybridConnectionSlot description for Removes a Hybrid Connection from this site. +// DeleteHybridConnectionSlot removes a Hybrid Connection from this site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -5977,7 +5970,7 @@ func (client AppsClient) DeleteHybridConnectionSlotResponder(resp *http.Response return } -// DeleteInstanceFunctionSlot description for Delete a function for web site, or a deployment slot. +// DeleteInstanceFunctionSlot delete a function for web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -6064,8 +6057,8 @@ func (client AppsClient) DeleteInstanceFunctionSlotResponder(resp *http.Response return } -// DeleteInstanceProcess description for Terminate a process by its ID for a web site, or a deployment slot, or -// specific scaled-out instance in a web site. +// DeleteInstanceProcess terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out +// instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -6153,8 +6146,8 @@ func (client AppsClient) DeleteInstanceProcessResponder(resp *http.Response) (re return } -// DeleteInstanceProcessSlot description for Terminate a process by its ID for a web site, or a deployment slot, or -// specific scaled-out instance in a web site. +// DeleteInstanceProcessSlot terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out +// instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -6245,7 +6238,7 @@ func (client AppsClient) DeleteInstanceProcessSlotResponder(resp *http.Response) return } -// DeletePremierAddOn description for Delete a premier add-on from an app. +// DeletePremierAddOn delete a premier add-on from an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -6330,7 +6323,7 @@ func (client AppsClient) DeletePremierAddOnResponder(resp *http.Response) (resul return } -// DeletePremierAddOnSlot description for Delete a premier add-on from an app. +// DeletePremierAddOnSlot delete a premier add-on from an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -6418,7 +6411,7 @@ func (client AppsClient) DeletePremierAddOnSlotResponder(resp *http.Response) (r return } -// DeletePrivateEndpointConnection description for Deletes a private endpoint connection +// DeletePrivateEndpointConnection deletes a private endpoint connection // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the site. @@ -6506,8 +6499,8 @@ func (client AppsClient) DeletePrivateEndpointConnectionResponder(resp *http.Res return } -// DeleteProcess description for Terminate a process by its ID for a web site, or a deployment slot, or specific -// scaled-out instance in a web site. +// DeleteProcess terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in +// a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -6592,8 +6585,8 @@ func (client AppsClient) DeleteProcessResponder(resp *http.Response) (result aut return } -// DeleteProcessSlot description for Terminate a process by its ID for a web site, or a deployment slot, or specific -// scaled-out instance in a web site. +// DeleteProcessSlot terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out +// instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -6681,7 +6674,7 @@ func (client AppsClient) DeleteProcessSlotResponder(resp *http.Response) (result return } -// DeletePublicCertificate description for Deletes a hostname binding for an app. +// DeletePublicCertificate deletes a hostname binding for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -6766,7 +6759,7 @@ func (client AppsClient) DeletePublicCertificateResponder(resp *http.Response) ( return } -// DeletePublicCertificateSlot description for Deletes a hostname binding for an app. +// DeletePublicCertificateSlot deletes a hostname binding for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -6854,7 +6847,7 @@ func (client AppsClient) DeletePublicCertificateSlotResponder(resp *http.Respons return } -// DeleteRelayServiceConnection description for Deletes a relay service connection by its name. +// DeleteRelayServiceConnection deletes a relay service connection by its name. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -6939,7 +6932,7 @@ func (client AppsClient) DeleteRelayServiceConnectionResponder(resp *http.Respon return } -// DeleteRelayServiceConnectionSlot description for Deletes a relay service connection by its name. +// DeleteRelayServiceConnectionSlot deletes a relay service connection by its name. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -7027,7 +7020,7 @@ func (client AppsClient) DeleteRelayServiceConnectionSlotResponder(resp *http.Re return } -// DeleteSiteExtension description for Remove a site extension from a web site, or a deployment slot. +// DeleteSiteExtension remove a site extension from a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -7112,7 +7105,7 @@ func (client AppsClient) DeleteSiteExtensionResponder(resp *http.Response) (resu return } -// DeleteSiteExtensionSlot description for Remove a site extension from a web site, or a deployment slot. +// DeleteSiteExtensionSlot remove a site extension from a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -7200,7 +7193,7 @@ func (client AppsClient) DeleteSiteExtensionSlotResponder(resp *http.Response) ( return } -// DeleteSlot description for Deletes a web, mobile, or API app, or one of the deployment slots. +// DeleteSlot deletes a web, mobile, or API app, or one of the deployment slots. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app to delete. @@ -7294,7 +7287,7 @@ func (client AppsClient) DeleteSlotResponder(resp *http.Response) (result autore return } -// DeleteSourceControl description for Deletes the source control configuration of an app. +// DeleteSourceControl deletes the source control configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -7377,7 +7370,7 @@ func (client AppsClient) DeleteSourceControlResponder(resp *http.Response) (resu return } -// DeleteSourceControlSlot description for Deletes the source control configuration of an app. +// DeleteSourceControlSlot deletes the source control configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -7463,8 +7456,7 @@ func (client AppsClient) DeleteSourceControlSlotResponder(resp *http.Response) ( return } -// DeleteSwiftVirtualNetwork description for Deletes a Swift Virtual Network connection from an app (or deployment -// slot). +// DeleteSwiftVirtualNetwork deletes a Swift Virtual Network connection from an app (or deployment slot). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -7547,8 +7539,7 @@ func (client AppsClient) DeleteSwiftVirtualNetworkResponder(resp *http.Response) return } -// DeleteSwiftVirtualNetworkSlot description for Deletes a Swift Virtual Network connection from an app (or deployment -// slot). +// DeleteSwiftVirtualNetworkSlot deletes a Swift Virtual Network connection from an app (or deployment slot). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -7634,7 +7625,7 @@ func (client AppsClient) DeleteSwiftVirtualNetworkSlotResponder(resp *http.Respo return } -// DeleteTriggeredWebJob description for Delete a triggered web job by its ID for an app, or a deployment slot. +// DeleteTriggeredWebJob delete a triggered web job by its ID for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -7719,7 +7710,7 @@ func (client AppsClient) DeleteTriggeredWebJobResponder(resp *http.Response) (re return } -// DeleteTriggeredWebJobSlot description for Delete a triggered web job by its ID for an app, or a deployment slot. +// DeleteTriggeredWebJobSlot delete a triggered web job by its ID for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -7807,8 +7798,7 @@ func (client AppsClient) DeleteTriggeredWebJobSlotResponder(resp *http.Response) return } -// DeleteVnetConnection description for Deletes a connection from an app (or deployment slot to a named virtual -// network. +// DeleteVnetConnection deletes a connection from an app (or deployment slot to a named virtual network. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -7893,8 +7883,7 @@ func (client AppsClient) DeleteVnetConnectionResponder(resp *http.Response) (res return } -// DeleteVnetConnectionSlot description for Deletes a connection from an app (or deployment slot to a named virtual -// network. +// DeleteVnetConnectionSlot deletes a connection from an app (or deployment slot to a named virtual network. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -7982,8 +7971,8 @@ func (client AppsClient) DeleteVnetConnectionSlotResponder(resp *http.Response) return } -// DiscoverBackup description for Discovers an existing app backup that can be restored from a blob in Azure storage. -// Use this to get information about the databases stored in a backup. +// DiscoverBackup discovers an existing app backup that can be restored from a blob in Azure storage. Use this to get +// information about the databases stored in a backup. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -8075,8 +8064,8 @@ func (client AppsClient) DiscoverBackupResponder(resp *http.Response) (result Re return } -// DiscoverBackupSlot description for Discovers an existing app backup that can be restored from a blob in Azure -// storage. Use this to get information about the databases stored in a backup. +// DiscoverBackupSlot discovers an existing app backup that can be restored from a blob in Azure storage. Use this to +// get information about the databases stored in a backup. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -8171,8 +8160,7 @@ func (client AppsClient) DiscoverBackupSlotResponder(resp *http.Response) (resul return } -// GenerateNewSitePublishingPassword description for Generates a new publishing password for an app (or deployment -// slot, if specified). +// GenerateNewSitePublishingPassword generates a new publishing password for an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -8255,8 +8243,8 @@ func (client AppsClient) GenerateNewSitePublishingPasswordResponder(resp *http.R return } -// GenerateNewSitePublishingPasswordSlot description for Generates a new publishing password for an app (or deployment -// slot, if specified). +// GenerateNewSitePublishingPasswordSlot generates a new publishing password for an app (or deployment slot, if +// specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -8342,7 +8330,7 @@ func (client AppsClient) GenerateNewSitePublishingPasswordSlotResponder(resp *ht return } -// Get description for Gets the details of a web, mobile, or API app. +// Get gets the details of a web, mobile, or API app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -8426,7 +8414,7 @@ func (client AppsClient) GetResponder(resp *http.Response) (result Site, err err return } -// GetAppSettingKeyVaultReference description for Gets the config reference and status of an app +// GetAppSettingKeyVaultReference gets the config reference and status of an app // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -8512,7 +8500,7 @@ func (client AppsClient) GetAppSettingKeyVaultReferenceResponder(resp *http.Resp return } -// GetAppSettingsKeyVaultReferences description for Gets the config reference app settings and status of an app +// GetAppSettingsKeyVaultReferences gets the config reference app settings and status of an app // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -8596,7 +8584,7 @@ func (client AppsClient) GetAppSettingsKeyVaultReferencesResponder(resp *http.Re return } -// GetAuthSettings description for Gets the Authentication/Authorization settings of an app. +// GetAuthSettings gets the Authentication/Authorization settings of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -8680,7 +8668,7 @@ func (client AppsClient) GetAuthSettingsResponder(resp *http.Response) (result S return } -// GetAuthSettingsSlot description for Gets the Authentication/Authorization settings of an app. +// GetAuthSettingsSlot gets the Authentication/Authorization settings of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -8767,7 +8755,7 @@ func (client AppsClient) GetAuthSettingsSlotResponder(resp *http.Response) (resu return } -// GetBackupConfiguration description for Gets the backup configuration of an app. +// GetBackupConfiguration gets the backup configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -8851,7 +8839,7 @@ func (client AppsClient) GetBackupConfigurationResponder(resp *http.Response) (r return } -// GetBackupConfigurationSlot description for Gets the backup configuration of an app. +// GetBackupConfigurationSlot gets the backup configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -8938,7 +8926,7 @@ func (client AppsClient) GetBackupConfigurationSlotResponder(resp *http.Response return } -// GetBackupStatus description for Gets a backup of an app by its ID. +// GetBackupStatus gets a backup of an app by its ID. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -9024,7 +9012,7 @@ func (client AppsClient) GetBackupStatusResponder(resp *http.Response) (result B return } -// GetBackupStatusSlot description for Gets a backup of an app by its ID. +// GetBackupStatusSlot gets a backup of an app by its ID. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -9113,8 +9101,8 @@ func (client AppsClient) GetBackupStatusSlotResponder(resp *http.Response) (resu return } -// GetBasicPublishingCredentialsPolicies description for Returns whether Scm basic auth is allowed and whether Ftp is -// allowed for a given site. +// GetBasicPublishingCredentialsPolicies returns whether Scm basic auth is allowed and whether Ftp is allowed for a +// given site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -9198,8 +9186,8 @@ func (client AppsClient) GetBasicPublishingCredentialsPoliciesResponder(resp *ht return } -// GetConfiguration description for Gets the configuration of an app, such as platform version and bitness, default -// documents, virtual applications, Always On, etc. +// GetConfiguration gets the configuration of an app, such as platform version and bitness, default documents, virtual +// applications, Always On, etc. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -9283,8 +9271,8 @@ func (client AppsClient) GetConfigurationResponder(resp *http.Response) (result return } -// GetConfigurationSlot description for Gets the configuration of an app, such as platform version and bitness, default -// documents, virtual applications, Always On, etc. +// GetConfigurationSlot gets the configuration of an app, such as platform version and bitness, default documents, +// virtual applications, Always On, etc. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -9371,7 +9359,7 @@ func (client AppsClient) GetConfigurationSlotResponder(resp *http.Response) (res return } -// GetConfigurationSnapshot description for Gets a snapshot of the configuration of an app at a previous point in time. +// GetConfigurationSnapshot gets a snapshot of the configuration of an app at a previous point in time. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -9457,8 +9445,7 @@ func (client AppsClient) GetConfigurationSnapshotResponder(resp *http.Response) return } -// GetConfigurationSnapshotSlot description for Gets a snapshot of the configuration of an app at a previous point in -// time. +// GetConfigurationSnapshotSlot gets a snapshot of the configuration of an app at a previous point in time. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -9547,7 +9534,7 @@ func (client AppsClient) GetConfigurationSnapshotSlotResponder(resp *http.Respon return } -// GetContainerLogsZip description for Gets the ZIP archived docker log files for the given site +// GetContainerLogsZip gets the ZIP archived docker log files for the given site // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -9630,7 +9617,7 @@ func (client AppsClient) GetContainerLogsZipResponder(resp *http.Response) (resu return } -// GetContainerLogsZipSlot description for Gets the ZIP archived docker log files for the given site +// GetContainerLogsZipSlot gets the ZIP archived docker log files for the given site // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -9715,7 +9702,7 @@ func (client AppsClient) GetContainerLogsZipSlotResponder(resp *http.Response) ( return } -// GetContinuousWebJob description for Gets a continuous web job by its ID for an app, or a deployment slot. +// GetContinuousWebJob gets a continuous web job by its ID for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -9801,7 +9788,7 @@ func (client AppsClient) GetContinuousWebJobResponder(resp *http.Response) (resu return } -// GetContinuousWebJobSlot description for Gets a continuous web job by its ID for an app, or a deployment slot. +// GetContinuousWebJobSlot gets a continuous web job by its ID for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -9890,7 +9877,7 @@ func (client AppsClient) GetContinuousWebJobSlotResponder(resp *http.Response) ( return } -// GetDeployment description for Get a deployment by its ID for an app, or a deployment slot. +// GetDeployment get a deployment by its ID for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -9976,7 +9963,7 @@ func (client AppsClient) GetDeploymentResponder(resp *http.Response) (result Dep return } -// GetDeploymentSlot description for Get a deployment by its ID for an app, or a deployment slot. +// GetDeploymentSlot get a deployment by its ID for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -10065,7 +10052,7 @@ func (client AppsClient) GetDeploymentSlotResponder(resp *http.Response) (result return } -// GetDiagnosticLogsConfiguration description for Gets the logging configuration of an app. +// GetDiagnosticLogsConfiguration gets the logging configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -10149,7 +10136,7 @@ func (client AppsClient) GetDiagnosticLogsConfigurationResponder(resp *http.Resp return } -// GetDiagnosticLogsConfigurationSlot description for Gets the logging configuration of an app. +// GetDiagnosticLogsConfigurationSlot gets the logging configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -10236,7 +10223,7 @@ func (client AppsClient) GetDiagnosticLogsConfigurationSlotResponder(resp *http. return } -// GetDomainOwnershipIdentifier description for Get domain ownership identifier for web app. +// GetDomainOwnershipIdentifier get domain ownership identifier for web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -10322,7 +10309,7 @@ func (client AppsClient) GetDomainOwnershipIdentifierResponder(resp *http.Respon return } -// GetDomainOwnershipIdentifierSlot description for Get domain ownership identifier for web app. +// GetDomainOwnershipIdentifierSlot get domain ownership identifier for web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -10411,7 +10398,7 @@ func (client AppsClient) GetDomainOwnershipIdentifierSlotResponder(resp *http.Re return } -// GetFtpAllowed description for Returns whether FTP is allowed on the site or not. +// GetFtpAllowed returns whether FTP is allowed on the site or not. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -10495,7 +10482,7 @@ func (client AppsClient) GetFtpAllowedResponder(resp *http.Response) (result Csm return } -// GetFunction description for Get function information by its ID for web site, or a deployment slot. +// GetFunction get function information by its ID for web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -10581,7 +10568,7 @@ func (client AppsClient) GetFunctionResponder(resp *http.Response) (result Funct return } -// GetFunctionsAdminToken description for Fetch a short lived token that can be exchanged for a master key. +// GetFunctionsAdminToken fetch a short lived token that can be exchanged for a master key. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -10665,7 +10652,7 @@ func (client AppsClient) GetFunctionsAdminTokenResponder(resp *http.Response) (r return } -// GetFunctionsAdminTokenSlot description for Fetch a short lived token that can be exchanged for a master key. +// GetFunctionsAdminTokenSlot fetch a short lived token that can be exchanged for a master key. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -10751,7 +10738,7 @@ func (client AppsClient) GetFunctionsAdminTokenSlotResponder(resp *http.Response return } -// GetHostNameBinding description for Get the named hostname binding for an app (or deployment slot, if specified). +// GetHostNameBinding get the named hostname binding for an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -10837,7 +10824,7 @@ func (client AppsClient) GetHostNameBindingResponder(resp *http.Response) (resul return } -// GetHostNameBindingSlot description for Get the named hostname binding for an app (or deployment slot, if specified). +// GetHostNameBindingSlot get the named hostname binding for an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -10926,7 +10913,7 @@ func (client AppsClient) GetHostNameBindingSlotResponder(resp *http.Response) (r return } -// GetHybridConnection description for Retrieves a specific Service Bus Hybrid Connection used by this Web App. +// GetHybridConnection retrieves a specific Service Bus Hybrid Connection used by this Web App. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -11014,7 +11001,7 @@ func (client AppsClient) GetHybridConnectionResponder(resp *http.Response) (resu return } -// GetHybridConnectionSlot description for Retrieves a specific Service Bus Hybrid Connection used by this Web App. +// GetHybridConnectionSlot retrieves a specific Service Bus Hybrid Connection used by this Web App. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -11104,7 +11091,7 @@ func (client AppsClient) GetHybridConnectionSlotResponder(resp *http.Response) ( return } -// GetInstanceFunctionSlot description for Get function information by its ID for web site, or a deployment slot. +// GetInstanceFunctionSlot get function information by its ID for web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -11192,7 +11179,7 @@ func (client AppsClient) GetInstanceFunctionSlotResponder(resp *http.Response) ( return } -// GetInstanceInfo description for Gets all scale-out instances of an app. +// GetInstanceInfo gets all scale-out instances of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -11277,7 +11264,7 @@ func (client AppsClient) GetInstanceInfoResponder(resp *http.Response) (result S return } -// GetInstanceInfoSlot description for Gets all scale-out instances of an app. +// GetInstanceInfoSlot gets all scale-out instances of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -11364,7 +11351,7 @@ func (client AppsClient) GetInstanceInfoSlotResponder(resp *http.Response) (resu return } -// GetInstanceMSDeployLog description for Get the MSDeploy Log for the last MSDeploy operation. +// GetInstanceMSDeployLog get the MSDeploy Log for the last MSDeploy operation. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -11450,7 +11437,7 @@ func (client AppsClient) GetInstanceMSDeployLogResponder(resp *http.Response) (r return } -// GetInstanceMSDeployLogSlot description for Get the MSDeploy Log for the last MSDeploy operation. +// GetInstanceMSDeployLogSlot get the MSDeploy Log for the last MSDeploy operation. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -11538,7 +11525,7 @@ func (client AppsClient) GetInstanceMSDeployLogSlotResponder(resp *http.Response return } -// GetInstanceMsDeployStatus description for Get the status of the last MSDeploy operation. +// GetInstanceMsDeployStatus get the status of the last MSDeploy operation. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -11624,7 +11611,7 @@ func (client AppsClient) GetInstanceMsDeployStatusResponder(resp *http.Response) return } -// GetInstanceMsDeployStatusSlot description for Get the status of the last MSDeploy operation. +// GetInstanceMsDeployStatusSlot get the status of the last MSDeploy operation. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -11712,8 +11699,7 @@ func (client AppsClient) GetInstanceMsDeployStatusSlotResponder(resp *http.Respo return } -// GetInstanceProcess description for Get process information by its ID for a specific scaled-out instance in a web -// site. +// GetInstanceProcess get process information by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -11802,8 +11788,7 @@ func (client AppsClient) GetInstanceProcessResponder(resp *http.Response) (resul return } -// GetInstanceProcessDump description for Get a memory dump of a process by its ID for a specific scaled-out instance -// in a web site. +// GetInstanceProcessDump get a memory dump of a process by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -11891,8 +11876,8 @@ func (client AppsClient) GetInstanceProcessDumpResponder(resp *http.Response) (r return } -// GetInstanceProcessDumpSlot description for Get a memory dump of a process by its ID for a specific scaled-out -// instance in a web site. +// GetInstanceProcessDumpSlot get a memory dump of a process by its ID for a specific scaled-out instance in a web +// site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -11983,8 +11968,7 @@ func (client AppsClient) GetInstanceProcessDumpSlotResponder(resp *http.Response return } -// GetInstanceProcessModule description for Get process information by its ID for a specific scaled-out instance in a -// web site. +// GetInstanceProcessModule get process information by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -12075,8 +12059,7 @@ func (client AppsClient) GetInstanceProcessModuleResponder(resp *http.Response) return } -// GetInstanceProcessModuleSlot description for Get process information by its ID for a specific scaled-out instance in -// a web site. +// GetInstanceProcessModuleSlot get process information by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -12170,8 +12153,7 @@ func (client AppsClient) GetInstanceProcessModuleSlotResponder(resp *http.Respon return } -// GetInstanceProcessSlot description for Get process information by its ID for a specific scaled-out instance in a web -// site. +// GetInstanceProcessSlot get process information by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -12263,8 +12245,8 @@ func (client AppsClient) GetInstanceProcessSlotResponder(resp *http.Response) (r return } -// GetMigrateMySQLStatus description for Returns the status of MySql in app migration, if one is active, and whether or -// not MySql in app is enabled +// GetMigrateMySQLStatus returns the status of MySql in app migration, if one is active, and whether or not MySql in +// app is enabled // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -12348,8 +12330,8 @@ func (client AppsClient) GetMigrateMySQLStatusResponder(resp *http.Response) (re return } -// GetMigrateMySQLStatusSlot description for Returns the status of MySql in app migration, if one is active, and -// whether or not MySql in app is enabled +// GetMigrateMySQLStatusSlot returns the status of MySql in app migration, if one is active, and whether or not MySql +// in app is enabled // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -12435,7 +12417,7 @@ func (client AppsClient) GetMigrateMySQLStatusSlotResponder(resp *http.Response) return } -// GetMSDeployLog description for Get the MSDeploy Log for the last MSDeploy operation. +// GetMSDeployLog get the MSDeploy Log for the last MSDeploy operation. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -12519,7 +12501,7 @@ func (client AppsClient) GetMSDeployLogResponder(resp *http.Response) (result MS return } -// GetMSDeployLogSlot description for Get the MSDeploy Log for the last MSDeploy operation. +// GetMSDeployLogSlot get the MSDeploy Log for the last MSDeploy operation. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -12605,7 +12587,7 @@ func (client AppsClient) GetMSDeployLogSlotResponder(resp *http.Response) (resul return } -// GetMSDeployStatus description for Get the status of the last MSDeploy operation. +// GetMSDeployStatus get the status of the last MSDeploy operation. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -12689,7 +12671,7 @@ func (client AppsClient) GetMSDeployStatusResponder(resp *http.Response) (result return } -// GetMSDeployStatusSlot description for Get the status of the last MSDeploy operation. +// GetMSDeployStatusSlot get the status of the last MSDeploy operation. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -12775,8 +12757,7 @@ func (client AppsClient) GetMSDeployStatusSlotResponder(resp *http.Response) (re return } -// GetNetworkTraceOperation description for Gets a named operation for a network trace capturing (or deployment slot, -// if specified). +// GetNetworkTraceOperation gets a named operation for a network trace capturing (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -12862,8 +12843,8 @@ func (client AppsClient) GetNetworkTraceOperationResponder(resp *http.Response) return } -// GetNetworkTraceOperationSlot description for Gets a named operation for a network trace capturing (or deployment -// slot, if specified). +// GetNetworkTraceOperationSlot gets a named operation for a network trace capturing (or deployment slot, if +// specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -12952,8 +12933,8 @@ func (client AppsClient) GetNetworkTraceOperationSlotResponder(resp *http.Respon return } -// GetNetworkTraceOperationSlotV2 description for Gets a named operation for a network trace capturing (or deployment -// slot, if specified). +// GetNetworkTraceOperationSlotV2 gets a named operation for a network trace capturing (or deployment slot, if +// specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -13042,8 +13023,7 @@ func (client AppsClient) GetNetworkTraceOperationSlotV2Responder(resp *http.Resp return } -// GetNetworkTraceOperationV2 description for Gets a named operation for a network trace capturing (or deployment slot, -// if specified). +// GetNetworkTraceOperationV2 gets a named operation for a network trace capturing (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -13129,8 +13109,7 @@ func (client AppsClient) GetNetworkTraceOperationV2Responder(resp *http.Response return } -// GetNetworkTraces description for Gets a named operation for a network trace capturing (or deployment slot, if -// specified). +// GetNetworkTraces gets a named operation for a network trace capturing (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -13216,8 +13195,7 @@ func (client AppsClient) GetNetworkTracesResponder(resp *http.Response) (result return } -// GetNetworkTracesSlot description for Gets a named operation for a network trace capturing (or deployment slot, if -// specified). +// GetNetworkTracesSlot gets a named operation for a network trace capturing (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -13306,8 +13284,7 @@ func (client AppsClient) GetNetworkTracesSlotResponder(resp *http.Response) (res return } -// GetNetworkTracesSlotV2 description for Gets a named operation for a network trace capturing (or deployment slot, if -// specified). +// GetNetworkTracesSlotV2 gets a named operation for a network trace capturing (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -13396,8 +13373,7 @@ func (client AppsClient) GetNetworkTracesSlotV2Responder(resp *http.Response) (r return } -// GetNetworkTracesV2 description for Gets a named operation for a network trace capturing (or deployment slot, if -// specified). +// GetNetworkTracesV2 gets a named operation for a network trace capturing (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -13483,7 +13459,7 @@ func (client AppsClient) GetNetworkTracesV2Responder(resp *http.Response) (resul return } -// GetPremierAddOn description for Gets a named add-on of an app. +// GetPremierAddOn gets a named add-on of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -13569,7 +13545,7 @@ func (client AppsClient) GetPremierAddOnResponder(resp *http.Response) (result P return } -// GetPremierAddOnSlot description for Gets a named add-on of an app. +// GetPremierAddOnSlot gets a named add-on of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -13658,8 +13634,8 @@ func (client AppsClient) GetPremierAddOnSlotResponder(resp *http.Response) (resu return } -// GetPrivateAccess description for Gets data around private site access enablement and authorized Virtual Networks -// that can access the site. +// GetPrivateAccess gets data around private site access enablement and authorized Virtual Networks that can access the +// site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -13743,8 +13719,8 @@ func (client AppsClient) GetPrivateAccessResponder(resp *http.Response) (result return } -// GetPrivateAccessSlot description for Gets data around private site access enablement and authorized Virtual Networks -// that can access the site. +// GetPrivateAccessSlot gets data around private site access enablement and authorized Virtual Networks that can access +// the site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -13830,7 +13806,7 @@ func (client AppsClient) GetPrivateAccessSlotResponder(resp *http.Response) (res return } -// GetPrivateEndpointConnection description for Gets a private endpoint connection +// GetPrivateEndpointConnection gets a private endpoint connection // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the site. @@ -13915,7 +13891,7 @@ func (client AppsClient) GetPrivateEndpointConnectionResponder(resp *http.Respon return } -// GetPrivateLinkResources description for Gets the private link resources +// GetPrivateLinkResources gets the private link resources // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the site. @@ -13999,7 +13975,7 @@ func (client AppsClient) GetPrivateLinkResourcesResponder(resp *http.Response) ( return } -// GetProcess description for Get process information by its ID for a specific scaled-out instance in a web site. +// GetProcess get process information by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -14085,8 +14061,7 @@ func (client AppsClient) GetProcessResponder(resp *http.Response) (result Proces return } -// GetProcessDump description for Get a memory dump of a process by its ID for a specific scaled-out instance in a web -// site. +// GetProcessDump get a memory dump of a process by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -14171,8 +14146,7 @@ func (client AppsClient) GetProcessDumpResponder(resp *http.Response) (result Re return } -// GetProcessDumpSlot description for Get a memory dump of a process by its ID for a specific scaled-out instance in a -// web site. +// GetProcessDumpSlot get a memory dump of a process by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -14260,7 +14234,7 @@ func (client AppsClient) GetProcessDumpSlotResponder(resp *http.Response) (resul return } -// GetProcessModule description for Get process information by its ID for a specific scaled-out instance in a web site. +// GetProcessModule get process information by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -14348,8 +14322,7 @@ func (client AppsClient) GetProcessModuleResponder(resp *http.Response) (result return } -// GetProcessModuleSlot description for Get process information by its ID for a specific scaled-out instance in a web -// site. +// GetProcessModuleSlot get process information by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -14440,7 +14413,7 @@ func (client AppsClient) GetProcessModuleSlotResponder(resp *http.Response) (res return } -// GetProcessSlot description for Get process information by its ID for a specific scaled-out instance in a web site. +// GetProcessSlot get process information by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -14529,7 +14502,7 @@ func (client AppsClient) GetProcessSlotResponder(resp *http.Response) (result Pr return } -// GetPublicCertificate description for Get the named public certificate for an app (or deployment slot, if specified). +// GetPublicCertificate get the named public certificate for an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -14615,8 +14588,7 @@ func (client AppsClient) GetPublicCertificateResponder(resp *http.Response) (res return } -// GetPublicCertificateSlot description for Get the named public certificate for an app (or deployment slot, if -// specified). +// GetPublicCertificateSlot get the named public certificate for an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -14705,7 +14677,7 @@ func (client AppsClient) GetPublicCertificateSlotResponder(resp *http.Response) return } -// GetRelayServiceConnection description for Gets a hybrid connection configuration by its name. +// GetRelayServiceConnection gets a hybrid connection configuration by its name. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -14791,7 +14763,7 @@ func (client AppsClient) GetRelayServiceConnectionResponder(resp *http.Response) return } -// GetRelayServiceConnectionSlot description for Gets a hybrid connection configuration by its name. +// GetRelayServiceConnectionSlot gets a hybrid connection configuration by its name. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -14880,7 +14852,7 @@ func (client AppsClient) GetRelayServiceConnectionSlotResponder(resp *http.Respo return } -// GetScmAllowed description for Returns whether Scm basic auth is allowed on the site or not. +// GetScmAllowed returns whether Scm basic auth is allowed on the site or not. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -14964,7 +14936,7 @@ func (client AppsClient) GetScmAllowedResponder(resp *http.Response) (result Csm return } -// GetSiteExtension description for Get site extension information by its ID for a web site, or a deployment slot. +// GetSiteExtension get site extension information by its ID for a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -15050,7 +15022,7 @@ func (client AppsClient) GetSiteExtensionResponder(resp *http.Response) (result return } -// GetSiteExtensionSlot description for Get site extension information by its ID for a web site, or a deployment slot. +// GetSiteExtensionSlot get site extension information by its ID for a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -15138,7 +15110,7 @@ func (client AppsClient) GetSiteExtensionSlotResponder(resp *http.Response) (res return } -// GetSitePhpErrorLogFlag description for Gets web app's event logs. +// GetSitePhpErrorLogFlag gets web app's event logs. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -15222,7 +15194,7 @@ func (client AppsClient) GetSitePhpErrorLogFlagResponder(resp *http.Response) (r return } -// GetSitePhpErrorLogFlagSlot description for Gets web app's event logs. +// GetSitePhpErrorLogFlagSlot gets web app's event logs. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -15308,7 +15280,7 @@ func (client AppsClient) GetSitePhpErrorLogFlagSlotResponder(resp *http.Response return } -// GetSlot description for Gets the details of a web, mobile, or API app. +// GetSlot gets the details of a web, mobile, or API app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -15394,7 +15366,7 @@ func (client AppsClient) GetSlotResponder(resp *http.Response) (result Site, err return } -// GetSourceControl description for Gets the source control configuration of an app. +// GetSourceControl gets the source control configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -15478,7 +15450,7 @@ func (client AppsClient) GetSourceControlResponder(resp *http.Response) (result return } -// GetSourceControlSlot description for Gets the source control configuration of an app. +// GetSourceControlSlot gets the source control configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -15565,7 +15537,7 @@ func (client AppsClient) GetSourceControlSlotResponder(resp *http.Response) (res return } -// GetSwiftVirtualNetworkConnection description for Gets a Swift Virtual Network connection. +// GetSwiftVirtualNetworkConnection gets a Swift Virtual Network connection. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -15649,7 +15621,7 @@ func (client AppsClient) GetSwiftVirtualNetworkConnectionResponder(resp *http.Re return } -// GetSwiftVirtualNetworkConnectionSlot description for Gets a Swift Virtual Network connection. +// GetSwiftVirtualNetworkConnectionSlot gets a Swift Virtual Network connection. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -15736,7 +15708,7 @@ func (client AppsClient) GetSwiftVirtualNetworkConnectionSlotResponder(resp *htt return } -// GetTriggeredWebJob description for Gets a triggered web job by its ID for an app, or a deployment slot. +// GetTriggeredWebJob gets a triggered web job by its ID for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -15822,8 +15794,7 @@ func (client AppsClient) GetTriggeredWebJobResponder(resp *http.Response) (resul return } -// GetTriggeredWebJobHistory description for Gets a triggered web job's history by its ID for an app, , or a deployment -// slot. +// GetTriggeredWebJobHistory gets a triggered web job's history by its ID for an app, , or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -15911,8 +15882,7 @@ func (client AppsClient) GetTriggeredWebJobHistoryResponder(resp *http.Response) return } -// GetTriggeredWebJobHistorySlot description for Gets a triggered web job's history by its ID for an app, , or a -// deployment slot. +// GetTriggeredWebJobHistorySlot gets a triggered web job's history by its ID for an app, , or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -16002,7 +15972,7 @@ func (client AppsClient) GetTriggeredWebJobHistorySlotResponder(resp *http.Respo return } -// GetTriggeredWebJobSlot description for Gets a triggered web job by its ID for an app, or a deployment slot. +// GetTriggeredWebJobSlot gets a triggered web job by its ID for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -16090,7 +16060,7 @@ func (client AppsClient) GetTriggeredWebJobSlotResponder(resp *http.Response) (r return } -// GetVnetConnection description for Gets a virtual network the app (or deployment slot) is connected to by name. +// GetVnetConnection gets a virtual network the app (or deployment slot) is connected to by name. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -16176,7 +16146,7 @@ func (client AppsClient) GetVnetConnectionResponder(resp *http.Response) (result return } -// GetVnetConnectionGateway description for Gets an app's Virtual Network gateway. +// GetVnetConnectionGateway gets an app's Virtual Network gateway. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -16264,7 +16234,7 @@ func (client AppsClient) GetVnetConnectionGatewayResponder(resp *http.Response) return } -// GetVnetConnectionGatewaySlot description for Gets an app's Virtual Network gateway. +// GetVnetConnectionGatewaySlot gets an app's Virtual Network gateway. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -16355,7 +16325,7 @@ func (client AppsClient) GetVnetConnectionGatewaySlotResponder(resp *http.Respon return } -// GetVnetConnectionSlot description for Gets a virtual network the app (or deployment slot) is connected to by name. +// GetVnetConnectionSlot gets a virtual network the app (or deployment slot) is connected to by name. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -16444,7 +16414,7 @@ func (client AppsClient) GetVnetConnectionSlotResponder(resp *http.Response) (re return } -// GetWebJob description for Get webjob information for an app, or a deployment slot. +// GetWebJob get webjob information for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -16530,7 +16500,7 @@ func (client AppsClient) GetWebJobResponder(resp *http.Response) (result Job, er return } -// GetWebJobSlot description for Get webjob information for an app, or a deployment slot. +// GetWebJobSlot get webjob information for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -16619,7 +16589,7 @@ func (client AppsClient) GetWebJobSlotResponder(resp *http.Response) (result Job return } -// GetWebSiteContainerLogs description for Gets the last lines of docker logs for the given site +// GetWebSiteContainerLogs gets the last lines of docker logs for the given site // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -16702,7 +16672,7 @@ func (client AppsClient) GetWebSiteContainerLogsResponder(resp *http.Response) ( return } -// GetWebSiteContainerLogsSlot description for Gets the last lines of docker logs for the given site +// GetWebSiteContainerLogsSlot gets the last lines of docker logs for the given site // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -16787,7 +16757,7 @@ func (client AppsClient) GetWebSiteContainerLogsSlotResponder(resp *http.Respons return } -// InstallSiteExtension description for Install site extension on a web site, or a deployment slot. +// InstallSiteExtension install site extension on a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -16876,7 +16846,7 @@ func (client AppsClient) InstallSiteExtensionResponder(resp *http.Response) (res return } -// InstallSiteExtensionSlot description for Install site extension on a web site, or a deployment slot. +// InstallSiteExtensionSlot install site extension on a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -16967,7 +16937,7 @@ func (client AppsClient) InstallSiteExtensionSlotResponder(resp *http.Response) return } -// IsCloneable description for Shows whether an app can be cloned to another resource group or subscription. +// IsCloneable shows whether an app can be cloned to another resource group or subscription. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -17051,7 +17021,7 @@ func (client AppsClient) IsCloneableResponder(resp *http.Response) (result SiteC return } -// IsCloneableSlot description for Shows whether an app can be cloned to another resource group or subscription. +// IsCloneableSlot shows whether an app can be cloned to another resource group or subscription. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -17137,7 +17107,7 @@ func (client AppsClient) IsCloneableSlotResponder(resp *http.Response) (result S return } -// List description for Get all apps for a subscription. +// List get all apps for a subscription. func (client AppsClient) List(ctx context.Context) (result AppCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/AppsClient.List") @@ -17250,7 +17220,7 @@ func (client AppsClient) ListComplete(ctx context.Context) (result AppCollection return } -// ListApplicationSettings description for Gets the application settings of an app. +// ListApplicationSettings gets the application settings of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -17334,7 +17304,7 @@ func (client AppsClient) ListApplicationSettingsResponder(resp *http.Response) ( return } -// ListApplicationSettingsSlot description for Gets the application settings of an app. +// ListApplicationSettingsSlot gets the application settings of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -17421,7 +17391,7 @@ func (client AppsClient) ListApplicationSettingsSlotResponder(resp *http.Respons return } -// ListAzureStorageAccounts description for Gets the Azure storage account configurations of an app. +// ListAzureStorageAccounts gets the Azure storage account configurations of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -17505,7 +17475,7 @@ func (client AppsClient) ListAzureStorageAccountsResponder(resp *http.Response) return } -// ListAzureStorageAccountsSlot description for Gets the Azure storage account configurations of an app. +// ListAzureStorageAccountsSlot gets the Azure storage account configurations of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -17592,7 +17562,7 @@ func (client AppsClient) ListAzureStorageAccountsSlotResponder(resp *http.Respon return } -// ListBackups description for Gets existing backups of an app. +// ListBackups gets existing backups of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -17718,7 +17688,7 @@ func (client AppsClient) ListBackupsComplete(ctx context.Context, resourceGroupN return } -// ListBackupsSlot description for Gets existing backups of an app. +// ListBackupsSlot gets existing backups of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -17847,9 +17817,9 @@ func (client AppsClient) ListBackupsSlotComplete(ctx context.Context, resourceGr return } -// ListBackupStatusSecrets description for Gets status of a web app backup that may be in progress, including secrets -// associated with the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup -// if a new URL is passed in the request body. +// ListBackupStatusSecrets gets status of a web app backup that may be in progress, including secrets associated with +// the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup if a new URL is +// passed in the request body. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -17947,9 +17917,9 @@ func (client AppsClient) ListBackupStatusSecretsResponder(resp *http.Response) ( return } -// ListBackupStatusSecretsSlot description for Gets status of a web app backup that may be in progress, including -// secrets associated with the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for -// the backup if a new URL is passed in the request body. +// ListBackupStatusSecretsSlot gets status of a web app backup that may be in progress, including secrets associated +// with the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup if a new +// URL is passed in the request body. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -18049,7 +18019,7 @@ func (client AppsClient) ListBackupStatusSecretsSlotResponder(resp *http.Respons return } -// ListByResourceGroup description for Gets all web, mobile, and API apps in the specified resource group. +// ListByResourceGroup gets all web, mobile, and API apps in the specified resource group. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // includeSlots - specify true to include deployment slots in results. The default is false, @@ -18178,7 +18148,7 @@ func (client AppsClient) ListByResourceGroupComplete(ctx context.Context, resour return } -// ListConfigurations description for List the configurations of an app +// ListConfigurations list the configurations of an app // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -18304,8 +18274,8 @@ func (client AppsClient) ListConfigurationsComplete(ctx context.Context, resourc return } -// ListConfigurationSnapshotInfo description for Gets a list of web app configuration snapshots identifiers. Each -// element of the list contains a timestamp and the ID of the snapshot. +// ListConfigurationSnapshotInfo gets a list of web app configuration snapshots identifiers. Each element of the list +// contains a timestamp and the ID of the snapshot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -18431,8 +18401,8 @@ func (client AppsClient) ListConfigurationSnapshotInfoComplete(ctx context.Conte return } -// ListConfigurationSnapshotInfoSlot description for Gets a list of web app configuration snapshots identifiers. Each -// element of the list contains a timestamp and the ID of the snapshot. +// ListConfigurationSnapshotInfoSlot gets a list of web app configuration snapshots identifiers. Each element of the +// list contains a timestamp and the ID of the snapshot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -18561,7 +18531,7 @@ func (client AppsClient) ListConfigurationSnapshotInfoSlotComplete(ctx context.C return } -// ListConfigurationsSlot description for List the configurations of an app +// ListConfigurationsSlot list the configurations of an app // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -18690,7 +18660,7 @@ func (client AppsClient) ListConfigurationsSlotComplete(ctx context.Context, res return } -// ListConnectionStrings description for Gets the connection strings of an app. +// ListConnectionStrings gets the connection strings of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -18774,7 +18744,7 @@ func (client AppsClient) ListConnectionStringsResponder(resp *http.Response) (re return } -// ListConnectionStringsSlot description for Gets the connection strings of an app. +// ListConnectionStringsSlot gets the connection strings of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -18861,7 +18831,7 @@ func (client AppsClient) ListConnectionStringsSlotResponder(resp *http.Response) return } -// ListContinuousWebJobs description for List continuous web jobs for an app, or a deployment slot. +// ListContinuousWebJobs list continuous web jobs for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -18987,7 +18957,7 @@ func (client AppsClient) ListContinuousWebJobsComplete(ctx context.Context, reso return } -// ListContinuousWebJobsSlot description for List continuous web jobs for an app, or a deployment slot. +// ListContinuousWebJobsSlot list continuous web jobs for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -19116,7 +19086,7 @@ func (client AppsClient) ListContinuousWebJobsSlotComplete(ctx context.Context, return } -// ListDeploymentLog description for List deployment log for specific deployment for an app, or a deployment slot. +// ListDeploymentLog list deployment log for specific deployment for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -19203,7 +19173,7 @@ func (client AppsClient) ListDeploymentLogResponder(resp *http.Response) (result return } -// ListDeploymentLogSlot description for List deployment log for specific deployment for an app, or a deployment slot. +// ListDeploymentLogSlot list deployment log for specific deployment for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -19293,7 +19263,7 @@ func (client AppsClient) ListDeploymentLogSlotResponder(resp *http.Response) (re return } -// ListDeployments description for List deployments for an app, or a deployment slot. +// ListDeployments list deployments for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -19419,7 +19389,7 @@ func (client AppsClient) ListDeploymentsComplete(ctx context.Context, resourceGr return } -// ListDeploymentsSlot description for List deployments for an app, or a deployment slot. +// ListDeploymentsSlot list deployments for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -19548,7 +19518,7 @@ func (client AppsClient) ListDeploymentsSlotComplete(ctx context.Context, resour return } -// ListDomainOwnershipIdentifiers description for Lists ownership identifiers for domain associated with web app. +// ListDomainOwnershipIdentifiers lists ownership identifiers for domain associated with web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -19674,7 +19644,7 @@ func (client AppsClient) ListDomainOwnershipIdentifiersComplete(ctx context.Cont return } -// ListDomainOwnershipIdentifiersSlot description for Lists ownership identifiers for domain associated with web app. +// ListDomainOwnershipIdentifiersSlot lists ownership identifiers for domain associated with web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -19803,7 +19773,7 @@ func (client AppsClient) ListDomainOwnershipIdentifiersSlotComplete(ctx context. return } -// ListFunctionKeys description for Get function keys for a function in a web site, or a deployment slot. +// ListFunctionKeys get function keys for a function in a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -19889,7 +19859,7 @@ func (client AppsClient) ListFunctionKeysResponder(resp *http.Response) (result return } -// ListFunctionKeysSlot description for Get function keys for a function in a web site, or a deployment slot. +// ListFunctionKeysSlot get function keys for a function in a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -19977,7 +19947,7 @@ func (client AppsClient) ListFunctionKeysSlotResponder(resp *http.Response) (res return } -// ListFunctions description for List the functions for a web site, or a deployment slot. +// ListFunctions list the functions for a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -20103,7 +20073,7 @@ func (client AppsClient) ListFunctionsComplete(ctx context.Context, resourceGrou return } -// ListFunctionSecrets description for Get function secrets for a function in a web site, or a deployment slot. +// ListFunctionSecrets get function secrets for a function in a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -20189,7 +20159,7 @@ func (client AppsClient) ListFunctionSecretsResponder(resp *http.Response) (resu return } -// ListFunctionSecretsSlot description for Get function secrets for a function in a web site, or a deployment slot. +// ListFunctionSecretsSlot get function secrets for a function in a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -20277,7 +20247,7 @@ func (client AppsClient) ListFunctionSecretsSlotResponder(resp *http.Response) ( return } -// ListHostKeys description for Get host secrets for a function app. +// ListHostKeys get host secrets for a function app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -20361,7 +20331,7 @@ func (client AppsClient) ListHostKeysResponder(resp *http.Response) (result Host return } -// ListHostKeysSlot description for Get host secrets for a function app. +// ListHostKeysSlot get host secrets for a function app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -20447,7 +20417,7 @@ func (client AppsClient) ListHostKeysSlotResponder(resp *http.Response) (result return } -// ListHostNameBindings description for Get hostname bindings for an app or a deployment slot. +// ListHostNameBindings get hostname bindings for an app or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -20573,7 +20543,7 @@ func (client AppsClient) ListHostNameBindingsComplete(ctx context.Context, resou return } -// ListHostNameBindingsSlot description for Get hostname bindings for an app or a deployment slot. +// ListHostNameBindingsSlot get hostname bindings for an app or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -20702,7 +20672,7 @@ func (client AppsClient) ListHostNameBindingsSlotComplete(ctx context.Context, r return } -// ListHybridConnections description for Retrieves all Service Bus Hybrid Connections used by this Web App. +// ListHybridConnections retrieves all Service Bus Hybrid Connections used by this Web App. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -20786,7 +20756,7 @@ func (client AppsClient) ListHybridConnectionsResponder(resp *http.Response) (re return } -// ListHybridConnectionsSlot description for Retrieves all Service Bus Hybrid Connections used by this Web App. +// ListHybridConnectionsSlot retrieves all Service Bus Hybrid Connections used by this Web App. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -20872,7 +20842,7 @@ func (client AppsClient) ListHybridConnectionsSlotResponder(resp *http.Response) return } -// ListInstanceFunctionsSlot description for List the functions for a web site, or a deployment slot. +// ListInstanceFunctionsSlot list the functions for a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -21000,7 +20970,7 @@ func (client AppsClient) ListInstanceFunctionsSlotComplete(ctx context.Context, return } -// ListInstanceIdentifiers description for Gets all scale-out instances of an app. +// ListInstanceIdentifiers gets all scale-out instances of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -21126,7 +21096,7 @@ func (client AppsClient) ListInstanceIdentifiersComplete(ctx context.Context, re return } -// ListInstanceIdentifiersSlot description for Gets all scale-out instances of an app. +// ListInstanceIdentifiersSlot gets all scale-out instances of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -21254,8 +21224,8 @@ func (client AppsClient) ListInstanceIdentifiersSlotComplete(ctx context.Context return } -// ListInstanceProcesses description for Get list of processes for a web site, or a deployment slot, or for a specific -// scaled-out instance in a web site. +// ListInstanceProcesses get list of processes for a web site, or a deployment slot, or for a specific scaled-out +// instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -21384,8 +21354,8 @@ func (client AppsClient) ListInstanceProcessesComplete(ctx context.Context, reso return } -// ListInstanceProcessesSlot description for Get list of processes for a web site, or a deployment slot, or for a -// specific scaled-out instance in a web site. +// ListInstanceProcessesSlot get list of processes for a web site, or a deployment slot, or for a specific scaled-out +// instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -21517,8 +21487,8 @@ func (client AppsClient) ListInstanceProcessesSlotComplete(ctx context.Context, return } -// ListInstanceProcessModules description for List module information for a process by its ID for a specific scaled-out -// instance in a web site. +// ListInstanceProcessModules list module information for a process by its ID for a specific scaled-out instance in a +// web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -21649,8 +21619,8 @@ func (client AppsClient) ListInstanceProcessModulesComplete(ctx context.Context, return } -// ListInstanceProcessModulesSlot description for List module information for a process by its ID for a specific -// scaled-out instance in a web site. +// ListInstanceProcessModulesSlot list module information for a process by its ID for a specific scaled-out instance in +// a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -21784,8 +21754,7 @@ func (client AppsClient) ListInstanceProcessModulesSlotComplete(ctx context.Cont return } -// ListInstanceProcessThreads description for List the threads in a process by its ID for a specific scaled-out -// instance in a web site. +// ListInstanceProcessThreads list the threads in a process by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -21916,8 +21885,8 @@ func (client AppsClient) ListInstanceProcessThreadsComplete(ctx context.Context, return } -// ListInstanceProcessThreadsSlot description for List the threads in a process by its ID for a specific scaled-out -// instance in a web site. +// ListInstanceProcessThreadsSlot list the threads in a process by its ID for a specific scaled-out instance in a web +// site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -22051,7 +22020,7 @@ func (client AppsClient) ListInstanceProcessThreadsSlotComplete(ctx context.Cont return } -// ListMetadata description for Gets the metadata of an app. +// ListMetadata gets the metadata of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -22135,7 +22104,7 @@ func (client AppsClient) ListMetadataResponder(resp *http.Response) (result Stri return } -// ListMetadataSlot description for Gets the metadata of an app. +// ListMetadataSlot gets the metadata of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -22222,7 +22191,7 @@ func (client AppsClient) ListMetadataSlotResponder(resp *http.Response) (result return } -// ListNetworkFeatures description for Gets all network features used by the app (or deployment slot, if specified). +// ListNetworkFeatures gets all network features used by the app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -22308,8 +22277,7 @@ func (client AppsClient) ListNetworkFeaturesResponder(resp *http.Response) (resu return } -// ListNetworkFeaturesSlot description for Gets all network features used by the app (or deployment slot, if -// specified). +// ListNetworkFeaturesSlot gets all network features used by the app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -22398,7 +22366,7 @@ func (client AppsClient) ListNetworkFeaturesSlotResponder(resp *http.Response) ( return } -// ListPerfMonCounters description for Gets perfmon counters for web app. +// ListPerfMonCounters gets perfmon counters for web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -22530,7 +22498,7 @@ func (client AppsClient) ListPerfMonCountersComplete(ctx context.Context, resour return } -// ListPerfMonCountersSlot description for Gets perfmon counters for web app. +// ListPerfMonCountersSlot gets perfmon counters for web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -22664,7 +22632,7 @@ func (client AppsClient) ListPerfMonCountersSlotComplete(ctx context.Context, re return } -// ListPremierAddOns description for Gets the premier add-ons of an app. +// ListPremierAddOns gets the premier add-ons of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -22748,7 +22716,7 @@ func (client AppsClient) ListPremierAddOnsResponder(resp *http.Response) (result return } -// ListPremierAddOnsSlot description for Gets the premier add-ons of an app. +// ListPremierAddOnsSlot gets the premier add-ons of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -22835,8 +22803,8 @@ func (client AppsClient) ListPremierAddOnsSlotResponder(resp *http.Response) (re return } -// ListProcesses description for Get list of processes for a web site, or a deployment slot, or for a specific -// scaled-out instance in a web site. +// ListProcesses get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a +// web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -22962,8 +22930,8 @@ func (client AppsClient) ListProcessesComplete(ctx context.Context, resourceGrou return } -// ListProcessesSlot description for Get list of processes for a web site, or a deployment slot, or for a specific -// scaled-out instance in a web site. +// ListProcessesSlot get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance +// in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -23092,8 +23060,7 @@ func (client AppsClient) ListProcessesSlotComplete(ctx context.Context, resource return } -// ListProcessModules description for List module information for a process by its ID for a specific scaled-out -// instance in a web site. +// ListProcessModules list module information for a process by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -23221,8 +23188,8 @@ func (client AppsClient) ListProcessModulesComplete(ctx context.Context, resourc return } -// ListProcessModulesSlot description for List module information for a process by its ID for a specific scaled-out -// instance in a web site. +// ListProcessModulesSlot list module information for a process by its ID for a specific scaled-out instance in a web +// site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -23353,8 +23320,7 @@ func (client AppsClient) ListProcessModulesSlotComplete(ctx context.Context, res return } -// ListProcessThreads description for List the threads in a process by its ID for a specific scaled-out instance in a -// web site. +// ListProcessThreads list the threads in a process by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -23482,8 +23448,7 @@ func (client AppsClient) ListProcessThreadsComplete(ctx context.Context, resourc return } -// ListProcessThreadsSlot description for List the threads in a process by its ID for a specific scaled-out instance in -// a web site. +// ListProcessThreadsSlot list the threads in a process by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -23614,7 +23579,7 @@ func (client AppsClient) ListProcessThreadsSlotComplete(ctx context.Context, res return } -// ListPublicCertificates description for Get public certificates for an app or a deployment slot. +// ListPublicCertificates get public certificates for an app or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -23740,7 +23705,7 @@ func (client AppsClient) ListPublicCertificatesComplete(ctx context.Context, res return } -// ListPublicCertificatesSlot description for Get public certificates for an app or a deployment slot. +// ListPublicCertificatesSlot get public certificates for an app or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -23869,7 +23834,7 @@ func (client AppsClient) ListPublicCertificatesSlotComplete(ctx context.Context, return } -// ListPublishingCredentials description for Gets the Git/FTP publishing credentials of an app. +// ListPublishingCredentials gets the Git/FTP publishing credentials of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -23956,7 +23921,7 @@ func (client AppsClient) ListPublishingCredentialsResponder(resp *http.Response) return } -// ListPublishingCredentialsSlot description for Gets the Git/FTP publishing credentials of an app. +// ListPublishingCredentialsSlot gets the Git/FTP publishing credentials of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -24046,8 +24011,7 @@ func (client AppsClient) ListPublishingCredentialsSlotResponder(resp *http.Respo return } -// ListPublishingProfileXMLWithSecrets description for Gets the publishing profile for an app (or deployment slot, if -// specified). +// ListPublishingProfileXMLWithSecrets gets the publishing profile for an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -24134,8 +24098,7 @@ func (client AppsClient) ListPublishingProfileXMLWithSecretsResponder(resp *http return } -// ListPublishingProfileXMLWithSecretsSlot description for Gets the publishing profile for an app (or deployment slot, -// if specified). +// ListPublishingProfileXMLWithSecretsSlot gets the publishing profile for an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -24225,8 +24188,7 @@ func (client AppsClient) ListPublishingProfileXMLWithSecretsSlotResponder(resp * return } -// ListRelayServiceConnections description for Gets hybrid connections configured for an app (or deployment slot, if -// specified). +// ListRelayServiceConnections gets hybrid connections configured for an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -24310,8 +24272,7 @@ func (client AppsClient) ListRelayServiceConnectionsResponder(resp *http.Respons return } -// ListRelayServiceConnectionsSlot description for Gets hybrid connections configured for an app (or deployment slot, -// if specified). +// ListRelayServiceConnectionsSlot gets hybrid connections configured for an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -24398,7 +24359,7 @@ func (client AppsClient) ListRelayServiceConnectionsSlotResponder(resp *http.Res return } -// ListSiteBackups description for Gets existing backups of an app. +// ListSiteBackups gets existing backups of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -24524,7 +24485,7 @@ func (client AppsClient) ListSiteBackupsComplete(ctx context.Context, resourceGr return } -// ListSiteBackupsSlot description for Gets existing backups of an app. +// ListSiteBackupsSlot gets existing backups of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -24653,7 +24614,7 @@ func (client AppsClient) ListSiteBackupsSlotComplete(ctx context.Context, resour return } -// ListSiteExtensions description for Get list of siteextensions for a web site, or a deployment slot. +// ListSiteExtensions get list of siteextensions for a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -24779,7 +24740,7 @@ func (client AppsClient) ListSiteExtensionsComplete(ctx context.Context, resourc return } -// ListSiteExtensionsSlot description for Get list of siteextensions for a web site, or a deployment slot. +// ListSiteExtensionsSlot get list of siteextensions for a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -24907,7 +24868,7 @@ func (client AppsClient) ListSiteExtensionsSlotComplete(ctx context.Context, res return } -// ListSitePushSettings description for Gets the Push settings associated with web app. +// ListSitePushSettings gets the Push settings associated with web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -24991,7 +24952,7 @@ func (client AppsClient) ListSitePushSettingsResponder(resp *http.Response) (res return } -// ListSitePushSettingsSlot description for Gets the Push settings associated with web app. +// ListSitePushSettingsSlot gets the Push settings associated with web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -25077,8 +25038,8 @@ func (client AppsClient) ListSitePushSettingsSlotResponder(resp *http.Response) return } -// ListSlotConfigurationNames description for Gets the names of app settings and connection strings that stick to the -// slot (not swapped). +// ListSlotConfigurationNames gets the names of app settings and connection strings that stick to the slot (not +// swapped). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -25162,8 +25123,7 @@ func (client AppsClient) ListSlotConfigurationNamesResponder(resp *http.Response return } -// ListSlotDifferencesFromProduction description for Get the difference in configuration settings between two web app -// slots. +// ListSlotDifferencesFromProduction get the difference in configuration settings between two web app slots. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -25295,7 +25255,7 @@ func (client AppsClient) ListSlotDifferencesFromProductionComplete(ctx context.C return } -// ListSlotDifferencesSlot description for Get the difference in configuration settings between two web app slots. +// ListSlotDifferencesSlot get the difference in configuration settings between two web app slots. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -25429,7 +25389,7 @@ func (client AppsClient) ListSlotDifferencesSlotComplete(ctx context.Context, re return } -// ListSlots description for Gets an app's deployment slots. +// ListSlots gets an app's deployment slots. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -25555,7 +25515,7 @@ func (client AppsClient) ListSlotsComplete(ctx context.Context, resourceGroupNam return } -// ListSnapshots description for Returns all Snapshots to the user. +// ListSnapshots returns all Snapshots to the user. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - website Name. @@ -25681,7 +25641,7 @@ func (client AppsClient) ListSnapshotsComplete(ctx context.Context, resourceGrou return } -// ListSnapshotsFromDRSecondary description for Returns all Snapshots to the user from DRSecondary endpoint. +// ListSnapshotsFromDRSecondary returns all Snapshots to the user from DRSecondary endpoint. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - website Name. @@ -25807,7 +25767,7 @@ func (client AppsClient) ListSnapshotsFromDRSecondaryComplete(ctx context.Contex return } -// ListSnapshotsFromDRSecondarySlot description for Returns all Snapshots to the user from DRSecondary endpoint. +// ListSnapshotsFromDRSecondarySlot returns all Snapshots to the user from DRSecondary endpoint. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - website Name. @@ -25935,7 +25895,7 @@ func (client AppsClient) ListSnapshotsFromDRSecondarySlotComplete(ctx context.Co return } -// ListSnapshotsSlot description for Returns all Snapshots to the user. +// ListSnapshotsSlot returns all Snapshots to the user. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - website Name. @@ -26063,7 +26023,7 @@ func (client AppsClient) ListSnapshotsSlotComplete(ctx context.Context, resource return } -// ListSyncFunctionTriggers description for This is to allow calling via powershell and ARM template. +// ListSyncFunctionTriggers this is to allow calling via powershell and ARM template. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -26147,7 +26107,7 @@ func (client AppsClient) ListSyncFunctionTriggersResponder(resp *http.Response) return } -// ListSyncFunctionTriggersSlot description for This is to allow calling via powershell and ARM template. +// ListSyncFunctionTriggersSlot this is to allow calling via powershell and ARM template. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -26233,7 +26193,7 @@ func (client AppsClient) ListSyncFunctionTriggersSlotResponder(resp *http.Respon return } -// ListSyncStatus description for This is to allow calling via powershell and ARM template. +// ListSyncStatus this is to allow calling via powershell and ARM template. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -26316,7 +26276,7 @@ func (client AppsClient) ListSyncStatusResponder(resp *http.Response) (result au return } -// ListSyncStatusSlot description for This is to allow calling via powershell and ARM template. +// ListSyncStatusSlot this is to allow calling via powershell and ARM template. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -26401,7 +26361,7 @@ func (client AppsClient) ListSyncStatusSlotResponder(resp *http.Response) (resul return } -// ListTriggeredWebJobHistory description for List a triggered web job's history for an app, or a deployment slot. +// ListTriggeredWebJobHistory list a triggered web job's history for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -26529,7 +26489,7 @@ func (client AppsClient) ListTriggeredWebJobHistoryComplete(ctx context.Context, return } -// ListTriggeredWebJobHistorySlot description for List a triggered web job's history for an app, or a deployment slot. +// ListTriggeredWebJobHistorySlot list a triggered web job's history for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -26659,7 +26619,7 @@ func (client AppsClient) ListTriggeredWebJobHistorySlotComplete(ctx context.Cont return } -// ListTriggeredWebJobs description for List triggered web jobs for an app, or a deployment slot. +// ListTriggeredWebJobs list triggered web jobs for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -26785,7 +26745,7 @@ func (client AppsClient) ListTriggeredWebJobsComplete(ctx context.Context, resou return } -// ListTriggeredWebJobsSlot description for List triggered web jobs for an app, or a deployment slot. +// ListTriggeredWebJobsSlot list triggered web jobs for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -26914,7 +26874,7 @@ func (client AppsClient) ListTriggeredWebJobsSlotComplete(ctx context.Context, r return } -// ListUsages description for Gets the quota usage information of an app (or deployment slot, if specified). +// ListUsages gets the quota usage information of an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -27046,7 +27006,7 @@ func (client AppsClient) ListUsagesComplete(ctx context.Context, resourceGroupNa return } -// ListUsagesSlot description for Gets the quota usage information of an app (or deployment slot, if specified). +// ListUsagesSlot gets the quota usage information of an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -27181,7 +27141,7 @@ func (client AppsClient) ListUsagesSlotComplete(ctx context.Context, resourceGro return } -// ListVnetConnections description for Gets the virtual networks the app (or deployment slot) is connected to. +// ListVnetConnections gets the virtual networks the app (or deployment slot) is connected to. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -27265,7 +27225,7 @@ func (client AppsClient) ListVnetConnectionsResponder(resp *http.Response) (resu return } -// ListVnetConnectionsSlot description for Gets the virtual networks the app (or deployment slot) is connected to. +// ListVnetConnectionsSlot gets the virtual networks the app (or deployment slot) is connected to. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -27352,7 +27312,7 @@ func (client AppsClient) ListVnetConnectionsSlotResponder(resp *http.Response) ( return } -// ListWebJobs description for List webjobs for an app, or a deployment slot. +// ListWebJobs list webjobs for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -27478,7 +27438,7 @@ func (client AppsClient) ListWebJobsComplete(ctx context.Context, resourceGroupN return } -// ListWebJobsSlot description for List webjobs for an app, or a deployment slot. +// ListWebJobsSlot list webjobs for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -27607,7 +27567,7 @@ func (client AppsClient) ListWebJobsSlotComplete(ctx context.Context, resourceGr return } -// MigrateMySQL description for Migrates a local (in-app) MySql database to a remote MySql database. +// MigrateMySQL migrates a local (in-app) MySql database to a remote MySql database. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -27700,7 +27660,7 @@ func (client AppsClient) MigrateMySQLResponder(resp *http.Response) (result Oper return } -// MigrateStorage description for Restores a web app. +// MigrateStorage restores a web app. // Parameters: // subscriptionName - azure subscription. // resourceGroupName - name of the resource group to which the resource belongs. @@ -27797,8 +27757,8 @@ func (client AppsClient) MigrateStorageResponder(resp *http.Response) (result St return } -// PutPrivateAccessVnet description for Sets data around private site access enablement and authorized Virtual Networks -// that can access the site. +// PutPrivateAccessVnet sets data around private site access enablement and authorized Virtual Networks that can access +// the site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -27885,8 +27845,8 @@ func (client AppsClient) PutPrivateAccessVnetResponder(resp *http.Response) (res return } -// PutPrivateAccessVnetSlot description for Sets data around private site access enablement and authorized Virtual -// Networks that can access the site. +// PutPrivateAccessVnetSlot sets data around private site access enablement and authorized Virtual Networks that can +// access the site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -27975,7 +27935,7 @@ func (client AppsClient) PutPrivateAccessVnetSlotResponder(resp *http.Response) return } -// RecoverSiteConfigurationSnapshot description for Reverts the configuration of an app to a previous snapshot. +// RecoverSiteConfigurationSnapshot reverts the configuration of an app to a previous snapshot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -28060,7 +28020,7 @@ func (client AppsClient) RecoverSiteConfigurationSnapshotResponder(resp *http.Re return } -// RecoverSiteConfigurationSnapshotSlot description for Reverts the configuration of an app to a previous snapshot. +// RecoverSiteConfigurationSnapshotSlot reverts the configuration of an app to a previous snapshot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -28148,8 +28108,8 @@ func (client AppsClient) RecoverSiteConfigurationSnapshotSlotResponder(resp *htt return } -// ResetProductionSlotConfig description for Resets the configuration settings of the current slot if they were -// previously modified by calling the API with POST. +// ResetProductionSlotConfig resets the configuration settings of the current slot if they were previously modified by +// calling the API with POST. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -28232,8 +28192,8 @@ func (client AppsClient) ResetProductionSlotConfigResponder(resp *http.Response) return } -// ResetSlotConfigurationSlot description for Resets the configuration settings of the current slot if they were -// previously modified by calling the API with POST. +// ResetSlotConfigurationSlot resets the configuration settings of the current slot if they were previously modified by +// calling the API with POST. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -28319,7 +28279,7 @@ func (client AppsClient) ResetSlotConfigurationSlotResponder(resp *http.Response return } -// Restart description for Restarts an app (or deployment slot, if specified). +// Restart restarts an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -28412,7 +28372,7 @@ func (client AppsClient) RestartResponder(resp *http.Response) (result autorest. return } -// RestartSlot description for Restarts an app (or deployment slot, if specified). +// RestartSlot restarts an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -28507,7 +28467,7 @@ func (client AppsClient) RestartSlotResponder(resp *http.Response) (result autor return } -// Restore description for Restores a specific backup to another app (or deployment slot, if specified). +// Restore restores a specific backup to another app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -28603,7 +28563,7 @@ func (client AppsClient) RestoreResponder(resp *http.Response) (result autorest. return } -// RestoreFromBackupBlob description for Restores an app from a backup blob in Azure Storage. +// RestoreFromBackupBlob restores an app from a backup blob in Azure Storage. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -28697,7 +28657,7 @@ func (client AppsClient) RestoreFromBackupBlobResponder(resp *http.Response) (re return } -// RestoreFromBackupBlobSlot description for Restores an app from a backup blob in Azure Storage. +// RestoreFromBackupBlobSlot restores an app from a backup blob in Azure Storage. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -28794,7 +28754,7 @@ func (client AppsClient) RestoreFromBackupBlobSlotResponder(resp *http.Response) return } -// RestoreFromDeletedApp description for Restores a deleted web app to this web app. +// RestoreFromDeletedApp restores a deleted web app to this web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -28883,7 +28843,7 @@ func (client AppsClient) RestoreFromDeletedAppResponder(resp *http.Response) (re return } -// RestoreFromDeletedAppSlot description for Restores a deleted web app to this web app. +// RestoreFromDeletedAppSlot restores a deleted web app to this web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -28974,7 +28934,7 @@ func (client AppsClient) RestoreFromDeletedAppSlotResponder(resp *http.Response) return } -// RestoreSlot description for Restores a specific backup to another app (or deployment slot, if specified). +// RestoreSlot restores a specific backup to another app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -29073,7 +29033,7 @@ func (client AppsClient) RestoreSlotResponder(resp *http.Response) (result autor return } -// RestoreSnapshot description for Restores a web app from a snapshot. +// RestoreSnapshot restores a web app from a snapshot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -29166,7 +29126,7 @@ func (client AppsClient) RestoreSnapshotResponder(resp *http.Response) (result a return } -// RestoreSnapshotSlot description for Restores a web app from a snapshot. +// RestoreSnapshotSlot restores a web app from a snapshot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -29261,7 +29221,7 @@ func (client AppsClient) RestoreSnapshotSlotResponder(resp *http.Response) (resu return } -// RunTriggeredWebJob description for Run a triggered web job for an app, or a deployment slot. +// RunTriggeredWebJob run a triggered web job for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -29346,7 +29306,7 @@ func (client AppsClient) RunTriggeredWebJobResponder(resp *http.Response) (resul return } -// RunTriggeredWebJobSlot description for Run a triggered web job for an app, or a deployment slot. +// RunTriggeredWebJobSlot run a triggered web job for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -29433,7 +29393,7 @@ func (client AppsClient) RunTriggeredWebJobSlotResponder(resp *http.Response) (r return } -// Start description for Starts an app (or deployment slot, if specified). +// Start starts an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -29516,7 +29476,7 @@ func (client AppsClient) StartResponder(resp *http.Response) (result autorest.Re return } -// StartContinuousWebJob description for Start a continuous web job for an app, or a deployment slot. +// StartContinuousWebJob start a continuous web job for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -29601,7 +29561,7 @@ func (client AppsClient) StartContinuousWebJobResponder(resp *http.Response) (re return } -// StartContinuousWebJobSlot description for Start a continuous web job for an app, or a deployment slot. +// StartContinuousWebJobSlot start a continuous web job for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -29689,7 +29649,7 @@ func (client AppsClient) StartContinuousWebJobSlotResponder(resp *http.Response) return } -// StartNetworkTrace description for Start capturing network packets for the site. +// StartNetworkTrace start capturing network packets for the site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -29788,7 +29748,7 @@ func (client AppsClient) StartNetworkTraceResponder(resp *http.Response) (result return } -// StartNetworkTraceSlot description for Start capturing network packets for the site. +// StartNetworkTraceSlot start capturing network packets for the site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -29889,7 +29849,7 @@ func (client AppsClient) StartNetworkTraceSlotResponder(resp *http.Response) (re return } -// StartSlot description for Starts an app (or deployment slot, if specified). +// StartSlot starts an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -29974,7 +29934,7 @@ func (client AppsClient) StartSlotResponder(resp *http.Response) (result autores return } -// StartWebSiteNetworkTrace description for Start capturing network packets for the site (To be deprecated). +// StartWebSiteNetworkTrace start capturing network packets for the site (To be deprecated). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -30070,7 +30030,7 @@ func (client AppsClient) StartWebSiteNetworkTraceResponder(resp *http.Response) return } -// StartWebSiteNetworkTraceOperation description for Start capturing network packets for the site. +// StartWebSiteNetworkTraceOperation start capturing network packets for the site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -30169,7 +30129,7 @@ func (client AppsClient) StartWebSiteNetworkTraceOperationResponder(resp *http.R return } -// StartWebSiteNetworkTraceOperationSlot description for Start capturing network packets for the site. +// StartWebSiteNetworkTraceOperationSlot start capturing network packets for the site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -30270,7 +30230,7 @@ func (client AppsClient) StartWebSiteNetworkTraceOperationSlotResponder(resp *ht return } -// StartWebSiteNetworkTraceSlot description for Start capturing network packets for the site (To be deprecated). +// StartWebSiteNetworkTraceSlot start capturing network packets for the site (To be deprecated). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -30368,7 +30328,7 @@ func (client AppsClient) StartWebSiteNetworkTraceSlotResponder(resp *http.Respon return } -// Stop description for Stops an app (or deployment slot, if specified). +// Stop stops an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -30451,7 +30411,7 @@ func (client AppsClient) StopResponder(resp *http.Response) (result autorest.Res return } -// StopContinuousWebJob description for Stop a continuous web job for an app, or a deployment slot. +// StopContinuousWebJob stop a continuous web job for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -30536,7 +30496,7 @@ func (client AppsClient) StopContinuousWebJobResponder(resp *http.Response) (res return } -// StopContinuousWebJobSlot description for Stop a continuous web job for an app, or a deployment slot. +// StopContinuousWebJobSlot stop a continuous web job for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -30624,7 +30584,7 @@ func (client AppsClient) StopContinuousWebJobSlotResponder(resp *http.Response) return } -// StopNetworkTrace description for Stop ongoing capturing network packets for the site. +// StopNetworkTrace stop ongoing capturing network packets for the site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -30707,7 +30667,7 @@ func (client AppsClient) StopNetworkTraceResponder(resp *http.Response) (result return } -// StopNetworkTraceSlot description for Stop ongoing capturing network packets for the site. +// StopNetworkTraceSlot stop ongoing capturing network packets for the site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -30792,7 +30752,7 @@ func (client AppsClient) StopNetworkTraceSlotResponder(resp *http.Response) (res return } -// StopSlot description for Stops an app (or deployment slot, if specified). +// StopSlot stops an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -30877,7 +30837,7 @@ func (client AppsClient) StopSlotResponder(resp *http.Response) (result autorest return } -// StopWebSiteNetworkTrace description for Stop ongoing capturing network packets for the site. +// StopWebSiteNetworkTrace stop ongoing capturing network packets for the site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -30960,7 +30920,7 @@ func (client AppsClient) StopWebSiteNetworkTraceResponder(resp *http.Response) ( return } -// StopWebSiteNetworkTraceSlot description for Stop ongoing capturing network packets for the site. +// StopWebSiteNetworkTraceSlot stop ongoing capturing network packets for the site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -31045,7 +31005,7 @@ func (client AppsClient) StopWebSiteNetworkTraceSlotResponder(resp *http.Respons return } -// SwapSlotSlot description for Swaps two deployment slots of an app. +// SwapSlotSlot swaps two deployment slots of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -31139,7 +31099,7 @@ func (client AppsClient) SwapSlotSlotResponder(resp *http.Response) (result auto return } -// SwapSlotWithProduction description for Swaps two deployment slots of an app. +// SwapSlotWithProduction swaps two deployment slots of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -31231,7 +31191,7 @@ func (client AppsClient) SwapSlotWithProductionResponder(resp *http.Response) (r return } -// SyncFunctions description for Syncs function trigger metadata to the management database +// SyncFunctions syncs function trigger metadata to the management database // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -31314,7 +31274,7 @@ func (client AppsClient) SyncFunctionsResponder(resp *http.Response) (result aut return } -// SyncFunctionsSlot description for Syncs function trigger metadata to the management database +// SyncFunctionsSlot syncs function trigger metadata to the management database // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -31399,7 +31359,7 @@ func (client AppsClient) SyncFunctionsSlotResponder(resp *http.Response) (result return } -// SyncFunctionTriggers description for Syncs function trigger metadata to the management database +// SyncFunctionTriggers syncs function trigger metadata to the management database // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -31482,7 +31442,7 @@ func (client AppsClient) SyncFunctionTriggersResponder(resp *http.Response) (res return } -// SyncFunctionTriggersSlot description for Syncs function trigger metadata to the management database +// SyncFunctionTriggersSlot syncs function trigger metadata to the management database // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -31567,7 +31527,7 @@ func (client AppsClient) SyncFunctionTriggersSlotResponder(resp *http.Response) return } -// SyncRepository description for Sync web app repository. +// SyncRepository sync web app repository. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -31650,7 +31610,7 @@ func (client AppsClient) SyncRepositoryResponder(resp *http.Response) (result au return } -// SyncRepositorySlot description for Sync web app repository. +// SyncRepositorySlot sync web app repository. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -31735,8 +31695,7 @@ func (client AppsClient) SyncRepositorySlotResponder(resp *http.Response) (resul return } -// Update description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing -// app. +// Update creates a new web, mobile, or API app in an existing resource group, or updates an existing app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - unique name of the app to create or update. To create or update a deployment slot, use the {slot} @@ -31824,7 +31783,7 @@ func (client AppsClient) UpdateResponder(resp *http.Response) (result Site, err return } -// UpdateApplicationSettings description for Replaces the application settings of an app. +// UpdateApplicationSettings replaces the application settings of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -31911,7 +31870,7 @@ func (client AppsClient) UpdateApplicationSettingsResponder(resp *http.Response) return } -// UpdateApplicationSettingsSlot description for Replaces the application settings of an app. +// UpdateApplicationSettingsSlot replaces the application settings of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -32001,7 +31960,7 @@ func (client AppsClient) UpdateApplicationSettingsSlotResponder(resp *http.Respo return } -// UpdateAuthSettings description for Updates the Authentication / Authorization settings associated with web app. +// UpdateAuthSettings updates the Authentication / Authorization settings associated with web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -32088,7 +32047,7 @@ func (client AppsClient) UpdateAuthSettingsResponder(resp *http.Response) (resul return } -// UpdateAuthSettingsSlot description for Updates the Authentication / Authorization settings associated with web app. +// UpdateAuthSettingsSlot updates the Authentication / Authorization settings associated with web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -32177,7 +32136,7 @@ func (client AppsClient) UpdateAuthSettingsSlotResponder(resp *http.Response) (r return } -// UpdateAzureStorageAccounts description for Updates the Azure storage account configurations of an app. +// UpdateAzureStorageAccounts updates the Azure storage account configurations of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -32264,7 +32223,7 @@ func (client AppsClient) UpdateAzureStorageAccountsResponder(resp *http.Response return } -// UpdateAzureStorageAccountsSlot description for Updates the Azure storage account configurations of an app. +// UpdateAzureStorageAccountsSlot updates the Azure storage account configurations of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -32354,7 +32313,7 @@ func (client AppsClient) UpdateAzureStorageAccountsSlotResponder(resp *http.Resp return } -// UpdateBackupConfiguration description for Updates the backup configuration of an app. +// UpdateBackupConfiguration updates the backup configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -32450,7 +32409,7 @@ func (client AppsClient) UpdateBackupConfigurationResponder(resp *http.Response) return } -// UpdateBackupConfigurationSlot description for Updates the backup configuration of an app. +// UpdateBackupConfigurationSlot updates the backup configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -32549,7 +32508,7 @@ func (client AppsClient) UpdateBackupConfigurationSlotResponder(resp *http.Respo return } -// UpdateConfiguration description for Updates the configuration of an app. +// UpdateConfiguration updates the configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -32636,7 +32595,7 @@ func (client AppsClient) UpdateConfigurationResponder(resp *http.Response) (resu return } -// UpdateConfigurationSlot description for Updates the configuration of an app. +// UpdateConfigurationSlot updates the configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -32726,7 +32685,7 @@ func (client AppsClient) UpdateConfigurationSlotResponder(resp *http.Response) ( return } -// UpdateConnectionStrings description for Replaces the connection strings of an app. +// UpdateConnectionStrings replaces the connection strings of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -32813,7 +32772,7 @@ func (client AppsClient) UpdateConnectionStringsResponder(resp *http.Response) ( return } -// UpdateConnectionStringsSlot description for Replaces the connection strings of an app. +// UpdateConnectionStringsSlot replaces the connection strings of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -32903,7 +32862,7 @@ func (client AppsClient) UpdateConnectionStringsSlotResponder(resp *http.Respons return } -// UpdateDiagnosticLogsConfig description for Updates the logging configuration of an app. +// UpdateDiagnosticLogsConfig updates the logging configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -33006,7 +32965,7 @@ func (client AppsClient) UpdateDiagnosticLogsConfigResponder(resp *http.Response return } -// UpdateDiagnosticLogsConfigSlot description for Updates the logging configuration of an app. +// UpdateDiagnosticLogsConfigSlot updates the logging configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -33112,8 +33071,8 @@ func (client AppsClient) UpdateDiagnosticLogsConfigSlotResponder(resp *http.Resp return } -// UpdateDomainOwnershipIdentifier description for Creates a domain ownership identifier for web app, or updates an -// existing ownership identifier. +// UpdateDomainOwnershipIdentifier creates a domain ownership identifier for web app, or updates an existing ownership +// identifier. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -33202,8 +33161,8 @@ func (client AppsClient) UpdateDomainOwnershipIdentifierResponder(resp *http.Res return } -// UpdateDomainOwnershipIdentifierSlot description for Creates a domain ownership identifier for web app, or updates an -// existing ownership identifier. +// UpdateDomainOwnershipIdentifierSlot creates a domain ownership identifier for web app, or updates an existing +// ownership identifier. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -33295,7 +33254,7 @@ func (client AppsClient) UpdateDomainOwnershipIdentifierSlotResponder(resp *http return } -// UpdateFtpAllowed description for Updates whether FTP is allowed on the site or not. +// UpdateFtpAllowed updates whether FTP is allowed on the site or not. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -33384,7 +33343,7 @@ func (client AppsClient) UpdateFtpAllowedResponder(resp *http.Response) (result return } -// UpdateHybridConnection description for Creates a new Hybrid Connection using a Service Bus relay. +// UpdateHybridConnection creates a new Hybrid Connection using a Service Bus relay. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -33475,7 +33434,7 @@ func (client AppsClient) UpdateHybridConnectionResponder(resp *http.Response) (r return } -// UpdateHybridConnectionSlot description for Creates a new Hybrid Connection using a Service Bus relay. +// UpdateHybridConnectionSlot creates a new Hybrid Connection using a Service Bus relay. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -33568,7 +33527,7 @@ func (client AppsClient) UpdateHybridConnectionSlotResponder(resp *http.Response return } -// UpdateMetadata description for Replaces the metadata of an app. +// UpdateMetadata replaces the metadata of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -33655,7 +33614,7 @@ func (client AppsClient) UpdateMetadataResponder(resp *http.Response) (result St return } -// UpdateMetadataSlot description for Replaces the metadata of an app. +// UpdateMetadataSlot replaces the metadata of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -33745,7 +33704,7 @@ func (client AppsClient) UpdateMetadataSlotResponder(resp *http.Response) (resul return } -// UpdatePremierAddOn description for Updates a named add-on of an app. +// UpdatePremierAddOn updates a named add-on of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -33834,7 +33793,7 @@ func (client AppsClient) UpdatePremierAddOnResponder(resp *http.Response) (resul return } -// UpdatePremierAddOnSlot description for Updates a named add-on of an app. +// UpdatePremierAddOnSlot updates a named add-on of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -33926,8 +33885,8 @@ func (client AppsClient) UpdatePremierAddOnSlotResponder(resp *http.Response) (r return } -// UpdateRelayServiceConnection description for Creates a new hybrid connection configuration (PUT), or updates an -// existing one (PATCH). +// UpdateRelayServiceConnection creates a new hybrid connection configuration (PUT), or updates an existing one +// (PATCH). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -34016,8 +33975,8 @@ func (client AppsClient) UpdateRelayServiceConnectionResponder(resp *http.Respon return } -// UpdateRelayServiceConnectionSlot description for Creates a new hybrid connection configuration (PUT), or updates an -// existing one (PATCH). +// UpdateRelayServiceConnectionSlot creates a new hybrid connection configuration (PUT), or updates an existing one +// (PATCH). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -34109,7 +34068,7 @@ func (client AppsClient) UpdateRelayServiceConnectionSlotResponder(resp *http.Re return } -// UpdateScmAllowed description for Updates whether user publishing credentials are allowed on the site or not. +// UpdateScmAllowed updates whether user publishing credentials are allowed on the site or not. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -34198,7 +34157,7 @@ func (client AppsClient) UpdateScmAllowedResponder(resp *http.Response) (result return } -// UpdateSitePushSettings description for Updates the Push settings associated with web app. +// UpdateSitePushSettings updates the Push settings associated with web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -34288,7 +34247,7 @@ func (client AppsClient) UpdateSitePushSettingsResponder(resp *http.Response) (r return } -// UpdateSitePushSettingsSlot description for Updates the Push settings associated with web app. +// UpdateSitePushSettingsSlot updates the Push settings associated with web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -34380,15 +34339,13 @@ func (client AppsClient) UpdateSitePushSettingsSlotResponder(resp *http.Response return } -// UpdateSlot description for Creates a new web, mobile, or API app in an existing resource group, or updates an -// existing app. +// UpdateSlot creates a new web, mobile, or API app in an existing resource group, or updates an existing app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - unique name of the app to create or update. To create or update a deployment slot, use the {slot} // parameter. // siteEnvelope - a JSON representation of the app properties. See example. -// slot - name of the deployment slot to create or update. By default, this API attempts to create or modify -// the production slot. +// slot - name of the deployment slot to create or update. The name 'production' is reserved. func (client AppsClient) UpdateSlot(ctx context.Context, resourceGroupName string, name string, siteEnvelope SitePatchResource, slot string) (result Site, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/AppsClient.UpdateSlot") @@ -34472,8 +34429,8 @@ func (client AppsClient) UpdateSlotResponder(resp *http.Response) (result Site, return } -// UpdateSlotConfigurationNames description for Updates the names of application settings and connection string that -// remain with the slot during swap operation. +// UpdateSlotConfigurationNames updates the names of application settings and connection string that remain with the +// slot during swap operation. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -34560,7 +34517,7 @@ func (client AppsClient) UpdateSlotConfigurationNamesResponder(resp *http.Respon return } -// UpdateSourceControl description for Updates the source control configuration of an app. +// UpdateSourceControl updates the source control configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -34647,7 +34604,7 @@ func (client AppsClient) UpdateSourceControlResponder(resp *http.Response) (resu return } -// UpdateSourceControlSlot description for Updates the source control configuration of an app. +// UpdateSourceControlSlot updates the source control configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -34737,9 +34694,9 @@ func (client AppsClient) UpdateSourceControlSlotResponder(resp *http.Response) ( return } -// UpdateSwiftVirtualNetworkConnection description for Integrates this Web App with a Virtual Network. This requires -// that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already -// been delegated, and is not +// UpdateSwiftVirtualNetworkConnection integrates this Web App with a Virtual Network. This requires that 1) +// "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been +// delegated, and is not // in use by another App Service Plan other than the one this App is in. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. @@ -34827,9 +34784,9 @@ func (client AppsClient) UpdateSwiftVirtualNetworkConnectionResponder(resp *http return } -// UpdateSwiftVirtualNetworkConnectionSlot description for Integrates this Web App with a Virtual Network. This -// requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has -// already been delegated, and is not +// UpdateSwiftVirtualNetworkConnectionSlot integrates this Web App with a Virtual Network. This requires that 1) +// "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been +// delegated, and is not // in use by another App Service Plan other than the one this App is in. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. @@ -34920,8 +34877,8 @@ func (client AppsClient) UpdateSwiftVirtualNetworkConnectionSlotResponder(resp * return } -// UpdateVnetConnection description for Adds a Virtual Network connection to an app or slot (PUT) or updates the -// connection properties (PATCH). +// UpdateVnetConnection adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties +// (PATCH). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -35010,8 +34967,7 @@ func (client AppsClient) UpdateVnetConnectionResponder(resp *http.Response) (res return } -// UpdateVnetConnectionGateway description for Adds a gateway to a connected Virtual Network (PUT) or updates it -// (PATCH). +// UpdateVnetConnectionGateway adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -35102,8 +35058,7 @@ func (client AppsClient) UpdateVnetConnectionGatewayResponder(resp *http.Respons return } -// UpdateVnetConnectionGatewaySlot description for Adds a gateway to a connected Virtual Network (PUT) or updates it -// (PATCH). +// UpdateVnetConnectionGatewaySlot adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -35197,8 +35152,8 @@ func (client AppsClient) UpdateVnetConnectionGatewaySlotResponder(resp *http.Res return } -// UpdateVnetConnectionSlot description for Adds a Virtual Network connection to an app or slot (PUT) or updates the -// connection properties (PATCH). +// UpdateVnetConnectionSlot adds a Virtual Network connection to an app or slot (PUT) or updates the connection +// properties (PATCH). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. diff --git a/services/web/mgmt/2019-08-01/web/appservicecertificateorders.go b/services/web/mgmt/2019-08-01/web/appservicecertificateorders.go index ed279966ce56..d1a868e50638 100644 --- a/services/web/mgmt/2019-08-01/web/appservicecertificateorders.go +++ b/services/web/mgmt/2019-08-01/web/appservicecertificateorders.go @@ -32,7 +32,7 @@ func NewAppServiceCertificateOrdersClientWithBaseURI(baseURI string, subscriptio return AppServiceCertificateOrdersClient{NewWithBaseURI(baseURI, subscriptionID)} } -// CreateOrUpdate description for Create or update a certificate purchase order. +// CreateOrUpdate create or update a certificate purchase order. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -129,7 +129,7 @@ func (client AppServiceCertificateOrdersClient) CreateOrUpdateResponder(resp *ht return } -// CreateOrUpdateCertificate description for Creates or updates a certificate and associates with key vault secret. +// CreateOrUpdateCertificate creates or updates a certificate and associates with key vault secret. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -221,7 +221,7 @@ func (client AppServiceCertificateOrdersClient) CreateOrUpdateCertificateRespond return } -// Delete description for Delete an existing certificate order. +// Delete delete an existing certificate order. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -304,7 +304,7 @@ func (client AppServiceCertificateOrdersClient) DeleteResponder(resp *http.Respo return } -// DeleteCertificate description for Delete the certificate associated with a certificate order. +// DeleteCertificate delete the certificate associated with a certificate order. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -389,7 +389,7 @@ func (client AppServiceCertificateOrdersClient) DeleteCertificateResponder(resp return } -// Get description for Get a certificate order. +// Get get a certificate order. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order.. @@ -473,7 +473,7 @@ func (client AppServiceCertificateOrdersClient) GetResponder(resp *http.Response return } -// GetCertificate description for Get the certificate associated with a certificate order. +// GetCertificate get the certificate associated with a certificate order. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -559,7 +559,7 @@ func (client AppServiceCertificateOrdersClient) GetCertificateResponder(resp *ht return } -// List description for List all certificate orders in a subscription. +// List list all certificate orders in a subscription. func (client AppServiceCertificateOrdersClient) List(ctx context.Context) (result AppServiceCertificateOrderCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/AppServiceCertificateOrdersClient.List") @@ -672,7 +672,7 @@ func (client AppServiceCertificateOrdersClient) ListComplete(ctx context.Context return } -// ListByResourceGroup description for Get certificate orders in a resource group. +// ListByResourceGroup get certificate orders in a resource group. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. func (client AppServiceCertificateOrdersClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result AppServiceCertificateOrderCollectionPage, err error) { @@ -796,7 +796,7 @@ func (client AppServiceCertificateOrdersClient) ListByResourceGroupComplete(ctx return } -// ListCertificates description for List all certificates associated with a certificate order. +// ListCertificates list all certificates associated with a certificate order. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -922,7 +922,7 @@ func (client AppServiceCertificateOrdersClient) ListCertificatesComplete(ctx con return } -// Reissue description for Reissue an existing certificate order. +// Reissue reissue an existing certificate order. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -1008,7 +1008,7 @@ func (client AppServiceCertificateOrdersClient) ReissueResponder(resp *http.Resp return } -// Renew description for Renew an existing certificate order. +// Renew renew an existing certificate order. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -1094,7 +1094,7 @@ func (client AppServiceCertificateOrdersClient) RenewResponder(resp *http.Respon return } -// ResendEmail description for Resend certificate email. +// ResendEmail resend certificate email. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -1177,7 +1177,7 @@ func (client AppServiceCertificateOrdersClient) ResendEmailResponder(resp *http. return } -// ResendRequestEmails description for Verify domain ownership for this certificate order. +// ResendRequestEmails verify domain ownership for this certificate order. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -1263,7 +1263,7 @@ func (client AppServiceCertificateOrdersClient) ResendRequestEmailsResponder(res return } -// RetrieveCertificateActions description for Retrieve the list of certificate actions. +// RetrieveCertificateActions retrieve the list of certificate actions. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the certificate order. @@ -1347,7 +1347,7 @@ func (client AppServiceCertificateOrdersClient) RetrieveCertificateActionsRespon return } -// RetrieveCertificateEmailHistory description for Retrieve email history. +// RetrieveCertificateEmailHistory retrieve email history. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the certificate order. @@ -1431,7 +1431,7 @@ func (client AppServiceCertificateOrdersClient) RetrieveCertificateEmailHistoryR return } -// RetrieveSiteSeal description for Verify domain ownership for this certificate order. +// RetrieveSiteSeal verify domain ownership for this certificate order. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -1518,7 +1518,7 @@ func (client AppServiceCertificateOrdersClient) RetrieveSiteSealResponder(resp * return } -// Update description for Create or update a certificate purchase order. +// Update create or update a certificate purchase order. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -1605,7 +1605,7 @@ func (client AppServiceCertificateOrdersClient) UpdateResponder(resp *http.Respo return } -// UpdateCertificate description for Creates or updates a certificate and associates with key vault secret. +// UpdateCertificate creates or updates a certificate and associates with key vault secret. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -1694,7 +1694,7 @@ func (client AppServiceCertificateOrdersClient) UpdateCertificateResponder(resp return } -// ValidatePurchaseInformation description for Validate information for a certificate order. +// ValidatePurchaseInformation validate information for a certificate order. // Parameters: // appServiceCertificateOrder - information for a certificate order. func (client AppServiceCertificateOrdersClient) ValidatePurchaseInformation(ctx context.Context, appServiceCertificateOrder AppServiceCertificateOrder) (result autorest.Response, err error) { @@ -1779,7 +1779,7 @@ func (client AppServiceCertificateOrdersClient) ValidatePurchaseInformationRespo return } -// VerifyDomainOwnership description for Verify domain ownership for this certificate order. +// VerifyDomainOwnership verify domain ownership for this certificate order. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. diff --git a/services/web/mgmt/2019-08-01/web/appserviceenvironments.go b/services/web/mgmt/2019-08-01/web/appserviceenvironments.go index 67a7f4c64126..b45027b3b160 100644 --- a/services/web/mgmt/2019-08-01/web/appserviceenvironments.go +++ b/services/web/mgmt/2019-08-01/web/appserviceenvironments.go @@ -32,7 +32,7 @@ func NewAppServiceEnvironmentsClientWithBaseURI(baseURI string, subscriptionID s return AppServiceEnvironmentsClient{NewWithBaseURI(baseURI, subscriptionID)} } -// ChangeVnet description for Move an App Service Environment to a different VNET. +// ChangeVnet move an App Service Environment to a different VNET. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -165,7 +165,7 @@ func (client AppServiceEnvironmentsClient) ChangeVnetComplete(ctx context.Contex return } -// CreateOrUpdate description for Create or update an App Service Environment. +// CreateOrUpdate create or update an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -262,7 +262,7 @@ func (client AppServiceEnvironmentsClient) CreateOrUpdateResponder(resp *http.Re return } -// CreateOrUpdateMultiRolePool description for Create or update a multi-role pool. +// CreateOrUpdateMultiRolePool create or update a multi-role pool. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -352,7 +352,7 @@ func (client AppServiceEnvironmentsClient) CreateOrUpdateMultiRolePoolResponder( return } -// CreateOrUpdateWorkerPool description for Create or update a worker pool. +// CreateOrUpdateWorkerPool create or update a worker pool. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -444,7 +444,7 @@ func (client AppServiceEnvironmentsClient) CreateOrUpdateWorkerPoolResponder(res return } -// Delete description for Delete an App Service Environment. +// Delete delete an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -535,7 +535,7 @@ func (client AppServiceEnvironmentsClient) DeleteResponder(resp *http.Response) return } -// Get description for Get the properties of an App Service Environment. +// Get get the properties of an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -619,7 +619,7 @@ func (client AppServiceEnvironmentsClient) GetResponder(resp *http.Response) (re return } -// GetDiagnosticsItem description for Get a diagnostics item for an App Service Environment. +// GetDiagnosticsItem get a diagnostics item for an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -705,8 +705,8 @@ func (client AppServiceEnvironmentsClient) GetDiagnosticsItemResponder(resp *htt return } -// GetInboundNetworkDependenciesEndpoints description for Get the network endpoints of all inbound dependencies of an -// App Service Environment. +// GetInboundNetworkDependenciesEndpoints get the network endpoints of all inbound dependencies of an App Service +// Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -832,7 +832,7 @@ func (client AppServiceEnvironmentsClient) GetInboundNetworkDependenciesEndpoint return } -// GetMultiRolePool description for Get properties of a multi-role pool. +// GetMultiRolePool get properties of a multi-role pool. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -916,8 +916,8 @@ func (client AppServiceEnvironmentsClient) GetMultiRolePoolResponder(resp *http. return } -// GetOutboundNetworkDependenciesEndpoints description for Get the network endpoints of all outbound dependencies of an -// App Service Environment. +// GetOutboundNetworkDependenciesEndpoints get the network endpoints of all outbound dependencies of an App Service +// Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -1043,7 +1043,7 @@ func (client AppServiceEnvironmentsClient) GetOutboundNetworkDependenciesEndpoin return } -// GetVipInfo description for Get IP addresses assigned to an App Service Environment. +// GetVipInfo get IP addresses assigned to an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -1127,7 +1127,7 @@ func (client AppServiceEnvironmentsClient) GetVipInfoResponder(resp *http.Respon return } -// GetWorkerPool description for Get properties of a worker pool. +// GetWorkerPool get properties of a worker pool. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -1213,7 +1213,7 @@ func (client AppServiceEnvironmentsClient) GetWorkerPoolResponder(resp *http.Res return } -// List description for Get all App Service Environments for a subscription. +// List get all App Service Environments for a subscription. func (client AppServiceEnvironmentsClient) List(ctx context.Context) (result AppServiceEnvironmentCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/AppServiceEnvironmentsClient.List") @@ -1326,7 +1326,7 @@ func (client AppServiceEnvironmentsClient) ListComplete(ctx context.Context) (re return } -// ListAppServicePlans description for Get all App Service plans in an App Service Environment. +// ListAppServicePlans get all App Service plans in an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -1452,7 +1452,7 @@ func (client AppServiceEnvironmentsClient) ListAppServicePlansComplete(ctx conte return } -// ListByResourceGroup description for Get all App Service Environments in a resource group. +// ListByResourceGroup get all App Service Environments in a resource group. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. func (client AppServiceEnvironmentsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result AppServiceEnvironmentCollectionPage, err error) { @@ -1576,7 +1576,7 @@ func (client AppServiceEnvironmentsClient) ListByResourceGroupComplete(ctx conte return } -// ListCapacities description for Get the used, available, and total worker capacity an App Service Environment. +// ListCapacities get the used, available, and total worker capacity an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -1702,7 +1702,7 @@ func (client AppServiceEnvironmentsClient) ListCapacitiesComplete(ctx context.Co return } -// ListDiagnostics description for Get diagnostic information for an App Service Environment. +// ListDiagnostics get diagnostic information for an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -1786,8 +1786,7 @@ func (client AppServiceEnvironmentsClient) ListDiagnosticsResponder(resp *http.R return } -// ListMultiRoleMetricDefinitions description for Get metric definitions for a multi-role pool of an App Service -// Environment. +// ListMultiRoleMetricDefinitions get metric definitions for a multi-role pool of an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -1913,8 +1912,8 @@ func (client AppServiceEnvironmentsClient) ListMultiRoleMetricDefinitionsComplet return } -// ListMultiRolePoolInstanceMetricDefinitions description for Get metric definitions for a specific instance of a -// multi-role pool of an App Service Environment. +// ListMultiRolePoolInstanceMetricDefinitions get metric definitions for a specific instance of a multi-role pool of an +// App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -2042,7 +2041,7 @@ func (client AppServiceEnvironmentsClient) ListMultiRolePoolInstanceMetricDefini return } -// ListMultiRolePools description for Get all multi-role pools. +// ListMultiRolePools get all multi-role pools. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -2168,7 +2167,7 @@ func (client AppServiceEnvironmentsClient) ListMultiRolePoolsComplete(ctx contex return } -// ListMultiRolePoolSkus description for Get available SKUs for scaling a multi-role pool. +// ListMultiRolePoolSkus get available SKUs for scaling a multi-role pool. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -2294,7 +2293,7 @@ func (client AppServiceEnvironmentsClient) ListMultiRolePoolSkusComplete(ctx con return } -// ListMultiRoleUsages description for Get usage metrics for a multi-role pool of an App Service Environment. +// ListMultiRoleUsages get usage metrics for a multi-role pool of an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -2420,7 +2419,7 @@ func (client AppServiceEnvironmentsClient) ListMultiRoleUsagesComplete(ctx conte return } -// ListOperations description for List all currently running operations on the App Service Environment. +// ListOperations list all currently running operations on the App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -2504,7 +2503,7 @@ func (client AppServiceEnvironmentsClient) ListOperationsResponder(resp *http.Re return } -// ListUsages description for Get global usage metrics of an App Service Environment. +// ListUsages get global usage metrics of an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -2636,7 +2635,7 @@ func (client AppServiceEnvironmentsClient) ListUsagesComplete(ctx context.Contex return } -// ListWebApps description for Get all apps in an App Service Environment. +// ListWebApps get all apps in an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -2766,8 +2765,7 @@ func (client AppServiceEnvironmentsClient) ListWebAppsComplete(ctx context.Conte return } -// ListWebWorkerMetricDefinitions description for Get metric definitions for a worker pool of an App Service -// Environment. +// ListWebWorkerMetricDefinitions get metric definitions for a worker pool of an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -2895,7 +2893,7 @@ func (client AppServiceEnvironmentsClient) ListWebWorkerMetricDefinitionsComplet return } -// ListWebWorkerUsages description for Get usage metrics for a worker pool of an App Service Environment. +// ListWebWorkerUsages get usage metrics for a worker pool of an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -3023,8 +3021,8 @@ func (client AppServiceEnvironmentsClient) ListWebWorkerUsagesComplete(ctx conte return } -// ListWorkerPoolInstanceMetricDefinitions description for Get metric definitions for a specific instance of a worker -// pool of an App Service Environment. +// ListWorkerPoolInstanceMetricDefinitions get metric definitions for a specific instance of a worker pool of an App +// Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -3154,7 +3152,7 @@ func (client AppServiceEnvironmentsClient) ListWorkerPoolInstanceMetricDefinitio return } -// ListWorkerPools description for Get all worker pools of an App Service Environment. +// ListWorkerPools get all worker pools of an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -3280,7 +3278,7 @@ func (client AppServiceEnvironmentsClient) ListWorkerPoolsComplete(ctx context.C return } -// ListWorkerPoolSkus description for Get available SKUs for scaling a worker pool. +// ListWorkerPoolSkus get available SKUs for scaling a worker pool. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -3408,7 +3406,7 @@ func (client AppServiceEnvironmentsClient) ListWorkerPoolSkusComplete(ctx contex return } -// Reboot description for Reboot all machines in an App Service Environment. +// Reboot reboot all machines in an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -3491,7 +3489,7 @@ func (client AppServiceEnvironmentsClient) RebootResponder(resp *http.Response) return } -// Resume description for Resume an App Service Environment. +// Resume resume an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -3619,7 +3617,7 @@ func (client AppServiceEnvironmentsClient) ResumeComplete(ctx context.Context, r return } -// Suspend description for Suspend an App Service Environment. +// Suspend suspend an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -3747,7 +3745,7 @@ func (client AppServiceEnvironmentsClient) SuspendComplete(ctx context.Context, return } -// Update description for Create or update an App Service Environment. +// Update create or update an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -3834,7 +3832,7 @@ func (client AppServiceEnvironmentsClient) UpdateResponder(resp *http.Response) return } -// UpdateMultiRolePool description for Create or update a multi-role pool. +// UpdateMultiRolePool create or update a multi-role pool. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -3921,7 +3919,7 @@ func (client AppServiceEnvironmentsClient) UpdateMultiRolePoolResponder(resp *ht return } -// UpdateWorkerPool description for Create or update a worker pool. +// UpdateWorkerPool create or update a worker pool. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. diff --git a/services/web/mgmt/2019-08-01/web/appserviceplans.go b/services/web/mgmt/2019-08-01/web/appserviceplans.go index 35bde84b65e8..0feec89ac41a 100644 --- a/services/web/mgmt/2019-08-01/web/appserviceplans.go +++ b/services/web/mgmt/2019-08-01/web/appserviceplans.go @@ -31,7 +31,7 @@ func NewAppServicePlansClientWithBaseURI(baseURI string, subscriptionID string) return AppServicePlansClient{NewWithBaseURI(baseURI, subscriptionID)} } -// CreateOrUpdate description for Creates or updates an App Service Plan. +// CreateOrUpdate creates or updates an App Service Plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -121,7 +121,7 @@ func (client AppServicePlansClient) CreateOrUpdateResponder(resp *http.Response) return } -// CreateOrUpdateVnetRoute description for Create or update a Virtual Network route in an App Service plan. +// CreateOrUpdateVnetRoute create or update a Virtual Network route in an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -212,7 +212,7 @@ func (client AppServicePlansClient) CreateOrUpdateVnetRouteResponder(resp *http. return } -// Delete description for Delete an App Service plan. +// Delete delete an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -295,7 +295,7 @@ func (client AppServicePlansClient) DeleteResponder(resp *http.Response) (result return } -// DeleteHybridConnection description for Delete a Hybrid Connection in use in an App Service plan. +// DeleteHybridConnection delete a Hybrid Connection in use in an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -382,7 +382,7 @@ func (client AppServicePlansClient) DeleteHybridConnectionResponder(resp *http.R return } -// DeleteVnetRoute description for Delete a Virtual Network route in an App Service plan. +// DeleteVnetRoute delete a Virtual Network route in an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -469,7 +469,7 @@ func (client AppServicePlansClient) DeleteVnetRouteResponder(resp *http.Response return } -// Get description for Get an App Service plan. +// Get get an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -553,7 +553,7 @@ func (client AppServicePlansClient) GetResponder(resp *http.Response) (result Ap return } -// GetHybridConnection description for Retrieve a Hybrid Connection in use in an App Service plan. +// GetHybridConnection retrieve a Hybrid Connection in use in an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -641,8 +641,7 @@ func (client AppServicePlansClient) GetHybridConnectionResponder(resp *http.Resp return } -// GetHybridConnectionPlanLimit description for Get the maximum number of Hybrid Connections allowed in an App Service -// plan. +// GetHybridConnectionPlanLimit get the maximum number of Hybrid Connections allowed in an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -726,7 +725,7 @@ func (client AppServicePlansClient) GetHybridConnectionPlanLimitResponder(resp * return } -// GetRouteForVnet description for Get a Virtual Network route in an App Service plan. +// GetRouteForVnet get a Virtual Network route in an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -814,7 +813,7 @@ func (client AppServicePlansClient) GetRouteForVnetResponder(resp *http.Response return } -// GetServerFarmSkus description for Gets all selectable SKUs for a given App Service Plan +// GetServerFarmSkus gets all selectable SKUs for a given App Service Plan // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of App Service Plan @@ -898,7 +897,7 @@ func (client AppServicePlansClient) GetServerFarmSkusResponder(resp *http.Respon return } -// GetVnetFromServerFarm description for Get a Virtual Network associated with an App Service plan. +// GetVnetFromServerFarm get a Virtual Network associated with an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -984,7 +983,7 @@ func (client AppServicePlansClient) GetVnetFromServerFarmResponder(resp *http.Re return } -// GetVnetGateway description for Get a Virtual Network gateway. +// GetVnetGateway get a Virtual Network gateway. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -1072,7 +1071,7 @@ func (client AppServicePlansClient) GetVnetGatewayResponder(resp *http.Response) return } -// List description for Get all App Service plans for a subscription. +// List get all App Service plans for a subscription. // Parameters: // detailed - specify true to return all App Service plan properties. The default is // false, which returns a subset of the properties. @@ -1192,7 +1191,7 @@ func (client AppServicePlansClient) ListComplete(ctx context.Context, detailed * return } -// ListByResourceGroup description for Get all App Service plans in a resource group. +// ListByResourceGroup get all App Service plans in a resource group. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. func (client AppServicePlansClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result AppServicePlanCollectionPage, err error) { @@ -1316,7 +1315,7 @@ func (client AppServicePlansClient) ListByResourceGroupComplete(ctx context.Cont return } -// ListCapabilities description for List all capabilities of an App Service plan. +// ListCapabilities list all capabilities of an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -1400,7 +1399,7 @@ func (client AppServicePlansClient) ListCapabilitiesResponder(resp *http.Respons return } -// ListHybridConnectionKeys description for Get the send key name and value of a Hybrid Connection. +// ListHybridConnectionKeys get the send key name and value of a Hybrid Connection. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -1488,7 +1487,7 @@ func (client AppServicePlansClient) ListHybridConnectionKeysResponder(resp *http return } -// ListHybridConnections description for Retrieve all Hybrid Connections in use in an App Service plan. +// ListHybridConnections retrieve all Hybrid Connections in use in an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -1614,7 +1613,7 @@ func (client AppServicePlansClient) ListHybridConnectionsComplete(ctx context.Co return } -// ListRoutesForVnet description for Get all routes that are associated with a Virtual Network in an App Service plan. +// ListRoutesForVnet get all routes that are associated with a Virtual Network in an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -1700,7 +1699,7 @@ func (client AppServicePlansClient) ListRoutesForVnetResponder(resp *http.Respon return } -// ListUsages description for Gets server farm usage information +// ListUsages gets server farm usage information // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of App Service Plan @@ -1831,7 +1830,7 @@ func (client AppServicePlansClient) ListUsagesComplete(ctx context.Context, reso return } -// ListVnets description for Get all Virtual Networks associated with an App Service plan. +// ListVnets get all Virtual Networks associated with an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -1915,7 +1914,7 @@ func (client AppServicePlansClient) ListVnetsResponder(resp *http.Response) (res return } -// ListWebApps description for Get all apps associated with an App Service plan. +// ListWebApps get all apps associated with an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -2055,7 +2054,7 @@ func (client AppServicePlansClient) ListWebAppsComplete(ctx context.Context, res return } -// ListWebAppsByHybridConnection description for Get all apps that use a Hybrid Connection in an App Service Plan. +// ListWebAppsByHybridConnection get all apps that use a Hybrid Connection in an App Service Plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -2185,7 +2184,7 @@ func (client AppServicePlansClient) ListWebAppsByHybridConnectionComplete(ctx co return } -// RebootWorker description for Reboot a worker machine in an App Service plan. +// RebootWorker reboot a worker machine in an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -2270,7 +2269,7 @@ func (client AppServicePlansClient) RebootWorkerResponder(resp *http.Response) ( return } -// RestartWebApps description for Restart all apps in an App Service plan. +// RestartWebApps restart all apps in an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -2359,7 +2358,7 @@ func (client AppServicePlansClient) RestartWebAppsResponder(resp *http.Response) return } -// Update description for Creates or updates an App Service Plan. +// Update creates or updates an App Service Plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -2446,7 +2445,7 @@ func (client AppServicePlansClient) UpdateResponder(resp *http.Response) (result return } -// UpdateVnetGateway description for Update a Virtual Network gateway. +// UpdateVnetGateway update a Virtual Network gateway. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -2540,7 +2539,7 @@ func (client AppServicePlansClient) UpdateVnetGatewayResponder(resp *http.Respon return } -// UpdateVnetRoute description for Create or update a Virtual Network route in an App Service plan. +// UpdateVnetRoute create or update a Virtual Network route in an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. diff --git a/services/web/mgmt/2019-08-01/web/certificateregistrationprovider.go b/services/web/mgmt/2019-08-01/web/certificateregistrationprovider.go index bc6346ba91c3..ceb8773130c0 100644 --- a/services/web/mgmt/2019-08-01/web/certificateregistrationprovider.go +++ b/services/web/mgmt/2019-08-01/web/certificateregistrationprovider.go @@ -31,8 +31,7 @@ func NewCertificateRegistrationProviderClientWithBaseURI(baseURI string, subscri return CertificateRegistrationProviderClient{NewWithBaseURI(baseURI, subscriptionID)} } -// ListOperations description for Implements Csm operations Api to exposes the list of available Csm Apis under the -// resource provider +// ListOperations implements Csm operations Api to exposes the list of available Csm Apis under the resource provider func (client CertificateRegistrationProviderClient) ListOperations(ctx context.Context) (result CsmOperationCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/CertificateRegistrationProviderClient.ListOperations") diff --git a/services/web/mgmt/2019-08-01/web/certificates.go b/services/web/mgmt/2019-08-01/web/certificates.go index 8e3159cfc22b..62aee4c07b1f 100644 --- a/services/web/mgmt/2019-08-01/web/certificates.go +++ b/services/web/mgmt/2019-08-01/web/certificates.go @@ -31,7 +31,7 @@ func NewCertificatesClientWithBaseURI(baseURI string, subscriptionID string) Cer return CertificatesClient{NewWithBaseURI(baseURI, subscriptionID)} } -// CreateOrUpdate description for Create or update a certificate. +// CreateOrUpdate create or update a certificate. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the certificate. @@ -121,7 +121,7 @@ func (client CertificatesClient) CreateOrUpdateResponder(resp *http.Response) (r return } -// Delete description for Delete a certificate. +// Delete delete a certificate. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the certificate. @@ -204,7 +204,7 @@ func (client CertificatesClient) DeleteResponder(resp *http.Response) (result au return } -// Get description for Get a certificate. +// Get get a certificate. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the certificate. @@ -288,7 +288,7 @@ func (client CertificatesClient) GetResponder(resp *http.Response) (result Certi return } -// List description for Get all certificates for a subscription. +// List get all certificates for a subscription. func (client CertificatesClient) List(ctx context.Context) (result CertificateCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/CertificatesClient.List") @@ -401,7 +401,7 @@ func (client CertificatesClient) ListComplete(ctx context.Context) (result Certi return } -// ListByResourceGroup description for Get all certificates in a resource group. +// ListByResourceGroup get all certificates in a resource group. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. func (client CertificatesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result CertificateCollectionPage, err error) { @@ -525,7 +525,7 @@ func (client CertificatesClient) ListByResourceGroupComplete(ctx context.Context return } -// Update description for Create or update a certificate. +// Update create or update a certificate. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the certificate. diff --git a/services/web/mgmt/2019-08-01/web/client.go b/services/web/mgmt/2019-08-01/web/client.go index 58feac4c8cad..56a63f5db6de 100644 --- a/services/web/mgmt/2019-08-01/web/client.go +++ b/services/web/mgmt/2019-08-01/web/client.go @@ -45,7 +45,7 @@ func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient { } } -// CheckNameAvailability description for Check if a resource name is available. +// CheckNameAvailability check if a resource name is available. // Parameters: // request - name availability request. func (client BaseClient) CheckNameAvailability(ctx context.Context, request ResourceNameAvailabilityRequest) (result ResourceNameAvailability, err error) { @@ -126,7 +126,7 @@ func (client BaseClient) CheckNameAvailabilityResponder(resp *http.Response) (re return } -// GetPublishingUser description for Gets publishing user +// GetPublishingUser gets publishing user func (client BaseClient) GetPublishingUser(ctx context.Context) (result User, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/BaseClient.GetPublishingUser") @@ -193,7 +193,7 @@ func (client BaseClient) GetPublishingUserResponder(resp *http.Response) (result return } -// GetSourceControl description for Gets source control token +// GetSourceControl gets source control token // Parameters: // sourceControlType - type of source control func (client BaseClient) GetSourceControl(ctx context.Context, sourceControlType string) (result SourceControl, err error) { @@ -266,7 +266,7 @@ func (client BaseClient) GetSourceControlResponder(resp *http.Response) (result return } -// GetSubscriptionDeploymentLocations description for Gets list of available geo regions plus ministamps +// GetSubscriptionDeploymentLocations gets list of available geo regions plus ministamps func (client BaseClient) GetSubscriptionDeploymentLocations(ctx context.Context) (result DeploymentLocations, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/BaseClient.GetSubscriptionDeploymentLocations") @@ -337,7 +337,7 @@ func (client BaseClient) GetSubscriptionDeploymentLocationsResponder(resp *http. return } -// ListBillingMeters description for Gets a list of meters for a given location. +// ListBillingMeters gets a list of meters for a given location. // Parameters: // billingLocation - azure Location of billable resource // osType - app Service OS type meters used for @@ -459,7 +459,7 @@ func (client BaseClient) ListBillingMetersComplete(ctx context.Context, billingL return } -// ListGeoRegions description for Get a list of available geographical regions. +// ListGeoRegions get a list of available geographical regions. // Parameters: // sku - name of SKU used to filter the regions. // linuxWorkersEnabled - specify true if you want to filter to only regions that support Linux @@ -592,7 +592,7 @@ func (client BaseClient) ListGeoRegionsComplete(ctx context.Context, sku SkuName return } -// ListPremierAddOnOffers description for List all premier add-on offers. +// ListPremierAddOnOffers list all premier add-on offers. func (client BaseClient) ListPremierAddOnOffers(ctx context.Context) (result PremierAddOnOfferCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/BaseClient.ListPremierAddOnOffers") @@ -705,7 +705,7 @@ func (client BaseClient) ListPremierAddOnOffersComplete(ctx context.Context) (re return } -// ListSiteIdentifiersAssignedToHostName description for List all apps that are assigned to a hostname. +// ListSiteIdentifiersAssignedToHostName list all apps that are assigned to a hostname. // Parameters: // nameIdentifier - hostname information. func (client BaseClient) ListSiteIdentifiersAssignedToHostName(ctx context.Context, nameIdentifier NameIdentifier) (result IdentifierCollectionPage, err error) { @@ -822,7 +822,7 @@ func (client BaseClient) ListSiteIdentifiersAssignedToHostNameComplete(ctx conte return } -// ListSkus description for List all SKUs. +// ListSkus list all SKUs. func (client BaseClient) ListSkus(ctx context.Context) (result SkuInfos, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/BaseClient.ListSkus") @@ -893,7 +893,7 @@ func (client BaseClient) ListSkusResponder(resp *http.Response) (result SkuInfos return } -// ListSourceControls description for Gets the source controls available for Azure websites. +// ListSourceControls gets the source controls available for Azure websites. func (client BaseClient) ListSourceControls(ctx context.Context) (result SourceControlCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/BaseClient.ListSourceControls") @@ -1002,7 +1002,7 @@ func (client BaseClient) ListSourceControlsComplete(ctx context.Context) (result return } -// Move description for Move resources between resource groups. +// Move move resources between resource groups. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // moveResourceEnvelope - object that represents the resource to move. @@ -1092,7 +1092,7 @@ func (client BaseClient) MoveResponder(resp *http.Response) (result autorest.Res return } -// UpdatePublishingUser description for Updates publishing user +// UpdatePublishingUser updates publishing user // Parameters: // userDetails - details of publishing user func (client BaseClient) UpdatePublishingUser(ctx context.Context, userDetails User) (result User, err error) { @@ -1170,7 +1170,7 @@ func (client BaseClient) UpdatePublishingUserResponder(resp *http.Response) (res return } -// UpdateSourceControl description for Updates source control token +// UpdateSourceControl updates source control token // Parameters: // sourceControlType - type of source control // requestMessage - source control token information @@ -1246,7 +1246,7 @@ func (client BaseClient) UpdateSourceControlResponder(resp *http.Response) (resu return } -// Validate description for Validate if a resource can be created. +// Validate validate if a resource can be created. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // validateRequest - request with the resources to validate. @@ -1338,7 +1338,7 @@ func (client BaseClient) ValidateResponder(resp *http.Response) (result Validate return } -// ValidateMove description for Validate whether a resource can be moved. +// ValidateMove validate whether a resource can be moved. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // moveResourceEnvelope - object that represents the resource to move. @@ -1428,8 +1428,8 @@ func (client BaseClient) ValidateMoveResponder(resp *http.Response) (result auto return } -// VerifyHostingEnvironmentVnet description for Verifies if this VNET is compatible with an App Service Environment by -// analyzing the Network Security Group rules. +// VerifyHostingEnvironmentVnet verifies if this VNET is compatible with an App Service Environment by analyzing the +// Network Security Group rules. // Parameters: // parameters - VNET information func (client BaseClient) VerifyHostingEnvironmentVnet(ctx context.Context, parameters VnetParameters) (result VnetValidationFailureDetails, err error) { diff --git a/services/web/mgmt/2019-08-01/web/deletedwebapps.go b/services/web/mgmt/2019-08-01/web/deletedwebapps.go index 6f9587c519c6..8d1fc94afdd2 100644 --- a/services/web/mgmt/2019-08-01/web/deletedwebapps.go +++ b/services/web/mgmt/2019-08-01/web/deletedwebapps.go @@ -30,7 +30,7 @@ func NewDeletedWebAppsClientWithBaseURI(baseURI string, subscriptionID string) D return DeletedWebAppsClient{NewWithBaseURI(baseURI, subscriptionID)} } -// GetDeletedWebAppByLocation description for Get deleted app for a subscription at location. +// GetDeletedWebAppByLocation get deleted app for a subscription at location. // Parameters: // deletedSiteID - the numeric ID of the deleted app, e.g. 12345 func (client DeletedWebAppsClient) GetDeletedWebAppByLocation(ctx context.Context, location string, deletedSiteID string) (result DeletedSite, err error) { @@ -105,7 +105,7 @@ func (client DeletedWebAppsClient) GetDeletedWebAppByLocationResponder(resp *htt return } -// List description for Get all deleted apps for a subscription. +// List get all deleted apps for a subscription. func (client DeletedWebAppsClient) List(ctx context.Context) (result DeletedWebAppCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/DeletedWebAppsClient.List") @@ -218,7 +218,7 @@ func (client DeletedWebAppsClient) ListComplete(ctx context.Context) (result Del return } -// ListByLocation description for Get all deleted apps for a subscription at location +// ListByLocation get all deleted apps for a subscription at location func (client DeletedWebAppsClient) ListByLocation(ctx context.Context, location string) (result DeletedWebAppCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/DeletedWebAppsClient.ListByLocation") diff --git a/services/web/mgmt/2019-08-01/web/diagnostics.go b/services/web/mgmt/2019-08-01/web/diagnostics.go index 07480c405a82..b9bb64cdb9a5 100644 --- a/services/web/mgmt/2019-08-01/web/diagnostics.go +++ b/services/web/mgmt/2019-08-01/web/diagnostics.go @@ -32,7 +32,7 @@ func NewDiagnosticsClientWithBaseURI(baseURI string, subscriptionID string) Diag return DiagnosticsClient{NewWithBaseURI(baseURI, subscriptionID)} } -// ExecuteSiteAnalysis description for Execute Analysis +// ExecuteSiteAnalysis execute Analysis // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -135,7 +135,7 @@ func (client DiagnosticsClient) ExecuteSiteAnalysisResponder(resp *http.Response return } -// ExecuteSiteAnalysisSlot description for Execute Analysis +// ExecuteSiteAnalysisSlot execute Analysis // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -240,7 +240,7 @@ func (client DiagnosticsClient) ExecuteSiteAnalysisSlotResponder(resp *http.Resp return } -// ExecuteSiteDetector description for Execute Detector +// ExecuteSiteDetector execute Detector // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -343,7 +343,7 @@ func (client DiagnosticsClient) ExecuteSiteDetectorResponder(resp *http.Response return } -// ExecuteSiteDetectorSlot description for Execute Detector +// ExecuteSiteDetectorSlot execute Detector // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -448,7 +448,7 @@ func (client DiagnosticsClient) ExecuteSiteDetectorSlotResponder(resp *http.Resp return } -// GetHostingEnvironmentDetectorResponse description for Get Hosting Environment Detector Response +// GetHostingEnvironmentDetectorResponse get Hosting Environment Detector Response // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - app Service Environment Name @@ -549,7 +549,7 @@ func (client DiagnosticsClient) GetHostingEnvironmentDetectorResponseResponder(r return } -// GetSiteAnalysis description for Get Site Analysis +// GetSiteAnalysis get Site Analysis // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -637,7 +637,7 @@ func (client DiagnosticsClient) GetSiteAnalysisResponder(resp *http.Response) (r return } -// GetSiteAnalysisSlot description for Get Site Analysis +// GetSiteAnalysisSlot get Site Analysis // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -727,7 +727,7 @@ func (client DiagnosticsClient) GetSiteAnalysisSlotResponder(resp *http.Response return } -// GetSiteDetector description for Get Detector +// GetSiteDetector get Detector // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -815,7 +815,7 @@ func (client DiagnosticsClient) GetSiteDetectorResponder(resp *http.Response) (r return } -// GetSiteDetectorResponse description for Get site detector response +// GetSiteDetectorResponse get site detector response // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -916,7 +916,7 @@ func (client DiagnosticsClient) GetSiteDetectorResponseResponder(resp *http.Resp return } -// GetSiteDetectorResponseSlot description for Get site detector response +// GetSiteDetectorResponseSlot get site detector response // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -1019,7 +1019,7 @@ func (client DiagnosticsClient) GetSiteDetectorResponseSlotResponder(resp *http. return } -// GetSiteDetectorSlot description for Get Detector +// GetSiteDetectorSlot get Detector // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -1109,7 +1109,7 @@ func (client DiagnosticsClient) GetSiteDetectorSlotResponder(resp *http.Response return } -// GetSiteDiagnosticCategory description for Get Diagnostics Category +// GetSiteDiagnosticCategory get Diagnostics Category // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -1195,7 +1195,7 @@ func (client DiagnosticsClient) GetSiteDiagnosticCategoryResponder(resp *http.Re return } -// GetSiteDiagnosticCategorySlot description for Get Diagnostics Category +// GetSiteDiagnosticCategorySlot get Diagnostics Category // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -1283,7 +1283,7 @@ func (client DiagnosticsClient) GetSiteDiagnosticCategorySlotResponder(resp *htt return } -// ListHostingEnvironmentDetectorResponses description for List Hosting Environment Detector Responses +// ListHostingEnvironmentDetectorResponses list Hosting Environment Detector Responses // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site Name @@ -1409,7 +1409,7 @@ func (client DiagnosticsClient) ListHostingEnvironmentDetectorResponsesComplete( return } -// ListSiteAnalyses description for Get Site Analyses +// ListSiteAnalyses get Site Analyses // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -1537,7 +1537,7 @@ func (client DiagnosticsClient) ListSiteAnalysesComplete(ctx context.Context, re return } -// ListSiteAnalysesSlot description for Get Site Analyses +// ListSiteAnalysesSlot get Site Analyses // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -1667,7 +1667,7 @@ func (client DiagnosticsClient) ListSiteAnalysesSlotComplete(ctx context.Context return } -// ListSiteDetectorResponses description for List Site Detector Responses +// ListSiteDetectorResponses list Site Detector Responses // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -1793,7 +1793,7 @@ func (client DiagnosticsClient) ListSiteDetectorResponsesComplete(ctx context.Co return } -// ListSiteDetectorResponsesSlot description for List Site Detector Responses +// ListSiteDetectorResponsesSlot list Site Detector Responses // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -1921,7 +1921,7 @@ func (client DiagnosticsClient) ListSiteDetectorResponsesSlotComplete(ctx contex return } -// ListSiteDetectors description for Get Detectors +// ListSiteDetectors get Detectors // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -2049,7 +2049,7 @@ func (client DiagnosticsClient) ListSiteDetectorsComplete(ctx context.Context, r return } -// ListSiteDetectorsSlot description for Get Detectors +// ListSiteDetectorsSlot get Detectors // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -2179,7 +2179,7 @@ func (client DiagnosticsClient) ListSiteDetectorsSlotComplete(ctx context.Contex return } -// ListSiteDiagnosticCategories description for Get Diagnostics Categories +// ListSiteDiagnosticCategories get Diagnostics Categories // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -2305,7 +2305,7 @@ func (client DiagnosticsClient) ListSiteDiagnosticCategoriesComplete(ctx context return } -// ListSiteDiagnosticCategoriesSlot description for Get Diagnostics Categories +// ListSiteDiagnosticCategoriesSlot get Diagnostics Categories // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name diff --git a/services/web/mgmt/2019-08-01/web/domainregistrationprovider.go b/services/web/mgmt/2019-08-01/web/domainregistrationprovider.go index e49bbd3f2597..74864480492d 100644 --- a/services/web/mgmt/2019-08-01/web/domainregistrationprovider.go +++ b/services/web/mgmt/2019-08-01/web/domainregistrationprovider.go @@ -31,8 +31,7 @@ func NewDomainRegistrationProviderClientWithBaseURI(baseURI string, subscription return DomainRegistrationProviderClient{NewWithBaseURI(baseURI, subscriptionID)} } -// ListOperations description for Implements Csm operations Api to exposes the list of available Csm Apis under the -// resource provider +// ListOperations implements Csm operations Api to exposes the list of available Csm Apis under the resource provider func (client DomainRegistrationProviderClient) ListOperations(ctx context.Context) (result CsmOperationCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/DomainRegistrationProviderClient.ListOperations") diff --git a/services/web/mgmt/2019-08-01/web/domains.go b/services/web/mgmt/2019-08-01/web/domains.go index ed92ae85cf30..4c4f8a5063d5 100644 --- a/services/web/mgmt/2019-08-01/web/domains.go +++ b/services/web/mgmt/2019-08-01/web/domains.go @@ -31,7 +31,7 @@ func NewDomainsClientWithBaseURI(baseURI string, subscriptionID string) DomainsC return DomainsClient{NewWithBaseURI(baseURI, subscriptionID)} } -// CheckAvailability description for Check if a domain is available for registration. +// CheckAvailability check if a domain is available for registration. // Parameters: // identifier - name of the domain. func (client DomainsClient) CheckAvailability(ctx context.Context, identifier NameIdentifier) (result DomainAvailabilityCheckResult, err error) { @@ -106,7 +106,7 @@ func (client DomainsClient) CheckAvailabilityResponder(resp *http.Response) (res return } -// CreateOrUpdate description for Creates or updates a domain. +// CreateOrUpdate creates or updates a domain. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // domainName - name of the domain. @@ -254,8 +254,8 @@ func (client DomainsClient) CreateOrUpdateResponder(resp *http.Response) (result return } -// CreateOrUpdateOwnershipIdentifier description for Creates an ownership identifier for a domain or updates identifier -// details for an existing identifer +// CreateOrUpdateOwnershipIdentifier creates an ownership identifier for a domain or updates identifier details for an +// existing identifier // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // domainName - name of domain. @@ -344,7 +344,7 @@ func (client DomainsClient) CreateOrUpdateOwnershipIdentifierResponder(resp *htt return } -// Delete description for Delete a domain. +// Delete delete a domain. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // domainName - name of the domain. @@ -432,7 +432,7 @@ func (client DomainsClient) DeleteResponder(resp *http.Response) (result autores return } -// DeleteOwnershipIdentifier description for Delete ownership identifier for domain +// DeleteOwnershipIdentifier delete ownership identifier for domain // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // domainName - name of domain. @@ -517,7 +517,7 @@ func (client DomainsClient) DeleteOwnershipIdentifierResponder(resp *http.Respon return } -// Get description for Get a domain. +// Get get a domain. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // domainName - name of the domain. @@ -601,7 +601,7 @@ func (client DomainsClient) GetResponder(resp *http.Response) (result Domain, er return } -// GetControlCenterSsoRequest description for Generate a single sign-on request for the domain management portal. +// GetControlCenterSsoRequest generate a single sign-on request for the domain management portal. func (client DomainsClient) GetControlCenterSsoRequest(ctx context.Context) (result DomainControlCenterSsoRequest, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/DomainsClient.GetControlCenterSsoRequest") @@ -672,7 +672,7 @@ func (client DomainsClient) GetControlCenterSsoRequestResponder(resp *http.Respo return } -// GetOwnershipIdentifier description for Get ownership identifier for domain +// GetOwnershipIdentifier get ownership identifier for domain // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // domainName - name of domain. @@ -758,7 +758,7 @@ func (client DomainsClient) GetOwnershipIdentifierResponder(resp *http.Response) return } -// List description for Get all domains in a subscription. +// List get all domains in a subscription. func (client DomainsClient) List(ctx context.Context) (result DomainCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/DomainsClient.List") @@ -871,7 +871,7 @@ func (client DomainsClient) ListComplete(ctx context.Context) (result DomainColl return } -// ListByResourceGroup description for Get all domains in a resource group. +// ListByResourceGroup get all domains in a resource group. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. func (client DomainsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result DomainCollectionPage, err error) { @@ -995,7 +995,7 @@ func (client DomainsClient) ListByResourceGroupComplete(ctx context.Context, res return } -// ListOwnershipIdentifiers description for Lists domain ownership identifiers. +// ListOwnershipIdentifiers lists domain ownership identifiers. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // domainName - name of domain. @@ -1121,7 +1121,7 @@ func (client DomainsClient) ListOwnershipIdentifiersComplete(ctx context.Context return } -// ListRecommendations description for Get domain name recommendations based on keywords. +// ListRecommendations get domain name recommendations based on keywords. // Parameters: // parameters - search parameters for domain name recommendations. func (client DomainsClient) ListRecommendations(ctx context.Context, parameters DomainRecommendationSearchParameters) (result NameIdentifierCollectionPage, err error) { @@ -1238,7 +1238,7 @@ func (client DomainsClient) ListRecommendationsComplete(ctx context.Context, par return } -// Renew description for Renew a domain. +// Renew renew a domain. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // domainName - name of the domain. @@ -1321,7 +1321,7 @@ func (client DomainsClient) RenewResponder(resp *http.Response) (result autorest return } -// Update description for Creates or updates a domain. +// Update creates or updates a domain. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // domainName - name of the domain. @@ -1410,8 +1410,8 @@ func (client DomainsClient) UpdateResponder(resp *http.Response) (result Domain, return } -// UpdateOwnershipIdentifier description for Creates an ownership identifier for a domain or updates identifier details -// for an existing identifer +// UpdateOwnershipIdentifier creates an ownership identifier for a domain or updates identifier details for an existing +// identifier // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // domainName - name of domain. diff --git a/services/web/mgmt/2019-08-01/web/provider.go b/services/web/mgmt/2019-08-01/web/provider.go index aea77e8da94f..c2c3203d7a6b 100644 --- a/services/web/mgmt/2019-08-01/web/provider.go +++ b/services/web/mgmt/2019-08-01/web/provider.go @@ -30,7 +30,7 @@ func NewProviderClientWithBaseURI(baseURI string, subscriptionID string) Provide return ProviderClient{NewWithBaseURI(baseURI, subscriptionID)} } -// GetAvailableStacks description for Get available application frameworks and their versions +// GetAvailableStacks get available application frameworks and their versions func (client ProviderClient) GetAvailableStacks(ctx context.Context, osTypeSelected string) (result ApplicationStackCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/ProviderClient.GetAvailableStacks") @@ -142,7 +142,7 @@ func (client ProviderClient) GetAvailableStacksComplete(ctx context.Context, osT return } -// GetAvailableStacksOnPrem description for Get available application frameworks and their versions +// GetAvailableStacksOnPrem get available application frameworks and their versions func (client ProviderClient) GetAvailableStacksOnPrem(ctx context.Context, osTypeSelected string) (result ApplicationStackCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/ProviderClient.GetAvailableStacksOnPrem") @@ -258,8 +258,8 @@ func (client ProviderClient) GetAvailableStacksOnPremComplete(ctx context.Contex return } -// ListOperations description for Gets all available operations for the Microsoft.Web resource provider. Also exposes -// resource metric definitions +// ListOperations gets all available operations for the Microsoft.Web resource provider. Also exposes resource metric +// definitions func (client ProviderClient) ListOperations(ctx context.Context) (result CsmOperationCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/ProviderClient.ListOperations") diff --git a/services/web/mgmt/2019-08-01/web/recommendations.go b/services/web/mgmt/2019-08-01/web/recommendations.go index 2b4ee85053a5..1249ba3a298b 100644 --- a/services/web/mgmt/2019-08-01/web/recommendations.go +++ b/services/web/mgmt/2019-08-01/web/recommendations.go @@ -31,7 +31,7 @@ func NewRecommendationsClientWithBaseURI(baseURI string, subscriptionID string) return RecommendationsClient{NewWithBaseURI(baseURI, subscriptionID)} } -// DisableAllForHostingEnvironment description for Disable all recommendations for an app. +// DisableAllForHostingEnvironment disable all recommendations for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // environmentName - name of the app. @@ -115,7 +115,7 @@ func (client RecommendationsClient) DisableAllForHostingEnvironmentResponder(res return } -// DisableAllForWebApp description for Disable all recommendations for an app. +// DisableAllForWebApp disable all recommendations for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - name of the app. @@ -198,7 +198,7 @@ func (client RecommendationsClient) DisableAllForWebAppResponder(resp *http.Resp return } -// DisableRecommendationForHostingEnvironment description for Disables the specific rule for a web site permanently. +// DisableRecommendationForHostingEnvironment disables the specific rule for a web site permanently. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // environmentName - site name @@ -284,7 +284,7 @@ func (client RecommendationsClient) DisableRecommendationForHostingEnvironmentRe return } -// DisableRecommendationForSite description for Disables the specific rule for a web site permanently. +// DisableRecommendationForSite disables the specific rule for a web site permanently. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site name @@ -369,8 +369,8 @@ func (client RecommendationsClient) DisableRecommendationForSiteResponder(resp * return } -// DisableRecommendationForSubscription description for Disables the specified rule so it will not apply to a -// subscription in the future. +// DisableRecommendationForSubscription disables the specified rule so it will not apply to a subscription in the +// future. // Parameters: // name - rule name func (client RecommendationsClient) DisableRecommendationForSubscription(ctx context.Context, name string) (result autorest.Response, err error) { @@ -443,7 +443,7 @@ func (client RecommendationsClient) DisableRecommendationForSubscriptionResponde return } -// GetRuleDetailsByHostingEnvironment description for Get a recommendation rule for an app. +// GetRuleDetailsByHostingEnvironment get a recommendation rule for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // hostingEnvironmentName - name of the hosting environment. @@ -538,7 +538,7 @@ func (client RecommendationsClient) GetRuleDetailsByHostingEnvironmentResponder( return } -// GetRuleDetailsByWebApp description for Get a recommendation rule for an app. +// GetRuleDetailsByWebApp get a recommendation rule for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - name of the app. @@ -633,7 +633,7 @@ func (client RecommendationsClient) GetRuleDetailsByWebAppResponder(resp *http.R return } -// List description for List all recommendations for a subscription. +// List list all recommendations for a subscription. // Parameters: // featured - specify true to return only the most critical recommendations. The default is // false, which returns all recommendations. @@ -758,8 +758,7 @@ func (client RecommendationsClient) ListComplete(ctx context.Context, featured * return } -// ListHistoryForHostingEnvironment description for Get past recommendations for an app, optionally specified by the -// time range. +// ListHistoryForHostingEnvironment get past recommendations for an app, optionally specified by the time range. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // hostingEnvironmentName - name of the hosting environment. @@ -896,7 +895,7 @@ func (client RecommendationsClient) ListHistoryForHostingEnvironmentComplete(ctx return } -// ListHistoryForWebApp description for Get past recommendations for an app, optionally specified by the time range. +// ListHistoryForWebApp get past recommendations for an app, optionally specified by the time range. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - name of the app. @@ -1033,7 +1032,7 @@ func (client RecommendationsClient) ListHistoryForWebAppComplete(ctx context.Con return } -// ListRecommendedRulesForHostingEnvironment description for Get all recommendations for an app. +// ListRecommendedRulesForHostingEnvironment get all recommendations for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // hostingEnvironmentName - name of the app. @@ -1169,7 +1168,7 @@ func (client RecommendationsClient) ListRecommendedRulesForHostingEnvironmentCom return } -// ListRecommendedRulesForWebApp description for Get all recommendations for an app. +// ListRecommendedRulesForWebApp get all recommendations for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - name of the app. @@ -1305,7 +1304,7 @@ func (client RecommendationsClient) ListRecommendedRulesForWebAppComplete(ctx co return } -// ResetAllFilters description for Reset all recommendation opt-out settings for a subscription. +// ResetAllFilters reset all recommendation opt-out settings for a subscription. func (client RecommendationsClient) ResetAllFilters(ctx context.Context) (result autorest.Response, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/RecommendationsClient.ResetAllFilters") @@ -1375,7 +1374,7 @@ func (client RecommendationsClient) ResetAllFiltersResponder(resp *http.Response return } -// ResetAllFiltersForHostingEnvironment description for Reset all recommendation opt-out settings for an app. +// ResetAllFiltersForHostingEnvironment reset all recommendation opt-out settings for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // environmentName - name of the app. @@ -1459,7 +1458,7 @@ func (client RecommendationsClient) ResetAllFiltersForHostingEnvironmentResponde return } -// ResetAllFiltersForWebApp description for Reset all recommendation opt-out settings for an app. +// ResetAllFiltersForWebApp reset all recommendation opt-out settings for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - name of the app. diff --git a/services/web/mgmt/2019-08-01/web/resourcehealthmetadata.go b/services/web/mgmt/2019-08-01/web/resourcehealthmetadata.go index 02e70de6c898..1f2fac20b541 100644 --- a/services/web/mgmt/2019-08-01/web/resourcehealthmetadata.go +++ b/services/web/mgmt/2019-08-01/web/resourcehealthmetadata.go @@ -32,7 +32,7 @@ func NewResourceHealthMetadataClientWithBaseURI(baseURI string, subscriptionID s return ResourceHealthMetadataClient{NewWithBaseURI(baseURI, subscriptionID)} } -// GetBySite description for Gets the category of ResourceHealthMetadata to use for the given site +// GetBySite gets the category of ResourceHealthMetadata to use for the given site // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app @@ -116,7 +116,7 @@ func (client ResourceHealthMetadataClient) GetBySiteResponder(resp *http.Respons return } -// GetBySiteSlot description for Gets the category of ResourceHealthMetadata to use for the given site +// GetBySiteSlot gets the category of ResourceHealthMetadata to use for the given site // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app @@ -202,7 +202,7 @@ func (client ResourceHealthMetadataClient) GetBySiteSlotResponder(resp *http.Res return } -// List description for List all ResourceHealthMetadata for all sites in the subscription. +// List list all ResourceHealthMetadata for all sites in the subscription. func (client ResourceHealthMetadataClient) List(ctx context.Context) (result ResourceHealthMetadataCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/ResourceHealthMetadataClient.List") @@ -315,8 +315,7 @@ func (client ResourceHealthMetadataClient) ListComplete(ctx context.Context) (re return } -// ListByResourceGroup description for List all ResourceHealthMetadata for all sites in the resource group in the -// subscription. +// ListByResourceGroup list all ResourceHealthMetadata for all sites in the resource group in the subscription. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. func (client ResourceHealthMetadataClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ResourceHealthMetadataCollectionPage, err error) { @@ -440,7 +439,7 @@ func (client ResourceHealthMetadataClient) ListByResourceGroupComplete(ctx conte return } -// ListBySite description for Gets the category of ResourceHealthMetadata to use for the given site as a collection +// ListBySite gets the category of ResourceHealthMetadata to use for the given site as a collection // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -566,7 +565,7 @@ func (client ResourceHealthMetadataClient) ListBySiteComplete(ctx context.Contex return } -// ListBySiteSlot description for Gets the category of ResourceHealthMetadata to use for the given site as a collection +// ListBySiteSlot gets the category of ResourceHealthMetadata to use for the given site as a collection // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. diff --git a/services/web/mgmt/2019-08-01/web/staticsites.go b/services/web/mgmt/2019-08-01/web/staticsites.go index c19e0402de82..5e01c9789706 100644 --- a/services/web/mgmt/2019-08-01/web/staticsites.go +++ b/services/web/mgmt/2019-08-01/web/staticsites.go @@ -31,8 +31,8 @@ func NewStaticSitesClientWithBaseURI(baseURI string, subscriptionID string) Stat return StaticSitesClient{NewWithBaseURI(baseURI, subscriptionID)} } -// CreateOrUpdateStaticSite description for Creates a new static site in an existing resource group, or updates an -// existing static site. +// CreateOrUpdateStaticSite creates a new static site in an existing resource group, or updates an existing static +// site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site to create or update. @@ -119,8 +119,8 @@ func (client StaticSitesClient) CreateOrUpdateStaticSiteResponder(resp *http.Res return } -// CreateOrUpdateStaticSiteBuildFunctionAppSettings description for Creates or updates the function app settings of a -// static site build. +// CreateOrUpdateStaticSiteBuildFunctionAppSettings creates or updates the function app settings of a static site +// build. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -208,8 +208,8 @@ func (client StaticSitesClient) CreateOrUpdateStaticSiteBuildFunctionAppSettings return } -// CreateOrUpdateStaticSiteCustomDomain description for Creates a new static site custom domain in an existing resource -// group and static site. +// CreateOrUpdateStaticSiteCustomDomain creates a new static site custom domain in an existing resource group and +// static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -295,8 +295,7 @@ func (client StaticSitesClient) CreateOrUpdateStaticSiteCustomDomainResponder(re return } -// CreateOrUpdateStaticSiteFunctionAppSettings description for Creates or updates the function app settings of a static -// site. +// CreateOrUpdateStaticSiteFunctionAppSettings creates or updates the function app settings of a static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -382,7 +381,7 @@ func (client StaticSitesClient) CreateOrUpdateStaticSiteFunctionAppSettingsRespo return } -// CreateUserRolesInvitationLink description for Creates an invitation link for a user with the role +// CreateUserRolesInvitationLink creates an invitation link for a user with the role // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -468,7 +467,7 @@ func (client StaticSitesClient) CreateUserRolesInvitationLinkResponder(resp *htt return } -// DeleteStaticSite description for Deletes a static site. +// DeleteStaticSite deletes a static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site to delete. @@ -551,7 +550,7 @@ func (client StaticSitesClient) DeleteStaticSiteResponder(resp *http.Response) ( return } -// DeleteStaticSiteBuild description for Deletes a static site build. +// DeleteStaticSiteBuild deletes a static site build. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -636,7 +635,7 @@ func (client StaticSitesClient) DeleteStaticSiteBuildResponder(resp *http.Respon return } -// DeleteStaticSiteCustomDomain description for Deletes a custom domain. +// DeleteStaticSiteCustomDomain deletes a custom domain. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -721,7 +720,7 @@ func (client StaticSitesClient) DeleteStaticSiteCustomDomainResponder(resp *http return } -// DeleteStaticSiteUser description for Deletes the user entry from the static site. +// DeleteStaticSiteUser deletes the user entry from the static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the staticsite. @@ -808,7 +807,7 @@ func (client StaticSitesClient) DeleteStaticSiteUserResponder(resp *http.Respons return } -// DetachStaticSite description for Detaches a static site. +// DetachStaticSite detaches a static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site to detach. @@ -891,7 +890,7 @@ func (client StaticSitesClient) DetachStaticSiteResponder(resp *http.Response) ( return } -// GetStaticSite description for Gets the details of a static site. +// GetStaticSite gets the details of a static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -975,7 +974,7 @@ func (client StaticSitesClient) GetStaticSiteResponder(resp *http.Response) (res return } -// GetStaticSiteBuild description for Gets the details of a static site build. +// GetStaticSiteBuild gets the details of a static site build. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -1061,7 +1060,7 @@ func (client StaticSitesClient) GetStaticSiteBuildResponder(resp *http.Response) return } -// GetStaticSiteBuilds description for Gets all static site builds for a particular static site. +// GetStaticSiteBuilds gets all static site builds for a particular static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -1187,7 +1186,7 @@ func (client StaticSitesClient) GetStaticSiteBuildsComplete(ctx context.Context, return } -// GetStaticSitesByResourceGroup description for Gets all static sites in the specified resource group. +// GetStaticSitesByResourceGroup gets all static sites in the specified resource group. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. func (client StaticSitesClient) GetStaticSitesByResourceGroup(ctx context.Context, resourceGroupName string) (result StaticSiteCollectionPage, err error) { @@ -1311,7 +1310,7 @@ func (client StaticSitesClient) GetStaticSitesByResourceGroupComplete(ctx contex return } -// List description for Get all Static Sites for a subscription. +// List get all Static Sites for a subscription. func (client StaticSitesClient) List(ctx context.Context) (result StaticSiteCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/StaticSitesClient.List") @@ -1424,7 +1423,7 @@ func (client StaticSitesClient) ListComplete(ctx context.Context) (result Static return } -// ListStaticSiteBuildFunctionAppSettings description for Gets the application settings of a static site. +// ListStaticSiteBuildFunctionAppSettings gets the application settings of a static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -1510,7 +1509,7 @@ func (client StaticSitesClient) ListStaticSiteBuildFunctionAppSettingsResponder( return } -// ListStaticSiteBuildFunctions description for Gets the functions of a particular static site build. +// ListStaticSiteBuildFunctions gets the functions of a particular static site build. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -1638,7 +1637,7 @@ func (client StaticSitesClient) ListStaticSiteBuildFunctionsComplete(ctx context return } -// ListStaticSiteCustomDomains description for Gets all static site custom domains for a particular static site. +// ListStaticSiteCustomDomains gets all static site custom domains for a particular static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site resource to search in. @@ -1764,7 +1763,7 @@ func (client StaticSitesClient) ListStaticSiteCustomDomainsComplete(ctx context. return } -// ListStaticSiteFunctionAppSettings description for Gets the application settings of a static site. +// ListStaticSiteFunctionAppSettings gets the application settings of a static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -1848,7 +1847,7 @@ func (client StaticSitesClient) ListStaticSiteFunctionAppSettingsResponder(resp return } -// ListStaticSiteFunctions description for Gets the functions of a static site. +// ListStaticSiteFunctions gets the functions of a static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -1974,7 +1973,7 @@ func (client StaticSitesClient) ListStaticSiteFunctionsComplete(ctx context.Cont return } -// ListStaticSiteSecrets description for Lists the secrets for an existing static site. +// ListStaticSiteSecrets lists the secrets for an existing static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -2058,7 +2057,7 @@ func (client StaticSitesClient) ListStaticSiteSecretsResponder(resp *http.Respon return } -// ListStaticSiteUsers description for Gets the list of users of a static site. +// ListStaticSiteUsers gets the list of users of a static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -2186,7 +2185,7 @@ func (client StaticSitesClient) ListStaticSiteUsersComplete(ctx context.Context, return } -// ResetStaticSiteAPIKey description for Resets the api key for an existing static site. +// ResetStaticSiteAPIKey resets the api key for an existing static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -2271,8 +2270,7 @@ func (client StaticSitesClient) ResetStaticSiteAPIKeyResponder(resp *http.Respon return } -// UpdateStaticSite description for Creates a new static site in an existing resource group, or updates an existing -// static site. +// UpdateStaticSite creates a new static site in an existing resource group, or updates an existing static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site to create or update. @@ -2359,7 +2357,7 @@ func (client StaticSitesClient) UpdateStaticSiteResponder(resp *http.Response) ( return } -// UpdateStaticSiteUser description for Updates a user entry with the listed roles +// UpdateStaticSiteUser updates a user entry with the listed roles // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -2450,8 +2448,7 @@ func (client StaticSitesClient) UpdateStaticSiteUserResponder(resp *http.Respons return } -// ValidateCustomDomainCanBeAddedToStaticSite description for Validates a particular custom domain can be added to a -// static site. +// ValidateCustomDomainCanBeAddedToStaticSite validates a particular custom domain can be added to a static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. diff --git a/services/web/mgmt/2019-08-01/web/topleveldomains.go b/services/web/mgmt/2019-08-01/web/topleveldomains.go index 5b34657468fc..a6e8912b2c2d 100644 --- a/services/web/mgmt/2019-08-01/web/topleveldomains.go +++ b/services/web/mgmt/2019-08-01/web/topleveldomains.go @@ -30,7 +30,7 @@ func NewTopLevelDomainsClientWithBaseURI(baseURI string, subscriptionID string) return TopLevelDomainsClient{NewWithBaseURI(baseURI, subscriptionID)} } -// Get description for Get details of a top-level domain. +// Get get details of a top-level domain. // Parameters: // name - name of the top-level domain. func (client TopLevelDomainsClient) Get(ctx context.Context, name string) (result TopLevelDomain, err error) { @@ -104,7 +104,7 @@ func (client TopLevelDomainsClient) GetResponder(resp *http.Response) (result To return } -// List description for Get all top-level domains supported for registration. +// List get all top-level domains supported for registration. func (client TopLevelDomainsClient) List(ctx context.Context) (result TopLevelDomainCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/TopLevelDomainsClient.List") @@ -217,7 +217,7 @@ func (client TopLevelDomainsClient) ListComplete(ctx context.Context) (result To return } -// ListAgreements description for Gets all legal agreements that user needs to accept before purchasing a domain. +// ListAgreements gets all legal agreements that user needs to accept before purchasing a domain. // Parameters: // name - name of the top-level domain. // agreementOption - domain agreement options. diff --git a/services/web/mgmt/2020-06-01/web/CHANGELOG.md b/services/web/mgmt/2020-06-01/web/CHANGELOG.md index 52911e4cc5e4..88d474e5d7f0 100644 --- a/services/web/mgmt/2020-06-01/web/CHANGELOG.md +++ b/services/web/mgmt/2020-06-01/web/CHANGELOG.md @@ -1,2 +1,10 @@ -# Change History +# Unreleased +## Additive Changes + +### Struct Changes + +#### New Struct Fields + +1. SiteConfig.AcrUseManagedIdentityCreds +1. SiteConfig.AcrUserManagedIdentityID diff --git a/services/web/mgmt/2020-06-01/web/_meta.json b/services/web/mgmt/2020-06-01/web/_meta.json index 5f2ff926cc2a..6e4a924d8331 100644 --- a/services/web/mgmt/2020-06-01/web/_meta.json +++ b/services/web/mgmt/2020-06-01/web/_meta.json @@ -1,5 +1,5 @@ { - "commit": "3c764635e7d442b3e74caf593029fcd440b3ef82", + "commit": "eb2b882ef0a4aa5956ca38cfa566fc4d7cfb3fb0", "readme": "/_/azure-rest-api-specs/specification/web/resource-manager/readme.md", "tag": "package-2020-06", "use": "@microsoft.azure/autorest.go@2.1.187", diff --git a/services/web/mgmt/2020-06-01/web/apps.go b/services/web/mgmt/2020-06-01/web/apps.go index f9e40ff90d4b..e2a509a9b796 100644 --- a/services/web/mgmt/2020-06-01/web/apps.go +++ b/services/web/mgmt/2020-06-01/web/apps.go @@ -31,7 +31,7 @@ func NewAppsClientWithBaseURI(baseURI string, subscriptionID string) AppsClient return AppsClient{NewWithBaseURI(baseURI, subscriptionID)} } -// AddPremierAddOn description for Updates a named add-on of an app. +// AddPremierAddOn updates a named add-on of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -120,7 +120,7 @@ func (client AppsClient) AddPremierAddOnResponder(resp *http.Response) (result P return } -// AddPremierAddOnSlot description for Updates a named add-on of an app. +// AddPremierAddOnSlot updates a named add-on of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -212,7 +212,7 @@ func (client AppsClient) AddPremierAddOnSlotResponder(resp *http.Response) (resu return } -// AnalyzeCustomHostname description for Analyze a custom hostname. +// AnalyzeCustomHostname analyze a custom hostname. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -300,7 +300,7 @@ func (client AppsClient) AnalyzeCustomHostnameResponder(resp *http.Response) (re return } -// AnalyzeCustomHostnameSlot description for Analyze a custom hostname. +// AnalyzeCustomHostnameSlot analyze a custom hostname. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -390,8 +390,7 @@ func (client AppsClient) AnalyzeCustomHostnameSlotResponder(resp *http.Response) return } -// ApplySlotConfigToProduction description for Applies the configuration settings from the target slot onto the current -// slot. +// ApplySlotConfigToProduction applies the configuration settings from the target slot onto the current slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -480,8 +479,7 @@ func (client AppsClient) ApplySlotConfigToProductionResponder(resp *http.Respons return } -// ApplySlotConfigurationSlot description for Applies the configuration settings from the target slot onto the current -// slot. +// ApplySlotConfigurationSlot applies the configuration settings from the target slot onto the current slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -572,7 +570,7 @@ func (client AppsClient) ApplySlotConfigurationSlotResponder(resp *http.Response return } -// ApproveOrRejectPrivateEndpointConnection description for Approves or rejects a private endpoint connection +// ApproveOrRejectPrivateEndpointConnection approves or rejects a private endpoint connection // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the site. @@ -662,7 +660,7 @@ func (client AppsClient) ApproveOrRejectPrivateEndpointConnectionResponder(resp return } -// Backup description for Creates a backup of an app. +// Backup creates a backup of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -758,7 +756,7 @@ func (client AppsClient) BackupResponder(resp *http.Response) (result BackupItem return } -// BackupSlot description for Creates a backup of an app. +// BackupSlot creates a backup of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -857,7 +855,7 @@ func (client AppsClient) BackupSlotResponder(resp *http.Response) (result Backup return } -// CopyProductionSlot description for Copies a deployment slot to another deployment slot of an app. +// CopyProductionSlot copies a deployment slot to another deployment slot of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -959,7 +957,7 @@ func (client AppsClient) CopyProductionSlotResponder(resp *http.Response) (resul return } -// CopySlotSlot description for Copies a deployment slot to another deployment slot of an app. +// CopySlotSlot copies a deployment slot to another deployment slot of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -1063,7 +1061,7 @@ func (client AppsClient) CopySlotSlotResponder(resp *http.Response) (result auto return } -// CreateDeployment description for Create a deployment for an app, or a deployment slot. +// CreateDeployment create a deployment for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -1152,7 +1150,7 @@ func (client AppsClient) CreateDeploymentResponder(resp *http.Response) (result return } -// CreateDeploymentSlot description for Create a deployment for an app, or a deployment slot. +// CreateDeploymentSlot create a deployment for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -1244,7 +1242,7 @@ func (client AppsClient) CreateDeploymentSlotResponder(resp *http.Response) (res return } -// CreateFunction description for Create function for web site, or a deployment slot. +// CreateFunction create function for web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -1336,7 +1334,7 @@ func (client AppsClient) CreateFunctionResponder(resp *http.Response) (result Fu return } -// CreateInstanceFunctionSlot description for Create function for web site, or a deployment slot. +// CreateInstanceFunctionSlot create function for web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -1430,7 +1428,7 @@ func (client AppsClient) CreateInstanceFunctionSlotResponder(resp *http.Response return } -// CreateInstanceMSDeployOperation description for Invoke the MSDeploy web app extension. +// CreateInstanceMSDeployOperation invoke the MSDeploy web app extension. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -1522,7 +1520,7 @@ func (client AppsClient) CreateInstanceMSDeployOperationResponder(resp *http.Res return } -// CreateInstanceMSDeployOperationSlot description for Invoke the MSDeploy web app extension. +// CreateInstanceMSDeployOperationSlot invoke the MSDeploy web app extension. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -1616,7 +1614,7 @@ func (client AppsClient) CreateInstanceMSDeployOperationSlotResponder(resp *http return } -// CreateMSDeployOperation description for Invoke the MSDeploy web app extension. +// CreateMSDeployOperation invoke the MSDeploy web app extension. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -1706,7 +1704,7 @@ func (client AppsClient) CreateMSDeployOperationResponder(resp *http.Response) ( return } -// CreateMSDeployOperationSlot description for Invoke the MSDeploy web app extension. +// CreateMSDeployOperationSlot invoke the MSDeploy web app extension. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -1798,8 +1796,7 @@ func (client AppsClient) CreateMSDeployOperationSlotResponder(resp *http.Respons return } -// CreateOrUpdate description for Creates a new web, mobile, or API app in an existing resource group, or updates an -// existing app. +// CreateOrUpdate creates a new web, mobile, or API app in an existing resource group, or updates an existing app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - unique name of the app to create or update. To create or update a deployment slot, use the {slot} @@ -1905,7 +1902,7 @@ func (client AppsClient) CreateOrUpdateResponder(resp *http.Response) (result Si return } -// CreateOrUpdateConfiguration description for Updates the configuration of an app. +// CreateOrUpdateConfiguration updates the configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -2003,7 +2000,7 @@ func (client AppsClient) CreateOrUpdateConfigurationResponder(resp *http.Respons return } -// CreateOrUpdateConfigurationSlot description for Updates the configuration of an app. +// CreateOrUpdateConfigurationSlot updates the configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -2104,8 +2101,8 @@ func (client AppsClient) CreateOrUpdateConfigurationSlotResponder(resp *http.Res return } -// CreateOrUpdateDomainOwnershipIdentifier description for Creates a domain ownership identifier for web app, or -// updates an existing ownership identifier. +// CreateOrUpdateDomainOwnershipIdentifier creates a domain ownership identifier for web app, or updates an existing +// ownership identifier. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -2194,8 +2191,8 @@ func (client AppsClient) CreateOrUpdateDomainOwnershipIdentifierResponder(resp * return } -// CreateOrUpdateDomainOwnershipIdentifierSlot description for Creates a domain ownership identifier for web app, or -// updates an existing ownership identifier. +// CreateOrUpdateDomainOwnershipIdentifierSlot creates a domain ownership identifier for web app, or updates an +// existing ownership identifier. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -2287,7 +2284,7 @@ func (client AppsClient) CreateOrUpdateDomainOwnershipIdentifierSlotResponder(re return } -// CreateOrUpdateFunctionSecret description for Add or update a function secret. +// CreateOrUpdateFunctionSecret add or update a function secret. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -2378,7 +2375,7 @@ func (client AppsClient) CreateOrUpdateFunctionSecretResponder(resp *http.Respon return } -// CreateOrUpdateFunctionSecretSlot description for Add or update a function secret. +// CreateOrUpdateFunctionSecretSlot add or update a function secret. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -2471,7 +2468,7 @@ func (client AppsClient) CreateOrUpdateFunctionSecretSlotResponder(resp *http.Re return } -// CreateOrUpdateHostNameBinding description for Creates a hostname binding for an app. +// CreateOrUpdateHostNameBinding creates a hostname binding for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -2560,7 +2557,7 @@ func (client AppsClient) CreateOrUpdateHostNameBindingResponder(resp *http.Respo return } -// CreateOrUpdateHostNameBindingSlot description for Creates a hostname binding for an app. +// CreateOrUpdateHostNameBindingSlot creates a hostname binding for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -2652,7 +2649,7 @@ func (client AppsClient) CreateOrUpdateHostNameBindingSlotResponder(resp *http.R return } -// CreateOrUpdateHostSecret description for Add or update a host level secret. +// CreateOrUpdateHostSecret add or update a host level secret. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -2743,7 +2740,7 @@ func (client AppsClient) CreateOrUpdateHostSecretResponder(resp *http.Response) return } -// CreateOrUpdateHostSecretSlot description for Add or update a host level secret. +// CreateOrUpdateHostSecretSlot add or update a host level secret. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -2836,7 +2833,7 @@ func (client AppsClient) CreateOrUpdateHostSecretSlotResponder(resp *http.Respon return } -// CreateOrUpdateHybridConnection description for Creates a new Hybrid Connection using a Service Bus relay. +// CreateOrUpdateHybridConnection creates a new Hybrid Connection using a Service Bus relay. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -2927,7 +2924,7 @@ func (client AppsClient) CreateOrUpdateHybridConnectionResponder(resp *http.Resp return } -// CreateOrUpdateHybridConnectionSlot description for Creates a new Hybrid Connection using a Service Bus relay. +// CreateOrUpdateHybridConnectionSlot creates a new Hybrid Connection using a Service Bus relay. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -3020,7 +3017,7 @@ func (client AppsClient) CreateOrUpdateHybridConnectionSlotResponder(resp *http. return } -// CreateOrUpdatePublicCertificate description for Creates a hostname binding for an app. +// CreateOrUpdatePublicCertificate creates a hostname binding for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -3110,7 +3107,7 @@ func (client AppsClient) CreateOrUpdatePublicCertificateResponder(resp *http.Res return } -// CreateOrUpdatePublicCertificateSlot description for Creates a hostname binding for an app. +// CreateOrUpdatePublicCertificateSlot creates a hostname binding for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -3203,8 +3200,8 @@ func (client AppsClient) CreateOrUpdatePublicCertificateSlotResponder(resp *http return } -// CreateOrUpdateRelayServiceConnection description for Creates a new hybrid connection configuration (PUT), or updates -// an existing one (PATCH). +// CreateOrUpdateRelayServiceConnection creates a new hybrid connection configuration (PUT), or updates an existing one +// (PATCH). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -3293,8 +3290,8 @@ func (client AppsClient) CreateOrUpdateRelayServiceConnectionResponder(resp *htt return } -// CreateOrUpdateRelayServiceConnectionSlot description for Creates a new hybrid connection configuration (PUT), or -// updates an existing one (PATCH). +// CreateOrUpdateRelayServiceConnectionSlot creates a new hybrid connection configuration (PUT), or updates an existing +// one (PATCH). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -3386,15 +3383,13 @@ func (client AppsClient) CreateOrUpdateRelayServiceConnectionSlotResponder(resp return } -// CreateOrUpdateSlot description for Creates a new web, mobile, or API app in an existing resource group, or updates -// an existing app. +// CreateOrUpdateSlot creates a new web, mobile, or API app in an existing resource group, or updates an existing app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - unique name of the app to create or update. To create or update a deployment slot, use the {slot} // parameter. // siteEnvelope - a JSON representation of the app properties. See example. -// slot - name of the deployment slot to create or update. By default, this API attempts to create or modify -// the production slot. +// slot - name of the deployment slot to create or update. The name 'production' is reserved. func (client AppsClient) CreateOrUpdateSlot(ctx context.Context, resourceGroupName string, name string, siteEnvelope Site, slot string) (result AppsCreateOrUpdateSlotFuture, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/AppsClient.CreateOrUpdateSlot") @@ -3496,7 +3491,7 @@ func (client AppsClient) CreateOrUpdateSlotResponder(resp *http.Response) (resul return } -// CreateOrUpdateSourceControl description for Updates the source control configuration of an app. +// CreateOrUpdateSourceControl updates the source control configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -3586,7 +3581,7 @@ func (client AppsClient) CreateOrUpdateSourceControlResponder(resp *http.Respons return } -// CreateOrUpdateSourceControlSlot description for Updates the source control configuration of an app. +// CreateOrUpdateSourceControlSlot updates the source control configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -3679,9 +3674,9 @@ func (client AppsClient) CreateOrUpdateSourceControlSlotResponder(resp *http.Res return } -// CreateOrUpdateSwiftVirtualNetworkConnection description for Integrates this Web App with a Virtual Network. This -// requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has -// already been delegated, and is not +// CreateOrUpdateSwiftVirtualNetworkConnection integrates this Web App with a Virtual Network. This requires that 1) +// "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been +// delegated, and is not // in use by another App Service Plan other than the one this App is in. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. @@ -3769,9 +3764,9 @@ func (client AppsClient) CreateOrUpdateSwiftVirtualNetworkConnectionResponder(re return } -// CreateOrUpdateSwiftVirtualNetworkConnectionSlot description for Integrates this Web App with a Virtual Network. This -// requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has -// already been delegated, and is not +// CreateOrUpdateSwiftVirtualNetworkConnectionSlot integrates this Web App with a Virtual Network. This requires that +// 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been +// delegated, and is not // in use by another App Service Plan other than the one this App is in. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. @@ -3862,8 +3857,8 @@ func (client AppsClient) CreateOrUpdateSwiftVirtualNetworkConnectionSlotResponde return } -// CreateOrUpdateVnetConnection description for Adds a Virtual Network connection to an app or slot (PUT) or updates -// the connection properties (PATCH). +// CreateOrUpdateVnetConnection adds a Virtual Network connection to an app or slot (PUT) or updates the connection +// properties (PATCH). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -3952,8 +3947,7 @@ func (client AppsClient) CreateOrUpdateVnetConnectionResponder(resp *http.Respon return } -// CreateOrUpdateVnetConnectionGateway description for Adds a gateway to a connected Virtual Network (PUT) or updates -// it (PATCH). +// CreateOrUpdateVnetConnectionGateway adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -4047,8 +4041,7 @@ func (client AppsClient) CreateOrUpdateVnetConnectionGatewayResponder(resp *http return } -// CreateOrUpdateVnetConnectionGatewaySlot description for Adds a gateway to a connected Virtual Network (PUT) or -// updates it (PATCH). +// CreateOrUpdateVnetConnectionGatewaySlot adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -4145,8 +4138,8 @@ func (client AppsClient) CreateOrUpdateVnetConnectionGatewaySlotResponder(resp * return } -// CreateOrUpdateVnetConnectionSlot description for Adds a Virtual Network connection to an app or slot (PUT) or -// updates the connection properties (PATCH). +// CreateOrUpdateVnetConnectionSlot adds a Virtual Network connection to an app or slot (PUT) or updates the connection +// properties (PATCH). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -4238,7 +4231,7 @@ func (client AppsClient) CreateOrUpdateVnetConnectionSlotResponder(resp *http.Re return } -// Delete description for Deletes a web, mobile, or API app, or one of the deployment slots. +// Delete deletes a web, mobile, or API app, or one of the deployment slots. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app to delete. @@ -4330,7 +4323,7 @@ func (client AppsClient) DeleteResponder(resp *http.Response) (result autorest.R return } -// DeleteBackup description for Deletes a backup of an app by its ID. +// DeleteBackup deletes a backup of an app by its ID. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -4415,7 +4408,7 @@ func (client AppsClient) DeleteBackupResponder(resp *http.Response) (result auto return } -// DeleteBackupConfiguration description for Deletes the backup configuration of an app. +// DeleteBackupConfiguration deletes the backup configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -4498,7 +4491,7 @@ func (client AppsClient) DeleteBackupConfigurationResponder(resp *http.Response) return } -// DeleteBackupConfigurationSlot description for Deletes the backup configuration of an app. +// DeleteBackupConfigurationSlot deletes the backup configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -4584,7 +4577,7 @@ func (client AppsClient) DeleteBackupConfigurationSlotResponder(resp *http.Respo return } -// DeleteBackupSlot description for Deletes a backup of an app by its ID. +// DeleteBackupSlot deletes a backup of an app by its ID. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -4672,7 +4665,7 @@ func (client AppsClient) DeleteBackupSlotResponder(resp *http.Response) (result return } -// DeleteContinuousWebJob description for Delete a continuous web job by its ID for an app, or a deployment slot. +// DeleteContinuousWebJob delete a continuous web job by its ID for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -4757,7 +4750,7 @@ func (client AppsClient) DeleteContinuousWebJobResponder(resp *http.Response) (r return } -// DeleteContinuousWebJobSlot description for Delete a continuous web job by its ID for an app, or a deployment slot. +// DeleteContinuousWebJobSlot delete a continuous web job by its ID for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -4845,7 +4838,7 @@ func (client AppsClient) DeleteContinuousWebJobSlotResponder(resp *http.Response return } -// DeleteDeployment description for Delete a deployment by its ID for an app, or a deployment slot. +// DeleteDeployment delete a deployment by its ID for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -4930,7 +4923,7 @@ func (client AppsClient) DeleteDeploymentResponder(resp *http.Response) (result return } -// DeleteDeploymentSlot description for Delete a deployment by its ID for an app, or a deployment slot. +// DeleteDeploymentSlot delete a deployment by its ID for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -5018,7 +5011,7 @@ func (client AppsClient) DeleteDeploymentSlotResponder(resp *http.Response) (res return } -// DeleteDomainOwnershipIdentifier description for Deletes a domain ownership identifier for a web app. +// DeleteDomainOwnershipIdentifier deletes a domain ownership identifier for a web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -5103,7 +5096,7 @@ func (client AppsClient) DeleteDomainOwnershipIdentifierResponder(resp *http.Res return } -// DeleteDomainOwnershipIdentifierSlot description for Deletes a domain ownership identifier for a web app. +// DeleteDomainOwnershipIdentifierSlot deletes a domain ownership identifier for a web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -5191,7 +5184,7 @@ func (client AppsClient) DeleteDomainOwnershipIdentifierSlotResponder(resp *http return } -// DeleteFunction description for Delete a function for web site, or a deployment slot. +// DeleteFunction delete a function for web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -5276,7 +5269,7 @@ func (client AppsClient) DeleteFunctionResponder(resp *http.Response) (result au return } -// DeleteFunctionSecret description for Delete a function secret. +// DeleteFunctionSecret delete a function secret. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -5363,7 +5356,7 @@ func (client AppsClient) DeleteFunctionSecretResponder(resp *http.Response) (res return } -// DeleteFunctionSecretSlot description for Delete a function secret. +// DeleteFunctionSecretSlot delete a function secret. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -5452,7 +5445,7 @@ func (client AppsClient) DeleteFunctionSecretSlotResponder(resp *http.Response) return } -// DeleteHostNameBinding description for Deletes a hostname binding for an app. +// DeleteHostNameBinding deletes a hostname binding for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -5537,7 +5530,7 @@ func (client AppsClient) DeleteHostNameBindingResponder(resp *http.Response) (re return } -// DeleteHostNameBindingSlot description for Deletes a hostname binding for an app. +// DeleteHostNameBindingSlot deletes a hostname binding for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -5625,7 +5618,7 @@ func (client AppsClient) DeleteHostNameBindingSlotResponder(resp *http.Response) return } -// DeleteHostSecret description for Delete a host level secret. +// DeleteHostSecret delete a host level secret. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -5712,7 +5705,7 @@ func (client AppsClient) DeleteHostSecretResponder(resp *http.Response) (result return } -// DeleteHostSecretSlot description for Delete a host level secret. +// DeleteHostSecretSlot delete a host level secret. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -5801,7 +5794,7 @@ func (client AppsClient) DeleteHostSecretSlotResponder(resp *http.Response) (res return } -// DeleteHybridConnection description for Removes a Hybrid Connection from this site. +// DeleteHybridConnection removes a Hybrid Connection from this site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -5888,7 +5881,7 @@ func (client AppsClient) DeleteHybridConnectionResponder(resp *http.Response) (r return } -// DeleteHybridConnectionSlot description for Removes a Hybrid Connection from this site. +// DeleteHybridConnectionSlot removes a Hybrid Connection from this site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -5977,7 +5970,7 @@ func (client AppsClient) DeleteHybridConnectionSlotResponder(resp *http.Response return } -// DeleteInstanceFunctionSlot description for Delete a function for web site, or a deployment slot. +// DeleteInstanceFunctionSlot delete a function for web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -6064,8 +6057,8 @@ func (client AppsClient) DeleteInstanceFunctionSlotResponder(resp *http.Response return } -// DeleteInstanceProcess description for Terminate a process by its ID for a web site, or a deployment slot, or -// specific scaled-out instance in a web site. +// DeleteInstanceProcess terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out +// instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -6153,8 +6146,8 @@ func (client AppsClient) DeleteInstanceProcessResponder(resp *http.Response) (re return } -// DeleteInstanceProcessSlot description for Terminate a process by its ID for a web site, or a deployment slot, or -// specific scaled-out instance in a web site. +// DeleteInstanceProcessSlot terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out +// instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -6245,7 +6238,7 @@ func (client AppsClient) DeleteInstanceProcessSlotResponder(resp *http.Response) return } -// DeletePremierAddOn description for Delete a premier add-on from an app. +// DeletePremierAddOn delete a premier add-on from an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -6330,7 +6323,7 @@ func (client AppsClient) DeletePremierAddOnResponder(resp *http.Response) (resul return } -// DeletePremierAddOnSlot description for Delete a premier add-on from an app. +// DeletePremierAddOnSlot delete a premier add-on from an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -6418,7 +6411,7 @@ func (client AppsClient) DeletePremierAddOnSlotResponder(resp *http.Response) (r return } -// DeletePrivateEndpointConnection description for Deletes a private endpoint connection +// DeletePrivateEndpointConnection deletes a private endpoint connection // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the site. @@ -6506,8 +6499,8 @@ func (client AppsClient) DeletePrivateEndpointConnectionResponder(resp *http.Res return } -// DeleteProcess description for Terminate a process by its ID for a web site, or a deployment slot, or specific -// scaled-out instance in a web site. +// DeleteProcess terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in +// a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -6592,8 +6585,8 @@ func (client AppsClient) DeleteProcessResponder(resp *http.Response) (result aut return } -// DeleteProcessSlot description for Terminate a process by its ID for a web site, or a deployment slot, or specific -// scaled-out instance in a web site. +// DeleteProcessSlot terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out +// instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -6681,7 +6674,7 @@ func (client AppsClient) DeleteProcessSlotResponder(resp *http.Response) (result return } -// DeletePublicCertificate description for Deletes a hostname binding for an app. +// DeletePublicCertificate deletes a hostname binding for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -6766,7 +6759,7 @@ func (client AppsClient) DeletePublicCertificateResponder(resp *http.Response) ( return } -// DeletePublicCertificateSlot description for Deletes a hostname binding for an app. +// DeletePublicCertificateSlot deletes a hostname binding for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -6854,7 +6847,7 @@ func (client AppsClient) DeletePublicCertificateSlotResponder(resp *http.Respons return } -// DeleteRelayServiceConnection description for Deletes a relay service connection by its name. +// DeleteRelayServiceConnection deletes a relay service connection by its name. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -6939,7 +6932,7 @@ func (client AppsClient) DeleteRelayServiceConnectionResponder(resp *http.Respon return } -// DeleteRelayServiceConnectionSlot description for Deletes a relay service connection by its name. +// DeleteRelayServiceConnectionSlot deletes a relay service connection by its name. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -7027,7 +7020,7 @@ func (client AppsClient) DeleteRelayServiceConnectionSlotResponder(resp *http.Re return } -// DeleteSiteExtension description for Remove a site extension from a web site, or a deployment slot. +// DeleteSiteExtension remove a site extension from a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -7112,7 +7105,7 @@ func (client AppsClient) DeleteSiteExtensionResponder(resp *http.Response) (resu return } -// DeleteSiteExtensionSlot description for Remove a site extension from a web site, or a deployment slot. +// DeleteSiteExtensionSlot remove a site extension from a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -7200,7 +7193,7 @@ func (client AppsClient) DeleteSiteExtensionSlotResponder(resp *http.Response) ( return } -// DeleteSlot description for Deletes a web, mobile, or API app, or one of the deployment slots. +// DeleteSlot deletes a web, mobile, or API app, or one of the deployment slots. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app to delete. @@ -7294,7 +7287,7 @@ func (client AppsClient) DeleteSlotResponder(resp *http.Response) (result autore return } -// DeleteSourceControl description for Deletes the source control configuration of an app. +// DeleteSourceControl deletes the source control configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -7377,7 +7370,7 @@ func (client AppsClient) DeleteSourceControlResponder(resp *http.Response) (resu return } -// DeleteSourceControlSlot description for Deletes the source control configuration of an app. +// DeleteSourceControlSlot deletes the source control configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -7463,8 +7456,7 @@ func (client AppsClient) DeleteSourceControlSlotResponder(resp *http.Response) ( return } -// DeleteSwiftVirtualNetwork description for Deletes a Swift Virtual Network connection from an app (or deployment -// slot). +// DeleteSwiftVirtualNetwork deletes a Swift Virtual Network connection from an app (or deployment slot). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -7547,8 +7539,7 @@ func (client AppsClient) DeleteSwiftVirtualNetworkResponder(resp *http.Response) return } -// DeleteSwiftVirtualNetworkSlot description for Deletes a Swift Virtual Network connection from an app (or deployment -// slot). +// DeleteSwiftVirtualNetworkSlot deletes a Swift Virtual Network connection from an app (or deployment slot). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -7634,7 +7625,7 @@ func (client AppsClient) DeleteSwiftVirtualNetworkSlotResponder(resp *http.Respo return } -// DeleteTriggeredWebJob description for Delete a triggered web job by its ID for an app, or a deployment slot. +// DeleteTriggeredWebJob delete a triggered web job by its ID for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -7719,7 +7710,7 @@ func (client AppsClient) DeleteTriggeredWebJobResponder(resp *http.Response) (re return } -// DeleteTriggeredWebJobSlot description for Delete a triggered web job by its ID for an app, or a deployment slot. +// DeleteTriggeredWebJobSlot delete a triggered web job by its ID for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -7807,8 +7798,7 @@ func (client AppsClient) DeleteTriggeredWebJobSlotResponder(resp *http.Response) return } -// DeleteVnetConnection description for Deletes a connection from an app (or deployment slot to a named virtual -// network. +// DeleteVnetConnection deletes a connection from an app (or deployment slot to a named virtual network. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -7893,8 +7883,7 @@ func (client AppsClient) DeleteVnetConnectionResponder(resp *http.Response) (res return } -// DeleteVnetConnectionSlot description for Deletes a connection from an app (or deployment slot to a named virtual -// network. +// DeleteVnetConnectionSlot deletes a connection from an app (or deployment slot to a named virtual network. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -7982,8 +7971,8 @@ func (client AppsClient) DeleteVnetConnectionSlotResponder(resp *http.Response) return } -// DiscoverBackup description for Discovers an existing app backup that can be restored from a blob in Azure storage. -// Use this to get information about the databases stored in a backup. +// DiscoverBackup discovers an existing app backup that can be restored from a blob in Azure storage. Use this to get +// information about the databases stored in a backup. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -8075,8 +8064,8 @@ func (client AppsClient) DiscoverBackupResponder(resp *http.Response) (result Re return } -// DiscoverBackupSlot description for Discovers an existing app backup that can be restored from a blob in Azure -// storage. Use this to get information about the databases stored in a backup. +// DiscoverBackupSlot discovers an existing app backup that can be restored from a blob in Azure storage. Use this to +// get information about the databases stored in a backup. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -8171,8 +8160,7 @@ func (client AppsClient) DiscoverBackupSlotResponder(resp *http.Response) (resul return } -// GenerateNewSitePublishingPassword description for Generates a new publishing password for an app (or deployment -// slot, if specified). +// GenerateNewSitePublishingPassword generates a new publishing password for an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -8255,8 +8243,8 @@ func (client AppsClient) GenerateNewSitePublishingPasswordResponder(resp *http.R return } -// GenerateNewSitePublishingPasswordSlot description for Generates a new publishing password for an app (or deployment -// slot, if specified). +// GenerateNewSitePublishingPasswordSlot generates a new publishing password for an app (or deployment slot, if +// specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -8342,7 +8330,7 @@ func (client AppsClient) GenerateNewSitePublishingPasswordSlotResponder(resp *ht return } -// Get description for Gets the details of a web, mobile, or API app. +// Get gets the details of a web, mobile, or API app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -8426,7 +8414,7 @@ func (client AppsClient) GetResponder(resp *http.Response) (result Site, err err return } -// GetAuthSettings description for Gets the Authentication/Authorization settings of an app. +// GetAuthSettings gets the Authentication/Authorization settings of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -8510,7 +8498,7 @@ func (client AppsClient) GetAuthSettingsResponder(resp *http.Response) (result S return } -// GetAuthSettingsSlot description for Gets the Authentication/Authorization settings of an app. +// GetAuthSettingsSlot gets the Authentication/Authorization settings of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -8597,7 +8585,7 @@ func (client AppsClient) GetAuthSettingsSlotResponder(resp *http.Response) (resu return } -// GetAuthSettingsV2 description for Gets site's Authentication / Authorization settings for apps via the V2 format +// GetAuthSettingsV2 gets site's Authentication / Authorization settings for apps via the V2 format // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -8681,7 +8669,7 @@ func (client AppsClient) GetAuthSettingsV2Responder(resp *http.Response) (result return } -// GetAuthSettingsV2Slot description for Gets site's Authentication / Authorization settings for apps via the V2 format +// GetAuthSettingsV2Slot gets site's Authentication / Authorization settings for apps via the V2 format // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -8768,7 +8756,7 @@ func (client AppsClient) GetAuthSettingsV2SlotResponder(resp *http.Response) (re return } -// GetBackupConfiguration description for Gets the backup configuration of an app. +// GetBackupConfiguration gets the backup configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -8852,7 +8840,7 @@ func (client AppsClient) GetBackupConfigurationResponder(resp *http.Response) (r return } -// GetBackupConfigurationSlot description for Gets the backup configuration of an app. +// GetBackupConfigurationSlot gets the backup configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -8939,7 +8927,7 @@ func (client AppsClient) GetBackupConfigurationSlotResponder(resp *http.Response return } -// GetBackupStatus description for Gets a backup of an app by its ID. +// GetBackupStatus gets a backup of an app by its ID. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -9025,7 +9013,7 @@ func (client AppsClient) GetBackupStatusResponder(resp *http.Response) (result B return } -// GetBackupStatusSlot description for Gets a backup of an app by its ID. +// GetBackupStatusSlot gets a backup of an app by its ID. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -9114,8 +9102,8 @@ func (client AppsClient) GetBackupStatusSlotResponder(resp *http.Response) (resu return } -// GetBasicPublishingCredentialsPolicies description for Returns whether Scm basic auth is allowed and whether Ftp is -// allowed for a given site. +// GetBasicPublishingCredentialsPolicies returns whether Scm basic auth is allowed and whether Ftp is allowed for a +// given site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -9199,8 +9187,8 @@ func (client AppsClient) GetBasicPublishingCredentialsPoliciesResponder(resp *ht return } -// GetConfiguration description for Gets the configuration of an app, such as platform version and bitness, default -// documents, virtual applications, Always On, etc. +// GetConfiguration gets the configuration of an app, such as platform version and bitness, default documents, virtual +// applications, Always On, etc. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -9284,8 +9272,8 @@ func (client AppsClient) GetConfigurationResponder(resp *http.Response) (result return } -// GetConfigurationSlot description for Gets the configuration of an app, such as platform version and bitness, default -// documents, virtual applications, Always On, etc. +// GetConfigurationSlot gets the configuration of an app, such as platform version and bitness, default documents, +// virtual applications, Always On, etc. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -9372,7 +9360,7 @@ func (client AppsClient) GetConfigurationSlotResponder(resp *http.Response) (res return } -// GetConfigurationSnapshot description for Gets a snapshot of the configuration of an app at a previous point in time. +// GetConfigurationSnapshot gets a snapshot of the configuration of an app at a previous point in time. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -9458,8 +9446,7 @@ func (client AppsClient) GetConfigurationSnapshotResponder(resp *http.Response) return } -// GetConfigurationSnapshotSlot description for Gets a snapshot of the configuration of an app at a previous point in -// time. +// GetConfigurationSnapshotSlot gets a snapshot of the configuration of an app at a previous point in time. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -9548,7 +9535,7 @@ func (client AppsClient) GetConfigurationSnapshotSlotResponder(resp *http.Respon return } -// GetContainerLogsZip description for Gets the ZIP archived docker log files for the given site +// GetContainerLogsZip gets the ZIP archived docker log files for the given site // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -9631,7 +9618,7 @@ func (client AppsClient) GetContainerLogsZipResponder(resp *http.Response) (resu return } -// GetContainerLogsZipSlot description for Gets the ZIP archived docker log files for the given site +// GetContainerLogsZipSlot gets the ZIP archived docker log files for the given site // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -9716,7 +9703,7 @@ func (client AppsClient) GetContainerLogsZipSlotResponder(resp *http.Response) ( return } -// GetContinuousWebJob description for Gets a continuous web job by its ID for an app, or a deployment slot. +// GetContinuousWebJob gets a continuous web job by its ID for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -9802,7 +9789,7 @@ func (client AppsClient) GetContinuousWebJobResponder(resp *http.Response) (resu return } -// GetContinuousWebJobSlot description for Gets a continuous web job by its ID for an app, or a deployment slot. +// GetContinuousWebJobSlot gets a continuous web job by its ID for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -9891,7 +9878,7 @@ func (client AppsClient) GetContinuousWebJobSlotResponder(resp *http.Response) ( return } -// GetDeployment description for Get a deployment by its ID for an app, or a deployment slot. +// GetDeployment get a deployment by its ID for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -9977,7 +9964,7 @@ func (client AppsClient) GetDeploymentResponder(resp *http.Response) (result Dep return } -// GetDeploymentSlot description for Get a deployment by its ID for an app, or a deployment slot. +// GetDeploymentSlot get a deployment by its ID for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -10066,7 +10053,7 @@ func (client AppsClient) GetDeploymentSlotResponder(resp *http.Response) (result return } -// GetDiagnosticLogsConfiguration description for Gets the logging configuration of an app. +// GetDiagnosticLogsConfiguration gets the logging configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -10150,7 +10137,7 @@ func (client AppsClient) GetDiagnosticLogsConfigurationResponder(resp *http.Resp return } -// GetDiagnosticLogsConfigurationSlot description for Gets the logging configuration of an app. +// GetDiagnosticLogsConfigurationSlot gets the logging configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -10237,7 +10224,7 @@ func (client AppsClient) GetDiagnosticLogsConfigurationSlotResponder(resp *http. return } -// GetDomainOwnershipIdentifier description for Get domain ownership identifier for web app. +// GetDomainOwnershipIdentifier get domain ownership identifier for web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -10323,7 +10310,7 @@ func (client AppsClient) GetDomainOwnershipIdentifierResponder(resp *http.Respon return } -// GetDomainOwnershipIdentifierSlot description for Get domain ownership identifier for web app. +// GetDomainOwnershipIdentifierSlot get domain ownership identifier for web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -10412,7 +10399,7 @@ func (client AppsClient) GetDomainOwnershipIdentifierSlotResponder(resp *http.Re return } -// GetFtpAllowed description for Returns whether FTP is allowed on the site or not. +// GetFtpAllowed returns whether FTP is allowed on the site or not. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -10496,7 +10483,7 @@ func (client AppsClient) GetFtpAllowedResponder(resp *http.Response) (result Csm return } -// GetFunction description for Get function information by its ID for web site, or a deployment slot. +// GetFunction get function information by its ID for web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -10582,7 +10569,7 @@ func (client AppsClient) GetFunctionResponder(resp *http.Response) (result Funct return } -// GetFunctionsAdminToken description for Fetch a short lived token that can be exchanged for a master key. +// GetFunctionsAdminToken fetch a short lived token that can be exchanged for a master key. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -10666,7 +10653,7 @@ func (client AppsClient) GetFunctionsAdminTokenResponder(resp *http.Response) (r return } -// GetFunctionsAdminTokenSlot description for Fetch a short lived token that can be exchanged for a master key. +// GetFunctionsAdminTokenSlot fetch a short lived token that can be exchanged for a master key. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -10752,7 +10739,7 @@ func (client AppsClient) GetFunctionsAdminTokenSlotResponder(resp *http.Response return } -// GetHostNameBinding description for Get the named hostname binding for an app (or deployment slot, if specified). +// GetHostNameBinding get the named hostname binding for an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -10838,7 +10825,7 @@ func (client AppsClient) GetHostNameBindingResponder(resp *http.Response) (resul return } -// GetHostNameBindingSlot description for Get the named hostname binding for an app (or deployment slot, if specified). +// GetHostNameBindingSlot get the named hostname binding for an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -10927,7 +10914,7 @@ func (client AppsClient) GetHostNameBindingSlotResponder(resp *http.Response) (r return } -// GetHybridConnection description for Retrieves a specific Service Bus Hybrid Connection used by this Web App. +// GetHybridConnection retrieves a specific Service Bus Hybrid Connection used by this Web App. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -11015,7 +11002,7 @@ func (client AppsClient) GetHybridConnectionResponder(resp *http.Response) (resu return } -// GetHybridConnectionSlot description for Retrieves a specific Service Bus Hybrid Connection used by this Web App. +// GetHybridConnectionSlot retrieves a specific Service Bus Hybrid Connection used by this Web App. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -11105,7 +11092,7 @@ func (client AppsClient) GetHybridConnectionSlotResponder(resp *http.Response) ( return } -// GetInstanceFunctionSlot description for Get function information by its ID for web site, or a deployment slot. +// GetInstanceFunctionSlot get function information by its ID for web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -11193,7 +11180,7 @@ func (client AppsClient) GetInstanceFunctionSlotResponder(resp *http.Response) ( return } -// GetInstanceInfo description for Gets all scale-out instances of an app. +// GetInstanceInfo gets all scale-out instances of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -11278,7 +11265,7 @@ func (client AppsClient) GetInstanceInfoResponder(resp *http.Response) (result S return } -// GetInstanceInfoSlot description for Gets all scale-out instances of an app. +// GetInstanceInfoSlot gets all scale-out instances of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -11365,7 +11352,7 @@ func (client AppsClient) GetInstanceInfoSlotResponder(resp *http.Response) (resu return } -// GetInstanceMSDeployLog description for Get the MSDeploy Log for the last MSDeploy operation. +// GetInstanceMSDeployLog get the MSDeploy Log for the last MSDeploy operation. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -11451,7 +11438,7 @@ func (client AppsClient) GetInstanceMSDeployLogResponder(resp *http.Response) (r return } -// GetInstanceMSDeployLogSlot description for Get the MSDeploy Log for the last MSDeploy operation. +// GetInstanceMSDeployLogSlot get the MSDeploy Log for the last MSDeploy operation. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -11539,7 +11526,7 @@ func (client AppsClient) GetInstanceMSDeployLogSlotResponder(resp *http.Response return } -// GetInstanceMsDeployStatus description for Get the status of the last MSDeploy operation. +// GetInstanceMsDeployStatus get the status of the last MSDeploy operation. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -11625,7 +11612,7 @@ func (client AppsClient) GetInstanceMsDeployStatusResponder(resp *http.Response) return } -// GetInstanceMsDeployStatusSlot description for Get the status of the last MSDeploy operation. +// GetInstanceMsDeployStatusSlot get the status of the last MSDeploy operation. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -11713,8 +11700,7 @@ func (client AppsClient) GetInstanceMsDeployStatusSlotResponder(resp *http.Respo return } -// GetInstanceProcess description for Get process information by its ID for a specific scaled-out instance in a web -// site. +// GetInstanceProcess get process information by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -11803,8 +11789,7 @@ func (client AppsClient) GetInstanceProcessResponder(resp *http.Response) (resul return } -// GetInstanceProcessDump description for Get a memory dump of a process by its ID for a specific scaled-out instance -// in a web site. +// GetInstanceProcessDump get a memory dump of a process by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -11892,8 +11877,8 @@ func (client AppsClient) GetInstanceProcessDumpResponder(resp *http.Response) (r return } -// GetInstanceProcessDumpSlot description for Get a memory dump of a process by its ID for a specific scaled-out -// instance in a web site. +// GetInstanceProcessDumpSlot get a memory dump of a process by its ID for a specific scaled-out instance in a web +// site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -11984,8 +11969,7 @@ func (client AppsClient) GetInstanceProcessDumpSlotResponder(resp *http.Response return } -// GetInstanceProcessModule description for Get process information by its ID for a specific scaled-out instance in a -// web site. +// GetInstanceProcessModule get process information by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -12076,8 +12060,7 @@ func (client AppsClient) GetInstanceProcessModuleResponder(resp *http.Response) return } -// GetInstanceProcessModuleSlot description for Get process information by its ID for a specific scaled-out instance in -// a web site. +// GetInstanceProcessModuleSlot get process information by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -12171,8 +12154,7 @@ func (client AppsClient) GetInstanceProcessModuleSlotResponder(resp *http.Respon return } -// GetInstanceProcessSlot description for Get process information by its ID for a specific scaled-out instance in a web -// site. +// GetInstanceProcessSlot get process information by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -12264,8 +12246,8 @@ func (client AppsClient) GetInstanceProcessSlotResponder(resp *http.Response) (r return } -// GetMigrateMySQLStatus description for Returns the status of MySql in app migration, if one is active, and whether or -// not MySql in app is enabled +// GetMigrateMySQLStatus returns the status of MySql in app migration, if one is active, and whether or not MySql in +// app is enabled // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -12349,8 +12331,8 @@ func (client AppsClient) GetMigrateMySQLStatusResponder(resp *http.Response) (re return } -// GetMigrateMySQLStatusSlot description for Returns the status of MySql in app migration, if one is active, and -// whether or not MySql in app is enabled +// GetMigrateMySQLStatusSlot returns the status of MySql in app migration, if one is active, and whether or not MySql +// in app is enabled // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -12436,7 +12418,7 @@ func (client AppsClient) GetMigrateMySQLStatusSlotResponder(resp *http.Response) return } -// GetMSDeployLog description for Get the MSDeploy Log for the last MSDeploy operation. +// GetMSDeployLog get the MSDeploy Log for the last MSDeploy operation. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -12520,7 +12502,7 @@ func (client AppsClient) GetMSDeployLogResponder(resp *http.Response) (result MS return } -// GetMSDeployLogSlot description for Get the MSDeploy Log for the last MSDeploy operation. +// GetMSDeployLogSlot get the MSDeploy Log for the last MSDeploy operation. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -12606,7 +12588,7 @@ func (client AppsClient) GetMSDeployLogSlotResponder(resp *http.Response) (resul return } -// GetMSDeployStatus description for Get the status of the last MSDeploy operation. +// GetMSDeployStatus get the status of the last MSDeploy operation. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -12690,7 +12672,7 @@ func (client AppsClient) GetMSDeployStatusResponder(resp *http.Response) (result return } -// GetMSDeployStatusSlot description for Get the status of the last MSDeploy operation. +// GetMSDeployStatusSlot get the status of the last MSDeploy operation. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -12776,8 +12758,7 @@ func (client AppsClient) GetMSDeployStatusSlotResponder(resp *http.Response) (re return } -// GetNetworkTraceOperation description for Gets a named operation for a network trace capturing (or deployment slot, -// if specified). +// GetNetworkTraceOperation gets a named operation for a network trace capturing (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -12863,8 +12844,8 @@ func (client AppsClient) GetNetworkTraceOperationResponder(resp *http.Response) return } -// GetNetworkTraceOperationSlot description for Gets a named operation for a network trace capturing (or deployment -// slot, if specified). +// GetNetworkTraceOperationSlot gets a named operation for a network trace capturing (or deployment slot, if +// specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -12953,8 +12934,8 @@ func (client AppsClient) GetNetworkTraceOperationSlotResponder(resp *http.Respon return } -// GetNetworkTraceOperationSlotV2 description for Gets a named operation for a network trace capturing (or deployment -// slot, if specified). +// GetNetworkTraceOperationSlotV2 gets a named operation for a network trace capturing (or deployment slot, if +// specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -13043,8 +13024,7 @@ func (client AppsClient) GetNetworkTraceOperationSlotV2Responder(resp *http.Resp return } -// GetNetworkTraceOperationV2 description for Gets a named operation for a network trace capturing (or deployment slot, -// if specified). +// GetNetworkTraceOperationV2 gets a named operation for a network trace capturing (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -13130,8 +13110,7 @@ func (client AppsClient) GetNetworkTraceOperationV2Responder(resp *http.Response return } -// GetNetworkTraces description for Gets a named operation for a network trace capturing (or deployment slot, if -// specified). +// GetNetworkTraces gets a named operation for a network trace capturing (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -13217,8 +13196,7 @@ func (client AppsClient) GetNetworkTracesResponder(resp *http.Response) (result return } -// GetNetworkTracesSlot description for Gets a named operation for a network trace capturing (or deployment slot, if -// specified). +// GetNetworkTracesSlot gets a named operation for a network trace capturing (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -13307,8 +13285,7 @@ func (client AppsClient) GetNetworkTracesSlotResponder(resp *http.Response) (res return } -// GetNetworkTracesSlotV2 description for Gets a named operation for a network trace capturing (or deployment slot, if -// specified). +// GetNetworkTracesSlotV2 gets a named operation for a network trace capturing (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -13397,8 +13374,7 @@ func (client AppsClient) GetNetworkTracesSlotV2Responder(resp *http.Response) (r return } -// GetNetworkTracesV2 description for Gets a named operation for a network trace capturing (or deployment slot, if -// specified). +// GetNetworkTracesV2 gets a named operation for a network trace capturing (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -13484,7 +13460,7 @@ func (client AppsClient) GetNetworkTracesV2Responder(resp *http.Response) (resul return } -// GetPremierAddOn description for Gets a named add-on of an app. +// GetPremierAddOn gets a named add-on of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -13570,7 +13546,7 @@ func (client AppsClient) GetPremierAddOnResponder(resp *http.Response) (result P return } -// GetPremierAddOnSlot description for Gets a named add-on of an app. +// GetPremierAddOnSlot gets a named add-on of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -13659,8 +13635,8 @@ func (client AppsClient) GetPremierAddOnSlotResponder(resp *http.Response) (resu return } -// GetPrivateAccess description for Gets data around private site access enablement and authorized Virtual Networks -// that can access the site. +// GetPrivateAccess gets data around private site access enablement and authorized Virtual Networks that can access the +// site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -13744,8 +13720,8 @@ func (client AppsClient) GetPrivateAccessResponder(resp *http.Response) (result return } -// GetPrivateAccessSlot description for Gets data around private site access enablement and authorized Virtual Networks -// that can access the site. +// GetPrivateAccessSlot gets data around private site access enablement and authorized Virtual Networks that can access +// the site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -13831,7 +13807,7 @@ func (client AppsClient) GetPrivateAccessSlotResponder(resp *http.Response) (res return } -// GetPrivateEndpointConnection description for Gets a private endpoint connection +// GetPrivateEndpointConnection gets a private endpoint connection // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the site. @@ -13916,7 +13892,7 @@ func (client AppsClient) GetPrivateEndpointConnectionResponder(resp *http.Respon return } -// GetPrivateLinkResources description for Gets the private link resources +// GetPrivateLinkResources gets the private link resources // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the site. @@ -14000,7 +13976,7 @@ func (client AppsClient) GetPrivateLinkResourcesResponder(resp *http.Response) ( return } -// GetProcess description for Get process information by its ID for a specific scaled-out instance in a web site. +// GetProcess get process information by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -14086,8 +14062,7 @@ func (client AppsClient) GetProcessResponder(resp *http.Response) (result Proces return } -// GetProcessDump description for Get a memory dump of a process by its ID for a specific scaled-out instance in a web -// site. +// GetProcessDump get a memory dump of a process by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -14172,8 +14147,7 @@ func (client AppsClient) GetProcessDumpResponder(resp *http.Response) (result Re return } -// GetProcessDumpSlot description for Get a memory dump of a process by its ID for a specific scaled-out instance in a -// web site. +// GetProcessDumpSlot get a memory dump of a process by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -14261,7 +14235,7 @@ func (client AppsClient) GetProcessDumpSlotResponder(resp *http.Response) (resul return } -// GetProcessModule description for Get process information by its ID for a specific scaled-out instance in a web site. +// GetProcessModule get process information by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -14349,8 +14323,7 @@ func (client AppsClient) GetProcessModuleResponder(resp *http.Response) (result return } -// GetProcessModuleSlot description for Get process information by its ID for a specific scaled-out instance in a web -// site. +// GetProcessModuleSlot get process information by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -14441,7 +14414,7 @@ func (client AppsClient) GetProcessModuleSlotResponder(resp *http.Response) (res return } -// GetProcessSlot description for Get process information by its ID for a specific scaled-out instance in a web site. +// GetProcessSlot get process information by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -14530,7 +14503,7 @@ func (client AppsClient) GetProcessSlotResponder(resp *http.Response) (result Pr return } -// GetPublicCertificate description for Get the named public certificate for an app (or deployment slot, if specified). +// GetPublicCertificate get the named public certificate for an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -14616,8 +14589,7 @@ func (client AppsClient) GetPublicCertificateResponder(resp *http.Response) (res return } -// GetPublicCertificateSlot description for Get the named public certificate for an app (or deployment slot, if -// specified). +// GetPublicCertificateSlot get the named public certificate for an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -14706,7 +14678,7 @@ func (client AppsClient) GetPublicCertificateSlotResponder(resp *http.Response) return } -// GetRelayServiceConnection description for Gets a hybrid connection configuration by its name. +// GetRelayServiceConnection gets a hybrid connection configuration by its name. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -14792,7 +14764,7 @@ func (client AppsClient) GetRelayServiceConnectionResponder(resp *http.Response) return } -// GetRelayServiceConnectionSlot description for Gets a hybrid connection configuration by its name. +// GetRelayServiceConnectionSlot gets a hybrid connection configuration by its name. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -14881,7 +14853,7 @@ func (client AppsClient) GetRelayServiceConnectionSlotResponder(resp *http.Respo return } -// GetScmAllowed description for Returns whether Scm basic auth is allowed on the site or not. +// GetScmAllowed returns whether Scm basic auth is allowed on the site or not. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -14965,7 +14937,7 @@ func (client AppsClient) GetScmAllowedResponder(resp *http.Response) (result Csm return } -// GetSiteExtension description for Get site extension information by its ID for a web site, or a deployment slot. +// GetSiteExtension get site extension information by its ID for a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -15051,7 +15023,7 @@ func (client AppsClient) GetSiteExtensionResponder(resp *http.Response) (result return } -// GetSiteExtensionSlot description for Get site extension information by its ID for a web site, or a deployment slot. +// GetSiteExtensionSlot get site extension information by its ID for a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -15139,7 +15111,7 @@ func (client AppsClient) GetSiteExtensionSlotResponder(resp *http.Response) (res return } -// GetSitePhpErrorLogFlag description for Gets web app's event logs. +// GetSitePhpErrorLogFlag gets web app's event logs. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -15223,7 +15195,7 @@ func (client AppsClient) GetSitePhpErrorLogFlagResponder(resp *http.Response) (r return } -// GetSitePhpErrorLogFlagSlot description for Gets web app's event logs. +// GetSitePhpErrorLogFlagSlot gets web app's event logs. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -15309,7 +15281,7 @@ func (client AppsClient) GetSitePhpErrorLogFlagSlotResponder(resp *http.Response return } -// GetSlot description for Gets the details of a web, mobile, or API app. +// GetSlot gets the details of a web, mobile, or API app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -15395,7 +15367,7 @@ func (client AppsClient) GetSlotResponder(resp *http.Response) (result Site, err return } -// GetSourceControl description for Gets the source control configuration of an app. +// GetSourceControl gets the source control configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -15479,7 +15451,7 @@ func (client AppsClient) GetSourceControlResponder(resp *http.Response) (result return } -// GetSourceControlSlot description for Gets the source control configuration of an app. +// GetSourceControlSlot gets the source control configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -15566,7 +15538,7 @@ func (client AppsClient) GetSourceControlSlotResponder(resp *http.Response) (res return } -// GetSwiftVirtualNetworkConnection description for Gets a Swift Virtual Network connection. +// GetSwiftVirtualNetworkConnection gets a Swift Virtual Network connection. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -15650,7 +15622,7 @@ func (client AppsClient) GetSwiftVirtualNetworkConnectionResponder(resp *http.Re return } -// GetSwiftVirtualNetworkConnectionSlot description for Gets a Swift Virtual Network connection. +// GetSwiftVirtualNetworkConnectionSlot gets a Swift Virtual Network connection. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -15737,7 +15709,7 @@ func (client AppsClient) GetSwiftVirtualNetworkConnectionSlotResponder(resp *htt return } -// GetTriggeredWebJob description for Gets a triggered web job by its ID for an app, or a deployment slot. +// GetTriggeredWebJob gets a triggered web job by its ID for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -15823,8 +15795,7 @@ func (client AppsClient) GetTriggeredWebJobResponder(resp *http.Response) (resul return } -// GetTriggeredWebJobHistory description for Gets a triggered web job's history by its ID for an app, , or a deployment -// slot. +// GetTriggeredWebJobHistory gets a triggered web job's history by its ID for an app, , or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -15912,8 +15883,7 @@ func (client AppsClient) GetTriggeredWebJobHistoryResponder(resp *http.Response) return } -// GetTriggeredWebJobHistorySlot description for Gets a triggered web job's history by its ID for an app, , or a -// deployment slot. +// GetTriggeredWebJobHistorySlot gets a triggered web job's history by its ID for an app, , or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -16003,7 +15973,7 @@ func (client AppsClient) GetTriggeredWebJobHistorySlotResponder(resp *http.Respo return } -// GetTriggeredWebJobSlot description for Gets a triggered web job by its ID for an app, or a deployment slot. +// GetTriggeredWebJobSlot gets a triggered web job by its ID for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -16091,7 +16061,7 @@ func (client AppsClient) GetTriggeredWebJobSlotResponder(resp *http.Response) (r return } -// GetVnetConnection description for Gets a virtual network the app (or deployment slot) is connected to by name. +// GetVnetConnection gets a virtual network the app (or deployment slot) is connected to by name. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -16177,7 +16147,7 @@ func (client AppsClient) GetVnetConnectionResponder(resp *http.Response) (result return } -// GetVnetConnectionGateway description for Gets an app's Virtual Network gateway. +// GetVnetConnectionGateway gets an app's Virtual Network gateway. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -16265,7 +16235,7 @@ func (client AppsClient) GetVnetConnectionGatewayResponder(resp *http.Response) return } -// GetVnetConnectionGatewaySlot description for Gets an app's Virtual Network gateway. +// GetVnetConnectionGatewaySlot gets an app's Virtual Network gateway. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -16356,7 +16326,7 @@ func (client AppsClient) GetVnetConnectionGatewaySlotResponder(resp *http.Respon return } -// GetVnetConnectionSlot description for Gets a virtual network the app (or deployment slot) is connected to by name. +// GetVnetConnectionSlot gets a virtual network the app (or deployment slot) is connected to by name. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -16445,7 +16415,7 @@ func (client AppsClient) GetVnetConnectionSlotResponder(resp *http.Response) (re return } -// GetWebJob description for Get webjob information for an app, or a deployment slot. +// GetWebJob get webjob information for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -16531,7 +16501,7 @@ func (client AppsClient) GetWebJobResponder(resp *http.Response) (result Job, er return } -// GetWebJobSlot description for Get webjob information for an app, or a deployment slot. +// GetWebJobSlot get webjob information for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -16620,7 +16590,7 @@ func (client AppsClient) GetWebJobSlotResponder(resp *http.Response) (result Job return } -// GetWebSiteContainerLogs description for Gets the last lines of docker logs for the given site +// GetWebSiteContainerLogs gets the last lines of docker logs for the given site // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -16703,7 +16673,7 @@ func (client AppsClient) GetWebSiteContainerLogsResponder(resp *http.Response) ( return } -// GetWebSiteContainerLogsSlot description for Gets the last lines of docker logs for the given site +// GetWebSiteContainerLogsSlot gets the last lines of docker logs for the given site // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -16788,7 +16758,7 @@ func (client AppsClient) GetWebSiteContainerLogsSlotResponder(resp *http.Respons return } -// InstallSiteExtension description for Install site extension on a web site, or a deployment slot. +// InstallSiteExtension install site extension on a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -16877,7 +16847,7 @@ func (client AppsClient) InstallSiteExtensionResponder(resp *http.Response) (res return } -// InstallSiteExtensionSlot description for Install site extension on a web site, or a deployment slot. +// InstallSiteExtensionSlot install site extension on a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -16968,7 +16938,7 @@ func (client AppsClient) InstallSiteExtensionSlotResponder(resp *http.Response) return } -// IsCloneable description for Shows whether an app can be cloned to another resource group or subscription. +// IsCloneable shows whether an app can be cloned to another resource group or subscription. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -17052,7 +17022,7 @@ func (client AppsClient) IsCloneableResponder(resp *http.Response) (result SiteC return } -// IsCloneableSlot description for Shows whether an app can be cloned to another resource group or subscription. +// IsCloneableSlot shows whether an app can be cloned to another resource group or subscription. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -17138,7 +17108,7 @@ func (client AppsClient) IsCloneableSlotResponder(resp *http.Response) (result S return } -// List description for Get all apps for a subscription. +// List get all apps for a subscription. func (client AppsClient) List(ctx context.Context) (result AppCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/AppsClient.List") @@ -17251,7 +17221,7 @@ func (client AppsClient) ListComplete(ctx context.Context) (result AppCollection return } -// ListApplicationSettings description for Gets the application settings of an app. +// ListApplicationSettings gets the application settings of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -17335,7 +17305,7 @@ func (client AppsClient) ListApplicationSettingsResponder(resp *http.Response) ( return } -// ListApplicationSettingsSlot description for Gets the application settings of an app. +// ListApplicationSettingsSlot gets the application settings of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -17422,7 +17392,7 @@ func (client AppsClient) ListApplicationSettingsSlotResponder(resp *http.Respons return } -// ListAzureStorageAccounts description for Gets the Azure storage account configurations of an app. +// ListAzureStorageAccounts gets the Azure storage account configurations of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -17506,7 +17476,7 @@ func (client AppsClient) ListAzureStorageAccountsResponder(resp *http.Response) return } -// ListAzureStorageAccountsSlot description for Gets the Azure storage account configurations of an app. +// ListAzureStorageAccountsSlot gets the Azure storage account configurations of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -17593,7 +17563,7 @@ func (client AppsClient) ListAzureStorageAccountsSlotResponder(resp *http.Respon return } -// ListBackups description for Gets existing backups of an app. +// ListBackups gets existing backups of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -17719,7 +17689,7 @@ func (client AppsClient) ListBackupsComplete(ctx context.Context, resourceGroupN return } -// ListBackupsSlot description for Gets existing backups of an app. +// ListBackupsSlot gets existing backups of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -17848,9 +17818,9 @@ func (client AppsClient) ListBackupsSlotComplete(ctx context.Context, resourceGr return } -// ListBackupStatusSecrets description for Gets status of a web app backup that may be in progress, including secrets -// associated with the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup -// if a new URL is passed in the request body. +// ListBackupStatusSecrets gets status of a web app backup that may be in progress, including secrets associated with +// the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup if a new URL is +// passed in the request body. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -17948,9 +17918,9 @@ func (client AppsClient) ListBackupStatusSecretsResponder(resp *http.Response) ( return } -// ListBackupStatusSecretsSlot description for Gets status of a web app backup that may be in progress, including -// secrets associated with the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for -// the backup if a new URL is passed in the request body. +// ListBackupStatusSecretsSlot gets status of a web app backup that may be in progress, including secrets associated +// with the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup if a new +// URL is passed in the request body. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -18050,7 +18020,7 @@ func (client AppsClient) ListBackupStatusSecretsSlotResponder(resp *http.Respons return } -// ListByResourceGroup description for Gets all web, mobile, and API apps in the specified resource group. +// ListByResourceGroup gets all web, mobile, and API apps in the specified resource group. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // includeSlots - specify true to include deployment slots in results. The default is false, @@ -18179,7 +18149,7 @@ func (client AppsClient) ListByResourceGroupComplete(ctx context.Context, resour return } -// ListConfigurations description for List the configurations of an app +// ListConfigurations list the configurations of an app // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -18305,8 +18275,8 @@ func (client AppsClient) ListConfigurationsComplete(ctx context.Context, resourc return } -// ListConfigurationSnapshotInfo description for Gets a list of web app configuration snapshots identifiers. Each -// element of the list contains a timestamp and the ID of the snapshot. +// ListConfigurationSnapshotInfo gets a list of web app configuration snapshots identifiers. Each element of the list +// contains a timestamp and the ID of the snapshot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -18432,8 +18402,8 @@ func (client AppsClient) ListConfigurationSnapshotInfoComplete(ctx context.Conte return } -// ListConfigurationSnapshotInfoSlot description for Gets a list of web app configuration snapshots identifiers. Each -// element of the list contains a timestamp and the ID of the snapshot. +// ListConfigurationSnapshotInfoSlot gets a list of web app configuration snapshots identifiers. Each element of the +// list contains a timestamp and the ID of the snapshot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -18562,7 +18532,7 @@ func (client AppsClient) ListConfigurationSnapshotInfoSlotComplete(ctx context.C return } -// ListConfigurationsSlot description for List the configurations of an app +// ListConfigurationsSlot list the configurations of an app // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -18691,7 +18661,7 @@ func (client AppsClient) ListConfigurationsSlotComplete(ctx context.Context, res return } -// ListConnectionStrings description for Gets the connection strings of an app. +// ListConnectionStrings gets the connection strings of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -18775,7 +18745,7 @@ func (client AppsClient) ListConnectionStringsResponder(resp *http.Response) (re return } -// ListConnectionStringsSlot description for Gets the connection strings of an app. +// ListConnectionStringsSlot gets the connection strings of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -18862,7 +18832,7 @@ func (client AppsClient) ListConnectionStringsSlotResponder(resp *http.Response) return } -// ListContinuousWebJobs description for List continuous web jobs for an app, or a deployment slot. +// ListContinuousWebJobs list continuous web jobs for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -18988,7 +18958,7 @@ func (client AppsClient) ListContinuousWebJobsComplete(ctx context.Context, reso return } -// ListContinuousWebJobsSlot description for List continuous web jobs for an app, or a deployment slot. +// ListContinuousWebJobsSlot list continuous web jobs for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -19117,7 +19087,7 @@ func (client AppsClient) ListContinuousWebJobsSlotComplete(ctx context.Context, return } -// ListDeploymentLog description for List deployment log for specific deployment for an app, or a deployment slot. +// ListDeploymentLog list deployment log for specific deployment for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -19204,7 +19174,7 @@ func (client AppsClient) ListDeploymentLogResponder(resp *http.Response) (result return } -// ListDeploymentLogSlot description for List deployment log for specific deployment for an app, or a deployment slot. +// ListDeploymentLogSlot list deployment log for specific deployment for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -19294,7 +19264,7 @@ func (client AppsClient) ListDeploymentLogSlotResponder(resp *http.Response) (re return } -// ListDeployments description for List deployments for an app, or a deployment slot. +// ListDeployments list deployments for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -19420,7 +19390,7 @@ func (client AppsClient) ListDeploymentsComplete(ctx context.Context, resourceGr return } -// ListDeploymentsSlot description for List deployments for an app, or a deployment slot. +// ListDeploymentsSlot list deployments for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -19549,7 +19519,7 @@ func (client AppsClient) ListDeploymentsSlotComplete(ctx context.Context, resour return } -// ListDomainOwnershipIdentifiers description for Lists ownership identifiers for domain associated with web app. +// ListDomainOwnershipIdentifiers lists ownership identifiers for domain associated with web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -19675,7 +19645,7 @@ func (client AppsClient) ListDomainOwnershipIdentifiersComplete(ctx context.Cont return } -// ListDomainOwnershipIdentifiersSlot description for Lists ownership identifiers for domain associated with web app. +// ListDomainOwnershipIdentifiersSlot lists ownership identifiers for domain associated with web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -19804,7 +19774,7 @@ func (client AppsClient) ListDomainOwnershipIdentifiersSlotComplete(ctx context. return } -// ListFunctionKeys description for Get function keys for a function in a web site, or a deployment slot. +// ListFunctionKeys get function keys for a function in a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -19890,7 +19860,7 @@ func (client AppsClient) ListFunctionKeysResponder(resp *http.Response) (result return } -// ListFunctionKeysSlot description for Get function keys for a function in a web site, or a deployment slot. +// ListFunctionKeysSlot get function keys for a function in a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -19978,7 +19948,7 @@ func (client AppsClient) ListFunctionKeysSlotResponder(resp *http.Response) (res return } -// ListFunctions description for List the functions for a web site, or a deployment slot. +// ListFunctions list the functions for a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -20104,7 +20074,7 @@ func (client AppsClient) ListFunctionsComplete(ctx context.Context, resourceGrou return } -// ListFunctionSecrets description for Get function secrets for a function in a web site, or a deployment slot. +// ListFunctionSecrets get function secrets for a function in a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -20190,7 +20160,7 @@ func (client AppsClient) ListFunctionSecretsResponder(resp *http.Response) (resu return } -// ListFunctionSecretsSlot description for Get function secrets for a function in a web site, or a deployment slot. +// ListFunctionSecretsSlot get function secrets for a function in a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -20278,7 +20248,7 @@ func (client AppsClient) ListFunctionSecretsSlotResponder(resp *http.Response) ( return } -// ListHostKeys description for Get host secrets for a function app. +// ListHostKeys get host secrets for a function app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -20362,7 +20332,7 @@ func (client AppsClient) ListHostKeysResponder(resp *http.Response) (result Host return } -// ListHostKeysSlot description for Get host secrets for a function app. +// ListHostKeysSlot get host secrets for a function app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -20448,7 +20418,7 @@ func (client AppsClient) ListHostKeysSlotResponder(resp *http.Response) (result return } -// ListHostNameBindings description for Get hostname bindings for an app or a deployment slot. +// ListHostNameBindings get hostname bindings for an app or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -20574,7 +20544,7 @@ func (client AppsClient) ListHostNameBindingsComplete(ctx context.Context, resou return } -// ListHostNameBindingsSlot description for Get hostname bindings for an app or a deployment slot. +// ListHostNameBindingsSlot get hostname bindings for an app or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -20703,7 +20673,7 @@ func (client AppsClient) ListHostNameBindingsSlotComplete(ctx context.Context, r return } -// ListHybridConnections description for Retrieves all Service Bus Hybrid Connections used by this Web App. +// ListHybridConnections retrieves all Service Bus Hybrid Connections used by this Web App. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -20787,7 +20757,7 @@ func (client AppsClient) ListHybridConnectionsResponder(resp *http.Response) (re return } -// ListHybridConnectionsSlot description for Retrieves all Service Bus Hybrid Connections used by this Web App. +// ListHybridConnectionsSlot retrieves all Service Bus Hybrid Connections used by this Web App. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -20873,7 +20843,7 @@ func (client AppsClient) ListHybridConnectionsSlotResponder(resp *http.Response) return } -// ListInstanceFunctionsSlot description for List the functions for a web site, or a deployment slot. +// ListInstanceFunctionsSlot list the functions for a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -21001,7 +20971,7 @@ func (client AppsClient) ListInstanceFunctionsSlotComplete(ctx context.Context, return } -// ListInstanceIdentifiers description for Gets all scale-out instances of an app. +// ListInstanceIdentifiers gets all scale-out instances of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -21127,7 +21097,7 @@ func (client AppsClient) ListInstanceIdentifiersComplete(ctx context.Context, re return } -// ListInstanceIdentifiersSlot description for Gets all scale-out instances of an app. +// ListInstanceIdentifiersSlot gets all scale-out instances of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -21255,8 +21225,8 @@ func (client AppsClient) ListInstanceIdentifiersSlotComplete(ctx context.Context return } -// ListInstanceProcesses description for Get list of processes for a web site, or a deployment slot, or for a specific -// scaled-out instance in a web site. +// ListInstanceProcesses get list of processes for a web site, or a deployment slot, or for a specific scaled-out +// instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -21385,8 +21355,8 @@ func (client AppsClient) ListInstanceProcessesComplete(ctx context.Context, reso return } -// ListInstanceProcessesSlot description for Get list of processes for a web site, or a deployment slot, or for a -// specific scaled-out instance in a web site. +// ListInstanceProcessesSlot get list of processes for a web site, or a deployment slot, or for a specific scaled-out +// instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -21518,8 +21488,8 @@ func (client AppsClient) ListInstanceProcessesSlotComplete(ctx context.Context, return } -// ListInstanceProcessModules description for List module information for a process by its ID for a specific scaled-out -// instance in a web site. +// ListInstanceProcessModules list module information for a process by its ID for a specific scaled-out instance in a +// web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -21650,8 +21620,8 @@ func (client AppsClient) ListInstanceProcessModulesComplete(ctx context.Context, return } -// ListInstanceProcessModulesSlot description for List module information for a process by its ID for a specific -// scaled-out instance in a web site. +// ListInstanceProcessModulesSlot list module information for a process by its ID for a specific scaled-out instance in +// a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -21785,8 +21755,7 @@ func (client AppsClient) ListInstanceProcessModulesSlotComplete(ctx context.Cont return } -// ListInstanceProcessThreads description for List the threads in a process by its ID for a specific scaled-out -// instance in a web site. +// ListInstanceProcessThreads list the threads in a process by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -21917,8 +21886,8 @@ func (client AppsClient) ListInstanceProcessThreadsComplete(ctx context.Context, return } -// ListInstanceProcessThreadsSlot description for List the threads in a process by its ID for a specific scaled-out -// instance in a web site. +// ListInstanceProcessThreadsSlot list the threads in a process by its ID for a specific scaled-out instance in a web +// site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -22052,7 +22021,7 @@ func (client AppsClient) ListInstanceProcessThreadsSlotComplete(ctx context.Cont return } -// ListMetadata description for Gets the metadata of an app. +// ListMetadata gets the metadata of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -22136,7 +22105,7 @@ func (client AppsClient) ListMetadataResponder(resp *http.Response) (result Stri return } -// ListMetadataSlot description for Gets the metadata of an app. +// ListMetadataSlot gets the metadata of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -22223,7 +22192,7 @@ func (client AppsClient) ListMetadataSlotResponder(resp *http.Response) (result return } -// ListNetworkFeatures description for Gets all network features used by the app (or deployment slot, if specified). +// ListNetworkFeatures gets all network features used by the app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -22309,8 +22278,7 @@ func (client AppsClient) ListNetworkFeaturesResponder(resp *http.Response) (resu return } -// ListNetworkFeaturesSlot description for Gets all network features used by the app (or deployment slot, if -// specified). +// ListNetworkFeaturesSlot gets all network features used by the app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -22399,7 +22367,7 @@ func (client AppsClient) ListNetworkFeaturesSlotResponder(resp *http.Response) ( return } -// ListPerfMonCounters description for Gets perfmon counters for web app. +// ListPerfMonCounters gets perfmon counters for web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -22531,7 +22499,7 @@ func (client AppsClient) ListPerfMonCountersComplete(ctx context.Context, resour return } -// ListPerfMonCountersSlot description for Gets perfmon counters for web app. +// ListPerfMonCountersSlot gets perfmon counters for web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -22665,7 +22633,7 @@ func (client AppsClient) ListPerfMonCountersSlotComplete(ctx context.Context, re return } -// ListPremierAddOns description for Gets the premier add-ons of an app. +// ListPremierAddOns gets the premier add-ons of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -22749,7 +22717,7 @@ func (client AppsClient) ListPremierAddOnsResponder(resp *http.Response) (result return } -// ListPremierAddOnsSlot description for Gets the premier add-ons of an app. +// ListPremierAddOnsSlot gets the premier add-ons of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -22836,8 +22804,8 @@ func (client AppsClient) ListPremierAddOnsSlotResponder(resp *http.Response) (re return } -// ListProcesses description for Get list of processes for a web site, or a deployment slot, or for a specific -// scaled-out instance in a web site. +// ListProcesses get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a +// web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -22963,8 +22931,8 @@ func (client AppsClient) ListProcessesComplete(ctx context.Context, resourceGrou return } -// ListProcessesSlot description for Get list of processes for a web site, or a deployment slot, or for a specific -// scaled-out instance in a web site. +// ListProcessesSlot get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance +// in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -23093,8 +23061,7 @@ func (client AppsClient) ListProcessesSlotComplete(ctx context.Context, resource return } -// ListProcessModules description for List module information for a process by its ID for a specific scaled-out -// instance in a web site. +// ListProcessModules list module information for a process by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -23222,8 +23189,8 @@ func (client AppsClient) ListProcessModulesComplete(ctx context.Context, resourc return } -// ListProcessModulesSlot description for List module information for a process by its ID for a specific scaled-out -// instance in a web site. +// ListProcessModulesSlot list module information for a process by its ID for a specific scaled-out instance in a web +// site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -23354,8 +23321,7 @@ func (client AppsClient) ListProcessModulesSlotComplete(ctx context.Context, res return } -// ListProcessThreads description for List the threads in a process by its ID for a specific scaled-out instance in a -// web site. +// ListProcessThreads list the threads in a process by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -23483,8 +23449,7 @@ func (client AppsClient) ListProcessThreadsComplete(ctx context.Context, resourc return } -// ListProcessThreadsSlot description for List the threads in a process by its ID for a specific scaled-out instance in -// a web site. +// ListProcessThreadsSlot list the threads in a process by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -23615,7 +23580,7 @@ func (client AppsClient) ListProcessThreadsSlotComplete(ctx context.Context, res return } -// ListPublicCertificates description for Get public certificates for an app or a deployment slot. +// ListPublicCertificates get public certificates for an app or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -23741,7 +23706,7 @@ func (client AppsClient) ListPublicCertificatesComplete(ctx context.Context, res return } -// ListPublicCertificatesSlot description for Get public certificates for an app or a deployment slot. +// ListPublicCertificatesSlot get public certificates for an app or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -23870,7 +23835,7 @@ func (client AppsClient) ListPublicCertificatesSlotComplete(ctx context.Context, return } -// ListPublishingCredentials description for Gets the Git/FTP publishing credentials of an app. +// ListPublishingCredentials gets the Git/FTP publishing credentials of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -23957,7 +23922,7 @@ func (client AppsClient) ListPublishingCredentialsResponder(resp *http.Response) return } -// ListPublishingCredentialsSlot description for Gets the Git/FTP publishing credentials of an app. +// ListPublishingCredentialsSlot gets the Git/FTP publishing credentials of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -24047,8 +24012,7 @@ func (client AppsClient) ListPublishingCredentialsSlotResponder(resp *http.Respo return } -// ListPublishingProfileXMLWithSecrets description for Gets the publishing profile for an app (or deployment slot, if -// specified). +// ListPublishingProfileXMLWithSecrets gets the publishing profile for an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -24135,8 +24099,7 @@ func (client AppsClient) ListPublishingProfileXMLWithSecretsResponder(resp *http return } -// ListPublishingProfileXMLWithSecretsSlot description for Gets the publishing profile for an app (or deployment slot, -// if specified). +// ListPublishingProfileXMLWithSecretsSlot gets the publishing profile for an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -24226,8 +24189,7 @@ func (client AppsClient) ListPublishingProfileXMLWithSecretsSlotResponder(resp * return } -// ListRelayServiceConnections description for Gets hybrid connections configured for an app (or deployment slot, if -// specified). +// ListRelayServiceConnections gets hybrid connections configured for an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -24311,8 +24273,7 @@ func (client AppsClient) ListRelayServiceConnectionsResponder(resp *http.Respons return } -// ListRelayServiceConnectionsSlot description for Gets hybrid connections configured for an app (or deployment slot, -// if specified). +// ListRelayServiceConnectionsSlot gets hybrid connections configured for an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -24399,7 +24360,7 @@ func (client AppsClient) ListRelayServiceConnectionsSlotResponder(resp *http.Res return } -// ListSiteBackups description for Gets existing backups of an app. +// ListSiteBackups gets existing backups of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -24525,7 +24486,7 @@ func (client AppsClient) ListSiteBackupsComplete(ctx context.Context, resourceGr return } -// ListSiteBackupsSlot description for Gets existing backups of an app. +// ListSiteBackupsSlot gets existing backups of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -24654,7 +24615,7 @@ func (client AppsClient) ListSiteBackupsSlotComplete(ctx context.Context, resour return } -// ListSiteExtensions description for Get list of siteextensions for a web site, or a deployment slot. +// ListSiteExtensions get list of siteextensions for a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -24780,7 +24741,7 @@ func (client AppsClient) ListSiteExtensionsComplete(ctx context.Context, resourc return } -// ListSiteExtensionsSlot description for Get list of siteextensions for a web site, or a deployment slot. +// ListSiteExtensionsSlot get list of siteextensions for a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -24908,7 +24869,7 @@ func (client AppsClient) ListSiteExtensionsSlotComplete(ctx context.Context, res return } -// ListSitePushSettings description for Gets the Push settings associated with web app. +// ListSitePushSettings gets the Push settings associated with web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -24992,7 +24953,7 @@ func (client AppsClient) ListSitePushSettingsResponder(resp *http.Response) (res return } -// ListSitePushSettingsSlot description for Gets the Push settings associated with web app. +// ListSitePushSettingsSlot gets the Push settings associated with web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -25078,8 +25039,8 @@ func (client AppsClient) ListSitePushSettingsSlotResponder(resp *http.Response) return } -// ListSlotConfigurationNames description for Gets the names of app settings and connection strings that stick to the -// slot (not swapped). +// ListSlotConfigurationNames gets the names of app settings and connection strings that stick to the slot (not +// swapped). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -25163,8 +25124,7 @@ func (client AppsClient) ListSlotConfigurationNamesResponder(resp *http.Response return } -// ListSlotDifferencesFromProduction description for Get the difference in configuration settings between two web app -// slots. +// ListSlotDifferencesFromProduction get the difference in configuration settings between two web app slots. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -25296,7 +25256,7 @@ func (client AppsClient) ListSlotDifferencesFromProductionComplete(ctx context.C return } -// ListSlotDifferencesSlot description for Get the difference in configuration settings between two web app slots. +// ListSlotDifferencesSlot get the difference in configuration settings between two web app slots. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -25430,7 +25390,7 @@ func (client AppsClient) ListSlotDifferencesSlotComplete(ctx context.Context, re return } -// ListSlots description for Gets an app's deployment slots. +// ListSlots gets an app's deployment slots. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -25556,7 +25516,7 @@ func (client AppsClient) ListSlotsComplete(ctx context.Context, resourceGroupNam return } -// ListSnapshots description for Returns all Snapshots to the user. +// ListSnapshots returns all Snapshots to the user. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - website Name. @@ -25682,7 +25642,7 @@ func (client AppsClient) ListSnapshotsComplete(ctx context.Context, resourceGrou return } -// ListSnapshotsFromDRSecondary description for Returns all Snapshots to the user from DRSecondary endpoint. +// ListSnapshotsFromDRSecondary returns all Snapshots to the user from DRSecondary endpoint. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - website Name. @@ -25808,7 +25768,7 @@ func (client AppsClient) ListSnapshotsFromDRSecondaryComplete(ctx context.Contex return } -// ListSnapshotsFromDRSecondarySlot description for Returns all Snapshots to the user from DRSecondary endpoint. +// ListSnapshotsFromDRSecondarySlot returns all Snapshots to the user from DRSecondary endpoint. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - website Name. @@ -25936,7 +25896,7 @@ func (client AppsClient) ListSnapshotsFromDRSecondarySlotComplete(ctx context.Co return } -// ListSnapshotsSlot description for Returns all Snapshots to the user. +// ListSnapshotsSlot returns all Snapshots to the user. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - website Name. @@ -26064,7 +26024,7 @@ func (client AppsClient) ListSnapshotsSlotComplete(ctx context.Context, resource return } -// ListSyncFunctionTriggers description for This is to allow calling via powershell and ARM template. +// ListSyncFunctionTriggers this is to allow calling via powershell and ARM template. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -26148,7 +26108,7 @@ func (client AppsClient) ListSyncFunctionTriggersResponder(resp *http.Response) return } -// ListSyncFunctionTriggersSlot description for This is to allow calling via powershell and ARM template. +// ListSyncFunctionTriggersSlot this is to allow calling via powershell and ARM template. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -26234,7 +26194,7 @@ func (client AppsClient) ListSyncFunctionTriggersSlotResponder(resp *http.Respon return } -// ListSyncStatus description for This is to allow calling via powershell and ARM template. +// ListSyncStatus this is to allow calling via powershell and ARM template. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -26317,7 +26277,7 @@ func (client AppsClient) ListSyncStatusResponder(resp *http.Response) (result au return } -// ListSyncStatusSlot description for This is to allow calling via powershell and ARM template. +// ListSyncStatusSlot this is to allow calling via powershell and ARM template. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -26402,7 +26362,7 @@ func (client AppsClient) ListSyncStatusSlotResponder(resp *http.Response) (resul return } -// ListTriggeredWebJobHistory description for List a triggered web job's history for an app, or a deployment slot. +// ListTriggeredWebJobHistory list a triggered web job's history for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -26530,7 +26490,7 @@ func (client AppsClient) ListTriggeredWebJobHistoryComplete(ctx context.Context, return } -// ListTriggeredWebJobHistorySlot description for List a triggered web job's history for an app, or a deployment slot. +// ListTriggeredWebJobHistorySlot list a triggered web job's history for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -26660,7 +26620,7 @@ func (client AppsClient) ListTriggeredWebJobHistorySlotComplete(ctx context.Cont return } -// ListTriggeredWebJobs description for List triggered web jobs for an app, or a deployment slot. +// ListTriggeredWebJobs list triggered web jobs for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -26786,7 +26746,7 @@ func (client AppsClient) ListTriggeredWebJobsComplete(ctx context.Context, resou return } -// ListTriggeredWebJobsSlot description for List triggered web jobs for an app, or a deployment slot. +// ListTriggeredWebJobsSlot list triggered web jobs for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -26915,7 +26875,7 @@ func (client AppsClient) ListTriggeredWebJobsSlotComplete(ctx context.Context, r return } -// ListUsages description for Gets the quota usage information of an app (or deployment slot, if specified). +// ListUsages gets the quota usage information of an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -27047,7 +27007,7 @@ func (client AppsClient) ListUsagesComplete(ctx context.Context, resourceGroupNa return } -// ListUsagesSlot description for Gets the quota usage information of an app (or deployment slot, if specified). +// ListUsagesSlot gets the quota usage information of an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -27182,7 +27142,7 @@ func (client AppsClient) ListUsagesSlotComplete(ctx context.Context, resourceGro return } -// ListVnetConnections description for Gets the virtual networks the app (or deployment slot) is connected to. +// ListVnetConnections gets the virtual networks the app (or deployment slot) is connected to. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -27266,7 +27226,7 @@ func (client AppsClient) ListVnetConnectionsResponder(resp *http.Response) (resu return } -// ListVnetConnectionsSlot description for Gets the virtual networks the app (or deployment slot) is connected to. +// ListVnetConnectionsSlot gets the virtual networks the app (or deployment slot) is connected to. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -27353,7 +27313,7 @@ func (client AppsClient) ListVnetConnectionsSlotResponder(resp *http.Response) ( return } -// ListWebJobs description for List webjobs for an app, or a deployment slot. +// ListWebJobs list webjobs for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -27479,7 +27439,7 @@ func (client AppsClient) ListWebJobsComplete(ctx context.Context, resourceGroupN return } -// ListWebJobsSlot description for List webjobs for an app, or a deployment slot. +// ListWebJobsSlot list webjobs for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -27608,7 +27568,7 @@ func (client AppsClient) ListWebJobsSlotComplete(ctx context.Context, resourceGr return } -// MigrateMySQL description for Migrates a local (in-app) MySql database to a remote MySql database. +// MigrateMySQL migrates a local (in-app) MySql database to a remote MySql database. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -27701,7 +27661,7 @@ func (client AppsClient) MigrateMySQLResponder(resp *http.Response) (result Oper return } -// MigrateStorage description for Restores a web app. +// MigrateStorage restores a web app. // Parameters: // subscriptionName - azure subscription. // resourceGroupName - name of the resource group to which the resource belongs. @@ -27798,8 +27758,8 @@ func (client AppsClient) MigrateStorageResponder(resp *http.Response) (result St return } -// PutPrivateAccessVnet description for Sets data around private site access enablement and authorized Virtual Networks -// that can access the site. +// PutPrivateAccessVnet sets data around private site access enablement and authorized Virtual Networks that can access +// the site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -27886,8 +27846,8 @@ func (client AppsClient) PutPrivateAccessVnetResponder(resp *http.Response) (res return } -// PutPrivateAccessVnetSlot description for Sets data around private site access enablement and authorized Virtual -// Networks that can access the site. +// PutPrivateAccessVnetSlot sets data around private site access enablement and authorized Virtual Networks that can +// access the site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -27976,7 +27936,7 @@ func (client AppsClient) PutPrivateAccessVnetSlotResponder(resp *http.Response) return } -// RecoverSiteConfigurationSnapshot description for Reverts the configuration of an app to a previous snapshot. +// RecoverSiteConfigurationSnapshot reverts the configuration of an app to a previous snapshot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -28061,7 +28021,7 @@ func (client AppsClient) RecoverSiteConfigurationSnapshotResponder(resp *http.Re return } -// RecoverSiteConfigurationSnapshotSlot description for Reverts the configuration of an app to a previous snapshot. +// RecoverSiteConfigurationSnapshotSlot reverts the configuration of an app to a previous snapshot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -28149,8 +28109,8 @@ func (client AppsClient) RecoverSiteConfigurationSnapshotSlotResponder(resp *htt return } -// ResetProductionSlotConfig description for Resets the configuration settings of the current slot if they were -// previously modified by calling the API with POST. +// ResetProductionSlotConfig resets the configuration settings of the current slot if they were previously modified by +// calling the API with POST. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -28233,8 +28193,8 @@ func (client AppsClient) ResetProductionSlotConfigResponder(resp *http.Response) return } -// ResetSlotConfigurationSlot description for Resets the configuration settings of the current slot if they were -// previously modified by calling the API with POST. +// ResetSlotConfigurationSlot resets the configuration settings of the current slot if they were previously modified by +// calling the API with POST. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -28320,7 +28280,7 @@ func (client AppsClient) ResetSlotConfigurationSlotResponder(resp *http.Response return } -// Restart description for Restarts an app (or deployment slot, if specified). +// Restart restarts an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -28413,7 +28373,7 @@ func (client AppsClient) RestartResponder(resp *http.Response) (result autorest. return } -// RestartSlot description for Restarts an app (or deployment slot, if specified). +// RestartSlot restarts an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -28508,7 +28468,7 @@ func (client AppsClient) RestartSlotResponder(resp *http.Response) (result autor return } -// Restore description for Restores a specific backup to another app (or deployment slot, if specified). +// Restore restores a specific backup to another app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -28604,7 +28564,7 @@ func (client AppsClient) RestoreResponder(resp *http.Response) (result autorest. return } -// RestoreFromBackupBlob description for Restores an app from a backup blob in Azure Storage. +// RestoreFromBackupBlob restores an app from a backup blob in Azure Storage. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -28698,7 +28658,7 @@ func (client AppsClient) RestoreFromBackupBlobResponder(resp *http.Response) (re return } -// RestoreFromBackupBlobSlot description for Restores an app from a backup blob in Azure Storage. +// RestoreFromBackupBlobSlot restores an app from a backup blob in Azure Storage. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -28795,7 +28755,7 @@ func (client AppsClient) RestoreFromBackupBlobSlotResponder(resp *http.Response) return } -// RestoreFromDeletedApp description for Restores a deleted web app to this web app. +// RestoreFromDeletedApp restores a deleted web app to this web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -28884,7 +28844,7 @@ func (client AppsClient) RestoreFromDeletedAppResponder(resp *http.Response) (re return } -// RestoreFromDeletedAppSlot description for Restores a deleted web app to this web app. +// RestoreFromDeletedAppSlot restores a deleted web app to this web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -28975,7 +28935,7 @@ func (client AppsClient) RestoreFromDeletedAppSlotResponder(resp *http.Response) return } -// RestoreSlot description for Restores a specific backup to another app (or deployment slot, if specified). +// RestoreSlot restores a specific backup to another app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -29074,7 +29034,7 @@ func (client AppsClient) RestoreSlotResponder(resp *http.Response) (result autor return } -// RestoreSnapshot description for Restores a web app from a snapshot. +// RestoreSnapshot restores a web app from a snapshot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -29167,7 +29127,7 @@ func (client AppsClient) RestoreSnapshotResponder(resp *http.Response) (result a return } -// RestoreSnapshotSlot description for Restores a web app from a snapshot. +// RestoreSnapshotSlot restores a web app from a snapshot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -29262,7 +29222,7 @@ func (client AppsClient) RestoreSnapshotSlotResponder(resp *http.Response) (resu return } -// RunTriggeredWebJob description for Run a triggered web job for an app, or a deployment slot. +// RunTriggeredWebJob run a triggered web job for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -29347,7 +29307,7 @@ func (client AppsClient) RunTriggeredWebJobResponder(resp *http.Response) (resul return } -// RunTriggeredWebJobSlot description for Run a triggered web job for an app, or a deployment slot. +// RunTriggeredWebJobSlot run a triggered web job for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -29434,7 +29394,7 @@ func (client AppsClient) RunTriggeredWebJobSlotResponder(resp *http.Response) (r return } -// Start description for Starts an app (or deployment slot, if specified). +// Start starts an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -29517,7 +29477,7 @@ func (client AppsClient) StartResponder(resp *http.Response) (result autorest.Re return } -// StartContinuousWebJob description for Start a continuous web job for an app, or a deployment slot. +// StartContinuousWebJob start a continuous web job for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -29602,7 +29562,7 @@ func (client AppsClient) StartContinuousWebJobResponder(resp *http.Response) (re return } -// StartContinuousWebJobSlot description for Start a continuous web job for an app, or a deployment slot. +// StartContinuousWebJobSlot start a continuous web job for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -29690,7 +29650,7 @@ func (client AppsClient) StartContinuousWebJobSlotResponder(resp *http.Response) return } -// StartNetworkTrace description for Start capturing network packets for the site. +// StartNetworkTrace start capturing network packets for the site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -29789,7 +29749,7 @@ func (client AppsClient) StartNetworkTraceResponder(resp *http.Response) (result return } -// StartNetworkTraceSlot description for Start capturing network packets for the site. +// StartNetworkTraceSlot start capturing network packets for the site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -29890,7 +29850,7 @@ func (client AppsClient) StartNetworkTraceSlotResponder(resp *http.Response) (re return } -// StartSlot description for Starts an app (or deployment slot, if specified). +// StartSlot starts an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -29975,7 +29935,7 @@ func (client AppsClient) StartSlotResponder(resp *http.Response) (result autores return } -// StartWebSiteNetworkTrace description for Start capturing network packets for the site (To be deprecated). +// StartWebSiteNetworkTrace start capturing network packets for the site (To be deprecated). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -30071,7 +30031,7 @@ func (client AppsClient) StartWebSiteNetworkTraceResponder(resp *http.Response) return } -// StartWebSiteNetworkTraceOperation description for Start capturing network packets for the site. +// StartWebSiteNetworkTraceOperation start capturing network packets for the site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -30170,7 +30130,7 @@ func (client AppsClient) StartWebSiteNetworkTraceOperationResponder(resp *http.R return } -// StartWebSiteNetworkTraceOperationSlot description for Start capturing network packets for the site. +// StartWebSiteNetworkTraceOperationSlot start capturing network packets for the site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -30271,7 +30231,7 @@ func (client AppsClient) StartWebSiteNetworkTraceOperationSlotResponder(resp *ht return } -// StartWebSiteNetworkTraceSlot description for Start capturing network packets for the site (To be deprecated). +// StartWebSiteNetworkTraceSlot start capturing network packets for the site (To be deprecated). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -30369,7 +30329,7 @@ func (client AppsClient) StartWebSiteNetworkTraceSlotResponder(resp *http.Respon return } -// Stop description for Stops an app (or deployment slot, if specified). +// Stop stops an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -30452,7 +30412,7 @@ func (client AppsClient) StopResponder(resp *http.Response) (result autorest.Res return } -// StopContinuousWebJob description for Stop a continuous web job for an app, or a deployment slot. +// StopContinuousWebJob stop a continuous web job for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -30537,7 +30497,7 @@ func (client AppsClient) StopContinuousWebJobResponder(resp *http.Response) (res return } -// StopContinuousWebJobSlot description for Stop a continuous web job for an app, or a deployment slot. +// StopContinuousWebJobSlot stop a continuous web job for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -30625,7 +30585,7 @@ func (client AppsClient) StopContinuousWebJobSlotResponder(resp *http.Response) return } -// StopNetworkTrace description for Stop ongoing capturing network packets for the site. +// StopNetworkTrace stop ongoing capturing network packets for the site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -30708,7 +30668,7 @@ func (client AppsClient) StopNetworkTraceResponder(resp *http.Response) (result return } -// StopNetworkTraceSlot description for Stop ongoing capturing network packets for the site. +// StopNetworkTraceSlot stop ongoing capturing network packets for the site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -30793,7 +30753,7 @@ func (client AppsClient) StopNetworkTraceSlotResponder(resp *http.Response) (res return } -// StopSlot description for Stops an app (or deployment slot, if specified). +// StopSlot stops an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -30878,7 +30838,7 @@ func (client AppsClient) StopSlotResponder(resp *http.Response) (result autorest return } -// StopWebSiteNetworkTrace description for Stop ongoing capturing network packets for the site. +// StopWebSiteNetworkTrace stop ongoing capturing network packets for the site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -30961,7 +30921,7 @@ func (client AppsClient) StopWebSiteNetworkTraceResponder(resp *http.Response) ( return } -// StopWebSiteNetworkTraceSlot description for Stop ongoing capturing network packets for the site. +// StopWebSiteNetworkTraceSlot stop ongoing capturing network packets for the site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -31046,7 +31006,7 @@ func (client AppsClient) StopWebSiteNetworkTraceSlotResponder(resp *http.Respons return } -// SwapSlotSlot description for Swaps two deployment slots of an app. +// SwapSlotSlot swaps two deployment slots of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -31140,7 +31100,7 @@ func (client AppsClient) SwapSlotSlotResponder(resp *http.Response) (result auto return } -// SwapSlotWithProduction description for Swaps two deployment slots of an app. +// SwapSlotWithProduction swaps two deployment slots of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -31232,7 +31192,7 @@ func (client AppsClient) SwapSlotWithProductionResponder(resp *http.Response) (r return } -// SyncFunctions description for Syncs function trigger metadata to the management database +// SyncFunctions syncs function trigger metadata to the management database // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -31315,7 +31275,7 @@ func (client AppsClient) SyncFunctionsResponder(resp *http.Response) (result aut return } -// SyncFunctionsSlot description for Syncs function trigger metadata to the management database +// SyncFunctionsSlot syncs function trigger metadata to the management database // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -31400,7 +31360,7 @@ func (client AppsClient) SyncFunctionsSlotResponder(resp *http.Response) (result return } -// SyncFunctionTriggers description for Syncs function trigger metadata to the management database +// SyncFunctionTriggers syncs function trigger metadata to the management database // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -31483,7 +31443,7 @@ func (client AppsClient) SyncFunctionTriggersResponder(resp *http.Response) (res return } -// SyncFunctionTriggersSlot description for Syncs function trigger metadata to the management database +// SyncFunctionTriggersSlot syncs function trigger metadata to the management database // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -31568,7 +31528,7 @@ func (client AppsClient) SyncFunctionTriggersSlotResponder(resp *http.Response) return } -// SyncRepository description for Sync web app repository. +// SyncRepository sync web app repository. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -31651,7 +31611,7 @@ func (client AppsClient) SyncRepositoryResponder(resp *http.Response) (result au return } -// SyncRepositorySlot description for Sync web app repository. +// SyncRepositorySlot sync web app repository. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -31736,8 +31696,7 @@ func (client AppsClient) SyncRepositorySlotResponder(resp *http.Response) (resul return } -// Update description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing -// app. +// Update creates a new web, mobile, or API app in an existing resource group, or updates an existing app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - unique name of the app to create or update. To create or update a deployment slot, use the {slot} @@ -31825,7 +31784,7 @@ func (client AppsClient) UpdateResponder(resp *http.Response) (result Site, err return } -// UpdateApplicationSettings description for Replaces the application settings of an app. +// UpdateApplicationSettings replaces the application settings of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -31912,7 +31871,7 @@ func (client AppsClient) UpdateApplicationSettingsResponder(resp *http.Response) return } -// UpdateApplicationSettingsSlot description for Replaces the application settings of an app. +// UpdateApplicationSettingsSlot replaces the application settings of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -32002,7 +31961,7 @@ func (client AppsClient) UpdateApplicationSettingsSlotResponder(resp *http.Respo return } -// UpdateAuthSettings description for Updates the Authentication / Authorization settings associated with web app. +// UpdateAuthSettings updates the Authentication / Authorization settings associated with web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -32089,7 +32048,7 @@ func (client AppsClient) UpdateAuthSettingsResponder(resp *http.Response) (resul return } -// UpdateAuthSettingsSlot description for Updates the Authentication / Authorization settings associated with web app. +// UpdateAuthSettingsSlot updates the Authentication / Authorization settings associated with web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -32178,8 +32137,7 @@ func (client AppsClient) UpdateAuthSettingsSlotResponder(resp *http.Response) (r return } -// UpdateAuthSettingsV2 description for Updates site's Authentication / Authorization settings for apps via the V2 -// format +// UpdateAuthSettingsV2 updates site's Authentication / Authorization settings for apps via the V2 format // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -32266,8 +32224,7 @@ func (client AppsClient) UpdateAuthSettingsV2Responder(resp *http.Response) (res return } -// UpdateAuthSettingsV2Slot description for Updates site's Authentication / Authorization settings for apps via the V2 -// format +// UpdateAuthSettingsV2Slot updates site's Authentication / Authorization settings for apps via the V2 format // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -32356,7 +32313,7 @@ func (client AppsClient) UpdateAuthSettingsV2SlotResponder(resp *http.Response) return } -// UpdateAzureStorageAccounts description for Updates the Azure storage account configurations of an app. +// UpdateAzureStorageAccounts updates the Azure storage account configurations of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -32443,7 +32400,7 @@ func (client AppsClient) UpdateAzureStorageAccountsResponder(resp *http.Response return } -// UpdateAzureStorageAccountsSlot description for Updates the Azure storage account configurations of an app. +// UpdateAzureStorageAccountsSlot updates the Azure storage account configurations of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -32533,7 +32490,7 @@ func (client AppsClient) UpdateAzureStorageAccountsSlotResponder(resp *http.Resp return } -// UpdateBackupConfiguration description for Updates the backup configuration of an app. +// UpdateBackupConfiguration updates the backup configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -32629,7 +32586,7 @@ func (client AppsClient) UpdateBackupConfigurationResponder(resp *http.Response) return } -// UpdateBackupConfigurationSlot description for Updates the backup configuration of an app. +// UpdateBackupConfigurationSlot updates the backup configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -32728,7 +32685,7 @@ func (client AppsClient) UpdateBackupConfigurationSlotResponder(resp *http.Respo return } -// UpdateConfiguration description for Updates the configuration of an app. +// UpdateConfiguration updates the configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -32815,7 +32772,7 @@ func (client AppsClient) UpdateConfigurationResponder(resp *http.Response) (resu return } -// UpdateConfigurationSlot description for Updates the configuration of an app. +// UpdateConfigurationSlot updates the configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -32905,7 +32862,7 @@ func (client AppsClient) UpdateConfigurationSlotResponder(resp *http.Response) ( return } -// UpdateConnectionStrings description for Replaces the connection strings of an app. +// UpdateConnectionStrings replaces the connection strings of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -32992,7 +32949,7 @@ func (client AppsClient) UpdateConnectionStringsResponder(resp *http.Response) ( return } -// UpdateConnectionStringsSlot description for Replaces the connection strings of an app. +// UpdateConnectionStringsSlot replaces the connection strings of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -33082,7 +33039,7 @@ func (client AppsClient) UpdateConnectionStringsSlotResponder(resp *http.Respons return } -// UpdateDiagnosticLogsConfig description for Updates the logging configuration of an app. +// UpdateDiagnosticLogsConfig updates the logging configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -33185,7 +33142,7 @@ func (client AppsClient) UpdateDiagnosticLogsConfigResponder(resp *http.Response return } -// UpdateDiagnosticLogsConfigSlot description for Updates the logging configuration of an app. +// UpdateDiagnosticLogsConfigSlot updates the logging configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -33291,8 +33248,8 @@ func (client AppsClient) UpdateDiagnosticLogsConfigSlotResponder(resp *http.Resp return } -// UpdateDomainOwnershipIdentifier description for Creates a domain ownership identifier for web app, or updates an -// existing ownership identifier. +// UpdateDomainOwnershipIdentifier creates a domain ownership identifier for web app, or updates an existing ownership +// identifier. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -33381,8 +33338,8 @@ func (client AppsClient) UpdateDomainOwnershipIdentifierResponder(resp *http.Res return } -// UpdateDomainOwnershipIdentifierSlot description for Creates a domain ownership identifier for web app, or updates an -// existing ownership identifier. +// UpdateDomainOwnershipIdentifierSlot creates a domain ownership identifier for web app, or updates an existing +// ownership identifier. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -33474,7 +33431,7 @@ func (client AppsClient) UpdateDomainOwnershipIdentifierSlotResponder(resp *http return } -// UpdateFtpAllowed description for Updates whether FTP is allowed on the site or not. +// UpdateFtpAllowed updates whether FTP is allowed on the site or not. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -33563,7 +33520,7 @@ func (client AppsClient) UpdateFtpAllowedResponder(resp *http.Response) (result return } -// UpdateHybridConnection description for Creates a new Hybrid Connection using a Service Bus relay. +// UpdateHybridConnection creates a new Hybrid Connection using a Service Bus relay. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -33654,7 +33611,7 @@ func (client AppsClient) UpdateHybridConnectionResponder(resp *http.Response) (r return } -// UpdateHybridConnectionSlot description for Creates a new Hybrid Connection using a Service Bus relay. +// UpdateHybridConnectionSlot creates a new Hybrid Connection using a Service Bus relay. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -33747,7 +33704,7 @@ func (client AppsClient) UpdateHybridConnectionSlotResponder(resp *http.Response return } -// UpdateMetadata description for Replaces the metadata of an app. +// UpdateMetadata replaces the metadata of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -33834,7 +33791,7 @@ func (client AppsClient) UpdateMetadataResponder(resp *http.Response) (result St return } -// UpdateMetadataSlot description for Replaces the metadata of an app. +// UpdateMetadataSlot replaces the metadata of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -33924,7 +33881,7 @@ func (client AppsClient) UpdateMetadataSlotResponder(resp *http.Response) (resul return } -// UpdatePremierAddOn description for Updates a named add-on of an app. +// UpdatePremierAddOn updates a named add-on of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -34013,7 +33970,7 @@ func (client AppsClient) UpdatePremierAddOnResponder(resp *http.Response) (resul return } -// UpdatePremierAddOnSlot description for Updates a named add-on of an app. +// UpdatePremierAddOnSlot updates a named add-on of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -34105,8 +34062,8 @@ func (client AppsClient) UpdatePremierAddOnSlotResponder(resp *http.Response) (r return } -// UpdateRelayServiceConnection description for Creates a new hybrid connection configuration (PUT), or updates an -// existing one (PATCH). +// UpdateRelayServiceConnection creates a new hybrid connection configuration (PUT), or updates an existing one +// (PATCH). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -34195,8 +34152,8 @@ func (client AppsClient) UpdateRelayServiceConnectionResponder(resp *http.Respon return } -// UpdateRelayServiceConnectionSlot description for Creates a new hybrid connection configuration (PUT), or updates an -// existing one (PATCH). +// UpdateRelayServiceConnectionSlot creates a new hybrid connection configuration (PUT), or updates an existing one +// (PATCH). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -34288,7 +34245,7 @@ func (client AppsClient) UpdateRelayServiceConnectionSlotResponder(resp *http.Re return } -// UpdateScmAllowed description for Updates whether user publishing credentials are allowed on the site or not. +// UpdateScmAllowed updates whether user publishing credentials are allowed on the site or not. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -34377,7 +34334,7 @@ func (client AppsClient) UpdateScmAllowedResponder(resp *http.Response) (result return } -// UpdateSitePushSettings description for Updates the Push settings associated with web app. +// UpdateSitePushSettings updates the Push settings associated with web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -34467,7 +34424,7 @@ func (client AppsClient) UpdateSitePushSettingsResponder(resp *http.Response) (r return } -// UpdateSitePushSettingsSlot description for Updates the Push settings associated with web app. +// UpdateSitePushSettingsSlot updates the Push settings associated with web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -34559,15 +34516,13 @@ func (client AppsClient) UpdateSitePushSettingsSlotResponder(resp *http.Response return } -// UpdateSlot description for Creates a new web, mobile, or API app in an existing resource group, or updates an -// existing app. +// UpdateSlot creates a new web, mobile, or API app in an existing resource group, or updates an existing app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - unique name of the app to create or update. To create or update a deployment slot, use the {slot} // parameter. // siteEnvelope - a JSON representation of the app properties. See example. -// slot - name of the deployment slot to create or update. By default, this API attempts to create or modify -// the production slot. +// slot - name of the deployment slot to create or update. The name 'production' is reserved. func (client AppsClient) UpdateSlot(ctx context.Context, resourceGroupName string, name string, siteEnvelope SitePatchResource, slot string) (result Site, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/AppsClient.UpdateSlot") @@ -34651,8 +34606,8 @@ func (client AppsClient) UpdateSlotResponder(resp *http.Response) (result Site, return } -// UpdateSlotConfigurationNames description for Updates the names of application settings and connection string that -// remain with the slot during swap operation. +// UpdateSlotConfigurationNames updates the names of application settings and connection string that remain with the +// slot during swap operation. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -34739,7 +34694,7 @@ func (client AppsClient) UpdateSlotConfigurationNamesResponder(resp *http.Respon return } -// UpdateSourceControl description for Updates the source control configuration of an app. +// UpdateSourceControl updates the source control configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -34826,7 +34781,7 @@ func (client AppsClient) UpdateSourceControlResponder(resp *http.Response) (resu return } -// UpdateSourceControlSlot description for Updates the source control configuration of an app. +// UpdateSourceControlSlot updates the source control configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -34916,9 +34871,9 @@ func (client AppsClient) UpdateSourceControlSlotResponder(resp *http.Response) ( return } -// UpdateSwiftVirtualNetworkConnection description for Integrates this Web App with a Virtual Network. This requires -// that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already -// been delegated, and is not +// UpdateSwiftVirtualNetworkConnection integrates this Web App with a Virtual Network. This requires that 1) +// "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been +// delegated, and is not // in use by another App Service Plan other than the one this App is in. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. @@ -35006,9 +34961,9 @@ func (client AppsClient) UpdateSwiftVirtualNetworkConnectionResponder(resp *http return } -// UpdateSwiftVirtualNetworkConnectionSlot description for Integrates this Web App with a Virtual Network. This -// requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has -// already been delegated, and is not +// UpdateSwiftVirtualNetworkConnectionSlot integrates this Web App with a Virtual Network. This requires that 1) +// "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been +// delegated, and is not // in use by another App Service Plan other than the one this App is in. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. @@ -35099,8 +35054,8 @@ func (client AppsClient) UpdateSwiftVirtualNetworkConnectionSlotResponder(resp * return } -// UpdateVnetConnection description for Adds a Virtual Network connection to an app or slot (PUT) or updates the -// connection properties (PATCH). +// UpdateVnetConnection adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties +// (PATCH). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -35189,8 +35144,7 @@ func (client AppsClient) UpdateVnetConnectionResponder(resp *http.Response) (res return } -// UpdateVnetConnectionGateway description for Adds a gateway to a connected Virtual Network (PUT) or updates it -// (PATCH). +// UpdateVnetConnectionGateway adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -35281,8 +35235,7 @@ func (client AppsClient) UpdateVnetConnectionGatewayResponder(resp *http.Respons return } -// UpdateVnetConnectionGatewaySlot description for Adds a gateway to a connected Virtual Network (PUT) or updates it -// (PATCH). +// UpdateVnetConnectionGatewaySlot adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -35376,8 +35329,8 @@ func (client AppsClient) UpdateVnetConnectionGatewaySlotResponder(resp *http.Res return } -// UpdateVnetConnectionSlot description for Adds a Virtual Network connection to an app or slot (PUT) or updates the -// connection properties (PATCH). +// UpdateVnetConnectionSlot adds a Virtual Network connection to an app or slot (PUT) or updates the connection +// properties (PATCH). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. diff --git a/services/web/mgmt/2020-06-01/web/appservicecertificateorders.go b/services/web/mgmt/2020-06-01/web/appservicecertificateorders.go index 0ce3ab38f06f..afdedd00fa52 100644 --- a/services/web/mgmt/2020-06-01/web/appservicecertificateorders.go +++ b/services/web/mgmt/2020-06-01/web/appservicecertificateorders.go @@ -32,7 +32,7 @@ func NewAppServiceCertificateOrdersClientWithBaseURI(baseURI string, subscriptio return AppServiceCertificateOrdersClient{NewWithBaseURI(baseURI, subscriptionID)} } -// CreateOrUpdate description for Create or update a certificate purchase order. +// CreateOrUpdate create or update a certificate purchase order. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -129,7 +129,7 @@ func (client AppServiceCertificateOrdersClient) CreateOrUpdateResponder(resp *ht return } -// CreateOrUpdateCertificate description for Creates or updates a certificate and associates with key vault secret. +// CreateOrUpdateCertificate creates or updates a certificate and associates with key vault secret. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -221,7 +221,7 @@ func (client AppServiceCertificateOrdersClient) CreateOrUpdateCertificateRespond return } -// Delete description for Delete an existing certificate order. +// Delete delete an existing certificate order. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -304,7 +304,7 @@ func (client AppServiceCertificateOrdersClient) DeleteResponder(resp *http.Respo return } -// DeleteCertificate description for Delete the certificate associated with a certificate order. +// DeleteCertificate delete the certificate associated with a certificate order. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -389,7 +389,7 @@ func (client AppServiceCertificateOrdersClient) DeleteCertificateResponder(resp return } -// Get description for Get a certificate order. +// Get get a certificate order. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order.. @@ -473,7 +473,7 @@ func (client AppServiceCertificateOrdersClient) GetResponder(resp *http.Response return } -// GetCertificate description for Get the certificate associated with a certificate order. +// GetCertificate get the certificate associated with a certificate order. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -559,7 +559,7 @@ func (client AppServiceCertificateOrdersClient) GetCertificateResponder(resp *ht return } -// List description for List all certificate orders in a subscription. +// List list all certificate orders in a subscription. func (client AppServiceCertificateOrdersClient) List(ctx context.Context) (result AppServiceCertificateOrderCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/AppServiceCertificateOrdersClient.List") @@ -672,7 +672,7 @@ func (client AppServiceCertificateOrdersClient) ListComplete(ctx context.Context return } -// ListByResourceGroup description for Get certificate orders in a resource group. +// ListByResourceGroup get certificate orders in a resource group. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. func (client AppServiceCertificateOrdersClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result AppServiceCertificateOrderCollectionPage, err error) { @@ -796,7 +796,7 @@ func (client AppServiceCertificateOrdersClient) ListByResourceGroupComplete(ctx return } -// ListCertificates description for List all certificates associated with a certificate order. +// ListCertificates list all certificates associated with a certificate order. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -922,7 +922,7 @@ func (client AppServiceCertificateOrdersClient) ListCertificatesComplete(ctx con return } -// Reissue description for Reissue an existing certificate order. +// Reissue reissue an existing certificate order. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -1008,7 +1008,7 @@ func (client AppServiceCertificateOrdersClient) ReissueResponder(resp *http.Resp return } -// Renew description for Renew an existing certificate order. +// Renew renew an existing certificate order. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -1094,7 +1094,7 @@ func (client AppServiceCertificateOrdersClient) RenewResponder(resp *http.Respon return } -// ResendEmail description for Resend certificate email. +// ResendEmail resend certificate email. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -1177,7 +1177,7 @@ func (client AppServiceCertificateOrdersClient) ResendEmailResponder(resp *http. return } -// ResendRequestEmails description for Verify domain ownership for this certificate order. +// ResendRequestEmails verify domain ownership for this certificate order. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -1263,7 +1263,7 @@ func (client AppServiceCertificateOrdersClient) ResendRequestEmailsResponder(res return } -// RetrieveCertificateActions description for Retrieve the list of certificate actions. +// RetrieveCertificateActions retrieve the list of certificate actions. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the certificate order. @@ -1347,7 +1347,7 @@ func (client AppServiceCertificateOrdersClient) RetrieveCertificateActionsRespon return } -// RetrieveCertificateEmailHistory description for Retrieve email history. +// RetrieveCertificateEmailHistory retrieve email history. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the certificate order. @@ -1431,7 +1431,7 @@ func (client AppServiceCertificateOrdersClient) RetrieveCertificateEmailHistoryR return } -// RetrieveSiteSeal description for Verify domain ownership for this certificate order. +// RetrieveSiteSeal verify domain ownership for this certificate order. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -1518,7 +1518,7 @@ func (client AppServiceCertificateOrdersClient) RetrieveSiteSealResponder(resp * return } -// Update description for Create or update a certificate purchase order. +// Update create or update a certificate purchase order. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -1605,7 +1605,7 @@ func (client AppServiceCertificateOrdersClient) UpdateResponder(resp *http.Respo return } -// UpdateCertificate description for Creates or updates a certificate and associates with key vault secret. +// UpdateCertificate creates or updates a certificate and associates with key vault secret. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -1694,7 +1694,7 @@ func (client AppServiceCertificateOrdersClient) UpdateCertificateResponder(resp return } -// ValidatePurchaseInformation description for Validate information for a certificate order. +// ValidatePurchaseInformation validate information for a certificate order. // Parameters: // appServiceCertificateOrder - information for a certificate order. func (client AppServiceCertificateOrdersClient) ValidatePurchaseInformation(ctx context.Context, appServiceCertificateOrder AppServiceCertificateOrder) (result autorest.Response, err error) { @@ -1779,7 +1779,7 @@ func (client AppServiceCertificateOrdersClient) ValidatePurchaseInformationRespo return } -// VerifyDomainOwnership description for Verify domain ownership for this certificate order. +// VerifyDomainOwnership verify domain ownership for this certificate order. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. diff --git a/services/web/mgmt/2020-06-01/web/appserviceenvironments.go b/services/web/mgmt/2020-06-01/web/appserviceenvironments.go index 525ca697c9bf..5159e778794a 100644 --- a/services/web/mgmt/2020-06-01/web/appserviceenvironments.go +++ b/services/web/mgmt/2020-06-01/web/appserviceenvironments.go @@ -32,7 +32,7 @@ func NewAppServiceEnvironmentsClientWithBaseURI(baseURI string, subscriptionID s return AppServiceEnvironmentsClient{NewWithBaseURI(baseURI, subscriptionID)} } -// ChangeVnet description for Move an App Service Environment to a different VNET. +// ChangeVnet move an App Service Environment to a different VNET. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -165,7 +165,7 @@ func (client AppServiceEnvironmentsClient) ChangeVnetComplete(ctx context.Contex return } -// CreateOrUpdate description for Create or update an App Service Environment. +// CreateOrUpdate create or update an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -262,7 +262,7 @@ func (client AppServiceEnvironmentsClient) CreateOrUpdateResponder(resp *http.Re return } -// CreateOrUpdateMultiRolePool description for Create or update a multi-role pool. +// CreateOrUpdateMultiRolePool create or update a multi-role pool. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -352,7 +352,7 @@ func (client AppServiceEnvironmentsClient) CreateOrUpdateMultiRolePoolResponder( return } -// CreateOrUpdateWorkerPool description for Create or update a worker pool. +// CreateOrUpdateWorkerPool create or update a worker pool. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -444,7 +444,7 @@ func (client AppServiceEnvironmentsClient) CreateOrUpdateWorkerPoolResponder(res return } -// Delete description for Delete an App Service Environment. +// Delete delete an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -535,7 +535,7 @@ func (client AppServiceEnvironmentsClient) DeleteResponder(resp *http.Response) return } -// Get description for Get the properties of an App Service Environment. +// Get get the properties of an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -619,7 +619,7 @@ func (client AppServiceEnvironmentsClient) GetResponder(resp *http.Response) (re return } -// GetDiagnosticsItem description for Get a diagnostics item for an App Service Environment. +// GetDiagnosticsItem get a diagnostics item for an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -705,8 +705,8 @@ func (client AppServiceEnvironmentsClient) GetDiagnosticsItemResponder(resp *htt return } -// GetInboundNetworkDependenciesEndpoints description for Get the network endpoints of all inbound dependencies of an -// App Service Environment. +// GetInboundNetworkDependenciesEndpoints get the network endpoints of all inbound dependencies of an App Service +// Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -832,7 +832,7 @@ func (client AppServiceEnvironmentsClient) GetInboundNetworkDependenciesEndpoint return } -// GetMultiRolePool description for Get properties of a multi-role pool. +// GetMultiRolePool get properties of a multi-role pool. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -916,8 +916,8 @@ func (client AppServiceEnvironmentsClient) GetMultiRolePoolResponder(resp *http. return } -// GetOutboundNetworkDependenciesEndpoints description for Get the network endpoints of all outbound dependencies of an -// App Service Environment. +// GetOutboundNetworkDependenciesEndpoints get the network endpoints of all outbound dependencies of an App Service +// Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -1043,7 +1043,7 @@ func (client AppServiceEnvironmentsClient) GetOutboundNetworkDependenciesEndpoin return } -// GetVipInfo description for Get IP addresses assigned to an App Service Environment. +// GetVipInfo get IP addresses assigned to an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -1127,7 +1127,7 @@ func (client AppServiceEnvironmentsClient) GetVipInfoResponder(resp *http.Respon return } -// GetWorkerPool description for Get properties of a worker pool. +// GetWorkerPool get properties of a worker pool. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -1213,7 +1213,7 @@ func (client AppServiceEnvironmentsClient) GetWorkerPoolResponder(resp *http.Res return } -// List description for Get all App Service Environments for a subscription. +// List get all App Service Environments for a subscription. func (client AppServiceEnvironmentsClient) List(ctx context.Context) (result AppServiceEnvironmentCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/AppServiceEnvironmentsClient.List") @@ -1326,7 +1326,7 @@ func (client AppServiceEnvironmentsClient) ListComplete(ctx context.Context) (re return } -// ListAppServicePlans description for Get all App Service plans in an App Service Environment. +// ListAppServicePlans get all App Service plans in an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -1452,7 +1452,7 @@ func (client AppServiceEnvironmentsClient) ListAppServicePlansComplete(ctx conte return } -// ListByResourceGroup description for Get all App Service Environments in a resource group. +// ListByResourceGroup get all App Service Environments in a resource group. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. func (client AppServiceEnvironmentsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result AppServiceEnvironmentCollectionPage, err error) { @@ -1576,7 +1576,7 @@ func (client AppServiceEnvironmentsClient) ListByResourceGroupComplete(ctx conte return } -// ListCapacities description for Get the used, available, and total worker capacity an App Service Environment. +// ListCapacities get the used, available, and total worker capacity an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -1702,7 +1702,7 @@ func (client AppServiceEnvironmentsClient) ListCapacitiesComplete(ctx context.Co return } -// ListDiagnostics description for Get diagnostic information for an App Service Environment. +// ListDiagnostics get diagnostic information for an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -1786,8 +1786,7 @@ func (client AppServiceEnvironmentsClient) ListDiagnosticsResponder(resp *http.R return } -// ListMultiRoleMetricDefinitions description for Get metric definitions for a multi-role pool of an App Service -// Environment. +// ListMultiRoleMetricDefinitions get metric definitions for a multi-role pool of an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -1913,8 +1912,8 @@ func (client AppServiceEnvironmentsClient) ListMultiRoleMetricDefinitionsComplet return } -// ListMultiRolePoolInstanceMetricDefinitions description for Get metric definitions for a specific instance of a -// multi-role pool of an App Service Environment. +// ListMultiRolePoolInstanceMetricDefinitions get metric definitions for a specific instance of a multi-role pool of an +// App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -2042,7 +2041,7 @@ func (client AppServiceEnvironmentsClient) ListMultiRolePoolInstanceMetricDefini return } -// ListMultiRolePools description for Get all multi-role pools. +// ListMultiRolePools get all multi-role pools. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -2168,7 +2167,7 @@ func (client AppServiceEnvironmentsClient) ListMultiRolePoolsComplete(ctx contex return } -// ListMultiRolePoolSkus description for Get available SKUs for scaling a multi-role pool. +// ListMultiRolePoolSkus get available SKUs for scaling a multi-role pool. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -2294,7 +2293,7 @@ func (client AppServiceEnvironmentsClient) ListMultiRolePoolSkusComplete(ctx con return } -// ListMultiRoleUsages description for Get usage metrics for a multi-role pool of an App Service Environment. +// ListMultiRoleUsages get usage metrics for a multi-role pool of an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -2420,7 +2419,7 @@ func (client AppServiceEnvironmentsClient) ListMultiRoleUsagesComplete(ctx conte return } -// ListOperations description for List all currently running operations on the App Service Environment. +// ListOperations list all currently running operations on the App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -2504,7 +2503,7 @@ func (client AppServiceEnvironmentsClient) ListOperationsResponder(resp *http.Re return } -// ListUsages description for Get global usage metrics of an App Service Environment. +// ListUsages get global usage metrics of an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -2636,7 +2635,7 @@ func (client AppServiceEnvironmentsClient) ListUsagesComplete(ctx context.Contex return } -// ListWebApps description for Get all apps in an App Service Environment. +// ListWebApps get all apps in an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -2766,8 +2765,7 @@ func (client AppServiceEnvironmentsClient) ListWebAppsComplete(ctx context.Conte return } -// ListWebWorkerMetricDefinitions description for Get metric definitions for a worker pool of an App Service -// Environment. +// ListWebWorkerMetricDefinitions get metric definitions for a worker pool of an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -2895,7 +2893,7 @@ func (client AppServiceEnvironmentsClient) ListWebWorkerMetricDefinitionsComplet return } -// ListWebWorkerUsages description for Get usage metrics for a worker pool of an App Service Environment. +// ListWebWorkerUsages get usage metrics for a worker pool of an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -3023,8 +3021,8 @@ func (client AppServiceEnvironmentsClient) ListWebWorkerUsagesComplete(ctx conte return } -// ListWorkerPoolInstanceMetricDefinitions description for Get metric definitions for a specific instance of a worker -// pool of an App Service Environment. +// ListWorkerPoolInstanceMetricDefinitions get metric definitions for a specific instance of a worker pool of an App +// Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -3154,7 +3152,7 @@ func (client AppServiceEnvironmentsClient) ListWorkerPoolInstanceMetricDefinitio return } -// ListWorkerPools description for Get all worker pools of an App Service Environment. +// ListWorkerPools get all worker pools of an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -3280,7 +3278,7 @@ func (client AppServiceEnvironmentsClient) ListWorkerPoolsComplete(ctx context.C return } -// ListWorkerPoolSkus description for Get available SKUs for scaling a worker pool. +// ListWorkerPoolSkus get available SKUs for scaling a worker pool. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -3408,7 +3406,7 @@ func (client AppServiceEnvironmentsClient) ListWorkerPoolSkusComplete(ctx contex return } -// Reboot description for Reboot all machines in an App Service Environment. +// Reboot reboot all machines in an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -3491,7 +3489,7 @@ func (client AppServiceEnvironmentsClient) RebootResponder(resp *http.Response) return } -// Resume description for Resume an App Service Environment. +// Resume resume an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -3619,7 +3617,7 @@ func (client AppServiceEnvironmentsClient) ResumeComplete(ctx context.Context, r return } -// Suspend description for Suspend an App Service Environment. +// Suspend suspend an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -3747,7 +3745,7 @@ func (client AppServiceEnvironmentsClient) SuspendComplete(ctx context.Context, return } -// Update description for Create or update an App Service Environment. +// Update create or update an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -3834,7 +3832,7 @@ func (client AppServiceEnvironmentsClient) UpdateResponder(resp *http.Response) return } -// UpdateMultiRolePool description for Create or update a multi-role pool. +// UpdateMultiRolePool create or update a multi-role pool. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -3921,7 +3919,7 @@ func (client AppServiceEnvironmentsClient) UpdateMultiRolePoolResponder(resp *ht return } -// UpdateWorkerPool description for Create or update a worker pool. +// UpdateWorkerPool create or update a worker pool. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. diff --git a/services/web/mgmt/2020-06-01/web/appserviceplans.go b/services/web/mgmt/2020-06-01/web/appserviceplans.go index e6907877e33c..c3491e3d2597 100644 --- a/services/web/mgmt/2020-06-01/web/appserviceplans.go +++ b/services/web/mgmt/2020-06-01/web/appserviceplans.go @@ -31,7 +31,7 @@ func NewAppServicePlansClientWithBaseURI(baseURI string, subscriptionID string) return AppServicePlansClient{NewWithBaseURI(baseURI, subscriptionID)} } -// CreateOrUpdate description for Creates or updates an App Service Plan. +// CreateOrUpdate creates or updates an App Service Plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -121,7 +121,7 @@ func (client AppServicePlansClient) CreateOrUpdateResponder(resp *http.Response) return } -// CreateOrUpdateVnetRoute description for Create or update a Virtual Network route in an App Service plan. +// CreateOrUpdateVnetRoute create or update a Virtual Network route in an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -212,7 +212,7 @@ func (client AppServicePlansClient) CreateOrUpdateVnetRouteResponder(resp *http. return } -// Delete description for Delete an App Service plan. +// Delete delete an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -295,7 +295,7 @@ func (client AppServicePlansClient) DeleteResponder(resp *http.Response) (result return } -// DeleteHybridConnection description for Delete a Hybrid Connection in use in an App Service plan. +// DeleteHybridConnection delete a Hybrid Connection in use in an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -382,7 +382,7 @@ func (client AppServicePlansClient) DeleteHybridConnectionResponder(resp *http.R return } -// DeleteVnetRoute description for Delete a Virtual Network route in an App Service plan. +// DeleteVnetRoute delete a Virtual Network route in an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -469,7 +469,7 @@ func (client AppServicePlansClient) DeleteVnetRouteResponder(resp *http.Response return } -// Get description for Get an App Service plan. +// Get get an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -553,7 +553,7 @@ func (client AppServicePlansClient) GetResponder(resp *http.Response) (result Ap return } -// GetHybridConnection description for Retrieve a Hybrid Connection in use in an App Service plan. +// GetHybridConnection retrieve a Hybrid Connection in use in an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -641,8 +641,7 @@ func (client AppServicePlansClient) GetHybridConnectionResponder(resp *http.Resp return } -// GetHybridConnectionPlanLimit description for Get the maximum number of Hybrid Connections allowed in an App Service -// plan. +// GetHybridConnectionPlanLimit get the maximum number of Hybrid Connections allowed in an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -726,7 +725,7 @@ func (client AppServicePlansClient) GetHybridConnectionPlanLimitResponder(resp * return } -// GetRouteForVnet description for Get a Virtual Network route in an App Service plan. +// GetRouteForVnet get a Virtual Network route in an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -814,7 +813,7 @@ func (client AppServicePlansClient) GetRouteForVnetResponder(resp *http.Response return } -// GetServerFarmSkus description for Gets all selectable SKUs for a given App Service Plan +// GetServerFarmSkus gets all selectable SKUs for a given App Service Plan // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of App Service Plan @@ -898,7 +897,7 @@ func (client AppServicePlansClient) GetServerFarmSkusResponder(resp *http.Respon return } -// GetVnetFromServerFarm description for Get a Virtual Network associated with an App Service plan. +// GetVnetFromServerFarm get a Virtual Network associated with an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -984,7 +983,7 @@ func (client AppServicePlansClient) GetVnetFromServerFarmResponder(resp *http.Re return } -// GetVnetGateway description for Get a Virtual Network gateway. +// GetVnetGateway get a Virtual Network gateway. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -1072,7 +1071,7 @@ func (client AppServicePlansClient) GetVnetGatewayResponder(resp *http.Response) return } -// List description for Get all App Service plans for a subscription. +// List get all App Service plans for a subscription. // Parameters: // detailed - specify true to return all App Service plan properties. The default is // false, which returns a subset of the properties. @@ -1192,7 +1191,7 @@ func (client AppServicePlansClient) ListComplete(ctx context.Context, detailed * return } -// ListByResourceGroup description for Get all App Service plans in a resource group. +// ListByResourceGroup get all App Service plans in a resource group. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. func (client AppServicePlansClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result AppServicePlanCollectionPage, err error) { @@ -1316,7 +1315,7 @@ func (client AppServicePlansClient) ListByResourceGroupComplete(ctx context.Cont return } -// ListCapabilities description for List all capabilities of an App Service plan. +// ListCapabilities list all capabilities of an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -1400,7 +1399,7 @@ func (client AppServicePlansClient) ListCapabilitiesResponder(resp *http.Respons return } -// ListHybridConnectionKeys description for Get the send key name and value of a Hybrid Connection. +// ListHybridConnectionKeys get the send key name and value of a Hybrid Connection. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -1488,7 +1487,7 @@ func (client AppServicePlansClient) ListHybridConnectionKeysResponder(resp *http return } -// ListHybridConnections description for Retrieve all Hybrid Connections in use in an App Service plan. +// ListHybridConnections retrieve all Hybrid Connections in use in an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -1614,7 +1613,7 @@ func (client AppServicePlansClient) ListHybridConnectionsComplete(ctx context.Co return } -// ListRoutesForVnet description for Get all routes that are associated with a Virtual Network in an App Service plan. +// ListRoutesForVnet get all routes that are associated with a Virtual Network in an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -1700,7 +1699,7 @@ func (client AppServicePlansClient) ListRoutesForVnetResponder(resp *http.Respon return } -// ListUsages description for Gets server farm usage information +// ListUsages gets server farm usage information // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of App Service Plan @@ -1831,7 +1830,7 @@ func (client AppServicePlansClient) ListUsagesComplete(ctx context.Context, reso return } -// ListVnets description for Get all Virtual Networks associated with an App Service plan. +// ListVnets get all Virtual Networks associated with an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -1915,7 +1914,7 @@ func (client AppServicePlansClient) ListVnetsResponder(resp *http.Response) (res return } -// ListWebApps description for Get all apps associated with an App Service plan. +// ListWebApps get all apps associated with an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -2055,7 +2054,7 @@ func (client AppServicePlansClient) ListWebAppsComplete(ctx context.Context, res return } -// ListWebAppsByHybridConnection description for Get all apps that use a Hybrid Connection in an App Service Plan. +// ListWebAppsByHybridConnection get all apps that use a Hybrid Connection in an App Service Plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -2185,7 +2184,7 @@ func (client AppServicePlansClient) ListWebAppsByHybridConnectionComplete(ctx co return } -// RebootWorker description for Reboot a worker machine in an App Service plan. +// RebootWorker reboot a worker machine in an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -2270,7 +2269,7 @@ func (client AppServicePlansClient) RebootWorkerResponder(resp *http.Response) ( return } -// RestartWebApps description for Restart all apps in an App Service plan. +// RestartWebApps restart all apps in an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -2359,7 +2358,7 @@ func (client AppServicePlansClient) RestartWebAppsResponder(resp *http.Response) return } -// Update description for Creates or updates an App Service Plan. +// Update creates or updates an App Service Plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -2446,7 +2445,7 @@ func (client AppServicePlansClient) UpdateResponder(resp *http.Response) (result return } -// UpdateVnetGateway description for Update a Virtual Network gateway. +// UpdateVnetGateway update a Virtual Network gateway. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -2540,7 +2539,7 @@ func (client AppServicePlansClient) UpdateVnetGatewayResponder(resp *http.Respon return } -// UpdateVnetRoute description for Create or update a Virtual Network route in an App Service plan. +// UpdateVnetRoute create or update a Virtual Network route in an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. diff --git a/services/web/mgmt/2020-06-01/web/certificateregistrationprovider.go b/services/web/mgmt/2020-06-01/web/certificateregistrationprovider.go index 64843aa9bfc8..a9a02ceabd3a 100644 --- a/services/web/mgmt/2020-06-01/web/certificateregistrationprovider.go +++ b/services/web/mgmt/2020-06-01/web/certificateregistrationprovider.go @@ -31,8 +31,7 @@ func NewCertificateRegistrationProviderClientWithBaseURI(baseURI string, subscri return CertificateRegistrationProviderClient{NewWithBaseURI(baseURI, subscriptionID)} } -// ListOperations description for Implements Csm operations Api to exposes the list of available Csm Apis under the -// resource provider +// ListOperations implements Csm operations Api to exposes the list of available Csm Apis under the resource provider func (client CertificateRegistrationProviderClient) ListOperations(ctx context.Context) (result CsmOperationCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/CertificateRegistrationProviderClient.ListOperations") diff --git a/services/web/mgmt/2020-06-01/web/certificates.go b/services/web/mgmt/2020-06-01/web/certificates.go index 9efd06133f59..6385cb5088cb 100644 --- a/services/web/mgmt/2020-06-01/web/certificates.go +++ b/services/web/mgmt/2020-06-01/web/certificates.go @@ -31,7 +31,7 @@ func NewCertificatesClientWithBaseURI(baseURI string, subscriptionID string) Cer return CertificatesClient{NewWithBaseURI(baseURI, subscriptionID)} } -// CreateOrUpdate description for Create or update a certificate. +// CreateOrUpdate create or update a certificate. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the certificate. @@ -121,7 +121,7 @@ func (client CertificatesClient) CreateOrUpdateResponder(resp *http.Response) (r return } -// Delete description for Delete a certificate. +// Delete delete a certificate. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the certificate. @@ -204,7 +204,7 @@ func (client CertificatesClient) DeleteResponder(resp *http.Response) (result au return } -// Get description for Get a certificate. +// Get get a certificate. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the certificate. @@ -288,7 +288,7 @@ func (client CertificatesClient) GetResponder(resp *http.Response) (result Certi return } -// List description for Get all certificates for a subscription. +// List get all certificates for a subscription. func (client CertificatesClient) List(ctx context.Context) (result CertificateCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/CertificatesClient.List") @@ -401,7 +401,7 @@ func (client CertificatesClient) ListComplete(ctx context.Context) (result Certi return } -// ListByResourceGroup description for Get all certificates in a resource group. +// ListByResourceGroup get all certificates in a resource group. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. func (client CertificatesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result CertificateCollectionPage, err error) { @@ -525,7 +525,7 @@ func (client CertificatesClient) ListByResourceGroupComplete(ctx context.Context return } -// Update description for Create or update a certificate. +// Update create or update a certificate. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the certificate. diff --git a/services/web/mgmt/2020-06-01/web/client.go b/services/web/mgmt/2020-06-01/web/client.go index 105fa8a4eae5..d3f119b840f0 100644 --- a/services/web/mgmt/2020-06-01/web/client.go +++ b/services/web/mgmt/2020-06-01/web/client.go @@ -45,7 +45,7 @@ func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient { } } -// CheckNameAvailability description for Check if a resource name is available. +// CheckNameAvailability check if a resource name is available. // Parameters: // request - name availability request. func (client BaseClient) CheckNameAvailability(ctx context.Context, request ResourceNameAvailabilityRequest) (result ResourceNameAvailability, err error) { @@ -126,7 +126,7 @@ func (client BaseClient) CheckNameAvailabilityResponder(resp *http.Response) (re return } -// GetPublishingUser description for Gets publishing user +// GetPublishingUser gets publishing user func (client BaseClient) GetPublishingUser(ctx context.Context) (result User, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/BaseClient.GetPublishingUser") @@ -193,7 +193,7 @@ func (client BaseClient) GetPublishingUserResponder(resp *http.Response) (result return } -// GetSourceControl description for Gets source control token +// GetSourceControl gets source control token // Parameters: // sourceControlType - type of source control func (client BaseClient) GetSourceControl(ctx context.Context, sourceControlType string) (result SourceControl, err error) { @@ -266,7 +266,7 @@ func (client BaseClient) GetSourceControlResponder(resp *http.Response) (result return } -// GetSubscriptionDeploymentLocations description for Gets list of available geo regions plus ministamps +// GetSubscriptionDeploymentLocations gets list of available geo regions plus ministamps func (client BaseClient) GetSubscriptionDeploymentLocations(ctx context.Context) (result DeploymentLocations, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/BaseClient.GetSubscriptionDeploymentLocations") @@ -337,7 +337,7 @@ func (client BaseClient) GetSubscriptionDeploymentLocationsResponder(resp *http. return } -// ListBillingMeters description for Gets a list of meters for a given location. +// ListBillingMeters gets a list of meters for a given location. // Parameters: // billingLocation - azure Location of billable resource // osType - app Service OS type meters used for @@ -459,7 +459,7 @@ func (client BaseClient) ListBillingMetersComplete(ctx context.Context, billingL return } -// ListGeoRegions description for Get a list of available geographical regions. +// ListGeoRegions get a list of available geographical regions. // Parameters: // sku - name of SKU used to filter the regions. // linuxWorkersEnabled - specify true if you want to filter to only regions that support Linux @@ -592,7 +592,7 @@ func (client BaseClient) ListGeoRegionsComplete(ctx context.Context, sku SkuName return } -// ListPremierAddOnOffers description for List all premier add-on offers. +// ListPremierAddOnOffers list all premier add-on offers. func (client BaseClient) ListPremierAddOnOffers(ctx context.Context) (result PremierAddOnOfferCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/BaseClient.ListPremierAddOnOffers") @@ -705,7 +705,7 @@ func (client BaseClient) ListPremierAddOnOffersComplete(ctx context.Context) (re return } -// ListSiteIdentifiersAssignedToHostName description for List all apps that are assigned to a hostname. +// ListSiteIdentifiersAssignedToHostName list all apps that are assigned to a hostname. // Parameters: // nameIdentifier - hostname information. func (client BaseClient) ListSiteIdentifiersAssignedToHostName(ctx context.Context, nameIdentifier NameIdentifier) (result IdentifierCollectionPage, err error) { @@ -822,7 +822,7 @@ func (client BaseClient) ListSiteIdentifiersAssignedToHostNameComplete(ctx conte return } -// ListSkus description for List all SKUs. +// ListSkus list all SKUs. func (client BaseClient) ListSkus(ctx context.Context) (result SkuInfos, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/BaseClient.ListSkus") @@ -893,7 +893,7 @@ func (client BaseClient) ListSkusResponder(resp *http.Response) (result SkuInfos return } -// ListSourceControls description for Gets the source controls available for Azure websites. +// ListSourceControls gets the source controls available for Azure websites. func (client BaseClient) ListSourceControls(ctx context.Context) (result SourceControlCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/BaseClient.ListSourceControls") @@ -1002,7 +1002,7 @@ func (client BaseClient) ListSourceControlsComplete(ctx context.Context) (result return } -// Move description for Move resources between resource groups. +// Move move resources between resource groups. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // moveResourceEnvelope - object that represents the resource to move. @@ -1092,7 +1092,7 @@ func (client BaseClient) MoveResponder(resp *http.Response) (result autorest.Res return } -// UpdatePublishingUser description for Updates publishing user +// UpdatePublishingUser updates publishing user // Parameters: // userDetails - details of publishing user func (client BaseClient) UpdatePublishingUser(ctx context.Context, userDetails User) (result User, err error) { @@ -1170,7 +1170,7 @@ func (client BaseClient) UpdatePublishingUserResponder(resp *http.Response) (res return } -// UpdateSourceControl description for Updates source control token +// UpdateSourceControl updates source control token // Parameters: // sourceControlType - type of source control // requestMessage - source control token information @@ -1246,7 +1246,7 @@ func (client BaseClient) UpdateSourceControlResponder(resp *http.Response) (resu return } -// Validate description for Validate if a resource can be created. +// Validate validate if a resource can be created. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // validateRequest - request with the resources to validate. @@ -1338,7 +1338,7 @@ func (client BaseClient) ValidateResponder(resp *http.Response) (result Validate return } -// ValidateMove description for Validate whether a resource can be moved. +// ValidateMove validate whether a resource can be moved. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // moveResourceEnvelope - object that represents the resource to move. @@ -1428,8 +1428,8 @@ func (client BaseClient) ValidateMoveResponder(resp *http.Response) (result auto return } -// VerifyHostingEnvironmentVnet description for Verifies if this VNET is compatible with an App Service Environment by -// analyzing the Network Security Group rules. +// VerifyHostingEnvironmentVnet verifies if this VNET is compatible with an App Service Environment by analyzing the +// Network Security Group rules. // Parameters: // parameters - VNET information func (client BaseClient) VerifyHostingEnvironmentVnet(ctx context.Context, parameters VnetParameters) (result VnetValidationFailureDetails, err error) { diff --git a/services/web/mgmt/2020-06-01/web/deletedwebapps.go b/services/web/mgmt/2020-06-01/web/deletedwebapps.go index 45a4522f352e..08bffb0a40e0 100644 --- a/services/web/mgmt/2020-06-01/web/deletedwebapps.go +++ b/services/web/mgmt/2020-06-01/web/deletedwebapps.go @@ -30,7 +30,7 @@ func NewDeletedWebAppsClientWithBaseURI(baseURI string, subscriptionID string) D return DeletedWebAppsClient{NewWithBaseURI(baseURI, subscriptionID)} } -// GetDeletedWebAppByLocation description for Get deleted app for a subscription at location. +// GetDeletedWebAppByLocation get deleted app for a subscription at location. // Parameters: // deletedSiteID - the numeric ID of the deleted app, e.g. 12345 func (client DeletedWebAppsClient) GetDeletedWebAppByLocation(ctx context.Context, location string, deletedSiteID string) (result DeletedSite, err error) { @@ -105,7 +105,7 @@ func (client DeletedWebAppsClient) GetDeletedWebAppByLocationResponder(resp *htt return } -// List description for Get all deleted apps for a subscription. +// List get all deleted apps for a subscription. func (client DeletedWebAppsClient) List(ctx context.Context) (result DeletedWebAppCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/DeletedWebAppsClient.List") @@ -218,7 +218,7 @@ func (client DeletedWebAppsClient) ListComplete(ctx context.Context) (result Del return } -// ListByLocation description for Get all deleted apps for a subscription at location +// ListByLocation get all deleted apps for a subscription at location func (client DeletedWebAppsClient) ListByLocation(ctx context.Context, location string) (result DeletedWebAppCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/DeletedWebAppsClient.ListByLocation") diff --git a/services/web/mgmt/2020-06-01/web/diagnostics.go b/services/web/mgmt/2020-06-01/web/diagnostics.go index ce889ded0e2b..18d96bb5c203 100644 --- a/services/web/mgmt/2020-06-01/web/diagnostics.go +++ b/services/web/mgmt/2020-06-01/web/diagnostics.go @@ -32,7 +32,7 @@ func NewDiagnosticsClientWithBaseURI(baseURI string, subscriptionID string) Diag return DiagnosticsClient{NewWithBaseURI(baseURI, subscriptionID)} } -// ExecuteSiteAnalysis description for Execute Analysis +// ExecuteSiteAnalysis execute Analysis // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -135,7 +135,7 @@ func (client DiagnosticsClient) ExecuteSiteAnalysisResponder(resp *http.Response return } -// ExecuteSiteAnalysisSlot description for Execute Analysis +// ExecuteSiteAnalysisSlot execute Analysis // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -240,7 +240,7 @@ func (client DiagnosticsClient) ExecuteSiteAnalysisSlotResponder(resp *http.Resp return } -// ExecuteSiteDetector description for Execute Detector +// ExecuteSiteDetector execute Detector // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -343,7 +343,7 @@ func (client DiagnosticsClient) ExecuteSiteDetectorResponder(resp *http.Response return } -// ExecuteSiteDetectorSlot description for Execute Detector +// ExecuteSiteDetectorSlot execute Detector // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -448,7 +448,7 @@ func (client DiagnosticsClient) ExecuteSiteDetectorSlotResponder(resp *http.Resp return } -// GetHostingEnvironmentDetectorResponse description for Get Hosting Environment Detector Response +// GetHostingEnvironmentDetectorResponse get Hosting Environment Detector Response // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - app Service Environment Name @@ -549,7 +549,7 @@ func (client DiagnosticsClient) GetHostingEnvironmentDetectorResponseResponder(r return } -// GetSiteAnalysis description for Get Site Analysis +// GetSiteAnalysis get Site Analysis // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -637,7 +637,7 @@ func (client DiagnosticsClient) GetSiteAnalysisResponder(resp *http.Response) (r return } -// GetSiteAnalysisSlot description for Get Site Analysis +// GetSiteAnalysisSlot get Site Analysis // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -727,7 +727,7 @@ func (client DiagnosticsClient) GetSiteAnalysisSlotResponder(resp *http.Response return } -// GetSiteDetector description for Get Detector +// GetSiteDetector get Detector // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -815,7 +815,7 @@ func (client DiagnosticsClient) GetSiteDetectorResponder(resp *http.Response) (r return } -// GetSiteDetectorResponse description for Get site detector response +// GetSiteDetectorResponse get site detector response // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -916,7 +916,7 @@ func (client DiagnosticsClient) GetSiteDetectorResponseResponder(resp *http.Resp return } -// GetSiteDetectorResponseSlot description for Get site detector response +// GetSiteDetectorResponseSlot get site detector response // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -1019,7 +1019,7 @@ func (client DiagnosticsClient) GetSiteDetectorResponseSlotResponder(resp *http. return } -// GetSiteDetectorSlot description for Get Detector +// GetSiteDetectorSlot get Detector // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -1109,7 +1109,7 @@ func (client DiagnosticsClient) GetSiteDetectorSlotResponder(resp *http.Response return } -// GetSiteDiagnosticCategory description for Get Diagnostics Category +// GetSiteDiagnosticCategory get Diagnostics Category // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -1195,7 +1195,7 @@ func (client DiagnosticsClient) GetSiteDiagnosticCategoryResponder(resp *http.Re return } -// GetSiteDiagnosticCategorySlot description for Get Diagnostics Category +// GetSiteDiagnosticCategorySlot get Diagnostics Category // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -1283,7 +1283,7 @@ func (client DiagnosticsClient) GetSiteDiagnosticCategorySlotResponder(resp *htt return } -// ListHostingEnvironmentDetectorResponses description for List Hosting Environment Detector Responses +// ListHostingEnvironmentDetectorResponses list Hosting Environment Detector Responses // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site Name @@ -1409,7 +1409,7 @@ func (client DiagnosticsClient) ListHostingEnvironmentDetectorResponsesComplete( return } -// ListSiteAnalyses description for Get Site Analyses +// ListSiteAnalyses get Site Analyses // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -1537,7 +1537,7 @@ func (client DiagnosticsClient) ListSiteAnalysesComplete(ctx context.Context, re return } -// ListSiteAnalysesSlot description for Get Site Analyses +// ListSiteAnalysesSlot get Site Analyses // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -1667,7 +1667,7 @@ func (client DiagnosticsClient) ListSiteAnalysesSlotComplete(ctx context.Context return } -// ListSiteDetectorResponses description for List Site Detector Responses +// ListSiteDetectorResponses list Site Detector Responses // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -1793,7 +1793,7 @@ func (client DiagnosticsClient) ListSiteDetectorResponsesComplete(ctx context.Co return } -// ListSiteDetectorResponsesSlot description for List Site Detector Responses +// ListSiteDetectorResponsesSlot list Site Detector Responses // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -1921,7 +1921,7 @@ func (client DiagnosticsClient) ListSiteDetectorResponsesSlotComplete(ctx contex return } -// ListSiteDetectors description for Get Detectors +// ListSiteDetectors get Detectors // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -2049,7 +2049,7 @@ func (client DiagnosticsClient) ListSiteDetectorsComplete(ctx context.Context, r return } -// ListSiteDetectorsSlot description for Get Detectors +// ListSiteDetectorsSlot get Detectors // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -2179,7 +2179,7 @@ func (client DiagnosticsClient) ListSiteDetectorsSlotComplete(ctx context.Contex return } -// ListSiteDiagnosticCategories description for Get Diagnostics Categories +// ListSiteDiagnosticCategories get Diagnostics Categories // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -2305,7 +2305,7 @@ func (client DiagnosticsClient) ListSiteDiagnosticCategoriesComplete(ctx context return } -// ListSiteDiagnosticCategoriesSlot description for Get Diagnostics Categories +// ListSiteDiagnosticCategoriesSlot get Diagnostics Categories // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name diff --git a/services/web/mgmt/2020-06-01/web/domainregistrationprovider.go b/services/web/mgmt/2020-06-01/web/domainregistrationprovider.go index a9402da80615..323636e19d0f 100644 --- a/services/web/mgmt/2020-06-01/web/domainregistrationprovider.go +++ b/services/web/mgmt/2020-06-01/web/domainregistrationprovider.go @@ -31,8 +31,7 @@ func NewDomainRegistrationProviderClientWithBaseURI(baseURI string, subscription return DomainRegistrationProviderClient{NewWithBaseURI(baseURI, subscriptionID)} } -// ListOperations description for Implements Csm operations Api to exposes the list of available Csm Apis under the -// resource provider +// ListOperations implements Csm operations Api to exposes the list of available Csm Apis under the resource provider func (client DomainRegistrationProviderClient) ListOperations(ctx context.Context) (result CsmOperationCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/DomainRegistrationProviderClient.ListOperations") diff --git a/services/web/mgmt/2020-06-01/web/domains.go b/services/web/mgmt/2020-06-01/web/domains.go index 12ab2b1964ce..2ee4bcaf8a13 100644 --- a/services/web/mgmt/2020-06-01/web/domains.go +++ b/services/web/mgmt/2020-06-01/web/domains.go @@ -31,7 +31,7 @@ func NewDomainsClientWithBaseURI(baseURI string, subscriptionID string) DomainsC return DomainsClient{NewWithBaseURI(baseURI, subscriptionID)} } -// CheckAvailability description for Check if a domain is available for registration. +// CheckAvailability check if a domain is available for registration. // Parameters: // identifier - name of the domain. func (client DomainsClient) CheckAvailability(ctx context.Context, identifier NameIdentifier) (result DomainAvailabilityCheckResult, err error) { @@ -106,7 +106,7 @@ func (client DomainsClient) CheckAvailabilityResponder(resp *http.Response) (res return } -// CreateOrUpdate description for Creates or updates a domain. +// CreateOrUpdate creates or updates a domain. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // domainName - name of the domain. @@ -254,8 +254,8 @@ func (client DomainsClient) CreateOrUpdateResponder(resp *http.Response) (result return } -// CreateOrUpdateOwnershipIdentifier description for Creates an ownership identifier for a domain or updates identifier -// details for an existing identifer +// CreateOrUpdateOwnershipIdentifier creates an ownership identifier for a domain or updates identifier details for an +// existing identifier // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // domainName - name of domain. @@ -344,7 +344,7 @@ func (client DomainsClient) CreateOrUpdateOwnershipIdentifierResponder(resp *htt return } -// Delete description for Delete a domain. +// Delete delete a domain. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // domainName - name of the domain. @@ -432,7 +432,7 @@ func (client DomainsClient) DeleteResponder(resp *http.Response) (result autores return } -// DeleteOwnershipIdentifier description for Delete ownership identifier for domain +// DeleteOwnershipIdentifier delete ownership identifier for domain // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // domainName - name of domain. @@ -517,7 +517,7 @@ func (client DomainsClient) DeleteOwnershipIdentifierResponder(resp *http.Respon return } -// Get description for Get a domain. +// Get get a domain. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // domainName - name of the domain. @@ -601,7 +601,7 @@ func (client DomainsClient) GetResponder(resp *http.Response) (result Domain, er return } -// GetControlCenterSsoRequest description for Generate a single sign-on request for the domain management portal. +// GetControlCenterSsoRequest generate a single sign-on request for the domain management portal. func (client DomainsClient) GetControlCenterSsoRequest(ctx context.Context) (result DomainControlCenterSsoRequest, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/DomainsClient.GetControlCenterSsoRequest") @@ -672,7 +672,7 @@ func (client DomainsClient) GetControlCenterSsoRequestResponder(resp *http.Respo return } -// GetOwnershipIdentifier description for Get ownership identifier for domain +// GetOwnershipIdentifier get ownership identifier for domain // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // domainName - name of domain. @@ -758,7 +758,7 @@ func (client DomainsClient) GetOwnershipIdentifierResponder(resp *http.Response) return } -// List description for Get all domains in a subscription. +// List get all domains in a subscription. func (client DomainsClient) List(ctx context.Context) (result DomainCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/DomainsClient.List") @@ -871,7 +871,7 @@ func (client DomainsClient) ListComplete(ctx context.Context) (result DomainColl return } -// ListByResourceGroup description for Get all domains in a resource group. +// ListByResourceGroup get all domains in a resource group. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. func (client DomainsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result DomainCollectionPage, err error) { @@ -995,7 +995,7 @@ func (client DomainsClient) ListByResourceGroupComplete(ctx context.Context, res return } -// ListOwnershipIdentifiers description for Lists domain ownership identifiers. +// ListOwnershipIdentifiers lists domain ownership identifiers. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // domainName - name of domain. @@ -1121,7 +1121,7 @@ func (client DomainsClient) ListOwnershipIdentifiersComplete(ctx context.Context return } -// ListRecommendations description for Get domain name recommendations based on keywords. +// ListRecommendations get domain name recommendations based on keywords. // Parameters: // parameters - search parameters for domain name recommendations. func (client DomainsClient) ListRecommendations(ctx context.Context, parameters DomainRecommendationSearchParameters) (result NameIdentifierCollectionPage, err error) { @@ -1238,7 +1238,7 @@ func (client DomainsClient) ListRecommendationsComplete(ctx context.Context, par return } -// Renew description for Renew a domain. +// Renew renew a domain. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // domainName - name of the domain. @@ -1321,7 +1321,7 @@ func (client DomainsClient) RenewResponder(resp *http.Response) (result autorest return } -// Update description for Creates or updates a domain. +// Update creates or updates a domain. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // domainName - name of the domain. @@ -1410,8 +1410,8 @@ func (client DomainsClient) UpdateResponder(resp *http.Response) (result Domain, return } -// UpdateOwnershipIdentifier description for Creates an ownership identifier for a domain or updates identifier details -// for an existing identifer +// UpdateOwnershipIdentifier creates an ownership identifier for a domain or updates identifier details for an existing +// identifier // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // domainName - name of domain. diff --git a/services/web/mgmt/2020-06-01/web/models.go b/services/web/mgmt/2020-06-01/web/models.go index 288a8c398d5e..9d6deb53f8fb 100644 --- a/services/web/mgmt/2020-06-01/web/models.go +++ b/services/web/mgmt/2020-06-01/web/models.go @@ -21697,6 +21697,10 @@ type SiteConfig struct { RemoteDebuggingVersion *string `json:"remoteDebuggingVersion,omitempty"` // HTTPLoggingEnabled - true if HTTP logging is enabled; otherwise, false. HTTPLoggingEnabled *bool `json:"httpLoggingEnabled,omitempty"` + // AcrUseManagedIdentityCreds - Flag to use Managed Identity Creds for ACR pull + AcrUseManagedIdentityCreds *bool `json:"acrUseManagedIdentityCreds,omitempty"` + // AcrUserManagedIdentityID - If using user managed identity, the user managed identity ClientId + AcrUserManagedIdentityID *string `json:"acrUserManagedIdentityID,omitempty"` // LogsDirectorySizeLimit - HTTP logs directory size limit. LogsDirectorySizeLimit *int32 `json:"logsDirectorySizeLimit,omitempty"` // DetailedErrorLoggingEnabled - true if detailed error logging is enabled; otherwise, false. @@ -21833,6 +21837,12 @@ func (sc SiteConfig) MarshalJSON() ([]byte, error) { if sc.HTTPLoggingEnabled != nil { objectMap["httpLoggingEnabled"] = sc.HTTPLoggingEnabled } + if sc.AcrUseManagedIdentityCreds != nil { + objectMap["acrUseManagedIdentityCreds"] = sc.AcrUseManagedIdentityCreds + } + if sc.AcrUserManagedIdentityID != nil { + objectMap["acrUserManagedIdentityID"] = sc.AcrUserManagedIdentityID + } if sc.LogsDirectorySizeLimit != nil { objectMap["logsDirectorySizeLimit"] = sc.LogsDirectorySizeLimit } diff --git a/services/web/mgmt/2020-06-01/web/provider.go b/services/web/mgmt/2020-06-01/web/provider.go index fceed29247ae..a95be3d540d9 100644 --- a/services/web/mgmt/2020-06-01/web/provider.go +++ b/services/web/mgmt/2020-06-01/web/provider.go @@ -30,7 +30,7 @@ func NewProviderClientWithBaseURI(baseURI string, subscriptionID string) Provide return ProviderClient{NewWithBaseURI(baseURI, subscriptionID)} } -// GetAvailableStacks description for Get available application frameworks and their versions +// GetAvailableStacks get available application frameworks and their versions func (client ProviderClient) GetAvailableStacks(ctx context.Context, osTypeSelected string) (result ApplicationStackCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/ProviderClient.GetAvailableStacks") @@ -142,7 +142,7 @@ func (client ProviderClient) GetAvailableStacksComplete(ctx context.Context, osT return } -// GetAvailableStacksOnPrem description for Get available application frameworks and their versions +// GetAvailableStacksOnPrem get available application frameworks and their versions func (client ProviderClient) GetAvailableStacksOnPrem(ctx context.Context, osTypeSelected string) (result ApplicationStackCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/ProviderClient.GetAvailableStacksOnPrem") @@ -258,8 +258,8 @@ func (client ProviderClient) GetAvailableStacksOnPremComplete(ctx context.Contex return } -// ListOperations description for Gets all available operations for the Microsoft.Web resource provider. Also exposes -// resource metric definitions +// ListOperations gets all available operations for the Microsoft.Web resource provider. Also exposes resource metric +// definitions func (client ProviderClient) ListOperations(ctx context.Context) (result CsmOperationCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/ProviderClient.ListOperations") diff --git a/services/web/mgmt/2020-06-01/web/recommendations.go b/services/web/mgmt/2020-06-01/web/recommendations.go index 4fb336465e87..af5db4fda61c 100644 --- a/services/web/mgmt/2020-06-01/web/recommendations.go +++ b/services/web/mgmt/2020-06-01/web/recommendations.go @@ -31,7 +31,7 @@ func NewRecommendationsClientWithBaseURI(baseURI string, subscriptionID string) return RecommendationsClient{NewWithBaseURI(baseURI, subscriptionID)} } -// DisableAllForHostingEnvironment description for Disable all recommendations for an app. +// DisableAllForHostingEnvironment disable all recommendations for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // environmentName - name of the app. @@ -115,7 +115,7 @@ func (client RecommendationsClient) DisableAllForHostingEnvironmentResponder(res return } -// DisableAllForWebApp description for Disable all recommendations for an app. +// DisableAllForWebApp disable all recommendations for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - name of the app. @@ -198,7 +198,7 @@ func (client RecommendationsClient) DisableAllForWebAppResponder(resp *http.Resp return } -// DisableRecommendationForHostingEnvironment description for Disables the specific rule for a web site permanently. +// DisableRecommendationForHostingEnvironment disables the specific rule for a web site permanently. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // environmentName - site name @@ -284,7 +284,7 @@ func (client RecommendationsClient) DisableRecommendationForHostingEnvironmentRe return } -// DisableRecommendationForSite description for Disables the specific rule for a web site permanently. +// DisableRecommendationForSite disables the specific rule for a web site permanently. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site name @@ -369,8 +369,8 @@ func (client RecommendationsClient) DisableRecommendationForSiteResponder(resp * return } -// DisableRecommendationForSubscription description for Disables the specified rule so it will not apply to a -// subscription in the future. +// DisableRecommendationForSubscription disables the specified rule so it will not apply to a subscription in the +// future. // Parameters: // name - rule name func (client RecommendationsClient) DisableRecommendationForSubscription(ctx context.Context, name string) (result autorest.Response, err error) { @@ -443,7 +443,7 @@ func (client RecommendationsClient) DisableRecommendationForSubscriptionResponde return } -// GetRuleDetailsByHostingEnvironment description for Get a recommendation rule for an app. +// GetRuleDetailsByHostingEnvironment get a recommendation rule for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // hostingEnvironmentName - name of the hosting environment. @@ -538,7 +538,7 @@ func (client RecommendationsClient) GetRuleDetailsByHostingEnvironmentResponder( return } -// GetRuleDetailsByWebApp description for Get a recommendation rule for an app. +// GetRuleDetailsByWebApp get a recommendation rule for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - name of the app. @@ -633,7 +633,7 @@ func (client RecommendationsClient) GetRuleDetailsByWebAppResponder(resp *http.R return } -// List description for List all recommendations for a subscription. +// List list all recommendations for a subscription. // Parameters: // featured - specify true to return only the most critical recommendations. The default is // false, which returns all recommendations. @@ -758,8 +758,7 @@ func (client RecommendationsClient) ListComplete(ctx context.Context, featured * return } -// ListHistoryForHostingEnvironment description for Get past recommendations for an app, optionally specified by the -// time range. +// ListHistoryForHostingEnvironment get past recommendations for an app, optionally specified by the time range. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // hostingEnvironmentName - name of the hosting environment. @@ -896,7 +895,7 @@ func (client RecommendationsClient) ListHistoryForHostingEnvironmentComplete(ctx return } -// ListHistoryForWebApp description for Get past recommendations for an app, optionally specified by the time range. +// ListHistoryForWebApp get past recommendations for an app, optionally specified by the time range. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - name of the app. @@ -1033,7 +1032,7 @@ func (client RecommendationsClient) ListHistoryForWebAppComplete(ctx context.Con return } -// ListRecommendedRulesForHostingEnvironment description for Get all recommendations for a hosting environment. +// ListRecommendedRulesForHostingEnvironment get all recommendations for a hosting environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // hostingEnvironmentName - name of the app. @@ -1169,7 +1168,7 @@ func (client RecommendationsClient) ListRecommendedRulesForHostingEnvironmentCom return } -// ListRecommendedRulesForWebApp description for Get all recommendations for an app. +// ListRecommendedRulesForWebApp get all recommendations for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - name of the app. @@ -1305,7 +1304,7 @@ func (client RecommendationsClient) ListRecommendedRulesForWebAppComplete(ctx co return } -// ResetAllFilters description for Reset all recommendation opt-out settings for a subscription. +// ResetAllFilters reset all recommendation opt-out settings for a subscription. func (client RecommendationsClient) ResetAllFilters(ctx context.Context) (result autorest.Response, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/RecommendationsClient.ResetAllFilters") @@ -1375,7 +1374,7 @@ func (client RecommendationsClient) ResetAllFiltersResponder(resp *http.Response return } -// ResetAllFiltersForHostingEnvironment description for Reset all recommendation opt-out settings for an app. +// ResetAllFiltersForHostingEnvironment reset all recommendation opt-out settings for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // environmentName - name of the app. @@ -1459,7 +1458,7 @@ func (client RecommendationsClient) ResetAllFiltersForHostingEnvironmentResponde return } -// ResetAllFiltersForWebApp description for Reset all recommendation opt-out settings for an app. +// ResetAllFiltersForWebApp reset all recommendation opt-out settings for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - name of the app. diff --git a/services/web/mgmt/2020-06-01/web/resourcehealthmetadata.go b/services/web/mgmt/2020-06-01/web/resourcehealthmetadata.go index aa060401fb50..087d617a423d 100644 --- a/services/web/mgmt/2020-06-01/web/resourcehealthmetadata.go +++ b/services/web/mgmt/2020-06-01/web/resourcehealthmetadata.go @@ -32,7 +32,7 @@ func NewResourceHealthMetadataClientWithBaseURI(baseURI string, subscriptionID s return ResourceHealthMetadataClient{NewWithBaseURI(baseURI, subscriptionID)} } -// GetBySite description for Gets the category of ResourceHealthMetadata to use for the given site +// GetBySite gets the category of ResourceHealthMetadata to use for the given site // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app @@ -116,7 +116,7 @@ func (client ResourceHealthMetadataClient) GetBySiteResponder(resp *http.Respons return } -// GetBySiteSlot description for Gets the category of ResourceHealthMetadata to use for the given site +// GetBySiteSlot gets the category of ResourceHealthMetadata to use for the given site // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app @@ -202,7 +202,7 @@ func (client ResourceHealthMetadataClient) GetBySiteSlotResponder(resp *http.Res return } -// List description for List all ResourceHealthMetadata for all sites in the subscription. +// List list all ResourceHealthMetadata for all sites in the subscription. func (client ResourceHealthMetadataClient) List(ctx context.Context) (result ResourceHealthMetadataCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/ResourceHealthMetadataClient.List") @@ -315,8 +315,7 @@ func (client ResourceHealthMetadataClient) ListComplete(ctx context.Context) (re return } -// ListByResourceGroup description for List all ResourceHealthMetadata for all sites in the resource group in the -// subscription. +// ListByResourceGroup list all ResourceHealthMetadata for all sites in the resource group in the subscription. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. func (client ResourceHealthMetadataClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ResourceHealthMetadataCollectionPage, err error) { @@ -440,7 +439,7 @@ func (client ResourceHealthMetadataClient) ListByResourceGroupComplete(ctx conte return } -// ListBySite description for Gets the category of ResourceHealthMetadata to use for the given site as a collection +// ListBySite gets the category of ResourceHealthMetadata to use for the given site as a collection // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -566,7 +565,7 @@ func (client ResourceHealthMetadataClient) ListBySiteComplete(ctx context.Contex return } -// ListBySiteSlot description for Gets the category of ResourceHealthMetadata to use for the given site as a collection +// ListBySiteSlot gets the category of ResourceHealthMetadata to use for the given site as a collection // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. diff --git a/services/web/mgmt/2020-06-01/web/staticsites.go b/services/web/mgmt/2020-06-01/web/staticsites.go index 380ec39aae63..c49e6083e548 100644 --- a/services/web/mgmt/2020-06-01/web/staticsites.go +++ b/services/web/mgmt/2020-06-01/web/staticsites.go @@ -31,8 +31,8 @@ func NewStaticSitesClientWithBaseURI(baseURI string, subscriptionID string) Stat return StaticSitesClient{NewWithBaseURI(baseURI, subscriptionID)} } -// CreateOrUpdateStaticSite description for Creates a new static site in an existing resource group, or updates an -// existing static site. +// CreateOrUpdateStaticSite creates a new static site in an existing resource group, or updates an existing static +// site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site to create or update. @@ -119,8 +119,8 @@ func (client StaticSitesClient) CreateOrUpdateStaticSiteResponder(resp *http.Res return } -// CreateOrUpdateStaticSiteBuildFunctionAppSettings description for Creates or updates the function app settings of a -// static site build. +// CreateOrUpdateStaticSiteBuildFunctionAppSettings creates or updates the function app settings of a static site +// build. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -208,8 +208,8 @@ func (client StaticSitesClient) CreateOrUpdateStaticSiteBuildFunctionAppSettings return } -// CreateOrUpdateStaticSiteCustomDomain description for Creates a new static site custom domain in an existing resource -// group and static site. +// CreateOrUpdateStaticSiteCustomDomain creates a new static site custom domain in an existing resource group and +// static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -295,8 +295,7 @@ func (client StaticSitesClient) CreateOrUpdateStaticSiteCustomDomainResponder(re return } -// CreateOrUpdateStaticSiteFunctionAppSettings description for Creates or updates the function app settings of a static -// site. +// CreateOrUpdateStaticSiteFunctionAppSettings creates or updates the function app settings of a static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -382,7 +381,7 @@ func (client StaticSitesClient) CreateOrUpdateStaticSiteFunctionAppSettingsRespo return } -// CreateUserRolesInvitationLink description for Creates an invitation link for a user with the role +// CreateUserRolesInvitationLink creates an invitation link for a user with the role // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -468,7 +467,7 @@ func (client StaticSitesClient) CreateUserRolesInvitationLinkResponder(resp *htt return } -// DeleteStaticSite description for Deletes a static site. +// DeleteStaticSite deletes a static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site to delete. @@ -551,7 +550,7 @@ func (client StaticSitesClient) DeleteStaticSiteResponder(resp *http.Response) ( return } -// DeleteStaticSiteBuild description for Deletes a static site build. +// DeleteStaticSiteBuild deletes a static site build. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -636,7 +635,7 @@ func (client StaticSitesClient) DeleteStaticSiteBuildResponder(resp *http.Respon return } -// DeleteStaticSiteCustomDomain description for Deletes a custom domain. +// DeleteStaticSiteCustomDomain deletes a custom domain. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -721,7 +720,7 @@ func (client StaticSitesClient) DeleteStaticSiteCustomDomainResponder(resp *http return } -// DeleteStaticSiteUser description for Deletes the user entry from the static site. +// DeleteStaticSiteUser deletes the user entry from the static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the staticsite. @@ -808,7 +807,7 @@ func (client StaticSitesClient) DeleteStaticSiteUserResponder(resp *http.Respons return } -// DetachStaticSite description for Detaches a static site. +// DetachStaticSite detaches a static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site to detach. @@ -891,7 +890,7 @@ func (client StaticSitesClient) DetachStaticSiteResponder(resp *http.Response) ( return } -// GetStaticSite description for Gets the details of a static site. +// GetStaticSite gets the details of a static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -975,7 +974,7 @@ func (client StaticSitesClient) GetStaticSiteResponder(resp *http.Response) (res return } -// GetStaticSiteBuild description for Gets the details of a static site build. +// GetStaticSiteBuild gets the details of a static site build. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -1061,7 +1060,7 @@ func (client StaticSitesClient) GetStaticSiteBuildResponder(resp *http.Response) return } -// GetStaticSiteBuilds description for Gets all static site builds for a particular static site. +// GetStaticSiteBuilds gets all static site builds for a particular static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -1187,7 +1186,7 @@ func (client StaticSitesClient) GetStaticSiteBuildsComplete(ctx context.Context, return } -// GetStaticSitesByResourceGroup description for Gets all static sites in the specified resource group. +// GetStaticSitesByResourceGroup gets all static sites in the specified resource group. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. func (client StaticSitesClient) GetStaticSitesByResourceGroup(ctx context.Context, resourceGroupName string) (result StaticSiteCollectionPage, err error) { @@ -1311,7 +1310,7 @@ func (client StaticSitesClient) GetStaticSitesByResourceGroupComplete(ctx contex return } -// List description for Get all Static Sites for a subscription. +// List get all Static Sites for a subscription. func (client StaticSitesClient) List(ctx context.Context) (result StaticSiteCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/StaticSitesClient.List") @@ -1424,7 +1423,7 @@ func (client StaticSitesClient) ListComplete(ctx context.Context) (result Static return } -// ListStaticSiteBuildFunctionAppSettings description for Gets the application settings of a static site. +// ListStaticSiteBuildFunctionAppSettings gets the application settings of a static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -1510,7 +1509,7 @@ func (client StaticSitesClient) ListStaticSiteBuildFunctionAppSettingsResponder( return } -// ListStaticSiteBuildFunctions description for Gets the functions of a particular static site build. +// ListStaticSiteBuildFunctions gets the functions of a particular static site build. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -1638,7 +1637,7 @@ func (client StaticSitesClient) ListStaticSiteBuildFunctionsComplete(ctx context return } -// ListStaticSiteCustomDomains description for Gets all static site custom domains for a particular static site. +// ListStaticSiteCustomDomains gets all static site custom domains for a particular static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site resource to search in. @@ -1764,7 +1763,7 @@ func (client StaticSitesClient) ListStaticSiteCustomDomainsComplete(ctx context. return } -// ListStaticSiteFunctionAppSettings description for Gets the application settings of a static site. +// ListStaticSiteFunctionAppSettings gets the application settings of a static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -1848,7 +1847,7 @@ func (client StaticSitesClient) ListStaticSiteFunctionAppSettingsResponder(resp return } -// ListStaticSiteFunctions description for Gets the functions of a static site. +// ListStaticSiteFunctions gets the functions of a static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -1974,7 +1973,7 @@ func (client StaticSitesClient) ListStaticSiteFunctionsComplete(ctx context.Cont return } -// ListStaticSiteSecrets description for Lists the secrets for an existing static site. +// ListStaticSiteSecrets lists the secrets for an existing static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -2058,7 +2057,7 @@ func (client StaticSitesClient) ListStaticSiteSecretsResponder(resp *http.Respon return } -// ListStaticSiteUsers description for Gets the list of users of a static site. +// ListStaticSiteUsers gets the list of users of a static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -2186,7 +2185,7 @@ func (client StaticSitesClient) ListStaticSiteUsersComplete(ctx context.Context, return } -// PreviewWorkflow description for Generates a preview workflow file for the static site +// PreviewWorkflow generates a preview workflow file for the static site // Parameters: // location - location where you plan to create the static site. // staticSitesWorkflowPreviewRequest - a JSON representation of the StaticSitesWorkflowPreviewRequest @@ -2264,7 +2263,7 @@ func (client StaticSitesClient) PreviewWorkflowResponder(resp *http.Response) (r return } -// ResetStaticSiteAPIKey description for Resets the api key for an existing static site. +// ResetStaticSiteAPIKey resets the api key for an existing static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -2349,8 +2348,7 @@ func (client StaticSitesClient) ResetStaticSiteAPIKeyResponder(resp *http.Respon return } -// UpdateStaticSite description for Creates a new static site in an existing resource group, or updates an existing -// static site. +// UpdateStaticSite creates a new static site in an existing resource group, or updates an existing static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site to create or update. @@ -2437,7 +2435,7 @@ func (client StaticSitesClient) UpdateStaticSiteResponder(resp *http.Response) ( return } -// UpdateStaticSiteUser description for Updates a user entry with the listed roles +// UpdateStaticSiteUser updates a user entry with the listed roles // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -2528,8 +2526,7 @@ func (client StaticSitesClient) UpdateStaticSiteUserResponder(resp *http.Respons return } -// ValidateCustomDomainCanBeAddedToStaticSite description for Validates a particular custom domain can be added to a -// static site. +// ValidateCustomDomainCanBeAddedToStaticSite validates a particular custom domain can be added to a static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. diff --git a/services/web/mgmt/2020-06-01/web/topleveldomains.go b/services/web/mgmt/2020-06-01/web/topleveldomains.go index 40aee5bb8d45..7900017bd0e2 100644 --- a/services/web/mgmt/2020-06-01/web/topleveldomains.go +++ b/services/web/mgmt/2020-06-01/web/topleveldomains.go @@ -30,7 +30,7 @@ func NewTopLevelDomainsClientWithBaseURI(baseURI string, subscriptionID string) return TopLevelDomainsClient{NewWithBaseURI(baseURI, subscriptionID)} } -// Get description for Get details of a top-level domain. +// Get get details of a top-level domain. // Parameters: // name - name of the top-level domain. func (client TopLevelDomainsClient) Get(ctx context.Context, name string) (result TopLevelDomain, err error) { @@ -104,7 +104,7 @@ func (client TopLevelDomainsClient) GetResponder(resp *http.Response) (result To return } -// List description for Get all top-level domains supported for registration. +// List get all top-level domains supported for registration. func (client TopLevelDomainsClient) List(ctx context.Context) (result TopLevelDomainCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/TopLevelDomainsClient.List") @@ -217,7 +217,7 @@ func (client TopLevelDomainsClient) ListComplete(ctx context.Context) (result To return } -// ListAgreements description for Gets all legal agreements that user needs to accept before purchasing a domain. +// ListAgreements gets all legal agreements that user needs to accept before purchasing a domain. // Parameters: // name - name of the top-level domain. // agreementOption - domain agreement options. diff --git a/services/web/mgmt/2020-09-01/web/CHANGELOG.md b/services/web/mgmt/2020-09-01/web/CHANGELOG.md index 52911e4cc5e4..8aa7b74a5059 100644 --- a/services/web/mgmt/2020-09-01/web/CHANGELOG.md +++ b/services/web/mgmt/2020-09-01/web/CHANGELOG.md @@ -1,2 +1,25 @@ -# Change History +# Unreleased +## Breaking Changes + +### Removed Funcs + +1. BaseClient.GenerateGithubAccessTokenForAppserviceCLIAsync(context.Context, AppserviceGithubTokenRequest) (AppserviceGithubToken, error) +1. BaseClient.GenerateGithubAccessTokenForAppserviceCLIAsyncPreparer(context.Context, AppserviceGithubTokenRequest) (*http.Request, error) +1. BaseClient.GenerateGithubAccessTokenForAppserviceCLIAsyncResponder(*http.Response) (AppserviceGithubToken, error) +1. BaseClient.GenerateGithubAccessTokenForAppserviceCLIAsyncSender(*http.Request) (*http.Response, error) + +### Struct Changes + +#### Removed Struct Fields + +1. AppserviceGithubToken.autorest.Response + +## Additive Changes + +### Struct Changes + +#### New Struct Fields + +1. SiteConfig.AcrUseManagedIdentityCreds +1. SiteConfig.AcrUserManagedIdentityID diff --git a/services/web/mgmt/2020-09-01/web/_meta.json b/services/web/mgmt/2020-09-01/web/_meta.json index 79a507a47bae..a0b7198a06e2 100644 --- a/services/web/mgmt/2020-09-01/web/_meta.json +++ b/services/web/mgmt/2020-09-01/web/_meta.json @@ -1,5 +1,5 @@ { - "commit": "8240593bde5350e6762015523ccd57cb61e32da5", + "commit": "eb2b882ef0a4aa5956ca38cfa566fc4d7cfb3fb0", "readme": "/_/azure-rest-api-specs/specification/web/resource-manager/readme.md", "tag": "package-2020-09", "use": "@microsoft.azure/autorest.go@2.1.187", diff --git a/services/web/mgmt/2020-09-01/web/apps.go b/services/web/mgmt/2020-09-01/web/apps.go index 13df90c3848d..2935c104c77c 100644 --- a/services/web/mgmt/2020-09-01/web/apps.go +++ b/services/web/mgmt/2020-09-01/web/apps.go @@ -31,7 +31,7 @@ func NewAppsClientWithBaseURI(baseURI string, subscriptionID string) AppsClient return AppsClient{NewWithBaseURI(baseURI, subscriptionID)} } -// AddPremierAddOn description for Updates a named add-on of an app. +// AddPremierAddOn updates a named add-on of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -120,7 +120,7 @@ func (client AppsClient) AddPremierAddOnResponder(resp *http.Response) (result P return } -// AddPremierAddOnSlot description for Updates a named add-on of an app. +// AddPremierAddOnSlot updates a named add-on of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -212,7 +212,7 @@ func (client AppsClient) AddPremierAddOnSlotResponder(resp *http.Response) (resu return } -// AnalyzeCustomHostname description for Analyze a custom hostname. +// AnalyzeCustomHostname analyze a custom hostname. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -300,7 +300,7 @@ func (client AppsClient) AnalyzeCustomHostnameResponder(resp *http.Response) (re return } -// AnalyzeCustomHostnameSlot description for Analyze a custom hostname. +// AnalyzeCustomHostnameSlot analyze a custom hostname. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -390,8 +390,7 @@ func (client AppsClient) AnalyzeCustomHostnameSlotResponder(resp *http.Response) return } -// ApplySlotConfigToProduction description for Applies the configuration settings from the target slot onto the current -// slot. +// ApplySlotConfigToProduction applies the configuration settings from the target slot onto the current slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -480,8 +479,7 @@ func (client AppsClient) ApplySlotConfigToProductionResponder(resp *http.Respons return } -// ApplySlotConfigurationSlot description for Applies the configuration settings from the target slot onto the current -// slot. +// ApplySlotConfigurationSlot applies the configuration settings from the target slot onto the current slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -572,7 +570,7 @@ func (client AppsClient) ApplySlotConfigurationSlotResponder(resp *http.Response return } -// ApproveOrRejectPrivateEndpointConnection description for Approves or rejects a private endpoint connection +// ApproveOrRejectPrivateEndpointConnection approves or rejects a private endpoint connection // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the site. @@ -662,7 +660,7 @@ func (client AppsClient) ApproveOrRejectPrivateEndpointConnectionResponder(resp return } -// Backup description for Creates a backup of an app. +// Backup creates a backup of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -758,7 +756,7 @@ func (client AppsClient) BackupResponder(resp *http.Response) (result BackupItem return } -// BackupSlot description for Creates a backup of an app. +// BackupSlot creates a backup of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -857,7 +855,7 @@ func (client AppsClient) BackupSlotResponder(resp *http.Response) (result Backup return } -// CopyProductionSlot description for Copies a deployment slot to another deployment slot of an app. +// CopyProductionSlot copies a deployment slot to another deployment slot of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -959,7 +957,7 @@ func (client AppsClient) CopyProductionSlotResponder(resp *http.Response) (resul return } -// CopySlotSlot description for Copies a deployment slot to another deployment slot of an app. +// CopySlotSlot copies a deployment slot to another deployment slot of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -1063,7 +1061,7 @@ func (client AppsClient) CopySlotSlotResponder(resp *http.Response) (result auto return } -// CreateDeployment description for Create a deployment for an app, or a deployment slot. +// CreateDeployment create a deployment for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -1152,7 +1150,7 @@ func (client AppsClient) CreateDeploymentResponder(resp *http.Response) (result return } -// CreateDeploymentSlot description for Create a deployment for an app, or a deployment slot. +// CreateDeploymentSlot create a deployment for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -1244,7 +1242,7 @@ func (client AppsClient) CreateDeploymentSlotResponder(resp *http.Response) (res return } -// CreateFunction description for Create function for web site, or a deployment slot. +// CreateFunction create function for web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -1336,7 +1334,7 @@ func (client AppsClient) CreateFunctionResponder(resp *http.Response) (result Fu return } -// CreateInstanceFunctionSlot description for Create function for web site, or a deployment slot. +// CreateInstanceFunctionSlot create function for web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -1430,7 +1428,7 @@ func (client AppsClient) CreateInstanceFunctionSlotResponder(resp *http.Response return } -// CreateInstanceMSDeployOperation description for Invoke the MSDeploy web app extension. +// CreateInstanceMSDeployOperation invoke the MSDeploy web app extension. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -1522,7 +1520,7 @@ func (client AppsClient) CreateInstanceMSDeployOperationResponder(resp *http.Res return } -// CreateInstanceMSDeployOperationSlot description for Invoke the MSDeploy web app extension. +// CreateInstanceMSDeployOperationSlot invoke the MSDeploy web app extension. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -1616,7 +1614,7 @@ func (client AppsClient) CreateInstanceMSDeployOperationSlotResponder(resp *http return } -// CreateMSDeployOperation description for Invoke the MSDeploy web app extension. +// CreateMSDeployOperation invoke the MSDeploy web app extension. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -1706,7 +1704,7 @@ func (client AppsClient) CreateMSDeployOperationResponder(resp *http.Response) ( return } -// CreateMSDeployOperationSlot description for Invoke the MSDeploy web app extension. +// CreateMSDeployOperationSlot invoke the MSDeploy web app extension. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -1798,8 +1796,7 @@ func (client AppsClient) CreateMSDeployOperationSlotResponder(resp *http.Respons return } -// CreateOrUpdate description for Creates a new web, mobile, or API app in an existing resource group, or updates an -// existing app. +// CreateOrUpdate creates a new web, mobile, or API app in an existing resource group, or updates an existing app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - unique name of the app to create or update. To create or update a deployment slot, use the {slot} @@ -1905,7 +1902,7 @@ func (client AppsClient) CreateOrUpdateResponder(resp *http.Response) (result Si return } -// CreateOrUpdateConfiguration description for Updates the configuration of an app. +// CreateOrUpdateConfiguration updates the configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -2003,7 +2000,7 @@ func (client AppsClient) CreateOrUpdateConfigurationResponder(resp *http.Respons return } -// CreateOrUpdateConfigurationSlot description for Updates the configuration of an app. +// CreateOrUpdateConfigurationSlot updates the configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -2104,8 +2101,8 @@ func (client AppsClient) CreateOrUpdateConfigurationSlotResponder(resp *http.Res return } -// CreateOrUpdateDomainOwnershipIdentifier description for Creates a domain ownership identifier for web app, or -// updates an existing ownership identifier. +// CreateOrUpdateDomainOwnershipIdentifier creates a domain ownership identifier for web app, or updates an existing +// ownership identifier. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -2194,8 +2191,8 @@ func (client AppsClient) CreateOrUpdateDomainOwnershipIdentifierResponder(resp * return } -// CreateOrUpdateDomainOwnershipIdentifierSlot description for Creates a domain ownership identifier for web app, or -// updates an existing ownership identifier. +// CreateOrUpdateDomainOwnershipIdentifierSlot creates a domain ownership identifier for web app, or updates an +// existing ownership identifier. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -2287,7 +2284,7 @@ func (client AppsClient) CreateOrUpdateDomainOwnershipIdentifierSlotResponder(re return } -// CreateOrUpdateFunctionSecret description for Add or update a function secret. +// CreateOrUpdateFunctionSecret add or update a function secret. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -2378,7 +2375,7 @@ func (client AppsClient) CreateOrUpdateFunctionSecretResponder(resp *http.Respon return } -// CreateOrUpdateFunctionSecretSlot description for Add or update a function secret. +// CreateOrUpdateFunctionSecretSlot add or update a function secret. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -2471,7 +2468,7 @@ func (client AppsClient) CreateOrUpdateFunctionSecretSlotResponder(resp *http.Re return } -// CreateOrUpdateHostNameBinding description for Creates a hostname binding for an app. +// CreateOrUpdateHostNameBinding creates a hostname binding for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -2560,7 +2557,7 @@ func (client AppsClient) CreateOrUpdateHostNameBindingResponder(resp *http.Respo return } -// CreateOrUpdateHostNameBindingSlot description for Creates a hostname binding for an app. +// CreateOrUpdateHostNameBindingSlot creates a hostname binding for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -2652,7 +2649,7 @@ func (client AppsClient) CreateOrUpdateHostNameBindingSlotResponder(resp *http.R return } -// CreateOrUpdateHostSecret description for Add or update a host level secret. +// CreateOrUpdateHostSecret add or update a host level secret. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -2743,7 +2740,7 @@ func (client AppsClient) CreateOrUpdateHostSecretResponder(resp *http.Response) return } -// CreateOrUpdateHostSecretSlot description for Add or update a host level secret. +// CreateOrUpdateHostSecretSlot add or update a host level secret. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -2836,7 +2833,7 @@ func (client AppsClient) CreateOrUpdateHostSecretSlotResponder(resp *http.Respon return } -// CreateOrUpdateHybridConnection description for Creates a new Hybrid Connection using a Service Bus relay. +// CreateOrUpdateHybridConnection creates a new Hybrid Connection using a Service Bus relay. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -2927,7 +2924,7 @@ func (client AppsClient) CreateOrUpdateHybridConnectionResponder(resp *http.Resp return } -// CreateOrUpdateHybridConnectionSlot description for Creates a new Hybrid Connection using a Service Bus relay. +// CreateOrUpdateHybridConnectionSlot creates a new Hybrid Connection using a Service Bus relay. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -3020,7 +3017,7 @@ func (client AppsClient) CreateOrUpdateHybridConnectionSlotResponder(resp *http. return } -// CreateOrUpdatePublicCertificate description for Creates a hostname binding for an app. +// CreateOrUpdatePublicCertificate creates a hostname binding for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -3110,7 +3107,7 @@ func (client AppsClient) CreateOrUpdatePublicCertificateResponder(resp *http.Res return } -// CreateOrUpdatePublicCertificateSlot description for Creates a hostname binding for an app. +// CreateOrUpdatePublicCertificateSlot creates a hostname binding for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -3203,8 +3200,8 @@ func (client AppsClient) CreateOrUpdatePublicCertificateSlotResponder(resp *http return } -// CreateOrUpdateRelayServiceConnection description for Creates a new hybrid connection configuration (PUT), or updates -// an existing one (PATCH). +// CreateOrUpdateRelayServiceConnection creates a new hybrid connection configuration (PUT), or updates an existing one +// (PATCH). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -3293,8 +3290,8 @@ func (client AppsClient) CreateOrUpdateRelayServiceConnectionResponder(resp *htt return } -// CreateOrUpdateRelayServiceConnectionSlot description for Creates a new hybrid connection configuration (PUT), or -// updates an existing one (PATCH). +// CreateOrUpdateRelayServiceConnectionSlot creates a new hybrid connection configuration (PUT), or updates an existing +// one (PATCH). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -3386,15 +3383,13 @@ func (client AppsClient) CreateOrUpdateRelayServiceConnectionSlotResponder(resp return } -// CreateOrUpdateSlot description for Creates a new web, mobile, or API app in an existing resource group, or updates -// an existing app. +// CreateOrUpdateSlot creates a new web, mobile, or API app in an existing resource group, or updates an existing app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - unique name of the app to create or update. To create or update a deployment slot, use the {slot} // parameter. // siteEnvelope - a JSON representation of the app properties. See example. -// slot - name of the deployment slot to create or update. By default, this API attempts to create or modify -// the production slot. +// slot - name of the deployment slot to create or update. The name 'production' is reserved. func (client AppsClient) CreateOrUpdateSlot(ctx context.Context, resourceGroupName string, name string, siteEnvelope Site, slot string) (result AppsCreateOrUpdateSlotFuture, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/AppsClient.CreateOrUpdateSlot") @@ -3496,7 +3491,7 @@ func (client AppsClient) CreateOrUpdateSlotResponder(resp *http.Response) (resul return } -// CreateOrUpdateSourceControl description for Updates the source control configuration of an app. +// CreateOrUpdateSourceControl updates the source control configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -3586,7 +3581,7 @@ func (client AppsClient) CreateOrUpdateSourceControlResponder(resp *http.Respons return } -// CreateOrUpdateSourceControlSlot description for Updates the source control configuration of an app. +// CreateOrUpdateSourceControlSlot updates the source control configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -3679,9 +3674,9 @@ func (client AppsClient) CreateOrUpdateSourceControlSlotResponder(resp *http.Res return } -// CreateOrUpdateSwiftVirtualNetworkConnection description for Integrates this Web App with a Virtual Network. This -// requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has -// already been delegated, and is not +// CreateOrUpdateSwiftVirtualNetworkConnection integrates this Web App with a Virtual Network. This requires that 1) +// "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been +// delegated, and is not // in use by another App Service Plan other than the one this App is in. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. @@ -3769,9 +3764,9 @@ func (client AppsClient) CreateOrUpdateSwiftVirtualNetworkConnectionResponder(re return } -// CreateOrUpdateSwiftVirtualNetworkConnectionSlot description for Integrates this Web App with a Virtual Network. This -// requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has -// already been delegated, and is not +// CreateOrUpdateSwiftVirtualNetworkConnectionSlot integrates this Web App with a Virtual Network. This requires that +// 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been +// delegated, and is not // in use by another App Service Plan other than the one this App is in. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. @@ -3862,8 +3857,8 @@ func (client AppsClient) CreateOrUpdateSwiftVirtualNetworkConnectionSlotResponde return } -// CreateOrUpdateVnetConnection description for Adds a Virtual Network connection to an app or slot (PUT) or updates -// the connection properties (PATCH). +// CreateOrUpdateVnetConnection adds a Virtual Network connection to an app or slot (PUT) or updates the connection +// properties (PATCH). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -3952,8 +3947,7 @@ func (client AppsClient) CreateOrUpdateVnetConnectionResponder(resp *http.Respon return } -// CreateOrUpdateVnetConnectionGateway description for Adds a gateway to a connected Virtual Network (PUT) or updates -// it (PATCH). +// CreateOrUpdateVnetConnectionGateway adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -4047,8 +4041,7 @@ func (client AppsClient) CreateOrUpdateVnetConnectionGatewayResponder(resp *http return } -// CreateOrUpdateVnetConnectionGatewaySlot description for Adds a gateway to a connected Virtual Network (PUT) or -// updates it (PATCH). +// CreateOrUpdateVnetConnectionGatewaySlot adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -4145,8 +4138,8 @@ func (client AppsClient) CreateOrUpdateVnetConnectionGatewaySlotResponder(resp * return } -// CreateOrUpdateVnetConnectionSlot description for Adds a Virtual Network connection to an app or slot (PUT) or -// updates the connection properties (PATCH). +// CreateOrUpdateVnetConnectionSlot adds a Virtual Network connection to an app or slot (PUT) or updates the connection +// properties (PATCH). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -4238,7 +4231,7 @@ func (client AppsClient) CreateOrUpdateVnetConnectionSlotResponder(resp *http.Re return } -// Delete description for Deletes a web, mobile, or API app, or one of the deployment slots. +// Delete deletes a web, mobile, or API app, or one of the deployment slots. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app to delete. @@ -4330,7 +4323,7 @@ func (client AppsClient) DeleteResponder(resp *http.Response) (result autorest.R return } -// DeleteBackup description for Deletes a backup of an app by its ID. +// DeleteBackup deletes a backup of an app by its ID. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -4415,7 +4408,7 @@ func (client AppsClient) DeleteBackupResponder(resp *http.Response) (result auto return } -// DeleteBackupConfiguration description for Deletes the backup configuration of an app. +// DeleteBackupConfiguration deletes the backup configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -4498,7 +4491,7 @@ func (client AppsClient) DeleteBackupConfigurationResponder(resp *http.Response) return } -// DeleteBackupConfigurationSlot description for Deletes the backup configuration of an app. +// DeleteBackupConfigurationSlot deletes the backup configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -4584,7 +4577,7 @@ func (client AppsClient) DeleteBackupConfigurationSlotResponder(resp *http.Respo return } -// DeleteBackupSlot description for Deletes a backup of an app by its ID. +// DeleteBackupSlot deletes a backup of an app by its ID. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -4672,7 +4665,7 @@ func (client AppsClient) DeleteBackupSlotResponder(resp *http.Response) (result return } -// DeleteContinuousWebJob description for Delete a continuous web job by its ID for an app, or a deployment slot. +// DeleteContinuousWebJob delete a continuous web job by its ID for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -4757,7 +4750,7 @@ func (client AppsClient) DeleteContinuousWebJobResponder(resp *http.Response) (r return } -// DeleteContinuousWebJobSlot description for Delete a continuous web job by its ID for an app, or a deployment slot. +// DeleteContinuousWebJobSlot delete a continuous web job by its ID for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -4845,7 +4838,7 @@ func (client AppsClient) DeleteContinuousWebJobSlotResponder(resp *http.Response return } -// DeleteDeployment description for Delete a deployment by its ID for an app, or a deployment slot. +// DeleteDeployment delete a deployment by its ID for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -4930,7 +4923,7 @@ func (client AppsClient) DeleteDeploymentResponder(resp *http.Response) (result return } -// DeleteDeploymentSlot description for Delete a deployment by its ID for an app, or a deployment slot. +// DeleteDeploymentSlot delete a deployment by its ID for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -5018,7 +5011,7 @@ func (client AppsClient) DeleteDeploymentSlotResponder(resp *http.Response) (res return } -// DeleteDomainOwnershipIdentifier description for Deletes a domain ownership identifier for a web app. +// DeleteDomainOwnershipIdentifier deletes a domain ownership identifier for a web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -5103,7 +5096,7 @@ func (client AppsClient) DeleteDomainOwnershipIdentifierResponder(resp *http.Res return } -// DeleteDomainOwnershipIdentifierSlot description for Deletes a domain ownership identifier for a web app. +// DeleteDomainOwnershipIdentifierSlot deletes a domain ownership identifier for a web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -5191,7 +5184,7 @@ func (client AppsClient) DeleteDomainOwnershipIdentifierSlotResponder(resp *http return } -// DeleteFunction description for Delete a function for web site, or a deployment slot. +// DeleteFunction delete a function for web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -5276,7 +5269,7 @@ func (client AppsClient) DeleteFunctionResponder(resp *http.Response) (result au return } -// DeleteFunctionSecret description for Delete a function secret. +// DeleteFunctionSecret delete a function secret. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -5363,7 +5356,7 @@ func (client AppsClient) DeleteFunctionSecretResponder(resp *http.Response) (res return } -// DeleteFunctionSecretSlot description for Delete a function secret. +// DeleteFunctionSecretSlot delete a function secret. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -5452,7 +5445,7 @@ func (client AppsClient) DeleteFunctionSecretSlotResponder(resp *http.Response) return } -// DeleteHostNameBinding description for Deletes a hostname binding for an app. +// DeleteHostNameBinding deletes a hostname binding for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -5537,7 +5530,7 @@ func (client AppsClient) DeleteHostNameBindingResponder(resp *http.Response) (re return } -// DeleteHostNameBindingSlot description for Deletes a hostname binding for an app. +// DeleteHostNameBindingSlot deletes a hostname binding for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -5625,7 +5618,7 @@ func (client AppsClient) DeleteHostNameBindingSlotResponder(resp *http.Response) return } -// DeleteHostSecret description for Delete a host level secret. +// DeleteHostSecret delete a host level secret. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -5712,7 +5705,7 @@ func (client AppsClient) DeleteHostSecretResponder(resp *http.Response) (result return } -// DeleteHostSecretSlot description for Delete a host level secret. +// DeleteHostSecretSlot delete a host level secret. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -5801,7 +5794,7 @@ func (client AppsClient) DeleteHostSecretSlotResponder(resp *http.Response) (res return } -// DeleteHybridConnection description for Removes a Hybrid Connection from this site. +// DeleteHybridConnection removes a Hybrid Connection from this site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -5888,7 +5881,7 @@ func (client AppsClient) DeleteHybridConnectionResponder(resp *http.Response) (r return } -// DeleteHybridConnectionSlot description for Removes a Hybrid Connection from this site. +// DeleteHybridConnectionSlot removes a Hybrid Connection from this site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -5977,7 +5970,7 @@ func (client AppsClient) DeleteHybridConnectionSlotResponder(resp *http.Response return } -// DeleteInstanceFunctionSlot description for Delete a function for web site, or a deployment slot. +// DeleteInstanceFunctionSlot delete a function for web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -6064,8 +6057,8 @@ func (client AppsClient) DeleteInstanceFunctionSlotResponder(resp *http.Response return } -// DeleteInstanceProcess description for Terminate a process by its ID for a web site, or a deployment slot, or -// specific scaled-out instance in a web site. +// DeleteInstanceProcess terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out +// instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -6153,8 +6146,8 @@ func (client AppsClient) DeleteInstanceProcessResponder(resp *http.Response) (re return } -// DeleteInstanceProcessSlot description for Terminate a process by its ID for a web site, or a deployment slot, or -// specific scaled-out instance in a web site. +// DeleteInstanceProcessSlot terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out +// instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -6245,7 +6238,7 @@ func (client AppsClient) DeleteInstanceProcessSlotResponder(resp *http.Response) return } -// DeletePremierAddOn description for Delete a premier add-on from an app. +// DeletePremierAddOn delete a premier add-on from an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -6330,7 +6323,7 @@ func (client AppsClient) DeletePremierAddOnResponder(resp *http.Response) (resul return } -// DeletePremierAddOnSlot description for Delete a premier add-on from an app. +// DeletePremierAddOnSlot delete a premier add-on from an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -6418,7 +6411,7 @@ func (client AppsClient) DeletePremierAddOnSlotResponder(resp *http.Response) (r return } -// DeletePrivateEndpointConnection description for Deletes a private endpoint connection +// DeletePrivateEndpointConnection deletes a private endpoint connection // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the site. @@ -6506,8 +6499,8 @@ func (client AppsClient) DeletePrivateEndpointConnectionResponder(resp *http.Res return } -// DeleteProcess description for Terminate a process by its ID for a web site, or a deployment slot, or specific -// scaled-out instance in a web site. +// DeleteProcess terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in +// a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -6592,8 +6585,8 @@ func (client AppsClient) DeleteProcessResponder(resp *http.Response) (result aut return } -// DeleteProcessSlot description for Terminate a process by its ID for a web site, or a deployment slot, or specific -// scaled-out instance in a web site. +// DeleteProcessSlot terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out +// instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -6681,7 +6674,7 @@ func (client AppsClient) DeleteProcessSlotResponder(resp *http.Response) (result return } -// DeletePublicCertificate description for Deletes a hostname binding for an app. +// DeletePublicCertificate deletes a hostname binding for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -6766,7 +6759,7 @@ func (client AppsClient) DeletePublicCertificateResponder(resp *http.Response) ( return } -// DeletePublicCertificateSlot description for Deletes a hostname binding for an app. +// DeletePublicCertificateSlot deletes a hostname binding for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -6854,7 +6847,7 @@ func (client AppsClient) DeletePublicCertificateSlotResponder(resp *http.Respons return } -// DeleteRelayServiceConnection description for Deletes a relay service connection by its name. +// DeleteRelayServiceConnection deletes a relay service connection by its name. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -6939,7 +6932,7 @@ func (client AppsClient) DeleteRelayServiceConnectionResponder(resp *http.Respon return } -// DeleteRelayServiceConnectionSlot description for Deletes a relay service connection by its name. +// DeleteRelayServiceConnectionSlot deletes a relay service connection by its name. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -7027,7 +7020,7 @@ func (client AppsClient) DeleteRelayServiceConnectionSlotResponder(resp *http.Re return } -// DeleteSiteExtension description for Remove a site extension from a web site, or a deployment slot. +// DeleteSiteExtension remove a site extension from a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -7112,7 +7105,7 @@ func (client AppsClient) DeleteSiteExtensionResponder(resp *http.Response) (resu return } -// DeleteSiteExtensionSlot description for Remove a site extension from a web site, or a deployment slot. +// DeleteSiteExtensionSlot remove a site extension from a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -7200,7 +7193,7 @@ func (client AppsClient) DeleteSiteExtensionSlotResponder(resp *http.Response) ( return } -// DeleteSlot description for Deletes a web, mobile, or API app, or one of the deployment slots. +// DeleteSlot deletes a web, mobile, or API app, or one of the deployment slots. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app to delete. @@ -7294,7 +7287,7 @@ func (client AppsClient) DeleteSlotResponder(resp *http.Response) (result autore return } -// DeleteSourceControl description for Deletes the source control configuration of an app. +// DeleteSourceControl deletes the source control configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -7377,7 +7370,7 @@ func (client AppsClient) DeleteSourceControlResponder(resp *http.Response) (resu return } -// DeleteSourceControlSlot description for Deletes the source control configuration of an app. +// DeleteSourceControlSlot deletes the source control configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -7463,8 +7456,7 @@ func (client AppsClient) DeleteSourceControlSlotResponder(resp *http.Response) ( return } -// DeleteSwiftVirtualNetwork description for Deletes a Swift Virtual Network connection from an app (or deployment -// slot). +// DeleteSwiftVirtualNetwork deletes a Swift Virtual Network connection from an app (or deployment slot). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -7547,8 +7539,7 @@ func (client AppsClient) DeleteSwiftVirtualNetworkResponder(resp *http.Response) return } -// DeleteSwiftVirtualNetworkSlot description for Deletes a Swift Virtual Network connection from an app (or deployment -// slot). +// DeleteSwiftVirtualNetworkSlot deletes a Swift Virtual Network connection from an app (or deployment slot). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -7634,7 +7625,7 @@ func (client AppsClient) DeleteSwiftVirtualNetworkSlotResponder(resp *http.Respo return } -// DeleteTriggeredWebJob description for Delete a triggered web job by its ID for an app, or a deployment slot. +// DeleteTriggeredWebJob delete a triggered web job by its ID for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -7719,7 +7710,7 @@ func (client AppsClient) DeleteTriggeredWebJobResponder(resp *http.Response) (re return } -// DeleteTriggeredWebJobSlot description for Delete a triggered web job by its ID for an app, or a deployment slot. +// DeleteTriggeredWebJobSlot delete a triggered web job by its ID for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -7807,8 +7798,7 @@ func (client AppsClient) DeleteTriggeredWebJobSlotResponder(resp *http.Response) return } -// DeleteVnetConnection description for Deletes a connection from an app (or deployment slot to a named virtual -// network. +// DeleteVnetConnection deletes a connection from an app (or deployment slot to a named virtual network. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -7893,8 +7883,7 @@ func (client AppsClient) DeleteVnetConnectionResponder(resp *http.Response) (res return } -// DeleteVnetConnectionSlot description for Deletes a connection from an app (or deployment slot to a named virtual -// network. +// DeleteVnetConnectionSlot deletes a connection from an app (or deployment slot to a named virtual network. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -7982,8 +7971,8 @@ func (client AppsClient) DeleteVnetConnectionSlotResponder(resp *http.Response) return } -// DiscoverBackup description for Discovers an existing app backup that can be restored from a blob in Azure storage. -// Use this to get information about the databases stored in a backup. +// DiscoverBackup discovers an existing app backup that can be restored from a blob in Azure storage. Use this to get +// information about the databases stored in a backup. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -8075,8 +8064,8 @@ func (client AppsClient) DiscoverBackupResponder(resp *http.Response) (result Re return } -// DiscoverBackupSlot description for Discovers an existing app backup that can be restored from a blob in Azure -// storage. Use this to get information about the databases stored in a backup. +// DiscoverBackupSlot discovers an existing app backup that can be restored from a blob in Azure storage. Use this to +// get information about the databases stored in a backup. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -8171,8 +8160,7 @@ func (client AppsClient) DiscoverBackupSlotResponder(resp *http.Response) (resul return } -// GenerateNewSitePublishingPassword description for Generates a new publishing password for an app (or deployment -// slot, if specified). +// GenerateNewSitePublishingPassword generates a new publishing password for an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -8255,8 +8243,8 @@ func (client AppsClient) GenerateNewSitePublishingPasswordResponder(resp *http.R return } -// GenerateNewSitePublishingPasswordSlot description for Generates a new publishing password for an app (or deployment -// slot, if specified). +// GenerateNewSitePublishingPasswordSlot generates a new publishing password for an app (or deployment slot, if +// specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -8342,7 +8330,7 @@ func (client AppsClient) GenerateNewSitePublishingPasswordSlotResponder(resp *ht return } -// Get description for Gets the details of a web, mobile, or API app. +// Get gets the details of a web, mobile, or API app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -8426,7 +8414,7 @@ func (client AppsClient) GetResponder(resp *http.Response) (result Site, err err return } -// GetAuthSettings description for Gets the Authentication/Authorization settings of an app. +// GetAuthSettings gets the Authentication/Authorization settings of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -8510,7 +8498,7 @@ func (client AppsClient) GetAuthSettingsResponder(resp *http.Response) (result S return } -// GetAuthSettingsSlot description for Gets the Authentication/Authorization settings of an app. +// GetAuthSettingsSlot gets the Authentication/Authorization settings of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -8597,7 +8585,7 @@ func (client AppsClient) GetAuthSettingsSlotResponder(resp *http.Response) (resu return } -// GetAuthSettingsV2 description for Gets site's Authentication / Authorization settings for apps via the V2 format +// GetAuthSettingsV2 gets site's Authentication / Authorization settings for apps via the V2 format // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -8681,7 +8669,7 @@ func (client AppsClient) GetAuthSettingsV2Responder(resp *http.Response) (result return } -// GetAuthSettingsV2Slot description for Gets site's Authentication / Authorization settings for apps via the V2 format +// GetAuthSettingsV2Slot gets site's Authentication / Authorization settings for apps via the V2 format // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -8768,7 +8756,7 @@ func (client AppsClient) GetAuthSettingsV2SlotResponder(resp *http.Response) (re return } -// GetBackupConfiguration description for Gets the backup configuration of an app. +// GetBackupConfiguration gets the backup configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -8852,7 +8840,7 @@ func (client AppsClient) GetBackupConfigurationResponder(resp *http.Response) (r return } -// GetBackupConfigurationSlot description for Gets the backup configuration of an app. +// GetBackupConfigurationSlot gets the backup configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -8939,7 +8927,7 @@ func (client AppsClient) GetBackupConfigurationSlotResponder(resp *http.Response return } -// GetBackupStatus description for Gets a backup of an app by its ID. +// GetBackupStatus gets a backup of an app by its ID. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -9025,7 +9013,7 @@ func (client AppsClient) GetBackupStatusResponder(resp *http.Response) (result B return } -// GetBackupStatusSlot description for Gets a backup of an app by its ID. +// GetBackupStatusSlot gets a backup of an app by its ID. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -9114,8 +9102,8 @@ func (client AppsClient) GetBackupStatusSlotResponder(resp *http.Response) (resu return } -// GetBasicPublishingCredentialsPolicies description for Returns whether Scm basic auth is allowed and whether Ftp is -// allowed for a given site. +// GetBasicPublishingCredentialsPolicies returns whether Scm basic auth is allowed and whether Ftp is allowed for a +// given site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -9199,8 +9187,8 @@ func (client AppsClient) GetBasicPublishingCredentialsPoliciesResponder(resp *ht return } -// GetConfiguration description for Gets the configuration of an app, such as platform version and bitness, default -// documents, virtual applications, Always On, etc. +// GetConfiguration gets the configuration of an app, such as platform version and bitness, default documents, virtual +// applications, Always On, etc. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -9284,8 +9272,8 @@ func (client AppsClient) GetConfigurationResponder(resp *http.Response) (result return } -// GetConfigurationSlot description for Gets the configuration of an app, such as platform version and bitness, default -// documents, virtual applications, Always On, etc. +// GetConfigurationSlot gets the configuration of an app, such as platform version and bitness, default documents, +// virtual applications, Always On, etc. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -9372,7 +9360,7 @@ func (client AppsClient) GetConfigurationSlotResponder(resp *http.Response) (res return } -// GetConfigurationSnapshot description for Gets a snapshot of the configuration of an app at a previous point in time. +// GetConfigurationSnapshot gets a snapshot of the configuration of an app at a previous point in time. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -9458,8 +9446,7 @@ func (client AppsClient) GetConfigurationSnapshotResponder(resp *http.Response) return } -// GetConfigurationSnapshotSlot description for Gets a snapshot of the configuration of an app at a previous point in -// time. +// GetConfigurationSnapshotSlot gets a snapshot of the configuration of an app at a previous point in time. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -9548,7 +9535,7 @@ func (client AppsClient) GetConfigurationSnapshotSlotResponder(resp *http.Respon return } -// GetContainerLogsZip description for Gets the ZIP archived docker log files for the given site +// GetContainerLogsZip gets the ZIP archived docker log files for the given site // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -9631,7 +9618,7 @@ func (client AppsClient) GetContainerLogsZipResponder(resp *http.Response) (resu return } -// GetContainerLogsZipSlot description for Gets the ZIP archived docker log files for the given site +// GetContainerLogsZipSlot gets the ZIP archived docker log files for the given site // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -9716,7 +9703,7 @@ func (client AppsClient) GetContainerLogsZipSlotResponder(resp *http.Response) ( return } -// GetContinuousWebJob description for Gets a continuous web job by its ID for an app, or a deployment slot. +// GetContinuousWebJob gets a continuous web job by its ID for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -9802,7 +9789,7 @@ func (client AppsClient) GetContinuousWebJobResponder(resp *http.Response) (resu return } -// GetContinuousWebJobSlot description for Gets a continuous web job by its ID for an app, or a deployment slot. +// GetContinuousWebJobSlot gets a continuous web job by its ID for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -9891,7 +9878,7 @@ func (client AppsClient) GetContinuousWebJobSlotResponder(resp *http.Response) ( return } -// GetDeployment description for Get a deployment by its ID for an app, or a deployment slot. +// GetDeployment get a deployment by its ID for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -9977,7 +9964,7 @@ func (client AppsClient) GetDeploymentResponder(resp *http.Response) (result Dep return } -// GetDeploymentSlot description for Get a deployment by its ID for an app, or a deployment slot. +// GetDeploymentSlot get a deployment by its ID for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -10066,7 +10053,7 @@ func (client AppsClient) GetDeploymentSlotResponder(resp *http.Response) (result return } -// GetDiagnosticLogsConfiguration description for Gets the logging configuration of an app. +// GetDiagnosticLogsConfiguration gets the logging configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -10150,7 +10137,7 @@ func (client AppsClient) GetDiagnosticLogsConfigurationResponder(resp *http.Resp return } -// GetDiagnosticLogsConfigurationSlot description for Gets the logging configuration of an app. +// GetDiagnosticLogsConfigurationSlot gets the logging configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -10237,7 +10224,7 @@ func (client AppsClient) GetDiagnosticLogsConfigurationSlotResponder(resp *http. return } -// GetDomainOwnershipIdentifier description for Get domain ownership identifier for web app. +// GetDomainOwnershipIdentifier get domain ownership identifier for web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -10323,7 +10310,7 @@ func (client AppsClient) GetDomainOwnershipIdentifierResponder(resp *http.Respon return } -// GetDomainOwnershipIdentifierSlot description for Get domain ownership identifier for web app. +// GetDomainOwnershipIdentifierSlot get domain ownership identifier for web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -10412,7 +10399,7 @@ func (client AppsClient) GetDomainOwnershipIdentifierSlotResponder(resp *http.Re return } -// GetFtpAllowed description for Returns whether FTP is allowed on the site or not. +// GetFtpAllowed returns whether FTP is allowed on the site or not. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -10496,7 +10483,7 @@ func (client AppsClient) GetFtpAllowedResponder(resp *http.Response) (result Csm return } -// GetFunction description for Get function information by its ID for web site, or a deployment slot. +// GetFunction get function information by its ID for web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -10582,7 +10569,7 @@ func (client AppsClient) GetFunctionResponder(resp *http.Response) (result Funct return } -// GetFunctionsAdminToken description for Fetch a short lived token that can be exchanged for a master key. +// GetFunctionsAdminToken fetch a short lived token that can be exchanged for a master key. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -10666,7 +10653,7 @@ func (client AppsClient) GetFunctionsAdminTokenResponder(resp *http.Response) (r return } -// GetFunctionsAdminTokenSlot description for Fetch a short lived token that can be exchanged for a master key. +// GetFunctionsAdminTokenSlot fetch a short lived token that can be exchanged for a master key. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -10752,7 +10739,7 @@ func (client AppsClient) GetFunctionsAdminTokenSlotResponder(resp *http.Response return } -// GetHostNameBinding description for Get the named hostname binding for an app (or deployment slot, if specified). +// GetHostNameBinding get the named hostname binding for an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -10838,7 +10825,7 @@ func (client AppsClient) GetHostNameBindingResponder(resp *http.Response) (resul return } -// GetHostNameBindingSlot description for Get the named hostname binding for an app (or deployment slot, if specified). +// GetHostNameBindingSlot get the named hostname binding for an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -10927,7 +10914,7 @@ func (client AppsClient) GetHostNameBindingSlotResponder(resp *http.Response) (r return } -// GetHybridConnection description for Retrieves a specific Service Bus Hybrid Connection used by this Web App. +// GetHybridConnection retrieves a specific Service Bus Hybrid Connection used by this Web App. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -11015,7 +11002,7 @@ func (client AppsClient) GetHybridConnectionResponder(resp *http.Response) (resu return } -// GetHybridConnectionSlot description for Retrieves a specific Service Bus Hybrid Connection used by this Web App. +// GetHybridConnectionSlot retrieves a specific Service Bus Hybrid Connection used by this Web App. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -11105,7 +11092,7 @@ func (client AppsClient) GetHybridConnectionSlotResponder(resp *http.Response) ( return } -// GetInstanceFunctionSlot description for Get function information by its ID for web site, or a deployment slot. +// GetInstanceFunctionSlot get function information by its ID for web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -11193,7 +11180,7 @@ func (client AppsClient) GetInstanceFunctionSlotResponder(resp *http.Response) ( return } -// GetInstanceInfo description for Gets all scale-out instances of an app. +// GetInstanceInfo gets all scale-out instances of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -11278,7 +11265,7 @@ func (client AppsClient) GetInstanceInfoResponder(resp *http.Response) (result S return } -// GetInstanceInfoSlot description for Gets all scale-out instances of an app. +// GetInstanceInfoSlot gets all scale-out instances of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -11365,7 +11352,7 @@ func (client AppsClient) GetInstanceInfoSlotResponder(resp *http.Response) (resu return } -// GetInstanceMSDeployLog description for Get the MSDeploy Log for the last MSDeploy operation. +// GetInstanceMSDeployLog get the MSDeploy Log for the last MSDeploy operation. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -11451,7 +11438,7 @@ func (client AppsClient) GetInstanceMSDeployLogResponder(resp *http.Response) (r return } -// GetInstanceMSDeployLogSlot description for Get the MSDeploy Log for the last MSDeploy operation. +// GetInstanceMSDeployLogSlot get the MSDeploy Log for the last MSDeploy operation. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -11539,7 +11526,7 @@ func (client AppsClient) GetInstanceMSDeployLogSlotResponder(resp *http.Response return } -// GetInstanceMsDeployStatus description for Get the status of the last MSDeploy operation. +// GetInstanceMsDeployStatus get the status of the last MSDeploy operation. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -11625,7 +11612,7 @@ func (client AppsClient) GetInstanceMsDeployStatusResponder(resp *http.Response) return } -// GetInstanceMsDeployStatusSlot description for Get the status of the last MSDeploy operation. +// GetInstanceMsDeployStatusSlot get the status of the last MSDeploy operation. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -11713,8 +11700,7 @@ func (client AppsClient) GetInstanceMsDeployStatusSlotResponder(resp *http.Respo return } -// GetInstanceProcess description for Get process information by its ID for a specific scaled-out instance in a web -// site. +// GetInstanceProcess get process information by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -11803,8 +11789,7 @@ func (client AppsClient) GetInstanceProcessResponder(resp *http.Response) (resul return } -// GetInstanceProcessDump description for Get a memory dump of a process by its ID for a specific scaled-out instance -// in a web site. +// GetInstanceProcessDump get a memory dump of a process by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -11892,8 +11877,8 @@ func (client AppsClient) GetInstanceProcessDumpResponder(resp *http.Response) (r return } -// GetInstanceProcessDumpSlot description for Get a memory dump of a process by its ID for a specific scaled-out -// instance in a web site. +// GetInstanceProcessDumpSlot get a memory dump of a process by its ID for a specific scaled-out instance in a web +// site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -11984,8 +11969,7 @@ func (client AppsClient) GetInstanceProcessDumpSlotResponder(resp *http.Response return } -// GetInstanceProcessModule description for Get process information by its ID for a specific scaled-out instance in a -// web site. +// GetInstanceProcessModule get process information by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -12076,8 +12060,7 @@ func (client AppsClient) GetInstanceProcessModuleResponder(resp *http.Response) return } -// GetInstanceProcessModuleSlot description for Get process information by its ID for a specific scaled-out instance in -// a web site. +// GetInstanceProcessModuleSlot get process information by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -12171,8 +12154,7 @@ func (client AppsClient) GetInstanceProcessModuleSlotResponder(resp *http.Respon return } -// GetInstanceProcessSlot description for Get process information by its ID for a specific scaled-out instance in a web -// site. +// GetInstanceProcessSlot get process information by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -12264,8 +12246,8 @@ func (client AppsClient) GetInstanceProcessSlotResponder(resp *http.Response) (r return } -// GetMigrateMySQLStatus description for Returns the status of MySql in app migration, if one is active, and whether or -// not MySql in app is enabled +// GetMigrateMySQLStatus returns the status of MySql in app migration, if one is active, and whether or not MySql in +// app is enabled // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -12349,8 +12331,8 @@ func (client AppsClient) GetMigrateMySQLStatusResponder(resp *http.Response) (re return } -// GetMigrateMySQLStatusSlot description for Returns the status of MySql in app migration, if one is active, and -// whether or not MySql in app is enabled +// GetMigrateMySQLStatusSlot returns the status of MySql in app migration, if one is active, and whether or not MySql +// in app is enabled // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -12436,7 +12418,7 @@ func (client AppsClient) GetMigrateMySQLStatusSlotResponder(resp *http.Response) return } -// GetMSDeployLog description for Get the MSDeploy Log for the last MSDeploy operation. +// GetMSDeployLog get the MSDeploy Log for the last MSDeploy operation. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -12520,7 +12502,7 @@ func (client AppsClient) GetMSDeployLogResponder(resp *http.Response) (result MS return } -// GetMSDeployLogSlot description for Get the MSDeploy Log for the last MSDeploy operation. +// GetMSDeployLogSlot get the MSDeploy Log for the last MSDeploy operation. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -12606,7 +12588,7 @@ func (client AppsClient) GetMSDeployLogSlotResponder(resp *http.Response) (resul return } -// GetMSDeployStatus description for Get the status of the last MSDeploy operation. +// GetMSDeployStatus get the status of the last MSDeploy operation. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -12690,7 +12672,7 @@ func (client AppsClient) GetMSDeployStatusResponder(resp *http.Response) (result return } -// GetMSDeployStatusSlot description for Get the status of the last MSDeploy operation. +// GetMSDeployStatusSlot get the status of the last MSDeploy operation. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -12776,8 +12758,7 @@ func (client AppsClient) GetMSDeployStatusSlotResponder(resp *http.Response) (re return } -// GetNetworkTraceOperation description for Gets a named operation for a network trace capturing (or deployment slot, -// if specified). +// GetNetworkTraceOperation gets a named operation for a network trace capturing (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -12863,8 +12844,8 @@ func (client AppsClient) GetNetworkTraceOperationResponder(resp *http.Response) return } -// GetNetworkTraceOperationSlot description for Gets a named operation for a network trace capturing (or deployment -// slot, if specified). +// GetNetworkTraceOperationSlot gets a named operation for a network trace capturing (or deployment slot, if +// specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -12953,8 +12934,8 @@ func (client AppsClient) GetNetworkTraceOperationSlotResponder(resp *http.Respon return } -// GetNetworkTraceOperationSlotV2 description for Gets a named operation for a network trace capturing (or deployment -// slot, if specified). +// GetNetworkTraceOperationSlotV2 gets a named operation for a network trace capturing (or deployment slot, if +// specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -13043,8 +13024,7 @@ func (client AppsClient) GetNetworkTraceOperationSlotV2Responder(resp *http.Resp return } -// GetNetworkTraceOperationV2 description for Gets a named operation for a network trace capturing (or deployment slot, -// if specified). +// GetNetworkTraceOperationV2 gets a named operation for a network trace capturing (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -13130,8 +13110,7 @@ func (client AppsClient) GetNetworkTraceOperationV2Responder(resp *http.Response return } -// GetNetworkTraces description for Gets a named operation for a network trace capturing (or deployment slot, if -// specified). +// GetNetworkTraces gets a named operation for a network trace capturing (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -13217,8 +13196,7 @@ func (client AppsClient) GetNetworkTracesResponder(resp *http.Response) (result return } -// GetNetworkTracesSlot description for Gets a named operation for a network trace capturing (or deployment slot, if -// specified). +// GetNetworkTracesSlot gets a named operation for a network trace capturing (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -13307,8 +13285,7 @@ func (client AppsClient) GetNetworkTracesSlotResponder(resp *http.Response) (res return } -// GetNetworkTracesSlotV2 description for Gets a named operation for a network trace capturing (or deployment slot, if -// specified). +// GetNetworkTracesSlotV2 gets a named operation for a network trace capturing (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -13397,8 +13374,7 @@ func (client AppsClient) GetNetworkTracesSlotV2Responder(resp *http.Response) (r return } -// GetNetworkTracesV2 description for Gets a named operation for a network trace capturing (or deployment slot, if -// specified). +// GetNetworkTracesV2 gets a named operation for a network trace capturing (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -13484,7 +13460,7 @@ func (client AppsClient) GetNetworkTracesV2Responder(resp *http.Response) (resul return } -// GetPremierAddOn description for Gets a named add-on of an app. +// GetPremierAddOn gets a named add-on of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -13570,7 +13546,7 @@ func (client AppsClient) GetPremierAddOnResponder(resp *http.Response) (result P return } -// GetPremierAddOnSlot description for Gets a named add-on of an app. +// GetPremierAddOnSlot gets a named add-on of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -13659,8 +13635,8 @@ func (client AppsClient) GetPremierAddOnSlotResponder(resp *http.Response) (resu return } -// GetPrivateAccess description for Gets data around private site access enablement and authorized Virtual Networks -// that can access the site. +// GetPrivateAccess gets data around private site access enablement and authorized Virtual Networks that can access the +// site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -13744,8 +13720,8 @@ func (client AppsClient) GetPrivateAccessResponder(resp *http.Response) (result return } -// GetPrivateAccessSlot description for Gets data around private site access enablement and authorized Virtual Networks -// that can access the site. +// GetPrivateAccessSlot gets data around private site access enablement and authorized Virtual Networks that can access +// the site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -13831,7 +13807,7 @@ func (client AppsClient) GetPrivateAccessSlotResponder(resp *http.Response) (res return } -// GetPrivateEndpointConnection description for Gets a private endpoint connection +// GetPrivateEndpointConnection gets a private endpoint connection // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the site. @@ -13916,7 +13892,7 @@ func (client AppsClient) GetPrivateEndpointConnectionResponder(resp *http.Respon return } -// GetPrivateLinkResources description for Gets the private link resources +// GetPrivateLinkResources gets the private link resources // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the site. @@ -14000,7 +13976,7 @@ func (client AppsClient) GetPrivateLinkResourcesResponder(resp *http.Response) ( return } -// GetProcess description for Get process information by its ID for a specific scaled-out instance in a web site. +// GetProcess get process information by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -14086,8 +14062,7 @@ func (client AppsClient) GetProcessResponder(resp *http.Response) (result Proces return } -// GetProcessDump description for Get a memory dump of a process by its ID for a specific scaled-out instance in a web -// site. +// GetProcessDump get a memory dump of a process by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -14172,8 +14147,7 @@ func (client AppsClient) GetProcessDumpResponder(resp *http.Response) (result Re return } -// GetProcessDumpSlot description for Get a memory dump of a process by its ID for a specific scaled-out instance in a -// web site. +// GetProcessDumpSlot get a memory dump of a process by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -14261,7 +14235,7 @@ func (client AppsClient) GetProcessDumpSlotResponder(resp *http.Response) (resul return } -// GetProcessModule description for Get process information by its ID for a specific scaled-out instance in a web site. +// GetProcessModule get process information by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -14349,8 +14323,7 @@ func (client AppsClient) GetProcessModuleResponder(resp *http.Response) (result return } -// GetProcessModuleSlot description for Get process information by its ID for a specific scaled-out instance in a web -// site. +// GetProcessModuleSlot get process information by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -14441,7 +14414,7 @@ func (client AppsClient) GetProcessModuleSlotResponder(resp *http.Response) (res return } -// GetProcessSlot description for Get process information by its ID for a specific scaled-out instance in a web site. +// GetProcessSlot get process information by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -14530,7 +14503,7 @@ func (client AppsClient) GetProcessSlotResponder(resp *http.Response) (result Pr return } -// GetPublicCertificate description for Get the named public certificate for an app (or deployment slot, if specified). +// GetPublicCertificate get the named public certificate for an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -14616,8 +14589,7 @@ func (client AppsClient) GetPublicCertificateResponder(resp *http.Response) (res return } -// GetPublicCertificateSlot description for Get the named public certificate for an app (or deployment slot, if -// specified). +// GetPublicCertificateSlot get the named public certificate for an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -14706,7 +14678,7 @@ func (client AppsClient) GetPublicCertificateSlotResponder(resp *http.Response) return } -// GetRelayServiceConnection description for Gets a hybrid connection configuration by its name. +// GetRelayServiceConnection gets a hybrid connection configuration by its name. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -14792,7 +14764,7 @@ func (client AppsClient) GetRelayServiceConnectionResponder(resp *http.Response) return } -// GetRelayServiceConnectionSlot description for Gets a hybrid connection configuration by its name. +// GetRelayServiceConnectionSlot gets a hybrid connection configuration by its name. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -14881,7 +14853,7 @@ func (client AppsClient) GetRelayServiceConnectionSlotResponder(resp *http.Respo return } -// GetScmAllowed description for Returns whether Scm basic auth is allowed on the site or not. +// GetScmAllowed returns whether Scm basic auth is allowed on the site or not. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -14965,7 +14937,7 @@ func (client AppsClient) GetScmAllowedResponder(resp *http.Response) (result Csm return } -// GetSiteExtension description for Get site extension information by its ID for a web site, or a deployment slot. +// GetSiteExtension get site extension information by its ID for a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -15051,7 +15023,7 @@ func (client AppsClient) GetSiteExtensionResponder(resp *http.Response) (result return } -// GetSiteExtensionSlot description for Get site extension information by its ID for a web site, or a deployment slot. +// GetSiteExtensionSlot get site extension information by its ID for a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -15139,7 +15111,7 @@ func (client AppsClient) GetSiteExtensionSlotResponder(resp *http.Response) (res return } -// GetSitePhpErrorLogFlag description for Gets web app's event logs. +// GetSitePhpErrorLogFlag gets web app's event logs. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -15223,7 +15195,7 @@ func (client AppsClient) GetSitePhpErrorLogFlagResponder(resp *http.Response) (r return } -// GetSitePhpErrorLogFlagSlot description for Gets web app's event logs. +// GetSitePhpErrorLogFlagSlot gets web app's event logs. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -15309,7 +15281,7 @@ func (client AppsClient) GetSitePhpErrorLogFlagSlotResponder(resp *http.Response return } -// GetSlot description for Gets the details of a web, mobile, or API app. +// GetSlot gets the details of a web, mobile, or API app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -15395,7 +15367,7 @@ func (client AppsClient) GetSlotResponder(resp *http.Response) (result Site, err return } -// GetSourceControl description for Gets the source control configuration of an app. +// GetSourceControl gets the source control configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -15479,7 +15451,7 @@ func (client AppsClient) GetSourceControlResponder(resp *http.Response) (result return } -// GetSourceControlSlot description for Gets the source control configuration of an app. +// GetSourceControlSlot gets the source control configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -15566,7 +15538,7 @@ func (client AppsClient) GetSourceControlSlotResponder(resp *http.Response) (res return } -// GetSwiftVirtualNetworkConnection description for Gets a Swift Virtual Network connection. +// GetSwiftVirtualNetworkConnection gets a Swift Virtual Network connection. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -15650,7 +15622,7 @@ func (client AppsClient) GetSwiftVirtualNetworkConnectionResponder(resp *http.Re return } -// GetSwiftVirtualNetworkConnectionSlot description for Gets a Swift Virtual Network connection. +// GetSwiftVirtualNetworkConnectionSlot gets a Swift Virtual Network connection. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -15737,7 +15709,7 @@ func (client AppsClient) GetSwiftVirtualNetworkConnectionSlotResponder(resp *htt return } -// GetTriggeredWebJob description for Gets a triggered web job by its ID for an app, or a deployment slot. +// GetTriggeredWebJob gets a triggered web job by its ID for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -15823,8 +15795,7 @@ func (client AppsClient) GetTriggeredWebJobResponder(resp *http.Response) (resul return } -// GetTriggeredWebJobHistory description for Gets a triggered web job's history by its ID for an app, , or a deployment -// slot. +// GetTriggeredWebJobHistory gets a triggered web job's history by its ID for an app, , or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -15912,8 +15883,7 @@ func (client AppsClient) GetTriggeredWebJobHistoryResponder(resp *http.Response) return } -// GetTriggeredWebJobHistorySlot description for Gets a triggered web job's history by its ID for an app, , or a -// deployment slot. +// GetTriggeredWebJobHistorySlot gets a triggered web job's history by its ID for an app, , or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -16003,7 +15973,7 @@ func (client AppsClient) GetTriggeredWebJobHistorySlotResponder(resp *http.Respo return } -// GetTriggeredWebJobSlot description for Gets a triggered web job by its ID for an app, or a deployment slot. +// GetTriggeredWebJobSlot gets a triggered web job by its ID for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -16091,7 +16061,7 @@ func (client AppsClient) GetTriggeredWebJobSlotResponder(resp *http.Response) (r return } -// GetVnetConnection description for Gets a virtual network the app (or deployment slot) is connected to by name. +// GetVnetConnection gets a virtual network the app (or deployment slot) is connected to by name. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -16177,7 +16147,7 @@ func (client AppsClient) GetVnetConnectionResponder(resp *http.Response) (result return } -// GetVnetConnectionGateway description for Gets an app's Virtual Network gateway. +// GetVnetConnectionGateway gets an app's Virtual Network gateway. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -16265,7 +16235,7 @@ func (client AppsClient) GetVnetConnectionGatewayResponder(resp *http.Response) return } -// GetVnetConnectionGatewaySlot description for Gets an app's Virtual Network gateway. +// GetVnetConnectionGatewaySlot gets an app's Virtual Network gateway. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -16356,7 +16326,7 @@ func (client AppsClient) GetVnetConnectionGatewaySlotResponder(resp *http.Respon return } -// GetVnetConnectionSlot description for Gets a virtual network the app (or deployment slot) is connected to by name. +// GetVnetConnectionSlot gets a virtual network the app (or deployment slot) is connected to by name. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -16445,7 +16415,7 @@ func (client AppsClient) GetVnetConnectionSlotResponder(resp *http.Response) (re return } -// GetWebJob description for Get webjob information for an app, or a deployment slot. +// GetWebJob get webjob information for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -16531,7 +16501,7 @@ func (client AppsClient) GetWebJobResponder(resp *http.Response) (result Job, er return } -// GetWebJobSlot description for Get webjob information for an app, or a deployment slot. +// GetWebJobSlot get webjob information for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -16620,7 +16590,7 @@ func (client AppsClient) GetWebJobSlotResponder(resp *http.Response) (result Job return } -// GetWebSiteContainerLogs description for Gets the last lines of docker logs for the given site +// GetWebSiteContainerLogs gets the last lines of docker logs for the given site // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -16703,7 +16673,7 @@ func (client AppsClient) GetWebSiteContainerLogsResponder(resp *http.Response) ( return } -// GetWebSiteContainerLogsSlot description for Gets the last lines of docker logs for the given site +// GetWebSiteContainerLogsSlot gets the last lines of docker logs for the given site // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -16788,7 +16758,7 @@ func (client AppsClient) GetWebSiteContainerLogsSlotResponder(resp *http.Respons return } -// InstallSiteExtension description for Install site extension on a web site, or a deployment slot. +// InstallSiteExtension install site extension on a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -16877,7 +16847,7 @@ func (client AppsClient) InstallSiteExtensionResponder(resp *http.Response) (res return } -// InstallSiteExtensionSlot description for Install site extension on a web site, or a deployment slot. +// InstallSiteExtensionSlot install site extension on a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -16968,7 +16938,7 @@ func (client AppsClient) InstallSiteExtensionSlotResponder(resp *http.Response) return } -// IsCloneable description for Shows whether an app can be cloned to another resource group or subscription. +// IsCloneable shows whether an app can be cloned to another resource group or subscription. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -17052,7 +17022,7 @@ func (client AppsClient) IsCloneableResponder(resp *http.Response) (result SiteC return } -// IsCloneableSlot description for Shows whether an app can be cloned to another resource group or subscription. +// IsCloneableSlot shows whether an app can be cloned to another resource group or subscription. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -17138,7 +17108,7 @@ func (client AppsClient) IsCloneableSlotResponder(resp *http.Response) (result S return } -// List description for Get all apps for a subscription. +// List get all apps for a subscription. func (client AppsClient) List(ctx context.Context) (result AppCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/AppsClient.List") @@ -17251,7 +17221,7 @@ func (client AppsClient) ListComplete(ctx context.Context) (result AppCollection return } -// ListApplicationSettings description for Gets the application settings of an app. +// ListApplicationSettings gets the application settings of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -17335,7 +17305,7 @@ func (client AppsClient) ListApplicationSettingsResponder(resp *http.Response) ( return } -// ListApplicationSettingsSlot description for Gets the application settings of an app. +// ListApplicationSettingsSlot gets the application settings of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -17422,7 +17392,7 @@ func (client AppsClient) ListApplicationSettingsSlotResponder(resp *http.Respons return } -// ListAzureStorageAccounts description for Gets the Azure storage account configurations of an app. +// ListAzureStorageAccounts gets the Azure storage account configurations of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -17506,7 +17476,7 @@ func (client AppsClient) ListAzureStorageAccountsResponder(resp *http.Response) return } -// ListAzureStorageAccountsSlot description for Gets the Azure storage account configurations of an app. +// ListAzureStorageAccountsSlot gets the Azure storage account configurations of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -17593,7 +17563,7 @@ func (client AppsClient) ListAzureStorageAccountsSlotResponder(resp *http.Respon return } -// ListBackups description for Gets existing backups of an app. +// ListBackups gets existing backups of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -17719,7 +17689,7 @@ func (client AppsClient) ListBackupsComplete(ctx context.Context, resourceGroupN return } -// ListBackupsSlot description for Gets existing backups of an app. +// ListBackupsSlot gets existing backups of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -17848,9 +17818,9 @@ func (client AppsClient) ListBackupsSlotComplete(ctx context.Context, resourceGr return } -// ListBackupStatusSecrets description for Gets status of a web app backup that may be in progress, including secrets -// associated with the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup -// if a new URL is passed in the request body. +// ListBackupStatusSecrets gets status of a web app backup that may be in progress, including secrets associated with +// the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup if a new URL is +// passed in the request body. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -17948,9 +17918,9 @@ func (client AppsClient) ListBackupStatusSecretsResponder(resp *http.Response) ( return } -// ListBackupStatusSecretsSlot description for Gets status of a web app backup that may be in progress, including -// secrets associated with the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for -// the backup if a new URL is passed in the request body. +// ListBackupStatusSecretsSlot gets status of a web app backup that may be in progress, including secrets associated +// with the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup if a new +// URL is passed in the request body. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -18050,7 +18020,7 @@ func (client AppsClient) ListBackupStatusSecretsSlotResponder(resp *http.Respons return } -// ListByResourceGroup description for Gets all web, mobile, and API apps in the specified resource group. +// ListByResourceGroup gets all web, mobile, and API apps in the specified resource group. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // includeSlots - specify true to include deployment slots in results. The default is false, @@ -18179,7 +18149,7 @@ func (client AppsClient) ListByResourceGroupComplete(ctx context.Context, resour return } -// ListConfigurations description for List the configurations of an app +// ListConfigurations list the configurations of an app // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -18305,8 +18275,8 @@ func (client AppsClient) ListConfigurationsComplete(ctx context.Context, resourc return } -// ListConfigurationSnapshotInfo description for Gets a list of web app configuration snapshots identifiers. Each -// element of the list contains a timestamp and the ID of the snapshot. +// ListConfigurationSnapshotInfo gets a list of web app configuration snapshots identifiers. Each element of the list +// contains a timestamp and the ID of the snapshot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -18432,8 +18402,8 @@ func (client AppsClient) ListConfigurationSnapshotInfoComplete(ctx context.Conte return } -// ListConfigurationSnapshotInfoSlot description for Gets a list of web app configuration snapshots identifiers. Each -// element of the list contains a timestamp and the ID of the snapshot. +// ListConfigurationSnapshotInfoSlot gets a list of web app configuration snapshots identifiers. Each element of the +// list contains a timestamp and the ID of the snapshot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -18562,7 +18532,7 @@ func (client AppsClient) ListConfigurationSnapshotInfoSlotComplete(ctx context.C return } -// ListConfigurationsSlot description for List the configurations of an app +// ListConfigurationsSlot list the configurations of an app // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -18691,7 +18661,7 @@ func (client AppsClient) ListConfigurationsSlotComplete(ctx context.Context, res return } -// ListConnectionStrings description for Gets the connection strings of an app. +// ListConnectionStrings gets the connection strings of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -18775,7 +18745,7 @@ func (client AppsClient) ListConnectionStringsResponder(resp *http.Response) (re return } -// ListConnectionStringsSlot description for Gets the connection strings of an app. +// ListConnectionStringsSlot gets the connection strings of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -18862,7 +18832,7 @@ func (client AppsClient) ListConnectionStringsSlotResponder(resp *http.Response) return } -// ListContinuousWebJobs description for List continuous web jobs for an app, or a deployment slot. +// ListContinuousWebJobs list continuous web jobs for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -18988,7 +18958,7 @@ func (client AppsClient) ListContinuousWebJobsComplete(ctx context.Context, reso return } -// ListContinuousWebJobsSlot description for List continuous web jobs for an app, or a deployment slot. +// ListContinuousWebJobsSlot list continuous web jobs for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -19117,7 +19087,7 @@ func (client AppsClient) ListContinuousWebJobsSlotComplete(ctx context.Context, return } -// ListDeploymentLog description for List deployment log for specific deployment for an app, or a deployment slot. +// ListDeploymentLog list deployment log for specific deployment for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -19204,7 +19174,7 @@ func (client AppsClient) ListDeploymentLogResponder(resp *http.Response) (result return } -// ListDeploymentLogSlot description for List deployment log for specific deployment for an app, or a deployment slot. +// ListDeploymentLogSlot list deployment log for specific deployment for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -19294,7 +19264,7 @@ func (client AppsClient) ListDeploymentLogSlotResponder(resp *http.Response) (re return } -// ListDeployments description for List deployments for an app, or a deployment slot. +// ListDeployments list deployments for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -19420,7 +19390,7 @@ func (client AppsClient) ListDeploymentsComplete(ctx context.Context, resourceGr return } -// ListDeploymentsSlot description for List deployments for an app, or a deployment slot. +// ListDeploymentsSlot list deployments for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -19549,7 +19519,7 @@ func (client AppsClient) ListDeploymentsSlotComplete(ctx context.Context, resour return } -// ListDomainOwnershipIdentifiers description for Lists ownership identifiers for domain associated with web app. +// ListDomainOwnershipIdentifiers lists ownership identifiers for domain associated with web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -19675,7 +19645,7 @@ func (client AppsClient) ListDomainOwnershipIdentifiersComplete(ctx context.Cont return } -// ListDomainOwnershipIdentifiersSlot description for Lists ownership identifiers for domain associated with web app. +// ListDomainOwnershipIdentifiersSlot lists ownership identifiers for domain associated with web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -19804,7 +19774,7 @@ func (client AppsClient) ListDomainOwnershipIdentifiersSlotComplete(ctx context. return } -// ListFunctionKeys description for Get function keys for a function in a web site, or a deployment slot. +// ListFunctionKeys get function keys for a function in a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -19890,7 +19860,7 @@ func (client AppsClient) ListFunctionKeysResponder(resp *http.Response) (result return } -// ListFunctionKeysSlot description for Get function keys for a function in a web site, or a deployment slot. +// ListFunctionKeysSlot get function keys for a function in a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -19978,7 +19948,7 @@ func (client AppsClient) ListFunctionKeysSlotResponder(resp *http.Response) (res return } -// ListFunctions description for List the functions for a web site, or a deployment slot. +// ListFunctions list the functions for a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -20104,7 +20074,7 @@ func (client AppsClient) ListFunctionsComplete(ctx context.Context, resourceGrou return } -// ListFunctionSecrets description for Get function secrets for a function in a web site, or a deployment slot. +// ListFunctionSecrets get function secrets for a function in a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -20190,7 +20160,7 @@ func (client AppsClient) ListFunctionSecretsResponder(resp *http.Response) (resu return } -// ListFunctionSecretsSlot description for Get function secrets for a function in a web site, or a deployment slot. +// ListFunctionSecretsSlot get function secrets for a function in a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -20278,7 +20248,7 @@ func (client AppsClient) ListFunctionSecretsSlotResponder(resp *http.Response) ( return } -// ListHostKeys description for Get host secrets for a function app. +// ListHostKeys get host secrets for a function app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -20362,7 +20332,7 @@ func (client AppsClient) ListHostKeysResponder(resp *http.Response) (result Host return } -// ListHostKeysSlot description for Get host secrets for a function app. +// ListHostKeysSlot get host secrets for a function app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -20448,7 +20418,7 @@ func (client AppsClient) ListHostKeysSlotResponder(resp *http.Response) (result return } -// ListHostNameBindings description for Get hostname bindings for an app or a deployment slot. +// ListHostNameBindings get hostname bindings for an app or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -20574,7 +20544,7 @@ func (client AppsClient) ListHostNameBindingsComplete(ctx context.Context, resou return } -// ListHostNameBindingsSlot description for Get hostname bindings for an app or a deployment slot. +// ListHostNameBindingsSlot get hostname bindings for an app or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -20703,7 +20673,7 @@ func (client AppsClient) ListHostNameBindingsSlotComplete(ctx context.Context, r return } -// ListHybridConnections description for Retrieves all Service Bus Hybrid Connections used by this Web App. +// ListHybridConnections retrieves all Service Bus Hybrid Connections used by this Web App. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -20787,7 +20757,7 @@ func (client AppsClient) ListHybridConnectionsResponder(resp *http.Response) (re return } -// ListHybridConnectionsSlot description for Retrieves all Service Bus Hybrid Connections used by this Web App. +// ListHybridConnectionsSlot retrieves all Service Bus Hybrid Connections used by this Web App. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -20873,7 +20843,7 @@ func (client AppsClient) ListHybridConnectionsSlotResponder(resp *http.Response) return } -// ListInstanceFunctionsSlot description for List the functions for a web site, or a deployment slot. +// ListInstanceFunctionsSlot list the functions for a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -21001,7 +20971,7 @@ func (client AppsClient) ListInstanceFunctionsSlotComplete(ctx context.Context, return } -// ListInstanceIdentifiers description for Gets all scale-out instances of an app. +// ListInstanceIdentifiers gets all scale-out instances of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -21127,7 +21097,7 @@ func (client AppsClient) ListInstanceIdentifiersComplete(ctx context.Context, re return } -// ListInstanceIdentifiersSlot description for Gets all scale-out instances of an app. +// ListInstanceIdentifiersSlot gets all scale-out instances of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -21255,8 +21225,8 @@ func (client AppsClient) ListInstanceIdentifiersSlotComplete(ctx context.Context return } -// ListInstanceProcesses description for Get list of processes for a web site, or a deployment slot, or for a specific -// scaled-out instance in a web site. +// ListInstanceProcesses get list of processes for a web site, or a deployment slot, or for a specific scaled-out +// instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -21385,8 +21355,8 @@ func (client AppsClient) ListInstanceProcessesComplete(ctx context.Context, reso return } -// ListInstanceProcessesSlot description for Get list of processes for a web site, or a deployment slot, or for a -// specific scaled-out instance in a web site. +// ListInstanceProcessesSlot get list of processes for a web site, or a deployment slot, or for a specific scaled-out +// instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -21518,8 +21488,8 @@ func (client AppsClient) ListInstanceProcessesSlotComplete(ctx context.Context, return } -// ListInstanceProcessModules description for List module information for a process by its ID for a specific scaled-out -// instance in a web site. +// ListInstanceProcessModules list module information for a process by its ID for a specific scaled-out instance in a +// web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -21650,8 +21620,8 @@ func (client AppsClient) ListInstanceProcessModulesComplete(ctx context.Context, return } -// ListInstanceProcessModulesSlot description for List module information for a process by its ID for a specific -// scaled-out instance in a web site. +// ListInstanceProcessModulesSlot list module information for a process by its ID for a specific scaled-out instance in +// a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -21785,8 +21755,7 @@ func (client AppsClient) ListInstanceProcessModulesSlotComplete(ctx context.Cont return } -// ListInstanceProcessThreads description for List the threads in a process by its ID for a specific scaled-out -// instance in a web site. +// ListInstanceProcessThreads list the threads in a process by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -21917,8 +21886,8 @@ func (client AppsClient) ListInstanceProcessThreadsComplete(ctx context.Context, return } -// ListInstanceProcessThreadsSlot description for List the threads in a process by its ID for a specific scaled-out -// instance in a web site. +// ListInstanceProcessThreadsSlot list the threads in a process by its ID for a specific scaled-out instance in a web +// site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -22052,7 +22021,7 @@ func (client AppsClient) ListInstanceProcessThreadsSlotComplete(ctx context.Cont return } -// ListMetadata description for Gets the metadata of an app. +// ListMetadata gets the metadata of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -22136,7 +22105,7 @@ func (client AppsClient) ListMetadataResponder(resp *http.Response) (result Stri return } -// ListMetadataSlot description for Gets the metadata of an app. +// ListMetadataSlot gets the metadata of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -22223,7 +22192,7 @@ func (client AppsClient) ListMetadataSlotResponder(resp *http.Response) (result return } -// ListNetworkFeatures description for Gets all network features used by the app (or deployment slot, if specified). +// ListNetworkFeatures gets all network features used by the app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -22309,8 +22278,7 @@ func (client AppsClient) ListNetworkFeaturesResponder(resp *http.Response) (resu return } -// ListNetworkFeaturesSlot description for Gets all network features used by the app (or deployment slot, if -// specified). +// ListNetworkFeaturesSlot gets all network features used by the app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -22399,7 +22367,7 @@ func (client AppsClient) ListNetworkFeaturesSlotResponder(resp *http.Response) ( return } -// ListPerfMonCounters description for Gets perfmon counters for web app. +// ListPerfMonCounters gets perfmon counters for web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -22531,7 +22499,7 @@ func (client AppsClient) ListPerfMonCountersComplete(ctx context.Context, resour return } -// ListPerfMonCountersSlot description for Gets perfmon counters for web app. +// ListPerfMonCountersSlot gets perfmon counters for web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -22665,7 +22633,7 @@ func (client AppsClient) ListPerfMonCountersSlotComplete(ctx context.Context, re return } -// ListPremierAddOns description for Gets the premier add-ons of an app. +// ListPremierAddOns gets the premier add-ons of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -22749,7 +22717,7 @@ func (client AppsClient) ListPremierAddOnsResponder(resp *http.Response) (result return } -// ListPremierAddOnsSlot description for Gets the premier add-ons of an app. +// ListPremierAddOnsSlot gets the premier add-ons of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -22836,8 +22804,8 @@ func (client AppsClient) ListPremierAddOnsSlotResponder(resp *http.Response) (re return } -// ListProcesses description for Get list of processes for a web site, or a deployment slot, or for a specific -// scaled-out instance in a web site. +// ListProcesses get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a +// web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -22963,8 +22931,8 @@ func (client AppsClient) ListProcessesComplete(ctx context.Context, resourceGrou return } -// ListProcessesSlot description for Get list of processes for a web site, or a deployment slot, or for a specific -// scaled-out instance in a web site. +// ListProcessesSlot get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance +// in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -23093,8 +23061,7 @@ func (client AppsClient) ListProcessesSlotComplete(ctx context.Context, resource return } -// ListProcessModules description for List module information for a process by its ID for a specific scaled-out -// instance in a web site. +// ListProcessModules list module information for a process by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -23222,8 +23189,8 @@ func (client AppsClient) ListProcessModulesComplete(ctx context.Context, resourc return } -// ListProcessModulesSlot description for List module information for a process by its ID for a specific scaled-out -// instance in a web site. +// ListProcessModulesSlot list module information for a process by its ID for a specific scaled-out instance in a web +// site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -23354,8 +23321,7 @@ func (client AppsClient) ListProcessModulesSlotComplete(ctx context.Context, res return } -// ListProcessThreads description for List the threads in a process by its ID for a specific scaled-out instance in a -// web site. +// ListProcessThreads list the threads in a process by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -23483,8 +23449,7 @@ func (client AppsClient) ListProcessThreadsComplete(ctx context.Context, resourc return } -// ListProcessThreadsSlot description for List the threads in a process by its ID for a specific scaled-out instance in -// a web site. +// ListProcessThreadsSlot list the threads in a process by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -23615,7 +23580,7 @@ func (client AppsClient) ListProcessThreadsSlotComplete(ctx context.Context, res return } -// ListPublicCertificates description for Get public certificates for an app or a deployment slot. +// ListPublicCertificates get public certificates for an app or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -23741,7 +23706,7 @@ func (client AppsClient) ListPublicCertificatesComplete(ctx context.Context, res return } -// ListPublicCertificatesSlot description for Get public certificates for an app or a deployment slot. +// ListPublicCertificatesSlot get public certificates for an app or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -23870,7 +23835,7 @@ func (client AppsClient) ListPublicCertificatesSlotComplete(ctx context.Context, return } -// ListPublishingCredentials description for Gets the Git/FTP publishing credentials of an app. +// ListPublishingCredentials gets the Git/FTP publishing credentials of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -23957,7 +23922,7 @@ func (client AppsClient) ListPublishingCredentialsResponder(resp *http.Response) return } -// ListPublishingCredentialsSlot description for Gets the Git/FTP publishing credentials of an app. +// ListPublishingCredentialsSlot gets the Git/FTP publishing credentials of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -24047,8 +24012,7 @@ func (client AppsClient) ListPublishingCredentialsSlotResponder(resp *http.Respo return } -// ListPublishingProfileXMLWithSecrets description for Gets the publishing profile for an app (or deployment slot, if -// specified). +// ListPublishingProfileXMLWithSecrets gets the publishing profile for an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -24135,8 +24099,7 @@ func (client AppsClient) ListPublishingProfileXMLWithSecretsResponder(resp *http return } -// ListPublishingProfileXMLWithSecretsSlot description for Gets the publishing profile for an app (or deployment slot, -// if specified). +// ListPublishingProfileXMLWithSecretsSlot gets the publishing profile for an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -24226,8 +24189,7 @@ func (client AppsClient) ListPublishingProfileXMLWithSecretsSlotResponder(resp * return } -// ListRelayServiceConnections description for Gets hybrid connections configured for an app (or deployment slot, if -// specified). +// ListRelayServiceConnections gets hybrid connections configured for an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -24311,8 +24273,7 @@ func (client AppsClient) ListRelayServiceConnectionsResponder(resp *http.Respons return } -// ListRelayServiceConnectionsSlot description for Gets hybrid connections configured for an app (or deployment slot, -// if specified). +// ListRelayServiceConnectionsSlot gets hybrid connections configured for an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -24399,7 +24360,7 @@ func (client AppsClient) ListRelayServiceConnectionsSlotResponder(resp *http.Res return } -// ListSiteBackups description for Gets existing backups of an app. +// ListSiteBackups gets existing backups of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -24525,7 +24486,7 @@ func (client AppsClient) ListSiteBackupsComplete(ctx context.Context, resourceGr return } -// ListSiteBackupsSlot description for Gets existing backups of an app. +// ListSiteBackupsSlot gets existing backups of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -24654,7 +24615,7 @@ func (client AppsClient) ListSiteBackupsSlotComplete(ctx context.Context, resour return } -// ListSiteExtensions description for Get list of siteextensions for a web site, or a deployment slot. +// ListSiteExtensions get list of siteextensions for a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -24780,7 +24741,7 @@ func (client AppsClient) ListSiteExtensionsComplete(ctx context.Context, resourc return } -// ListSiteExtensionsSlot description for Get list of siteextensions for a web site, or a deployment slot. +// ListSiteExtensionsSlot get list of siteextensions for a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -24908,7 +24869,7 @@ func (client AppsClient) ListSiteExtensionsSlotComplete(ctx context.Context, res return } -// ListSitePushSettings description for Gets the Push settings associated with web app. +// ListSitePushSettings gets the Push settings associated with web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -24992,7 +24953,7 @@ func (client AppsClient) ListSitePushSettingsResponder(resp *http.Response) (res return } -// ListSitePushSettingsSlot description for Gets the Push settings associated with web app. +// ListSitePushSettingsSlot gets the Push settings associated with web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -25078,8 +25039,8 @@ func (client AppsClient) ListSitePushSettingsSlotResponder(resp *http.Response) return } -// ListSlotConfigurationNames description for Gets the names of app settings and connection strings that stick to the -// slot (not swapped). +// ListSlotConfigurationNames gets the names of app settings and connection strings that stick to the slot (not +// swapped). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -25163,8 +25124,7 @@ func (client AppsClient) ListSlotConfigurationNamesResponder(resp *http.Response return } -// ListSlotDifferencesFromProduction description for Get the difference in configuration settings between two web app -// slots. +// ListSlotDifferencesFromProduction get the difference in configuration settings between two web app slots. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -25296,7 +25256,7 @@ func (client AppsClient) ListSlotDifferencesFromProductionComplete(ctx context.C return } -// ListSlotDifferencesSlot description for Get the difference in configuration settings between two web app slots. +// ListSlotDifferencesSlot get the difference in configuration settings between two web app slots. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -25430,7 +25390,7 @@ func (client AppsClient) ListSlotDifferencesSlotComplete(ctx context.Context, re return } -// ListSlots description for Gets an app's deployment slots. +// ListSlots gets an app's deployment slots. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -25556,7 +25516,7 @@ func (client AppsClient) ListSlotsComplete(ctx context.Context, resourceGroupNam return } -// ListSnapshots description for Returns all Snapshots to the user. +// ListSnapshots returns all Snapshots to the user. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - website Name. @@ -25682,7 +25642,7 @@ func (client AppsClient) ListSnapshotsComplete(ctx context.Context, resourceGrou return } -// ListSnapshotsFromDRSecondary description for Returns all Snapshots to the user from DRSecondary endpoint. +// ListSnapshotsFromDRSecondary returns all Snapshots to the user from DRSecondary endpoint. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - website Name. @@ -25808,7 +25768,7 @@ func (client AppsClient) ListSnapshotsFromDRSecondaryComplete(ctx context.Contex return } -// ListSnapshotsFromDRSecondarySlot description for Returns all Snapshots to the user from DRSecondary endpoint. +// ListSnapshotsFromDRSecondarySlot returns all Snapshots to the user from DRSecondary endpoint. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - website Name. @@ -25936,7 +25896,7 @@ func (client AppsClient) ListSnapshotsFromDRSecondarySlotComplete(ctx context.Co return } -// ListSnapshotsSlot description for Returns all Snapshots to the user. +// ListSnapshotsSlot returns all Snapshots to the user. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - website Name. @@ -26064,7 +26024,7 @@ func (client AppsClient) ListSnapshotsSlotComplete(ctx context.Context, resource return } -// ListSyncFunctionTriggers description for This is to allow calling via powershell and ARM template. +// ListSyncFunctionTriggers this is to allow calling via powershell and ARM template. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -26148,7 +26108,7 @@ func (client AppsClient) ListSyncFunctionTriggersResponder(resp *http.Response) return } -// ListSyncFunctionTriggersSlot description for This is to allow calling via powershell and ARM template. +// ListSyncFunctionTriggersSlot this is to allow calling via powershell and ARM template. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -26234,7 +26194,7 @@ func (client AppsClient) ListSyncFunctionTriggersSlotResponder(resp *http.Respon return } -// ListSyncStatus description for This is to allow calling via powershell and ARM template. +// ListSyncStatus this is to allow calling via powershell and ARM template. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -26317,7 +26277,7 @@ func (client AppsClient) ListSyncStatusResponder(resp *http.Response) (result au return } -// ListSyncStatusSlot description for This is to allow calling via powershell and ARM template. +// ListSyncStatusSlot this is to allow calling via powershell and ARM template. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -26402,7 +26362,7 @@ func (client AppsClient) ListSyncStatusSlotResponder(resp *http.Response) (resul return } -// ListTriggeredWebJobHistory description for List a triggered web job's history for an app, or a deployment slot. +// ListTriggeredWebJobHistory list a triggered web job's history for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -26530,7 +26490,7 @@ func (client AppsClient) ListTriggeredWebJobHistoryComplete(ctx context.Context, return } -// ListTriggeredWebJobHistorySlot description for List a triggered web job's history for an app, or a deployment slot. +// ListTriggeredWebJobHistorySlot list a triggered web job's history for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -26660,7 +26620,7 @@ func (client AppsClient) ListTriggeredWebJobHistorySlotComplete(ctx context.Cont return } -// ListTriggeredWebJobs description for List triggered web jobs for an app, or a deployment slot. +// ListTriggeredWebJobs list triggered web jobs for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -26786,7 +26746,7 @@ func (client AppsClient) ListTriggeredWebJobsComplete(ctx context.Context, resou return } -// ListTriggeredWebJobsSlot description for List triggered web jobs for an app, or a deployment slot. +// ListTriggeredWebJobsSlot list triggered web jobs for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -26915,7 +26875,7 @@ func (client AppsClient) ListTriggeredWebJobsSlotComplete(ctx context.Context, r return } -// ListUsages description for Gets the quota usage information of an app (or deployment slot, if specified). +// ListUsages gets the quota usage information of an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -27047,7 +27007,7 @@ func (client AppsClient) ListUsagesComplete(ctx context.Context, resourceGroupNa return } -// ListUsagesSlot description for Gets the quota usage information of an app (or deployment slot, if specified). +// ListUsagesSlot gets the quota usage information of an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -27182,7 +27142,7 @@ func (client AppsClient) ListUsagesSlotComplete(ctx context.Context, resourceGro return } -// ListVnetConnections description for Gets the virtual networks the app (or deployment slot) is connected to. +// ListVnetConnections gets the virtual networks the app (or deployment slot) is connected to. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -27266,7 +27226,7 @@ func (client AppsClient) ListVnetConnectionsResponder(resp *http.Response) (resu return } -// ListVnetConnectionsSlot description for Gets the virtual networks the app (or deployment slot) is connected to. +// ListVnetConnectionsSlot gets the virtual networks the app (or deployment slot) is connected to. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -27353,7 +27313,7 @@ func (client AppsClient) ListVnetConnectionsSlotResponder(resp *http.Response) ( return } -// ListWebJobs description for List webjobs for an app, or a deployment slot. +// ListWebJobs list webjobs for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -27479,7 +27439,7 @@ func (client AppsClient) ListWebJobsComplete(ctx context.Context, resourceGroupN return } -// ListWebJobsSlot description for List webjobs for an app, or a deployment slot. +// ListWebJobsSlot list webjobs for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -27608,7 +27568,7 @@ func (client AppsClient) ListWebJobsSlotComplete(ctx context.Context, resourceGr return } -// MigrateMySQL description for Migrates a local (in-app) MySql database to a remote MySql database. +// MigrateMySQL migrates a local (in-app) MySql database to a remote MySql database. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -27701,7 +27661,7 @@ func (client AppsClient) MigrateMySQLResponder(resp *http.Response) (result Oper return } -// MigrateStorage description for Restores a web app. +// MigrateStorage restores a web app. // Parameters: // subscriptionName - azure subscription. // resourceGroupName - name of the resource group to which the resource belongs. @@ -27798,8 +27758,8 @@ func (client AppsClient) MigrateStorageResponder(resp *http.Response) (result St return } -// PutPrivateAccessVnet description for Sets data around private site access enablement and authorized Virtual Networks -// that can access the site. +// PutPrivateAccessVnet sets data around private site access enablement and authorized Virtual Networks that can access +// the site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -27886,8 +27846,8 @@ func (client AppsClient) PutPrivateAccessVnetResponder(resp *http.Response) (res return } -// PutPrivateAccessVnetSlot description for Sets data around private site access enablement and authorized Virtual -// Networks that can access the site. +// PutPrivateAccessVnetSlot sets data around private site access enablement and authorized Virtual Networks that can +// access the site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -27976,7 +27936,7 @@ func (client AppsClient) PutPrivateAccessVnetSlotResponder(resp *http.Response) return } -// RecoverSiteConfigurationSnapshot description for Reverts the configuration of an app to a previous snapshot. +// RecoverSiteConfigurationSnapshot reverts the configuration of an app to a previous snapshot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -28061,7 +28021,7 @@ func (client AppsClient) RecoverSiteConfigurationSnapshotResponder(resp *http.Re return } -// RecoverSiteConfigurationSnapshotSlot description for Reverts the configuration of an app to a previous snapshot. +// RecoverSiteConfigurationSnapshotSlot reverts the configuration of an app to a previous snapshot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -28149,8 +28109,8 @@ func (client AppsClient) RecoverSiteConfigurationSnapshotSlotResponder(resp *htt return } -// ResetProductionSlotConfig description for Resets the configuration settings of the current slot if they were -// previously modified by calling the API with POST. +// ResetProductionSlotConfig resets the configuration settings of the current slot if they were previously modified by +// calling the API with POST. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -28233,8 +28193,8 @@ func (client AppsClient) ResetProductionSlotConfigResponder(resp *http.Response) return } -// ResetSlotConfigurationSlot description for Resets the configuration settings of the current slot if they were -// previously modified by calling the API with POST. +// ResetSlotConfigurationSlot resets the configuration settings of the current slot if they were previously modified by +// calling the API with POST. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -28320,7 +28280,7 @@ func (client AppsClient) ResetSlotConfigurationSlotResponder(resp *http.Response return } -// Restart description for Restarts an app (or deployment slot, if specified). +// Restart restarts an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -28413,7 +28373,7 @@ func (client AppsClient) RestartResponder(resp *http.Response) (result autorest. return } -// RestartSlot description for Restarts an app (or deployment slot, if specified). +// RestartSlot restarts an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -28508,7 +28468,7 @@ func (client AppsClient) RestartSlotResponder(resp *http.Response) (result autor return } -// Restore description for Restores a specific backup to another app (or deployment slot, if specified). +// Restore restores a specific backup to another app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -28604,7 +28564,7 @@ func (client AppsClient) RestoreResponder(resp *http.Response) (result autorest. return } -// RestoreFromBackupBlob description for Restores an app from a backup blob in Azure Storage. +// RestoreFromBackupBlob restores an app from a backup blob in Azure Storage. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -28698,7 +28658,7 @@ func (client AppsClient) RestoreFromBackupBlobResponder(resp *http.Response) (re return } -// RestoreFromBackupBlobSlot description for Restores an app from a backup blob in Azure Storage. +// RestoreFromBackupBlobSlot restores an app from a backup blob in Azure Storage. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -28795,7 +28755,7 @@ func (client AppsClient) RestoreFromBackupBlobSlotResponder(resp *http.Response) return } -// RestoreFromDeletedApp description for Restores a deleted web app to this web app. +// RestoreFromDeletedApp restores a deleted web app to this web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -28884,7 +28844,7 @@ func (client AppsClient) RestoreFromDeletedAppResponder(resp *http.Response) (re return } -// RestoreFromDeletedAppSlot description for Restores a deleted web app to this web app. +// RestoreFromDeletedAppSlot restores a deleted web app to this web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -28975,7 +28935,7 @@ func (client AppsClient) RestoreFromDeletedAppSlotResponder(resp *http.Response) return } -// RestoreSlot description for Restores a specific backup to another app (or deployment slot, if specified). +// RestoreSlot restores a specific backup to another app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -29074,7 +29034,7 @@ func (client AppsClient) RestoreSlotResponder(resp *http.Response) (result autor return } -// RestoreSnapshot description for Restores a web app from a snapshot. +// RestoreSnapshot restores a web app from a snapshot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -29167,7 +29127,7 @@ func (client AppsClient) RestoreSnapshotResponder(resp *http.Response) (result a return } -// RestoreSnapshotSlot description for Restores a web app from a snapshot. +// RestoreSnapshotSlot restores a web app from a snapshot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -29262,7 +29222,7 @@ func (client AppsClient) RestoreSnapshotSlotResponder(resp *http.Response) (resu return } -// RunTriggeredWebJob description for Run a triggered web job for an app, or a deployment slot. +// RunTriggeredWebJob run a triggered web job for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -29347,7 +29307,7 @@ func (client AppsClient) RunTriggeredWebJobResponder(resp *http.Response) (resul return } -// RunTriggeredWebJobSlot description for Run a triggered web job for an app, or a deployment slot. +// RunTriggeredWebJobSlot run a triggered web job for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -29434,7 +29394,7 @@ func (client AppsClient) RunTriggeredWebJobSlotResponder(resp *http.Response) (r return } -// Start description for Starts an app (or deployment slot, if specified). +// Start starts an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -29517,7 +29477,7 @@ func (client AppsClient) StartResponder(resp *http.Response) (result autorest.Re return } -// StartContinuousWebJob description for Start a continuous web job for an app, or a deployment slot. +// StartContinuousWebJob start a continuous web job for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -29602,7 +29562,7 @@ func (client AppsClient) StartContinuousWebJobResponder(resp *http.Response) (re return } -// StartContinuousWebJobSlot description for Start a continuous web job for an app, or a deployment slot. +// StartContinuousWebJobSlot start a continuous web job for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -29690,7 +29650,7 @@ func (client AppsClient) StartContinuousWebJobSlotResponder(resp *http.Response) return } -// StartNetworkTrace description for Start capturing network packets for the site. +// StartNetworkTrace start capturing network packets for the site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -29789,7 +29749,7 @@ func (client AppsClient) StartNetworkTraceResponder(resp *http.Response) (result return } -// StartNetworkTraceSlot description for Start capturing network packets for the site. +// StartNetworkTraceSlot start capturing network packets for the site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -29890,7 +29850,7 @@ func (client AppsClient) StartNetworkTraceSlotResponder(resp *http.Response) (re return } -// StartSlot description for Starts an app (or deployment slot, if specified). +// StartSlot starts an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -29975,7 +29935,7 @@ func (client AppsClient) StartSlotResponder(resp *http.Response) (result autores return } -// StartWebSiteNetworkTrace description for Start capturing network packets for the site (To be deprecated). +// StartWebSiteNetworkTrace start capturing network packets for the site (To be deprecated). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -30071,7 +30031,7 @@ func (client AppsClient) StartWebSiteNetworkTraceResponder(resp *http.Response) return } -// StartWebSiteNetworkTraceOperation description for Start capturing network packets for the site. +// StartWebSiteNetworkTraceOperation start capturing network packets for the site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -30170,7 +30130,7 @@ func (client AppsClient) StartWebSiteNetworkTraceOperationResponder(resp *http.R return } -// StartWebSiteNetworkTraceOperationSlot description for Start capturing network packets for the site. +// StartWebSiteNetworkTraceOperationSlot start capturing network packets for the site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -30271,7 +30231,7 @@ func (client AppsClient) StartWebSiteNetworkTraceOperationSlotResponder(resp *ht return } -// StartWebSiteNetworkTraceSlot description for Start capturing network packets for the site (To be deprecated). +// StartWebSiteNetworkTraceSlot start capturing network packets for the site (To be deprecated). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -30369,7 +30329,7 @@ func (client AppsClient) StartWebSiteNetworkTraceSlotResponder(resp *http.Respon return } -// Stop description for Stops an app (or deployment slot, if specified). +// Stop stops an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -30452,7 +30412,7 @@ func (client AppsClient) StopResponder(resp *http.Response) (result autorest.Res return } -// StopContinuousWebJob description for Stop a continuous web job for an app, or a deployment slot. +// StopContinuousWebJob stop a continuous web job for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -30537,7 +30497,7 @@ func (client AppsClient) StopContinuousWebJobResponder(resp *http.Response) (res return } -// StopContinuousWebJobSlot description for Stop a continuous web job for an app, or a deployment slot. +// StopContinuousWebJobSlot stop a continuous web job for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -30625,7 +30585,7 @@ func (client AppsClient) StopContinuousWebJobSlotResponder(resp *http.Response) return } -// StopNetworkTrace description for Stop ongoing capturing network packets for the site. +// StopNetworkTrace stop ongoing capturing network packets for the site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -30708,7 +30668,7 @@ func (client AppsClient) StopNetworkTraceResponder(resp *http.Response) (result return } -// StopNetworkTraceSlot description for Stop ongoing capturing network packets for the site. +// StopNetworkTraceSlot stop ongoing capturing network packets for the site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -30793,7 +30753,7 @@ func (client AppsClient) StopNetworkTraceSlotResponder(resp *http.Response) (res return } -// StopSlot description for Stops an app (or deployment slot, if specified). +// StopSlot stops an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -30878,7 +30838,7 @@ func (client AppsClient) StopSlotResponder(resp *http.Response) (result autorest return } -// StopWebSiteNetworkTrace description for Stop ongoing capturing network packets for the site. +// StopWebSiteNetworkTrace stop ongoing capturing network packets for the site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -30961,7 +30921,7 @@ func (client AppsClient) StopWebSiteNetworkTraceResponder(resp *http.Response) ( return } -// StopWebSiteNetworkTraceSlot description for Stop ongoing capturing network packets for the site. +// StopWebSiteNetworkTraceSlot stop ongoing capturing network packets for the site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -31046,7 +31006,7 @@ func (client AppsClient) StopWebSiteNetworkTraceSlotResponder(resp *http.Respons return } -// SwapSlotSlot description for Swaps two deployment slots of an app. +// SwapSlotSlot swaps two deployment slots of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -31140,7 +31100,7 @@ func (client AppsClient) SwapSlotSlotResponder(resp *http.Response) (result auto return } -// SwapSlotWithProduction description for Swaps two deployment slots of an app. +// SwapSlotWithProduction swaps two deployment slots of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -31232,7 +31192,7 @@ func (client AppsClient) SwapSlotWithProductionResponder(resp *http.Response) (r return } -// SyncFunctions description for Syncs function trigger metadata to the management database +// SyncFunctions syncs function trigger metadata to the management database // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -31315,7 +31275,7 @@ func (client AppsClient) SyncFunctionsResponder(resp *http.Response) (result aut return } -// SyncFunctionsSlot description for Syncs function trigger metadata to the management database +// SyncFunctionsSlot syncs function trigger metadata to the management database // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -31400,7 +31360,7 @@ func (client AppsClient) SyncFunctionsSlotResponder(resp *http.Response) (result return } -// SyncFunctionTriggers description for Syncs function trigger metadata to the management database +// SyncFunctionTriggers syncs function trigger metadata to the management database // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -31483,7 +31443,7 @@ func (client AppsClient) SyncFunctionTriggersResponder(resp *http.Response) (res return } -// SyncFunctionTriggersSlot description for Syncs function trigger metadata to the management database +// SyncFunctionTriggersSlot syncs function trigger metadata to the management database // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -31568,7 +31528,7 @@ func (client AppsClient) SyncFunctionTriggersSlotResponder(resp *http.Response) return } -// SyncRepository description for Sync web app repository. +// SyncRepository sync web app repository. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -31651,7 +31611,7 @@ func (client AppsClient) SyncRepositoryResponder(resp *http.Response) (result au return } -// SyncRepositorySlot description for Sync web app repository. +// SyncRepositorySlot sync web app repository. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -31736,8 +31696,7 @@ func (client AppsClient) SyncRepositorySlotResponder(resp *http.Response) (resul return } -// Update description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing -// app. +// Update creates a new web, mobile, or API app in an existing resource group, or updates an existing app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - unique name of the app to create or update. To create or update a deployment slot, use the {slot} @@ -31825,7 +31784,7 @@ func (client AppsClient) UpdateResponder(resp *http.Response) (result Site, err return } -// UpdateApplicationSettings description for Replaces the application settings of an app. +// UpdateApplicationSettings replaces the application settings of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -31912,7 +31871,7 @@ func (client AppsClient) UpdateApplicationSettingsResponder(resp *http.Response) return } -// UpdateApplicationSettingsSlot description for Replaces the application settings of an app. +// UpdateApplicationSettingsSlot replaces the application settings of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -32002,7 +31961,7 @@ func (client AppsClient) UpdateApplicationSettingsSlotResponder(resp *http.Respo return } -// UpdateAuthSettings description for Updates the Authentication / Authorization settings associated with web app. +// UpdateAuthSettings updates the Authentication / Authorization settings associated with web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -32089,7 +32048,7 @@ func (client AppsClient) UpdateAuthSettingsResponder(resp *http.Response) (resul return } -// UpdateAuthSettingsSlot description for Updates the Authentication / Authorization settings associated with web app. +// UpdateAuthSettingsSlot updates the Authentication / Authorization settings associated with web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -32178,8 +32137,7 @@ func (client AppsClient) UpdateAuthSettingsSlotResponder(resp *http.Response) (r return } -// UpdateAuthSettingsV2 description for Updates site's Authentication / Authorization settings for apps via the V2 -// format +// UpdateAuthSettingsV2 updates site's Authentication / Authorization settings for apps via the V2 format // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -32266,8 +32224,7 @@ func (client AppsClient) UpdateAuthSettingsV2Responder(resp *http.Response) (res return } -// UpdateAuthSettingsV2Slot description for Updates site's Authentication / Authorization settings for apps via the V2 -// format +// UpdateAuthSettingsV2Slot updates site's Authentication / Authorization settings for apps via the V2 format // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -32356,7 +32313,7 @@ func (client AppsClient) UpdateAuthSettingsV2SlotResponder(resp *http.Response) return } -// UpdateAzureStorageAccounts description for Updates the Azure storage account configurations of an app. +// UpdateAzureStorageAccounts updates the Azure storage account configurations of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -32443,7 +32400,7 @@ func (client AppsClient) UpdateAzureStorageAccountsResponder(resp *http.Response return } -// UpdateAzureStorageAccountsSlot description for Updates the Azure storage account configurations of an app. +// UpdateAzureStorageAccountsSlot updates the Azure storage account configurations of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -32533,7 +32490,7 @@ func (client AppsClient) UpdateAzureStorageAccountsSlotResponder(resp *http.Resp return } -// UpdateBackupConfiguration description for Updates the backup configuration of an app. +// UpdateBackupConfiguration updates the backup configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -32629,7 +32586,7 @@ func (client AppsClient) UpdateBackupConfigurationResponder(resp *http.Response) return } -// UpdateBackupConfigurationSlot description for Updates the backup configuration of an app. +// UpdateBackupConfigurationSlot updates the backup configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -32728,7 +32685,7 @@ func (client AppsClient) UpdateBackupConfigurationSlotResponder(resp *http.Respo return } -// UpdateConfiguration description for Updates the configuration of an app. +// UpdateConfiguration updates the configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -32815,7 +32772,7 @@ func (client AppsClient) UpdateConfigurationResponder(resp *http.Response) (resu return } -// UpdateConfigurationSlot description for Updates the configuration of an app. +// UpdateConfigurationSlot updates the configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -32905,7 +32862,7 @@ func (client AppsClient) UpdateConfigurationSlotResponder(resp *http.Response) ( return } -// UpdateConnectionStrings description for Replaces the connection strings of an app. +// UpdateConnectionStrings replaces the connection strings of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -32992,7 +32949,7 @@ func (client AppsClient) UpdateConnectionStringsResponder(resp *http.Response) ( return } -// UpdateConnectionStringsSlot description for Replaces the connection strings of an app. +// UpdateConnectionStringsSlot replaces the connection strings of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -33082,7 +33039,7 @@ func (client AppsClient) UpdateConnectionStringsSlotResponder(resp *http.Respons return } -// UpdateDiagnosticLogsConfig description for Updates the logging configuration of an app. +// UpdateDiagnosticLogsConfig updates the logging configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -33185,7 +33142,7 @@ func (client AppsClient) UpdateDiagnosticLogsConfigResponder(resp *http.Response return } -// UpdateDiagnosticLogsConfigSlot description for Updates the logging configuration of an app. +// UpdateDiagnosticLogsConfigSlot updates the logging configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -33291,8 +33248,8 @@ func (client AppsClient) UpdateDiagnosticLogsConfigSlotResponder(resp *http.Resp return } -// UpdateDomainOwnershipIdentifier description for Creates a domain ownership identifier for web app, or updates an -// existing ownership identifier. +// UpdateDomainOwnershipIdentifier creates a domain ownership identifier for web app, or updates an existing ownership +// identifier. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -33381,8 +33338,8 @@ func (client AppsClient) UpdateDomainOwnershipIdentifierResponder(resp *http.Res return } -// UpdateDomainOwnershipIdentifierSlot description for Creates a domain ownership identifier for web app, or updates an -// existing ownership identifier. +// UpdateDomainOwnershipIdentifierSlot creates a domain ownership identifier for web app, or updates an existing +// ownership identifier. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -33474,7 +33431,7 @@ func (client AppsClient) UpdateDomainOwnershipIdentifierSlotResponder(resp *http return } -// UpdateFtpAllowed description for Updates whether FTP is allowed on the site or not. +// UpdateFtpAllowed updates whether FTP is allowed on the site or not. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -33563,7 +33520,7 @@ func (client AppsClient) UpdateFtpAllowedResponder(resp *http.Response) (result return } -// UpdateHybridConnection description for Creates a new Hybrid Connection using a Service Bus relay. +// UpdateHybridConnection creates a new Hybrid Connection using a Service Bus relay. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -33654,7 +33611,7 @@ func (client AppsClient) UpdateHybridConnectionResponder(resp *http.Response) (r return } -// UpdateHybridConnectionSlot description for Creates a new Hybrid Connection using a Service Bus relay. +// UpdateHybridConnectionSlot creates a new Hybrid Connection using a Service Bus relay. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -33747,7 +33704,7 @@ func (client AppsClient) UpdateHybridConnectionSlotResponder(resp *http.Response return } -// UpdateMetadata description for Replaces the metadata of an app. +// UpdateMetadata replaces the metadata of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -33834,7 +33791,7 @@ func (client AppsClient) UpdateMetadataResponder(resp *http.Response) (result St return } -// UpdateMetadataSlot description for Replaces the metadata of an app. +// UpdateMetadataSlot replaces the metadata of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -33924,7 +33881,7 @@ func (client AppsClient) UpdateMetadataSlotResponder(resp *http.Response) (resul return } -// UpdatePremierAddOn description for Updates a named add-on of an app. +// UpdatePremierAddOn updates a named add-on of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -34013,7 +33970,7 @@ func (client AppsClient) UpdatePremierAddOnResponder(resp *http.Response) (resul return } -// UpdatePremierAddOnSlot description for Updates a named add-on of an app. +// UpdatePremierAddOnSlot updates a named add-on of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -34105,8 +34062,8 @@ func (client AppsClient) UpdatePremierAddOnSlotResponder(resp *http.Response) (r return } -// UpdateRelayServiceConnection description for Creates a new hybrid connection configuration (PUT), or updates an -// existing one (PATCH). +// UpdateRelayServiceConnection creates a new hybrid connection configuration (PUT), or updates an existing one +// (PATCH). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -34195,8 +34152,8 @@ func (client AppsClient) UpdateRelayServiceConnectionResponder(resp *http.Respon return } -// UpdateRelayServiceConnectionSlot description for Creates a new hybrid connection configuration (PUT), or updates an -// existing one (PATCH). +// UpdateRelayServiceConnectionSlot creates a new hybrid connection configuration (PUT), or updates an existing one +// (PATCH). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -34288,7 +34245,7 @@ func (client AppsClient) UpdateRelayServiceConnectionSlotResponder(resp *http.Re return } -// UpdateScmAllowed description for Updates whether user publishing credentials are allowed on the site or not. +// UpdateScmAllowed updates whether user publishing credentials are allowed on the site or not. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -34377,7 +34334,7 @@ func (client AppsClient) UpdateScmAllowedResponder(resp *http.Response) (result return } -// UpdateSitePushSettings description for Updates the Push settings associated with web app. +// UpdateSitePushSettings updates the Push settings associated with web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -34467,7 +34424,7 @@ func (client AppsClient) UpdateSitePushSettingsResponder(resp *http.Response) (r return } -// UpdateSitePushSettingsSlot description for Updates the Push settings associated with web app. +// UpdateSitePushSettingsSlot updates the Push settings associated with web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -34559,15 +34516,13 @@ func (client AppsClient) UpdateSitePushSettingsSlotResponder(resp *http.Response return } -// UpdateSlot description for Creates a new web, mobile, or API app in an existing resource group, or updates an -// existing app. +// UpdateSlot creates a new web, mobile, or API app in an existing resource group, or updates an existing app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - unique name of the app to create or update. To create or update a deployment slot, use the {slot} // parameter. // siteEnvelope - a JSON representation of the app properties. See example. -// slot - name of the deployment slot to create or update. By default, this API attempts to create or modify -// the production slot. +// slot - name of the deployment slot to create or update. The name 'production' is reserved. func (client AppsClient) UpdateSlot(ctx context.Context, resourceGroupName string, name string, siteEnvelope SitePatchResource, slot string) (result Site, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/AppsClient.UpdateSlot") @@ -34651,8 +34606,8 @@ func (client AppsClient) UpdateSlotResponder(resp *http.Response) (result Site, return } -// UpdateSlotConfigurationNames description for Updates the names of application settings and connection string that -// remain with the slot during swap operation. +// UpdateSlotConfigurationNames updates the names of application settings and connection string that remain with the +// slot during swap operation. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -34739,7 +34694,7 @@ func (client AppsClient) UpdateSlotConfigurationNamesResponder(resp *http.Respon return } -// UpdateSourceControl description for Updates the source control configuration of an app. +// UpdateSourceControl updates the source control configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -34826,7 +34781,7 @@ func (client AppsClient) UpdateSourceControlResponder(resp *http.Response) (resu return } -// UpdateSourceControlSlot description for Updates the source control configuration of an app. +// UpdateSourceControlSlot updates the source control configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -34916,9 +34871,9 @@ func (client AppsClient) UpdateSourceControlSlotResponder(resp *http.Response) ( return } -// UpdateSwiftVirtualNetworkConnection description for Integrates this Web App with a Virtual Network. This requires -// that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already -// been delegated, and is not +// UpdateSwiftVirtualNetworkConnection integrates this Web App with a Virtual Network. This requires that 1) +// "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been +// delegated, and is not // in use by another App Service Plan other than the one this App is in. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. @@ -35006,9 +34961,9 @@ func (client AppsClient) UpdateSwiftVirtualNetworkConnectionResponder(resp *http return } -// UpdateSwiftVirtualNetworkConnectionSlot description for Integrates this Web App with a Virtual Network. This -// requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has -// already been delegated, and is not +// UpdateSwiftVirtualNetworkConnectionSlot integrates this Web App with a Virtual Network. This requires that 1) +// "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been +// delegated, and is not // in use by another App Service Plan other than the one this App is in. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. @@ -35099,8 +35054,8 @@ func (client AppsClient) UpdateSwiftVirtualNetworkConnectionSlotResponder(resp * return } -// UpdateVnetConnection description for Adds a Virtual Network connection to an app or slot (PUT) or updates the -// connection properties (PATCH). +// UpdateVnetConnection adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties +// (PATCH). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -35189,8 +35144,7 @@ func (client AppsClient) UpdateVnetConnectionResponder(resp *http.Response) (res return } -// UpdateVnetConnectionGateway description for Adds a gateway to a connected Virtual Network (PUT) or updates it -// (PATCH). +// UpdateVnetConnectionGateway adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -35281,8 +35235,7 @@ func (client AppsClient) UpdateVnetConnectionGatewayResponder(resp *http.Respons return } -// UpdateVnetConnectionGatewaySlot description for Adds a gateway to a connected Virtual Network (PUT) or updates it -// (PATCH). +// UpdateVnetConnectionGatewaySlot adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -35376,8 +35329,8 @@ func (client AppsClient) UpdateVnetConnectionGatewaySlotResponder(resp *http.Res return } -// UpdateVnetConnectionSlot description for Adds a Virtual Network connection to an app or slot (PUT) or updates the -// connection properties (PATCH). +// UpdateVnetConnectionSlot adds a Virtual Network connection to an app or slot (PUT) or updates the connection +// properties (PATCH). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. diff --git a/services/web/mgmt/2020-09-01/web/appservicecertificateorders.go b/services/web/mgmt/2020-09-01/web/appservicecertificateorders.go index 838688f6bd0c..2537237d456f 100644 --- a/services/web/mgmt/2020-09-01/web/appservicecertificateorders.go +++ b/services/web/mgmt/2020-09-01/web/appservicecertificateorders.go @@ -32,7 +32,7 @@ func NewAppServiceCertificateOrdersClientWithBaseURI(baseURI string, subscriptio return AppServiceCertificateOrdersClient{NewWithBaseURI(baseURI, subscriptionID)} } -// CreateOrUpdate description for Create or update a certificate purchase order. +// CreateOrUpdate create or update a certificate purchase order. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -129,7 +129,7 @@ func (client AppServiceCertificateOrdersClient) CreateOrUpdateResponder(resp *ht return } -// CreateOrUpdateCertificate description for Creates or updates a certificate and associates with key vault secret. +// CreateOrUpdateCertificate creates or updates a certificate and associates with key vault secret. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -221,7 +221,7 @@ func (client AppServiceCertificateOrdersClient) CreateOrUpdateCertificateRespond return } -// Delete description for Delete an existing certificate order. +// Delete delete an existing certificate order. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -304,7 +304,7 @@ func (client AppServiceCertificateOrdersClient) DeleteResponder(resp *http.Respo return } -// DeleteCertificate description for Delete the certificate associated with a certificate order. +// DeleteCertificate delete the certificate associated with a certificate order. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -389,7 +389,7 @@ func (client AppServiceCertificateOrdersClient) DeleteCertificateResponder(resp return } -// Get description for Get a certificate order. +// Get get a certificate order. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order.. @@ -473,7 +473,7 @@ func (client AppServiceCertificateOrdersClient) GetResponder(resp *http.Response return } -// GetCertificate description for Get the certificate associated with a certificate order. +// GetCertificate get the certificate associated with a certificate order. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -559,7 +559,7 @@ func (client AppServiceCertificateOrdersClient) GetCertificateResponder(resp *ht return } -// List description for List all certificate orders in a subscription. +// List list all certificate orders in a subscription. func (client AppServiceCertificateOrdersClient) List(ctx context.Context) (result AppServiceCertificateOrderCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/AppServiceCertificateOrdersClient.List") @@ -672,7 +672,7 @@ func (client AppServiceCertificateOrdersClient) ListComplete(ctx context.Context return } -// ListByResourceGroup description for Get certificate orders in a resource group. +// ListByResourceGroup get certificate orders in a resource group. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. func (client AppServiceCertificateOrdersClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result AppServiceCertificateOrderCollectionPage, err error) { @@ -796,7 +796,7 @@ func (client AppServiceCertificateOrdersClient) ListByResourceGroupComplete(ctx return } -// ListCertificates description for List all certificates associated with a certificate order. +// ListCertificates list all certificates associated with a certificate order. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -922,7 +922,7 @@ func (client AppServiceCertificateOrdersClient) ListCertificatesComplete(ctx con return } -// Reissue description for Reissue an existing certificate order. +// Reissue reissue an existing certificate order. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -1008,7 +1008,7 @@ func (client AppServiceCertificateOrdersClient) ReissueResponder(resp *http.Resp return } -// Renew description for Renew an existing certificate order. +// Renew renew an existing certificate order. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -1094,7 +1094,7 @@ func (client AppServiceCertificateOrdersClient) RenewResponder(resp *http.Respon return } -// ResendEmail description for Resend certificate email. +// ResendEmail resend certificate email. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -1177,7 +1177,7 @@ func (client AppServiceCertificateOrdersClient) ResendEmailResponder(resp *http. return } -// ResendRequestEmails description for Verify domain ownership for this certificate order. +// ResendRequestEmails verify domain ownership for this certificate order. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -1263,7 +1263,7 @@ func (client AppServiceCertificateOrdersClient) ResendRequestEmailsResponder(res return } -// RetrieveCertificateActions description for Retrieve the list of certificate actions. +// RetrieveCertificateActions retrieve the list of certificate actions. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the certificate order. @@ -1347,7 +1347,7 @@ func (client AppServiceCertificateOrdersClient) RetrieveCertificateActionsRespon return } -// RetrieveCertificateEmailHistory description for Retrieve email history. +// RetrieveCertificateEmailHistory retrieve email history. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the certificate order. @@ -1431,7 +1431,7 @@ func (client AppServiceCertificateOrdersClient) RetrieveCertificateEmailHistoryR return } -// RetrieveSiteSeal description for Verify domain ownership for this certificate order. +// RetrieveSiteSeal verify domain ownership for this certificate order. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -1518,7 +1518,7 @@ func (client AppServiceCertificateOrdersClient) RetrieveSiteSealResponder(resp * return } -// Update description for Create or update a certificate purchase order. +// Update create or update a certificate purchase order. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -1605,7 +1605,7 @@ func (client AppServiceCertificateOrdersClient) UpdateResponder(resp *http.Respo return } -// UpdateCertificate description for Creates or updates a certificate and associates with key vault secret. +// UpdateCertificate creates or updates a certificate and associates with key vault secret. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -1694,7 +1694,7 @@ func (client AppServiceCertificateOrdersClient) UpdateCertificateResponder(resp return } -// ValidatePurchaseInformation description for Validate information for a certificate order. +// ValidatePurchaseInformation validate information for a certificate order. // Parameters: // appServiceCertificateOrder - information for a certificate order. func (client AppServiceCertificateOrdersClient) ValidatePurchaseInformation(ctx context.Context, appServiceCertificateOrder AppServiceCertificateOrder) (result autorest.Response, err error) { @@ -1779,7 +1779,7 @@ func (client AppServiceCertificateOrdersClient) ValidatePurchaseInformationRespo return } -// VerifyDomainOwnership description for Verify domain ownership for this certificate order. +// VerifyDomainOwnership verify domain ownership for this certificate order. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. diff --git a/services/web/mgmt/2020-09-01/web/appserviceenvironments.go b/services/web/mgmt/2020-09-01/web/appserviceenvironments.go index 62849d8485ee..a6b8229b4419 100644 --- a/services/web/mgmt/2020-09-01/web/appserviceenvironments.go +++ b/services/web/mgmt/2020-09-01/web/appserviceenvironments.go @@ -32,7 +32,7 @@ func NewAppServiceEnvironmentsClientWithBaseURI(baseURI string, subscriptionID s return AppServiceEnvironmentsClient{NewWithBaseURI(baseURI, subscriptionID)} } -// ChangeVnet description for Move an App Service Environment to a different VNET. +// ChangeVnet move an App Service Environment to a different VNET. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -165,7 +165,7 @@ func (client AppServiceEnvironmentsClient) ChangeVnetComplete(ctx context.Contex return } -// CreateOrUpdate description for Create or update an App Service Environment. +// CreateOrUpdate create or update an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -262,7 +262,7 @@ func (client AppServiceEnvironmentsClient) CreateOrUpdateResponder(resp *http.Re return } -// CreateOrUpdateMultiRolePool description for Create or update a multi-role pool. +// CreateOrUpdateMultiRolePool create or update a multi-role pool. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -352,7 +352,7 @@ func (client AppServiceEnvironmentsClient) CreateOrUpdateMultiRolePoolResponder( return } -// CreateOrUpdateWorkerPool description for Create or update a worker pool. +// CreateOrUpdateWorkerPool create or update a worker pool. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -444,7 +444,7 @@ func (client AppServiceEnvironmentsClient) CreateOrUpdateWorkerPoolResponder(res return } -// Delete description for Delete an App Service Environment. +// Delete delete an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -535,7 +535,7 @@ func (client AppServiceEnvironmentsClient) DeleteResponder(resp *http.Response) return } -// Get description for Get the properties of an App Service Environment. +// Get get the properties of an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -619,7 +619,7 @@ func (client AppServiceEnvironmentsClient) GetResponder(resp *http.Response) (re return } -// GetDiagnosticsItem description for Get a diagnostics item for an App Service Environment. +// GetDiagnosticsItem get a diagnostics item for an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -705,8 +705,8 @@ func (client AppServiceEnvironmentsClient) GetDiagnosticsItemResponder(resp *htt return } -// GetInboundNetworkDependenciesEndpoints description for Get the network endpoints of all inbound dependencies of an -// App Service Environment. +// GetInboundNetworkDependenciesEndpoints get the network endpoints of all inbound dependencies of an App Service +// Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -832,7 +832,7 @@ func (client AppServiceEnvironmentsClient) GetInboundNetworkDependenciesEndpoint return } -// GetMultiRolePool description for Get properties of a multi-role pool. +// GetMultiRolePool get properties of a multi-role pool. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -916,8 +916,8 @@ func (client AppServiceEnvironmentsClient) GetMultiRolePoolResponder(resp *http. return } -// GetOutboundNetworkDependenciesEndpoints description for Get the network endpoints of all outbound dependencies of an -// App Service Environment. +// GetOutboundNetworkDependenciesEndpoints get the network endpoints of all outbound dependencies of an App Service +// Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -1043,7 +1043,7 @@ func (client AppServiceEnvironmentsClient) GetOutboundNetworkDependenciesEndpoin return } -// GetVipInfo description for Get IP addresses assigned to an App Service Environment. +// GetVipInfo get IP addresses assigned to an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -1127,7 +1127,7 @@ func (client AppServiceEnvironmentsClient) GetVipInfoResponder(resp *http.Respon return } -// GetWorkerPool description for Get properties of a worker pool. +// GetWorkerPool get properties of a worker pool. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -1213,7 +1213,7 @@ func (client AppServiceEnvironmentsClient) GetWorkerPoolResponder(resp *http.Res return } -// List description for Get all App Service Environments for a subscription. +// List get all App Service Environments for a subscription. func (client AppServiceEnvironmentsClient) List(ctx context.Context) (result AppServiceEnvironmentCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/AppServiceEnvironmentsClient.List") @@ -1326,7 +1326,7 @@ func (client AppServiceEnvironmentsClient) ListComplete(ctx context.Context) (re return } -// ListAppServicePlans description for Get all App Service plans in an App Service Environment. +// ListAppServicePlans get all App Service plans in an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -1452,7 +1452,7 @@ func (client AppServiceEnvironmentsClient) ListAppServicePlansComplete(ctx conte return } -// ListByResourceGroup description for Get all App Service Environments in a resource group. +// ListByResourceGroup get all App Service Environments in a resource group. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. func (client AppServiceEnvironmentsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result AppServiceEnvironmentCollectionPage, err error) { @@ -1576,7 +1576,7 @@ func (client AppServiceEnvironmentsClient) ListByResourceGroupComplete(ctx conte return } -// ListCapacities description for Get the used, available, and total worker capacity an App Service Environment. +// ListCapacities get the used, available, and total worker capacity an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -1702,7 +1702,7 @@ func (client AppServiceEnvironmentsClient) ListCapacitiesComplete(ctx context.Co return } -// ListDiagnostics description for Get diagnostic information for an App Service Environment. +// ListDiagnostics get diagnostic information for an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -1786,8 +1786,7 @@ func (client AppServiceEnvironmentsClient) ListDiagnosticsResponder(resp *http.R return } -// ListMultiRoleMetricDefinitions description for Get metric definitions for a multi-role pool of an App Service -// Environment. +// ListMultiRoleMetricDefinitions get metric definitions for a multi-role pool of an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -1913,8 +1912,8 @@ func (client AppServiceEnvironmentsClient) ListMultiRoleMetricDefinitionsComplet return } -// ListMultiRolePoolInstanceMetricDefinitions description for Get metric definitions for a specific instance of a -// multi-role pool of an App Service Environment. +// ListMultiRolePoolInstanceMetricDefinitions get metric definitions for a specific instance of a multi-role pool of an +// App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -2042,7 +2041,7 @@ func (client AppServiceEnvironmentsClient) ListMultiRolePoolInstanceMetricDefini return } -// ListMultiRolePools description for Get all multi-role pools. +// ListMultiRolePools get all multi-role pools. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -2168,7 +2167,7 @@ func (client AppServiceEnvironmentsClient) ListMultiRolePoolsComplete(ctx contex return } -// ListMultiRolePoolSkus description for Get available SKUs for scaling a multi-role pool. +// ListMultiRolePoolSkus get available SKUs for scaling a multi-role pool. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -2294,7 +2293,7 @@ func (client AppServiceEnvironmentsClient) ListMultiRolePoolSkusComplete(ctx con return } -// ListMultiRoleUsages description for Get usage metrics for a multi-role pool of an App Service Environment. +// ListMultiRoleUsages get usage metrics for a multi-role pool of an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -2420,7 +2419,7 @@ func (client AppServiceEnvironmentsClient) ListMultiRoleUsagesComplete(ctx conte return } -// ListOperations description for List all currently running operations on the App Service Environment. +// ListOperations list all currently running operations on the App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -2504,7 +2503,7 @@ func (client AppServiceEnvironmentsClient) ListOperationsResponder(resp *http.Re return } -// ListUsages description for Get global usage metrics of an App Service Environment. +// ListUsages get global usage metrics of an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -2636,7 +2635,7 @@ func (client AppServiceEnvironmentsClient) ListUsagesComplete(ctx context.Contex return } -// ListWebApps description for Get all apps in an App Service Environment. +// ListWebApps get all apps in an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -2766,8 +2765,7 @@ func (client AppServiceEnvironmentsClient) ListWebAppsComplete(ctx context.Conte return } -// ListWebWorkerMetricDefinitions description for Get metric definitions for a worker pool of an App Service -// Environment. +// ListWebWorkerMetricDefinitions get metric definitions for a worker pool of an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -2895,7 +2893,7 @@ func (client AppServiceEnvironmentsClient) ListWebWorkerMetricDefinitionsComplet return } -// ListWebWorkerUsages description for Get usage metrics for a worker pool of an App Service Environment. +// ListWebWorkerUsages get usage metrics for a worker pool of an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -3023,8 +3021,8 @@ func (client AppServiceEnvironmentsClient) ListWebWorkerUsagesComplete(ctx conte return } -// ListWorkerPoolInstanceMetricDefinitions description for Get metric definitions for a specific instance of a worker -// pool of an App Service Environment. +// ListWorkerPoolInstanceMetricDefinitions get metric definitions for a specific instance of a worker pool of an App +// Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -3154,7 +3152,7 @@ func (client AppServiceEnvironmentsClient) ListWorkerPoolInstanceMetricDefinitio return } -// ListWorkerPools description for Get all worker pools of an App Service Environment. +// ListWorkerPools get all worker pools of an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -3280,7 +3278,7 @@ func (client AppServiceEnvironmentsClient) ListWorkerPoolsComplete(ctx context.C return } -// ListWorkerPoolSkus description for Get available SKUs for scaling a worker pool. +// ListWorkerPoolSkus get available SKUs for scaling a worker pool. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -3408,7 +3406,7 @@ func (client AppServiceEnvironmentsClient) ListWorkerPoolSkusComplete(ctx contex return } -// Reboot description for Reboot all machines in an App Service Environment. +// Reboot reboot all machines in an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -3491,7 +3489,7 @@ func (client AppServiceEnvironmentsClient) RebootResponder(resp *http.Response) return } -// Resume description for Resume an App Service Environment. +// Resume resume an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -3619,7 +3617,7 @@ func (client AppServiceEnvironmentsClient) ResumeComplete(ctx context.Context, r return } -// Suspend description for Suspend an App Service Environment. +// Suspend suspend an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -3747,7 +3745,7 @@ func (client AppServiceEnvironmentsClient) SuspendComplete(ctx context.Context, return } -// Update description for Create or update an App Service Environment. +// Update create or update an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -3834,7 +3832,7 @@ func (client AppServiceEnvironmentsClient) UpdateResponder(resp *http.Response) return } -// UpdateMultiRolePool description for Create or update a multi-role pool. +// UpdateMultiRolePool create or update a multi-role pool. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -3921,7 +3919,7 @@ func (client AppServiceEnvironmentsClient) UpdateMultiRolePoolResponder(resp *ht return } -// UpdateWorkerPool description for Create or update a worker pool. +// UpdateWorkerPool create or update a worker pool. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. diff --git a/services/web/mgmt/2020-09-01/web/appserviceplans.go b/services/web/mgmt/2020-09-01/web/appserviceplans.go index b3f7f19d298d..037659f5fd07 100644 --- a/services/web/mgmt/2020-09-01/web/appserviceplans.go +++ b/services/web/mgmt/2020-09-01/web/appserviceplans.go @@ -31,7 +31,7 @@ func NewAppServicePlansClientWithBaseURI(baseURI string, subscriptionID string) return AppServicePlansClient{NewWithBaseURI(baseURI, subscriptionID)} } -// CreateOrUpdate description for Creates or updates an App Service Plan. +// CreateOrUpdate creates or updates an App Service Plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -121,7 +121,7 @@ func (client AppServicePlansClient) CreateOrUpdateResponder(resp *http.Response) return } -// CreateOrUpdateVnetRoute description for Create or update a Virtual Network route in an App Service plan. +// CreateOrUpdateVnetRoute create or update a Virtual Network route in an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -212,7 +212,7 @@ func (client AppServicePlansClient) CreateOrUpdateVnetRouteResponder(resp *http. return } -// Delete description for Delete an App Service plan. +// Delete delete an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -295,7 +295,7 @@ func (client AppServicePlansClient) DeleteResponder(resp *http.Response) (result return } -// DeleteHybridConnection description for Delete a Hybrid Connection in use in an App Service plan. +// DeleteHybridConnection delete a Hybrid Connection in use in an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -382,7 +382,7 @@ func (client AppServicePlansClient) DeleteHybridConnectionResponder(resp *http.R return } -// DeleteVnetRoute description for Delete a Virtual Network route in an App Service plan. +// DeleteVnetRoute delete a Virtual Network route in an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -469,7 +469,7 @@ func (client AppServicePlansClient) DeleteVnetRouteResponder(resp *http.Response return } -// Get description for Get an App Service plan. +// Get get an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -553,7 +553,7 @@ func (client AppServicePlansClient) GetResponder(resp *http.Response) (result Ap return } -// GetHybridConnection description for Retrieve a Hybrid Connection in use in an App Service plan. +// GetHybridConnection retrieve a Hybrid Connection in use in an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -641,8 +641,7 @@ func (client AppServicePlansClient) GetHybridConnectionResponder(resp *http.Resp return } -// GetHybridConnectionPlanLimit description for Get the maximum number of Hybrid Connections allowed in an App Service -// plan. +// GetHybridConnectionPlanLimit get the maximum number of Hybrid Connections allowed in an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -726,7 +725,7 @@ func (client AppServicePlansClient) GetHybridConnectionPlanLimitResponder(resp * return } -// GetRouteForVnet description for Get a Virtual Network route in an App Service plan. +// GetRouteForVnet get a Virtual Network route in an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -814,7 +813,7 @@ func (client AppServicePlansClient) GetRouteForVnetResponder(resp *http.Response return } -// GetServerFarmSkus description for Gets all selectable SKUs for a given App Service Plan +// GetServerFarmSkus gets all selectable SKUs for a given App Service Plan // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of App Service Plan @@ -898,7 +897,7 @@ func (client AppServicePlansClient) GetServerFarmSkusResponder(resp *http.Respon return } -// GetVnetFromServerFarm description for Get a Virtual Network associated with an App Service plan. +// GetVnetFromServerFarm get a Virtual Network associated with an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -984,7 +983,7 @@ func (client AppServicePlansClient) GetVnetFromServerFarmResponder(resp *http.Re return } -// GetVnetGateway description for Get a Virtual Network gateway. +// GetVnetGateway get a Virtual Network gateway. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -1072,7 +1071,7 @@ func (client AppServicePlansClient) GetVnetGatewayResponder(resp *http.Response) return } -// List description for Get all App Service plans for a subscription. +// List get all App Service plans for a subscription. // Parameters: // detailed - specify true to return all App Service plan properties. The default is // false, which returns a subset of the properties. @@ -1192,7 +1191,7 @@ func (client AppServicePlansClient) ListComplete(ctx context.Context, detailed * return } -// ListByResourceGroup description for Get all App Service plans in a resource group. +// ListByResourceGroup get all App Service plans in a resource group. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. func (client AppServicePlansClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result AppServicePlanCollectionPage, err error) { @@ -1316,7 +1315,7 @@ func (client AppServicePlansClient) ListByResourceGroupComplete(ctx context.Cont return } -// ListCapabilities description for List all capabilities of an App Service plan. +// ListCapabilities list all capabilities of an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -1400,7 +1399,7 @@ func (client AppServicePlansClient) ListCapabilitiesResponder(resp *http.Respons return } -// ListHybridConnectionKeys description for Get the send key name and value of a Hybrid Connection. +// ListHybridConnectionKeys get the send key name and value of a Hybrid Connection. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -1488,7 +1487,7 @@ func (client AppServicePlansClient) ListHybridConnectionKeysResponder(resp *http return } -// ListHybridConnections description for Retrieve all Hybrid Connections in use in an App Service plan. +// ListHybridConnections retrieve all Hybrid Connections in use in an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -1614,7 +1613,7 @@ func (client AppServicePlansClient) ListHybridConnectionsComplete(ctx context.Co return } -// ListRoutesForVnet description for Get all routes that are associated with a Virtual Network in an App Service plan. +// ListRoutesForVnet get all routes that are associated with a Virtual Network in an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -1700,7 +1699,7 @@ func (client AppServicePlansClient) ListRoutesForVnetResponder(resp *http.Respon return } -// ListUsages description for Gets server farm usage information +// ListUsages gets server farm usage information // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of App Service Plan @@ -1831,7 +1830,7 @@ func (client AppServicePlansClient) ListUsagesComplete(ctx context.Context, reso return } -// ListVnets description for Get all Virtual Networks associated with an App Service plan. +// ListVnets get all Virtual Networks associated with an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -1915,7 +1914,7 @@ func (client AppServicePlansClient) ListVnetsResponder(resp *http.Response) (res return } -// ListWebApps description for Get all apps associated with an App Service plan. +// ListWebApps get all apps associated with an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -2055,7 +2054,7 @@ func (client AppServicePlansClient) ListWebAppsComplete(ctx context.Context, res return } -// ListWebAppsByHybridConnection description for Get all apps that use a Hybrid Connection in an App Service Plan. +// ListWebAppsByHybridConnection get all apps that use a Hybrid Connection in an App Service Plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -2185,7 +2184,7 @@ func (client AppServicePlansClient) ListWebAppsByHybridConnectionComplete(ctx co return } -// RebootWorker description for Reboot a worker machine in an App Service plan. +// RebootWorker reboot a worker machine in an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -2270,7 +2269,7 @@ func (client AppServicePlansClient) RebootWorkerResponder(resp *http.Response) ( return } -// RestartWebApps description for Restart all apps in an App Service plan. +// RestartWebApps restart all apps in an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -2359,7 +2358,7 @@ func (client AppServicePlansClient) RestartWebAppsResponder(resp *http.Response) return } -// Update description for Creates or updates an App Service Plan. +// Update creates or updates an App Service Plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -2446,7 +2445,7 @@ func (client AppServicePlansClient) UpdateResponder(resp *http.Response) (result return } -// UpdateVnetGateway description for Update a Virtual Network gateway. +// UpdateVnetGateway update a Virtual Network gateway. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -2540,7 +2539,7 @@ func (client AppServicePlansClient) UpdateVnetGatewayResponder(resp *http.Respon return } -// UpdateVnetRoute description for Create or update a Virtual Network route in an App Service plan. +// UpdateVnetRoute create or update a Virtual Network route in an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. diff --git a/services/web/mgmt/2020-09-01/web/certificateregistrationprovider.go b/services/web/mgmt/2020-09-01/web/certificateregistrationprovider.go index 1fc32f79eef2..726734a43805 100644 --- a/services/web/mgmt/2020-09-01/web/certificateregistrationprovider.go +++ b/services/web/mgmt/2020-09-01/web/certificateregistrationprovider.go @@ -31,8 +31,7 @@ func NewCertificateRegistrationProviderClientWithBaseURI(baseURI string, subscri return CertificateRegistrationProviderClient{NewWithBaseURI(baseURI, subscriptionID)} } -// ListOperations description for Implements Csm operations Api to exposes the list of available Csm Apis under the -// resource provider +// ListOperations implements Csm operations Api to exposes the list of available Csm Apis under the resource provider func (client CertificateRegistrationProviderClient) ListOperations(ctx context.Context) (result CsmOperationCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/CertificateRegistrationProviderClient.ListOperations") diff --git a/services/web/mgmt/2020-09-01/web/certificates.go b/services/web/mgmt/2020-09-01/web/certificates.go index 053dea818f48..5143e159a99a 100644 --- a/services/web/mgmt/2020-09-01/web/certificates.go +++ b/services/web/mgmt/2020-09-01/web/certificates.go @@ -31,7 +31,7 @@ func NewCertificatesClientWithBaseURI(baseURI string, subscriptionID string) Cer return CertificatesClient{NewWithBaseURI(baseURI, subscriptionID)} } -// CreateOrUpdate description for Create or update a certificate. +// CreateOrUpdate create or update a certificate. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the certificate. @@ -121,7 +121,7 @@ func (client CertificatesClient) CreateOrUpdateResponder(resp *http.Response) (r return } -// Delete description for Delete a certificate. +// Delete delete a certificate. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the certificate. @@ -204,7 +204,7 @@ func (client CertificatesClient) DeleteResponder(resp *http.Response) (result au return } -// Get description for Get a certificate. +// Get get a certificate. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the certificate. @@ -288,7 +288,7 @@ func (client CertificatesClient) GetResponder(resp *http.Response) (result Certi return } -// List description for Get all certificates for a subscription. +// List get all certificates for a subscription. func (client CertificatesClient) List(ctx context.Context) (result CertificateCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/CertificatesClient.List") @@ -401,7 +401,7 @@ func (client CertificatesClient) ListComplete(ctx context.Context) (result Certi return } -// ListByResourceGroup description for Get all certificates in a resource group. +// ListByResourceGroup get all certificates in a resource group. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. func (client CertificatesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result CertificateCollectionPage, err error) { @@ -525,7 +525,7 @@ func (client CertificatesClient) ListByResourceGroupComplete(ctx context.Context return } -// Update description for Create or update a certificate. +// Update create or update a certificate. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the certificate. diff --git a/services/web/mgmt/2020-09-01/web/client.go b/services/web/mgmt/2020-09-01/web/client.go index 75dacaa02ab8..1f2654c8f336 100644 --- a/services/web/mgmt/2020-09-01/web/client.go +++ b/services/web/mgmt/2020-09-01/web/client.go @@ -45,7 +45,7 @@ func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient { } } -// CheckNameAvailability description for Check if a resource name is available. +// CheckNameAvailability check if a resource name is available. // Parameters: // request - name availability request. func (client BaseClient) CheckNameAvailability(ctx context.Context, request ResourceNameAvailabilityRequest) (result ResourceNameAvailability, err error) { @@ -126,84 +126,7 @@ func (client BaseClient) CheckNameAvailabilityResponder(resp *http.Response) (re return } -// GenerateGithubAccessTokenForAppserviceCLIAsync description for Exchange code for GitHub access token for AppService -// CLI -func (client BaseClient) GenerateGithubAccessTokenForAppserviceCLIAsync(ctx context.Context, request AppserviceGithubTokenRequest) (result AppserviceGithubToken, err error) { - if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/BaseClient.GenerateGithubAccessTokenForAppserviceCLIAsync") - defer func() { - sc := -1 - if result.Response.Response != nil { - sc = result.Response.Response.StatusCode - } - tracing.EndSpan(ctx, sc, err) - }() - } - if err := validation.Validate([]validation.Validation{ - {TargetValue: request, - Constraints: []validation.Constraint{{Target: "request.Code", Name: validation.Null, Rule: true, Chain: nil}, - {Target: "request.State", Name: validation.Null, Rule: true, Chain: nil}}}}); err != nil { - return result, validation.NewError("web.BaseClient", "GenerateGithubAccessTokenForAppserviceCLIAsync", err.Error()) - } - - req, err := client.GenerateGithubAccessTokenForAppserviceCLIAsyncPreparer(ctx, request) - if err != nil { - err = autorest.NewErrorWithError(err, "web.BaseClient", "GenerateGithubAccessTokenForAppserviceCLIAsync", nil, "Failure preparing request") - return - } - - resp, err := client.GenerateGithubAccessTokenForAppserviceCLIAsyncSender(req) - if err != nil { - result.Response = autorest.Response{Response: resp} - err = autorest.NewErrorWithError(err, "web.BaseClient", "GenerateGithubAccessTokenForAppserviceCLIAsync", resp, "Failure sending request") - return - } - - result, err = client.GenerateGithubAccessTokenForAppserviceCLIAsyncResponder(resp) - if err != nil { - err = autorest.NewErrorWithError(err, "web.BaseClient", "GenerateGithubAccessTokenForAppserviceCLIAsync", resp, "Failure responding to request") - return - } - - return -} - -// GenerateGithubAccessTokenForAppserviceCLIAsyncPreparer prepares the GenerateGithubAccessTokenForAppserviceCLIAsync request. -func (client BaseClient) GenerateGithubAccessTokenForAppserviceCLIAsyncPreparer(ctx context.Context, request AppserviceGithubTokenRequest) (*http.Request, error) { - const APIVersion = "2020-09-01" - queryParameters := map[string]interface{}{ - "api-version": APIVersion, - } - - preparer := autorest.CreatePreparer( - autorest.AsContentType("application/json; charset=utf-8"), - autorest.AsPost(), - autorest.WithBaseURL(client.BaseURI), - autorest.WithPath("/providers/Microsoft.Web/generateGithubAccessTokenForAppserviceCLI"), - autorest.WithJSON(request), - autorest.WithQueryParameters(queryParameters)) - return preparer.Prepare((&http.Request{}).WithContext(ctx)) -} - -// GenerateGithubAccessTokenForAppserviceCLIAsyncSender sends the GenerateGithubAccessTokenForAppserviceCLIAsync request. The method will close the -// http.Response Body if it receives an error. -func (client BaseClient) GenerateGithubAccessTokenForAppserviceCLIAsyncSender(req *http.Request) (*http.Response, error) { - return client.Send(req, autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...)) -} - -// GenerateGithubAccessTokenForAppserviceCLIAsyncResponder handles the response to the GenerateGithubAccessTokenForAppserviceCLIAsync request. The method always -// closes the http.Response Body. -func (client BaseClient) GenerateGithubAccessTokenForAppserviceCLIAsyncResponder(resp *http.Response) (result AppserviceGithubToken, err error) { - err = autorest.Respond( - resp, - azure.WithErrorUnlessStatusCode(http.StatusOK), - autorest.ByUnmarshallingJSON(&result), - autorest.ByClosing()) - result.Response = autorest.Response{Response: resp} - return -} - -// GetPublishingUser description for Gets publishing user +// GetPublishingUser gets publishing user func (client BaseClient) GetPublishingUser(ctx context.Context) (result User, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/BaseClient.GetPublishingUser") @@ -270,7 +193,7 @@ func (client BaseClient) GetPublishingUserResponder(resp *http.Response) (result return } -// GetSourceControl description for Gets source control token +// GetSourceControl gets source control token // Parameters: // sourceControlType - type of source control func (client BaseClient) GetSourceControl(ctx context.Context, sourceControlType string) (result SourceControl, err error) { @@ -343,7 +266,7 @@ func (client BaseClient) GetSourceControlResponder(resp *http.Response) (result return } -// GetSubscriptionDeploymentLocations description for Gets list of available geo regions plus ministamps +// GetSubscriptionDeploymentLocations gets list of available geo regions plus ministamps func (client BaseClient) GetSubscriptionDeploymentLocations(ctx context.Context) (result DeploymentLocations, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/BaseClient.GetSubscriptionDeploymentLocations") @@ -414,7 +337,7 @@ func (client BaseClient) GetSubscriptionDeploymentLocationsResponder(resp *http. return } -// ListBillingMeters description for Gets a list of meters for a given location. +// ListBillingMeters gets a list of meters for a given location. // Parameters: // billingLocation - azure Location of billable resource // osType - app Service OS type meters used for @@ -536,7 +459,7 @@ func (client BaseClient) ListBillingMetersComplete(ctx context.Context, billingL return } -// ListGeoRegions description for Get a list of available geographical regions. +// ListGeoRegions get a list of available geographical regions. // Parameters: // sku - name of SKU used to filter the regions. // linuxWorkersEnabled - specify true if you want to filter to only regions that support Linux @@ -669,7 +592,7 @@ func (client BaseClient) ListGeoRegionsComplete(ctx context.Context, sku SkuName return } -// ListPremierAddOnOffers description for List all premier add-on offers. +// ListPremierAddOnOffers list all premier add-on offers. func (client BaseClient) ListPremierAddOnOffers(ctx context.Context) (result PremierAddOnOfferCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/BaseClient.ListPremierAddOnOffers") @@ -782,7 +705,7 @@ func (client BaseClient) ListPremierAddOnOffersComplete(ctx context.Context) (re return } -// ListSiteIdentifiersAssignedToHostName description for List all apps that are assigned to a hostname. +// ListSiteIdentifiersAssignedToHostName list all apps that are assigned to a hostname. // Parameters: // nameIdentifier - hostname information. func (client BaseClient) ListSiteIdentifiersAssignedToHostName(ctx context.Context, nameIdentifier NameIdentifier) (result IdentifierCollectionPage, err error) { @@ -899,7 +822,7 @@ func (client BaseClient) ListSiteIdentifiersAssignedToHostNameComplete(ctx conte return } -// ListSkus description for List all SKUs. +// ListSkus list all SKUs. func (client BaseClient) ListSkus(ctx context.Context) (result SkuInfos, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/BaseClient.ListSkus") @@ -970,7 +893,7 @@ func (client BaseClient) ListSkusResponder(resp *http.Response) (result SkuInfos return } -// ListSourceControls description for Gets the source controls available for Azure websites. +// ListSourceControls gets the source controls available for Azure websites. func (client BaseClient) ListSourceControls(ctx context.Context) (result SourceControlCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/BaseClient.ListSourceControls") @@ -1079,7 +1002,7 @@ func (client BaseClient) ListSourceControlsComplete(ctx context.Context) (result return } -// Move description for Move resources between resource groups. +// Move move resources between resource groups. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // moveResourceEnvelope - object that represents the resource to move. @@ -1169,7 +1092,7 @@ func (client BaseClient) MoveResponder(resp *http.Response) (result autorest.Res return } -// UpdatePublishingUser description for Updates publishing user +// UpdatePublishingUser updates publishing user // Parameters: // userDetails - details of publishing user func (client BaseClient) UpdatePublishingUser(ctx context.Context, userDetails User) (result User, err error) { @@ -1247,7 +1170,7 @@ func (client BaseClient) UpdatePublishingUserResponder(resp *http.Response) (res return } -// UpdateSourceControl description for Updates source control token +// UpdateSourceControl updates source control token // Parameters: // sourceControlType - type of source control // requestMessage - source control token information @@ -1323,7 +1246,7 @@ func (client BaseClient) UpdateSourceControlResponder(resp *http.Response) (resu return } -// Validate description for Validate if a resource can be created. +// Validate validate if a resource can be created. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // validateRequest - request with the resources to validate. @@ -1415,7 +1338,7 @@ func (client BaseClient) ValidateResponder(resp *http.Response) (result Validate return } -// ValidateMove description for Validate whether a resource can be moved. +// ValidateMove validate whether a resource can be moved. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // moveResourceEnvelope - object that represents the resource to move. @@ -1505,8 +1428,8 @@ func (client BaseClient) ValidateMoveResponder(resp *http.Response) (result auto return } -// VerifyHostingEnvironmentVnet description for Verifies if this VNET is compatible with an App Service Environment by -// analyzing the Network Security Group rules. +// VerifyHostingEnvironmentVnet verifies if this VNET is compatible with an App Service Environment by analyzing the +// Network Security Group rules. // Parameters: // parameters - VNET information func (client BaseClient) VerifyHostingEnvironmentVnet(ctx context.Context, parameters VnetParameters) (result VnetValidationFailureDetails, err error) { diff --git a/services/web/mgmt/2020-09-01/web/deletedwebapps.go b/services/web/mgmt/2020-09-01/web/deletedwebapps.go index 8c2aa6f1fb1b..9d61bab640ec 100644 --- a/services/web/mgmt/2020-09-01/web/deletedwebapps.go +++ b/services/web/mgmt/2020-09-01/web/deletedwebapps.go @@ -30,7 +30,7 @@ func NewDeletedWebAppsClientWithBaseURI(baseURI string, subscriptionID string) D return DeletedWebAppsClient{NewWithBaseURI(baseURI, subscriptionID)} } -// GetDeletedWebAppByLocation description for Get deleted app for a subscription at location. +// GetDeletedWebAppByLocation get deleted app for a subscription at location. // Parameters: // deletedSiteID - the numeric ID of the deleted app, e.g. 12345 func (client DeletedWebAppsClient) GetDeletedWebAppByLocation(ctx context.Context, location string, deletedSiteID string) (result DeletedSite, err error) { @@ -105,7 +105,7 @@ func (client DeletedWebAppsClient) GetDeletedWebAppByLocationResponder(resp *htt return } -// List description for Get all deleted apps for a subscription. +// List get all deleted apps for a subscription. func (client DeletedWebAppsClient) List(ctx context.Context) (result DeletedWebAppCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/DeletedWebAppsClient.List") @@ -218,7 +218,7 @@ func (client DeletedWebAppsClient) ListComplete(ctx context.Context) (result Del return } -// ListByLocation description for Get all deleted apps for a subscription at location +// ListByLocation get all deleted apps for a subscription at location func (client DeletedWebAppsClient) ListByLocation(ctx context.Context, location string) (result DeletedWebAppCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/DeletedWebAppsClient.ListByLocation") diff --git a/services/web/mgmt/2020-09-01/web/diagnostics.go b/services/web/mgmt/2020-09-01/web/diagnostics.go index 90139e97f871..a3167f5eda2f 100644 --- a/services/web/mgmt/2020-09-01/web/diagnostics.go +++ b/services/web/mgmt/2020-09-01/web/diagnostics.go @@ -32,7 +32,7 @@ func NewDiagnosticsClientWithBaseURI(baseURI string, subscriptionID string) Diag return DiagnosticsClient{NewWithBaseURI(baseURI, subscriptionID)} } -// ExecuteSiteAnalysis description for Execute Analysis +// ExecuteSiteAnalysis execute Analysis // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -135,7 +135,7 @@ func (client DiagnosticsClient) ExecuteSiteAnalysisResponder(resp *http.Response return } -// ExecuteSiteAnalysisSlot description for Execute Analysis +// ExecuteSiteAnalysisSlot execute Analysis // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -240,7 +240,7 @@ func (client DiagnosticsClient) ExecuteSiteAnalysisSlotResponder(resp *http.Resp return } -// ExecuteSiteDetector description for Execute Detector +// ExecuteSiteDetector execute Detector // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -343,7 +343,7 @@ func (client DiagnosticsClient) ExecuteSiteDetectorResponder(resp *http.Response return } -// ExecuteSiteDetectorSlot description for Execute Detector +// ExecuteSiteDetectorSlot execute Detector // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -448,7 +448,7 @@ func (client DiagnosticsClient) ExecuteSiteDetectorSlotResponder(resp *http.Resp return } -// GetHostingEnvironmentDetectorResponse description for Get Hosting Environment Detector Response +// GetHostingEnvironmentDetectorResponse get Hosting Environment Detector Response // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - app Service Environment Name @@ -549,7 +549,7 @@ func (client DiagnosticsClient) GetHostingEnvironmentDetectorResponseResponder(r return } -// GetSiteAnalysis description for Get Site Analysis +// GetSiteAnalysis get Site Analysis // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -637,7 +637,7 @@ func (client DiagnosticsClient) GetSiteAnalysisResponder(resp *http.Response) (r return } -// GetSiteAnalysisSlot description for Get Site Analysis +// GetSiteAnalysisSlot get Site Analysis // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -727,7 +727,7 @@ func (client DiagnosticsClient) GetSiteAnalysisSlotResponder(resp *http.Response return } -// GetSiteDetector description for Get Detector +// GetSiteDetector get Detector // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -815,7 +815,7 @@ func (client DiagnosticsClient) GetSiteDetectorResponder(resp *http.Response) (r return } -// GetSiteDetectorResponse description for Get site detector response +// GetSiteDetectorResponse get site detector response // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -916,7 +916,7 @@ func (client DiagnosticsClient) GetSiteDetectorResponseResponder(resp *http.Resp return } -// GetSiteDetectorResponseSlot description for Get site detector response +// GetSiteDetectorResponseSlot get site detector response // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -1019,7 +1019,7 @@ func (client DiagnosticsClient) GetSiteDetectorResponseSlotResponder(resp *http. return } -// GetSiteDetectorSlot description for Get Detector +// GetSiteDetectorSlot get Detector // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -1109,7 +1109,7 @@ func (client DiagnosticsClient) GetSiteDetectorSlotResponder(resp *http.Response return } -// GetSiteDiagnosticCategory description for Get Diagnostics Category +// GetSiteDiagnosticCategory get Diagnostics Category // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -1195,7 +1195,7 @@ func (client DiagnosticsClient) GetSiteDiagnosticCategoryResponder(resp *http.Re return } -// GetSiteDiagnosticCategorySlot description for Get Diagnostics Category +// GetSiteDiagnosticCategorySlot get Diagnostics Category // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -1283,7 +1283,7 @@ func (client DiagnosticsClient) GetSiteDiagnosticCategorySlotResponder(resp *htt return } -// ListHostingEnvironmentDetectorResponses description for List Hosting Environment Detector Responses +// ListHostingEnvironmentDetectorResponses list Hosting Environment Detector Responses // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site Name @@ -1409,7 +1409,7 @@ func (client DiagnosticsClient) ListHostingEnvironmentDetectorResponsesComplete( return } -// ListSiteAnalyses description for Get Site Analyses +// ListSiteAnalyses get Site Analyses // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -1537,7 +1537,7 @@ func (client DiagnosticsClient) ListSiteAnalysesComplete(ctx context.Context, re return } -// ListSiteAnalysesSlot description for Get Site Analyses +// ListSiteAnalysesSlot get Site Analyses // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -1667,7 +1667,7 @@ func (client DiagnosticsClient) ListSiteAnalysesSlotComplete(ctx context.Context return } -// ListSiteDetectorResponses description for List Site Detector Responses +// ListSiteDetectorResponses list Site Detector Responses // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -1793,7 +1793,7 @@ func (client DiagnosticsClient) ListSiteDetectorResponsesComplete(ctx context.Co return } -// ListSiteDetectorResponsesSlot description for List Site Detector Responses +// ListSiteDetectorResponsesSlot list Site Detector Responses // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -1921,7 +1921,7 @@ func (client DiagnosticsClient) ListSiteDetectorResponsesSlotComplete(ctx contex return } -// ListSiteDetectors description for Get Detectors +// ListSiteDetectors get Detectors // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -2049,7 +2049,7 @@ func (client DiagnosticsClient) ListSiteDetectorsComplete(ctx context.Context, r return } -// ListSiteDetectorsSlot description for Get Detectors +// ListSiteDetectorsSlot get Detectors // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -2179,7 +2179,7 @@ func (client DiagnosticsClient) ListSiteDetectorsSlotComplete(ctx context.Contex return } -// ListSiteDiagnosticCategories description for Get Diagnostics Categories +// ListSiteDiagnosticCategories get Diagnostics Categories // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -2305,7 +2305,7 @@ func (client DiagnosticsClient) ListSiteDiagnosticCategoriesComplete(ctx context return } -// ListSiteDiagnosticCategoriesSlot description for Get Diagnostics Categories +// ListSiteDiagnosticCategoriesSlot get Diagnostics Categories // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name diff --git a/services/web/mgmt/2020-09-01/web/domainregistrationprovider.go b/services/web/mgmt/2020-09-01/web/domainregistrationprovider.go index 03b9942d562d..58b3692465ed 100644 --- a/services/web/mgmt/2020-09-01/web/domainregistrationprovider.go +++ b/services/web/mgmt/2020-09-01/web/domainregistrationprovider.go @@ -31,8 +31,7 @@ func NewDomainRegistrationProviderClientWithBaseURI(baseURI string, subscription return DomainRegistrationProviderClient{NewWithBaseURI(baseURI, subscriptionID)} } -// ListOperations description for Implements Csm operations Api to exposes the list of available Csm Apis under the -// resource provider +// ListOperations implements Csm operations Api to exposes the list of available Csm Apis under the resource provider func (client DomainRegistrationProviderClient) ListOperations(ctx context.Context) (result CsmOperationCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/DomainRegistrationProviderClient.ListOperations") diff --git a/services/web/mgmt/2020-09-01/web/domains.go b/services/web/mgmt/2020-09-01/web/domains.go index 4c705f58e7af..b5d3bc5fb644 100644 --- a/services/web/mgmt/2020-09-01/web/domains.go +++ b/services/web/mgmt/2020-09-01/web/domains.go @@ -31,7 +31,7 @@ func NewDomainsClientWithBaseURI(baseURI string, subscriptionID string) DomainsC return DomainsClient{NewWithBaseURI(baseURI, subscriptionID)} } -// CheckAvailability description for Check if a domain is available for registration. +// CheckAvailability check if a domain is available for registration. // Parameters: // identifier - name of the domain. func (client DomainsClient) CheckAvailability(ctx context.Context, identifier NameIdentifier) (result DomainAvailabilityCheckResult, err error) { @@ -106,7 +106,7 @@ func (client DomainsClient) CheckAvailabilityResponder(resp *http.Response) (res return } -// CreateOrUpdate description for Creates or updates a domain. +// CreateOrUpdate creates or updates a domain. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // domainName - name of the domain. @@ -254,8 +254,8 @@ func (client DomainsClient) CreateOrUpdateResponder(resp *http.Response) (result return } -// CreateOrUpdateOwnershipIdentifier description for Creates an ownership identifier for a domain or updates identifier -// details for an existing identifer +// CreateOrUpdateOwnershipIdentifier creates an ownership identifier for a domain or updates identifier details for an +// existing identifier // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // domainName - name of domain. @@ -344,7 +344,7 @@ func (client DomainsClient) CreateOrUpdateOwnershipIdentifierResponder(resp *htt return } -// Delete description for Delete a domain. +// Delete delete a domain. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // domainName - name of the domain. @@ -432,7 +432,7 @@ func (client DomainsClient) DeleteResponder(resp *http.Response) (result autores return } -// DeleteOwnershipIdentifier description for Delete ownership identifier for domain +// DeleteOwnershipIdentifier delete ownership identifier for domain // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // domainName - name of domain. @@ -517,7 +517,7 @@ func (client DomainsClient) DeleteOwnershipIdentifierResponder(resp *http.Respon return } -// Get description for Get a domain. +// Get get a domain. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // domainName - name of the domain. @@ -601,7 +601,7 @@ func (client DomainsClient) GetResponder(resp *http.Response) (result Domain, er return } -// GetControlCenterSsoRequest description for Generate a single sign-on request for the domain management portal. +// GetControlCenterSsoRequest generate a single sign-on request for the domain management portal. func (client DomainsClient) GetControlCenterSsoRequest(ctx context.Context) (result DomainControlCenterSsoRequest, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/DomainsClient.GetControlCenterSsoRequest") @@ -672,7 +672,7 @@ func (client DomainsClient) GetControlCenterSsoRequestResponder(resp *http.Respo return } -// GetOwnershipIdentifier description for Get ownership identifier for domain +// GetOwnershipIdentifier get ownership identifier for domain // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // domainName - name of domain. @@ -758,7 +758,7 @@ func (client DomainsClient) GetOwnershipIdentifierResponder(resp *http.Response) return } -// List description for Get all domains in a subscription. +// List get all domains in a subscription. func (client DomainsClient) List(ctx context.Context) (result DomainCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/DomainsClient.List") @@ -871,7 +871,7 @@ func (client DomainsClient) ListComplete(ctx context.Context) (result DomainColl return } -// ListByResourceGroup description for Get all domains in a resource group. +// ListByResourceGroup get all domains in a resource group. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. func (client DomainsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result DomainCollectionPage, err error) { @@ -995,7 +995,7 @@ func (client DomainsClient) ListByResourceGroupComplete(ctx context.Context, res return } -// ListOwnershipIdentifiers description for Lists domain ownership identifiers. +// ListOwnershipIdentifiers lists domain ownership identifiers. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // domainName - name of domain. @@ -1121,7 +1121,7 @@ func (client DomainsClient) ListOwnershipIdentifiersComplete(ctx context.Context return } -// ListRecommendations description for Get domain name recommendations based on keywords. +// ListRecommendations get domain name recommendations based on keywords. // Parameters: // parameters - search parameters for domain name recommendations. func (client DomainsClient) ListRecommendations(ctx context.Context, parameters DomainRecommendationSearchParameters) (result NameIdentifierCollectionPage, err error) { @@ -1238,7 +1238,7 @@ func (client DomainsClient) ListRecommendationsComplete(ctx context.Context, par return } -// Renew description for Renew a domain. +// Renew renew a domain. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // domainName - name of the domain. @@ -1321,7 +1321,7 @@ func (client DomainsClient) RenewResponder(resp *http.Response) (result autorest return } -// Update description for Creates or updates a domain. +// Update creates or updates a domain. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // domainName - name of the domain. @@ -1410,8 +1410,8 @@ func (client DomainsClient) UpdateResponder(resp *http.Response) (result Domain, return } -// UpdateOwnershipIdentifier description for Creates an ownership identifier for a domain or updates identifier details -// for an existing identifer +// UpdateOwnershipIdentifier creates an ownership identifier for a domain or updates identifier details for an existing +// identifier // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // domainName - name of domain. diff --git a/services/web/mgmt/2020-09-01/web/models.go b/services/web/mgmt/2020-09-01/web/models.go index 990b0ed4d766..633f9c807b3b 100644 --- a/services/web/mgmt/2020-09-01/web/models.go +++ b/services/web/mgmt/2020-09-01/web/models.go @@ -3758,7 +3758,6 @@ func (future *AppServiceEnvironmentsSuspendFuture) result(client AppServiceEnvir // AppserviceGithubToken github access token for Appservice CLI github integration. type AppserviceGithubToken struct { - autorest.Response `json:"-"` // AccessToken - Github access token for Appservice CLI github integration AccessToken *string `json:"accessToken,omitempty"` // Scope - Scope of the github access token @@ -23112,6 +23111,10 @@ type SiteConfig struct { RemoteDebuggingVersion *string `json:"remoteDebuggingVersion,omitempty"` // HTTPLoggingEnabled - true if HTTP logging is enabled; otherwise, false. HTTPLoggingEnabled *bool `json:"httpLoggingEnabled,omitempty"` + // AcrUseManagedIdentityCreds - Flag to use Managed Identity Creds for ACR pull + AcrUseManagedIdentityCreds *bool `json:"acrUseManagedIdentityCreds,omitempty"` + // AcrUserManagedIdentityID - If using user managed identity, the user managed identity ClientId + AcrUserManagedIdentityID *string `json:"acrUserManagedIdentityID,omitempty"` // LogsDirectorySizeLimit - HTTP logs directory size limit. LogsDirectorySizeLimit *int32 `json:"logsDirectorySizeLimit,omitempty"` // DetailedErrorLoggingEnabled - true if detailed error logging is enabled; otherwise, false. @@ -23248,6 +23251,12 @@ func (sc SiteConfig) MarshalJSON() ([]byte, error) { if sc.HTTPLoggingEnabled != nil { objectMap["httpLoggingEnabled"] = sc.HTTPLoggingEnabled } + if sc.AcrUseManagedIdentityCreds != nil { + objectMap["acrUseManagedIdentityCreds"] = sc.AcrUseManagedIdentityCreds + } + if sc.AcrUserManagedIdentityID != nil { + objectMap["acrUserManagedIdentityID"] = sc.AcrUserManagedIdentityID + } if sc.LogsDirectorySizeLimit != nil { objectMap["logsDirectorySizeLimit"] = sc.LogsDirectorySizeLimit } diff --git a/services/web/mgmt/2020-09-01/web/provider.go b/services/web/mgmt/2020-09-01/web/provider.go index 7834baf24f05..8ab57cf451f1 100644 --- a/services/web/mgmt/2020-09-01/web/provider.go +++ b/services/web/mgmt/2020-09-01/web/provider.go @@ -30,7 +30,7 @@ func NewProviderClientWithBaseURI(baseURI string, subscriptionID string) Provide return ProviderClient{NewWithBaseURI(baseURI, subscriptionID)} } -// GetAvailableStacks description for Get available application frameworks and their versions +// GetAvailableStacks get available application frameworks and their versions func (client ProviderClient) GetAvailableStacks(ctx context.Context, osTypeSelected string) (result ApplicationStackCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/ProviderClient.GetAvailableStacks") @@ -142,7 +142,7 @@ func (client ProviderClient) GetAvailableStacksComplete(ctx context.Context, osT return } -// GetAvailableStacksOnPrem description for Get available application frameworks and their versions +// GetAvailableStacksOnPrem get available application frameworks and their versions func (client ProviderClient) GetAvailableStacksOnPrem(ctx context.Context, osTypeSelected string) (result ApplicationStackCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/ProviderClient.GetAvailableStacksOnPrem") @@ -258,8 +258,8 @@ func (client ProviderClient) GetAvailableStacksOnPremComplete(ctx context.Contex return } -// ListOperations description for Gets all available operations for the Microsoft.Web resource provider. Also exposes -// resource metric definitions +// ListOperations gets all available operations for the Microsoft.Web resource provider. Also exposes resource metric +// definitions func (client ProviderClient) ListOperations(ctx context.Context) (result CsmOperationCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/ProviderClient.ListOperations") diff --git a/services/web/mgmt/2020-09-01/web/recommendations.go b/services/web/mgmt/2020-09-01/web/recommendations.go index c8e2d5a3a0e2..ee9f49dbd3c5 100644 --- a/services/web/mgmt/2020-09-01/web/recommendations.go +++ b/services/web/mgmt/2020-09-01/web/recommendations.go @@ -31,7 +31,7 @@ func NewRecommendationsClientWithBaseURI(baseURI string, subscriptionID string) return RecommendationsClient{NewWithBaseURI(baseURI, subscriptionID)} } -// DisableAllForHostingEnvironment description for Disable all recommendations for an app. +// DisableAllForHostingEnvironment disable all recommendations for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // environmentName - name of the app. @@ -115,7 +115,7 @@ func (client RecommendationsClient) DisableAllForHostingEnvironmentResponder(res return } -// DisableAllForWebApp description for Disable all recommendations for an app. +// DisableAllForWebApp disable all recommendations for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - name of the app. @@ -198,7 +198,7 @@ func (client RecommendationsClient) DisableAllForWebAppResponder(resp *http.Resp return } -// DisableRecommendationForHostingEnvironment description for Disables the specific rule for a web site permanently. +// DisableRecommendationForHostingEnvironment disables the specific rule for a web site permanently. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // environmentName - site name @@ -284,7 +284,7 @@ func (client RecommendationsClient) DisableRecommendationForHostingEnvironmentRe return } -// DisableRecommendationForSite description for Disables the specific rule for a web site permanently. +// DisableRecommendationForSite disables the specific rule for a web site permanently. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site name @@ -369,8 +369,8 @@ func (client RecommendationsClient) DisableRecommendationForSiteResponder(resp * return } -// DisableRecommendationForSubscription description for Disables the specified rule so it will not apply to a -// subscription in the future. +// DisableRecommendationForSubscription disables the specified rule so it will not apply to a subscription in the +// future. // Parameters: // name - rule name func (client RecommendationsClient) DisableRecommendationForSubscription(ctx context.Context, name string) (result autorest.Response, err error) { @@ -443,7 +443,7 @@ func (client RecommendationsClient) DisableRecommendationForSubscriptionResponde return } -// GetRuleDetailsByHostingEnvironment description for Get a recommendation rule for an app. +// GetRuleDetailsByHostingEnvironment get a recommendation rule for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // hostingEnvironmentName - name of the hosting environment. @@ -538,7 +538,7 @@ func (client RecommendationsClient) GetRuleDetailsByHostingEnvironmentResponder( return } -// GetRuleDetailsByWebApp description for Get a recommendation rule for an app. +// GetRuleDetailsByWebApp get a recommendation rule for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - name of the app. @@ -633,7 +633,7 @@ func (client RecommendationsClient) GetRuleDetailsByWebAppResponder(resp *http.R return } -// List description for List all recommendations for a subscription. +// List list all recommendations for a subscription. // Parameters: // featured - specify true to return only the most critical recommendations. The default is // false, which returns all recommendations. @@ -758,8 +758,7 @@ func (client RecommendationsClient) ListComplete(ctx context.Context, featured * return } -// ListHistoryForHostingEnvironment description for Get past recommendations for an app, optionally specified by the -// time range. +// ListHistoryForHostingEnvironment get past recommendations for an app, optionally specified by the time range. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // hostingEnvironmentName - name of the hosting environment. @@ -896,7 +895,7 @@ func (client RecommendationsClient) ListHistoryForHostingEnvironmentComplete(ctx return } -// ListHistoryForWebApp description for Get past recommendations for an app, optionally specified by the time range. +// ListHistoryForWebApp get past recommendations for an app, optionally specified by the time range. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - name of the app. @@ -1033,7 +1032,7 @@ func (client RecommendationsClient) ListHistoryForWebAppComplete(ctx context.Con return } -// ListRecommendedRulesForHostingEnvironment description for Get all recommendations for a hosting environment. +// ListRecommendedRulesForHostingEnvironment get all recommendations for a hosting environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // hostingEnvironmentName - name of the app. @@ -1169,7 +1168,7 @@ func (client RecommendationsClient) ListRecommendedRulesForHostingEnvironmentCom return } -// ListRecommendedRulesForWebApp description for Get all recommendations for an app. +// ListRecommendedRulesForWebApp get all recommendations for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - name of the app. @@ -1305,7 +1304,7 @@ func (client RecommendationsClient) ListRecommendedRulesForWebAppComplete(ctx co return } -// ResetAllFilters description for Reset all recommendation opt-out settings for a subscription. +// ResetAllFilters reset all recommendation opt-out settings for a subscription. func (client RecommendationsClient) ResetAllFilters(ctx context.Context) (result autorest.Response, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/RecommendationsClient.ResetAllFilters") @@ -1375,7 +1374,7 @@ func (client RecommendationsClient) ResetAllFiltersResponder(resp *http.Response return } -// ResetAllFiltersForHostingEnvironment description for Reset all recommendation opt-out settings for an app. +// ResetAllFiltersForHostingEnvironment reset all recommendation opt-out settings for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // environmentName - name of the app. @@ -1459,7 +1458,7 @@ func (client RecommendationsClient) ResetAllFiltersForHostingEnvironmentResponde return } -// ResetAllFiltersForWebApp description for Reset all recommendation opt-out settings for an app. +// ResetAllFiltersForWebApp reset all recommendation opt-out settings for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - name of the app. diff --git a/services/web/mgmt/2020-09-01/web/resourcehealthmetadata.go b/services/web/mgmt/2020-09-01/web/resourcehealthmetadata.go index 2ae2b2b80140..e3e40f391733 100644 --- a/services/web/mgmt/2020-09-01/web/resourcehealthmetadata.go +++ b/services/web/mgmt/2020-09-01/web/resourcehealthmetadata.go @@ -32,7 +32,7 @@ func NewResourceHealthMetadataClientWithBaseURI(baseURI string, subscriptionID s return ResourceHealthMetadataClient{NewWithBaseURI(baseURI, subscriptionID)} } -// GetBySite description for Gets the category of ResourceHealthMetadata to use for the given site +// GetBySite gets the category of ResourceHealthMetadata to use for the given site // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app @@ -116,7 +116,7 @@ func (client ResourceHealthMetadataClient) GetBySiteResponder(resp *http.Respons return } -// GetBySiteSlot description for Gets the category of ResourceHealthMetadata to use for the given site +// GetBySiteSlot gets the category of ResourceHealthMetadata to use for the given site // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app @@ -202,7 +202,7 @@ func (client ResourceHealthMetadataClient) GetBySiteSlotResponder(resp *http.Res return } -// List description for List all ResourceHealthMetadata for all sites in the subscription. +// List list all ResourceHealthMetadata for all sites in the subscription. func (client ResourceHealthMetadataClient) List(ctx context.Context) (result ResourceHealthMetadataCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/ResourceHealthMetadataClient.List") @@ -315,8 +315,7 @@ func (client ResourceHealthMetadataClient) ListComplete(ctx context.Context) (re return } -// ListByResourceGroup description for List all ResourceHealthMetadata for all sites in the resource group in the -// subscription. +// ListByResourceGroup list all ResourceHealthMetadata for all sites in the resource group in the subscription. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. func (client ResourceHealthMetadataClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ResourceHealthMetadataCollectionPage, err error) { @@ -440,7 +439,7 @@ func (client ResourceHealthMetadataClient) ListByResourceGroupComplete(ctx conte return } -// ListBySite description for Gets the category of ResourceHealthMetadata to use for the given site as a collection +// ListBySite gets the category of ResourceHealthMetadata to use for the given site as a collection // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -566,7 +565,7 @@ func (client ResourceHealthMetadataClient) ListBySiteComplete(ctx context.Contex return } -// ListBySiteSlot description for Gets the category of ResourceHealthMetadata to use for the given site as a collection +// ListBySiteSlot gets the category of ResourceHealthMetadata to use for the given site as a collection // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. diff --git a/services/web/mgmt/2020-09-01/web/staticsites.go b/services/web/mgmt/2020-09-01/web/staticsites.go index 5ac7ab6afb28..74a7f965043a 100644 --- a/services/web/mgmt/2020-09-01/web/staticsites.go +++ b/services/web/mgmt/2020-09-01/web/staticsites.go @@ -31,8 +31,8 @@ func NewStaticSitesClientWithBaseURI(baseURI string, subscriptionID string) Stat return StaticSitesClient{NewWithBaseURI(baseURI, subscriptionID)} } -// CreateOrUpdateStaticSite description for Creates a new static site in an existing resource group, or updates an -// existing static site. +// CreateOrUpdateStaticSite creates a new static site in an existing resource group, or updates an existing static +// site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site to create or update. @@ -119,8 +119,8 @@ func (client StaticSitesClient) CreateOrUpdateStaticSiteResponder(resp *http.Res return } -// CreateOrUpdateStaticSiteBuildFunctionAppSettings description for Creates or updates the function app settings of a -// static site build. +// CreateOrUpdateStaticSiteBuildFunctionAppSettings creates or updates the function app settings of a static site +// build. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -208,8 +208,8 @@ func (client StaticSitesClient) CreateOrUpdateStaticSiteBuildFunctionAppSettings return } -// CreateOrUpdateStaticSiteCustomDomain description for Creates a new static site custom domain in an existing resource -// group and static site. +// CreateOrUpdateStaticSiteCustomDomain creates a new static site custom domain in an existing resource group and +// static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -295,8 +295,7 @@ func (client StaticSitesClient) CreateOrUpdateStaticSiteCustomDomainResponder(re return } -// CreateOrUpdateStaticSiteFunctionAppSettings description for Creates or updates the function app settings of a static -// site. +// CreateOrUpdateStaticSiteFunctionAppSettings creates or updates the function app settings of a static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -382,7 +381,7 @@ func (client StaticSitesClient) CreateOrUpdateStaticSiteFunctionAppSettingsRespo return } -// CreateUserRolesInvitationLink description for Creates an invitation link for a user with the role +// CreateUserRolesInvitationLink creates an invitation link for a user with the role // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -468,7 +467,7 @@ func (client StaticSitesClient) CreateUserRolesInvitationLinkResponder(resp *htt return } -// DeleteStaticSite description for Deletes a static site. +// DeleteStaticSite deletes a static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site to delete. @@ -551,7 +550,7 @@ func (client StaticSitesClient) DeleteStaticSiteResponder(resp *http.Response) ( return } -// DeleteStaticSiteBuild description for Deletes a static site build. +// DeleteStaticSiteBuild deletes a static site build. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -636,7 +635,7 @@ func (client StaticSitesClient) DeleteStaticSiteBuildResponder(resp *http.Respon return } -// DeleteStaticSiteCustomDomain description for Deletes a custom domain. +// DeleteStaticSiteCustomDomain deletes a custom domain. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -721,7 +720,7 @@ func (client StaticSitesClient) DeleteStaticSiteCustomDomainResponder(resp *http return } -// DeleteStaticSiteUser description for Deletes the user entry from the static site. +// DeleteStaticSiteUser deletes the user entry from the static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the staticsite. @@ -808,7 +807,7 @@ func (client StaticSitesClient) DeleteStaticSiteUserResponder(resp *http.Respons return } -// DetachStaticSite description for Detaches a static site. +// DetachStaticSite detaches a static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site to detach. @@ -891,7 +890,7 @@ func (client StaticSitesClient) DetachStaticSiteResponder(resp *http.Response) ( return } -// GetStaticSite description for Gets the details of a static site. +// GetStaticSite gets the details of a static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -975,7 +974,7 @@ func (client StaticSitesClient) GetStaticSiteResponder(resp *http.Response) (res return } -// GetStaticSiteBuild description for Gets the details of a static site build. +// GetStaticSiteBuild gets the details of a static site build. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -1061,7 +1060,7 @@ func (client StaticSitesClient) GetStaticSiteBuildResponder(resp *http.Response) return } -// GetStaticSiteBuilds description for Gets all static site builds for a particular static site. +// GetStaticSiteBuilds gets all static site builds for a particular static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -1187,7 +1186,7 @@ func (client StaticSitesClient) GetStaticSiteBuildsComplete(ctx context.Context, return } -// GetStaticSitesByResourceGroup description for Gets all static sites in the specified resource group. +// GetStaticSitesByResourceGroup gets all static sites in the specified resource group. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. func (client StaticSitesClient) GetStaticSitesByResourceGroup(ctx context.Context, resourceGroupName string) (result StaticSiteCollectionPage, err error) { @@ -1311,7 +1310,7 @@ func (client StaticSitesClient) GetStaticSitesByResourceGroupComplete(ctx contex return } -// List description for Get all Static Sites for a subscription. +// List get all Static Sites for a subscription. func (client StaticSitesClient) List(ctx context.Context) (result StaticSiteCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/StaticSitesClient.List") @@ -1424,7 +1423,7 @@ func (client StaticSitesClient) ListComplete(ctx context.Context) (result Static return } -// ListStaticSiteBuildFunctionAppSettings description for Gets the application settings of a static site. +// ListStaticSiteBuildFunctionAppSettings gets the application settings of a static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -1510,7 +1509,7 @@ func (client StaticSitesClient) ListStaticSiteBuildFunctionAppSettingsResponder( return } -// ListStaticSiteBuildFunctions description for Gets the functions of a particular static site build. +// ListStaticSiteBuildFunctions gets the functions of a particular static site build. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -1638,7 +1637,7 @@ func (client StaticSitesClient) ListStaticSiteBuildFunctionsComplete(ctx context return } -// ListStaticSiteCustomDomains description for Gets all static site custom domains for a particular static site. +// ListStaticSiteCustomDomains gets all static site custom domains for a particular static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site resource to search in. @@ -1764,7 +1763,7 @@ func (client StaticSitesClient) ListStaticSiteCustomDomainsComplete(ctx context. return } -// ListStaticSiteFunctionAppSettings description for Gets the application settings of a static site. +// ListStaticSiteFunctionAppSettings gets the application settings of a static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -1848,7 +1847,7 @@ func (client StaticSitesClient) ListStaticSiteFunctionAppSettingsResponder(resp return } -// ListStaticSiteFunctions description for Gets the functions of a static site. +// ListStaticSiteFunctions gets the functions of a static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -1974,7 +1973,7 @@ func (client StaticSitesClient) ListStaticSiteFunctionsComplete(ctx context.Cont return } -// ListStaticSiteSecrets description for Lists the secrets for an existing static site. +// ListStaticSiteSecrets lists the secrets for an existing static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -2058,7 +2057,7 @@ func (client StaticSitesClient) ListStaticSiteSecretsResponder(resp *http.Respon return } -// ListStaticSiteUsers description for Gets the list of users of a static site. +// ListStaticSiteUsers gets the list of users of a static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -2186,7 +2185,7 @@ func (client StaticSitesClient) ListStaticSiteUsersComplete(ctx context.Context, return } -// PreviewWorkflow description for Generates a preview workflow file for the static site +// PreviewWorkflow generates a preview workflow file for the static site // Parameters: // location - location where you plan to create the static site. // staticSitesWorkflowPreviewRequest - a JSON representation of the StaticSitesWorkflowPreviewRequest @@ -2264,7 +2263,7 @@ func (client StaticSitesClient) PreviewWorkflowResponder(resp *http.Response) (r return } -// ResetStaticSiteAPIKey description for Resets the api key for an existing static site. +// ResetStaticSiteAPIKey resets the api key for an existing static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -2349,8 +2348,7 @@ func (client StaticSitesClient) ResetStaticSiteAPIKeyResponder(resp *http.Respon return } -// UpdateStaticSite description for Creates a new static site in an existing resource group, or updates an existing -// static site. +// UpdateStaticSite creates a new static site in an existing resource group, or updates an existing static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site to create or update. @@ -2437,7 +2435,7 @@ func (client StaticSitesClient) UpdateStaticSiteResponder(resp *http.Response) ( return } -// UpdateStaticSiteUser description for Updates a user entry with the listed roles +// UpdateStaticSiteUser updates a user entry with the listed roles // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -2528,8 +2526,7 @@ func (client StaticSitesClient) UpdateStaticSiteUserResponder(resp *http.Respons return } -// ValidateCustomDomainCanBeAddedToStaticSite description for Validates a particular custom domain can be added to a -// static site. +// ValidateCustomDomainCanBeAddedToStaticSite validates a particular custom domain can be added to a static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. diff --git a/services/web/mgmt/2020-09-01/web/topleveldomains.go b/services/web/mgmt/2020-09-01/web/topleveldomains.go index 2c5838b8bd4a..b3b0fd47a8a8 100644 --- a/services/web/mgmt/2020-09-01/web/topleveldomains.go +++ b/services/web/mgmt/2020-09-01/web/topleveldomains.go @@ -30,7 +30,7 @@ func NewTopLevelDomainsClientWithBaseURI(baseURI string, subscriptionID string) return TopLevelDomainsClient{NewWithBaseURI(baseURI, subscriptionID)} } -// Get description for Get details of a top-level domain. +// Get get details of a top-level domain. // Parameters: // name - name of the top-level domain. func (client TopLevelDomainsClient) Get(ctx context.Context, name string) (result TopLevelDomain, err error) { @@ -104,7 +104,7 @@ func (client TopLevelDomainsClient) GetResponder(resp *http.Response) (result To return } -// List description for Get all top-level domains supported for registration. +// List get all top-level domains supported for registration. func (client TopLevelDomainsClient) List(ctx context.Context) (result TopLevelDomainCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/TopLevelDomainsClient.List") @@ -217,7 +217,7 @@ func (client TopLevelDomainsClient) ListComplete(ctx context.Context) (result To return } -// ListAgreements description for Gets all legal agreements that user needs to accept before purchasing a domain. +// ListAgreements gets all legal agreements that user needs to accept before purchasing a domain. // Parameters: // name - name of the top-level domain. // agreementOption - domain agreement options. diff --git a/services/web/mgmt/2020-09-01/web/webapi/interfaces.go b/services/web/mgmt/2020-09-01/web/webapi/interfaces.go index 3569c19aa268..1270c6612534 100644 --- a/services/web/mgmt/2020-09-01/web/webapi/interfaces.go +++ b/services/web/mgmt/2020-09-01/web/webapi/interfaces.go @@ -16,7 +16,6 @@ import ( // BaseClientAPI contains the set of methods on the BaseClient type. type BaseClientAPI interface { CheckNameAvailability(ctx context.Context, request web.ResourceNameAvailabilityRequest) (result web.ResourceNameAvailability, err error) - GenerateGithubAccessTokenForAppserviceCLIAsync(ctx context.Context, request web.AppserviceGithubTokenRequest) (result web.AppserviceGithubToken, err error) GetPublishingUser(ctx context.Context) (result web.User, err error) GetSourceControl(ctx context.Context, sourceControlType string) (result web.SourceControl, err error) GetSubscriptionDeploymentLocations(ctx context.Context) (result web.DeploymentLocations, err error) diff --git a/services/web/mgmt/2020-12-01/web/CHANGELOG.md b/services/web/mgmt/2020-12-01/web/CHANGELOG.md index 52911e4cc5e4..df92709dfe5f 100644 --- a/services/web/mgmt/2020-12-01/web/CHANGELOG.md +++ b/services/web/mgmt/2020-12-01/web/CHANGELOG.md @@ -1,2 +1,427 @@ -# Change History +# Unreleased +## Breaking Changes + +### Removed Funcs + +1. *AllowedAudiencesValidation.UnmarshalJSON([]byte) error +1. *AppRegistration.UnmarshalJSON([]byte) error +1. *Apple.UnmarshalJSON([]byte) error +1. *AppleRegistration.UnmarshalJSON([]byte) error +1. *AuthPlatform.UnmarshalJSON([]byte) error +1. *AzureActiveDirectory.UnmarshalJSON([]byte) error +1. *AzureActiveDirectoryLogin.UnmarshalJSON([]byte) error +1. *AzureActiveDirectoryRegistration.UnmarshalJSON([]byte) error +1. *AzureActiveDirectoryValidation.UnmarshalJSON([]byte) error +1. *AzureStaticWebApps.UnmarshalJSON([]byte) error +1. *AzureStaticWebAppsRegistration.UnmarshalJSON([]byte) error +1. *BlobStorageTokenStore.UnmarshalJSON([]byte) error +1. *ClientRegistration.UnmarshalJSON([]byte) error +1. *CookieExpiration.UnmarshalJSON([]byte) error +1. *CustomOpenIDConnectProvider.UnmarshalJSON([]byte) error +1. *Facebook.UnmarshalJSON([]byte) error +1. *FileSystemTokenStore.UnmarshalJSON([]byte) error +1. *ForwardProxy.UnmarshalJSON([]byte) error +1. *GitHub.UnmarshalJSON([]byte) error +1. *GlobalValidation.UnmarshalJSON([]byte) error +1. *Google.UnmarshalJSON([]byte) error +1. *HTTPSettings.UnmarshalJSON([]byte) error +1. *HTTPSettingsRoutes.UnmarshalJSON([]byte) error +1. *IdentityProviders.UnmarshalJSON([]byte) error +1. *JwtClaimChecks.UnmarshalJSON([]byte) error +1. *LegacyMicrosoftAccount.UnmarshalJSON([]byte) error +1. *Login.UnmarshalJSON([]byte) error +1. *LoginRoutes.UnmarshalJSON([]byte) error +1. *LoginScopes.UnmarshalJSON([]byte) error +1. *Nonce.UnmarshalJSON([]byte) error +1. *OpenIDConnectClientCredential.UnmarshalJSON([]byte) error +1. *OpenIDConnectConfig.UnmarshalJSON([]byte) error +1. *OpenIDConnectLogin.UnmarshalJSON([]byte) error +1. *OpenIDConnectRegistration.UnmarshalJSON([]byte) error +1. *TokenStore.UnmarshalJSON([]byte) error +1. *Twitter.UnmarshalJSON([]byte) error +1. *TwitterRegistration.UnmarshalJSON([]byte) error +1. AllowedAudiencesValidation.MarshalJSON() ([]byte, error) +1. AppRegistration.MarshalJSON() ([]byte, error) +1. Apple.MarshalJSON() ([]byte, error) +1. AppleRegistration.MarshalJSON() ([]byte, error) +1. AuthPlatform.MarshalJSON() ([]byte, error) +1. AzureActiveDirectory.MarshalJSON() ([]byte, error) +1. AzureActiveDirectoryLogin.MarshalJSON() ([]byte, error) +1. AzureActiveDirectoryRegistration.MarshalJSON() ([]byte, error) +1. AzureActiveDirectoryValidation.MarshalJSON() ([]byte, error) +1. AzureStaticWebApps.MarshalJSON() ([]byte, error) +1. AzureStaticWebAppsRegistration.MarshalJSON() ([]byte, error) +1. BaseClient.GenerateGithubAccessTokenForAppserviceCLIAsync(context.Context, AppserviceGithubTokenRequest) (AppserviceGithubToken, error) +1. BaseClient.GenerateGithubAccessTokenForAppserviceCLIAsyncPreparer(context.Context, AppserviceGithubTokenRequest) (*http.Request, error) +1. BaseClient.GenerateGithubAccessTokenForAppserviceCLIAsyncResponder(*http.Response) (AppserviceGithubToken, error) +1. BaseClient.GenerateGithubAccessTokenForAppserviceCLIAsyncSender(*http.Request) (*http.Response, error) +1. BlobStorageTokenStore.MarshalJSON() ([]byte, error) +1. ClientRegistration.MarshalJSON() ([]byte, error) +1. CookieExpiration.MarshalJSON() ([]byte, error) +1. CustomOpenIDConnectProvider.MarshalJSON() ([]byte, error) +1. Facebook.MarshalJSON() ([]byte, error) +1. FileSystemTokenStore.MarshalJSON() ([]byte, error) +1. ForwardProxy.MarshalJSON() ([]byte, error) +1. GitHub.MarshalJSON() ([]byte, error) +1. GlobalValidation.MarshalJSON() ([]byte, error) +1. Google.MarshalJSON() ([]byte, error) +1. HTTPSettings.MarshalJSON() ([]byte, error) +1. HTTPSettingsRoutes.MarshalJSON() ([]byte, error) +1. IdentityProvidersProperties.MarshalJSON() ([]byte, error) +1. JwtClaimChecks.MarshalJSON() ([]byte, error) +1. LegacyMicrosoftAccount.MarshalJSON() ([]byte, error) +1. Login.MarshalJSON() ([]byte, error) +1. LoginRoutes.MarshalJSON() ([]byte, error) +1. LoginScopes.MarshalJSON() ([]byte, error) +1. Nonce.MarshalJSON() ([]byte, error) +1. OpenIDConnectClientCredential.MarshalJSON() ([]byte, error) +1. OpenIDConnectConfig.MarshalJSON() ([]byte, error) +1. OpenIDConnectLogin.MarshalJSON() ([]byte, error) +1. OpenIDConnectRegistration.MarshalJSON() ([]byte, error) +1. TokenStore.MarshalJSON() ([]byte, error) +1. Twitter.MarshalJSON() ([]byte, error) +1. TwitterRegistration.MarshalJSON() ([]byte, error) + +### Struct Changes + +#### Removed Structs + +1. AllowedAudiencesValidationProperties +1. AppRegistrationProperties +1. AppleProperties +1. AppleRegistrationProperties +1. AuthPlatformProperties +1. AzureActiveDirectoryLoginProperties +1. AzureActiveDirectoryProperties +1. AzureActiveDirectoryRegistrationProperties +1. AzureActiveDirectoryValidationProperties +1. AzureStaticWebAppsProperties +1. AzureStaticWebAppsRegistrationProperties +1. BlobStorageTokenStoreProperties +1. ClientRegistrationProperties +1. CookieExpirationProperties +1. CustomOpenIDConnectProviderProperties +1. FacebookProperties +1. FileSystemTokenStoreProperties +1. ForwardProxyProperties +1. GitHubProperties +1. GlobalValidationProperties +1. GoogleProperties +1. HTTPSettingsProperties +1. HTTPSettingsRoutesProperties +1. IdentityProvidersProperties +1. JwtClaimChecksProperties +1. LegacyMicrosoftAccountProperties +1. LoginProperties +1. LoginRoutesProperties +1. LoginScopesProperties +1. NonceProperties +1. OpenIDConnectClientCredentialProperties +1. OpenIDConnectConfigProperties +1. OpenIDConnectLoginProperties +1. OpenIDConnectRegistrationProperties +1. TokenStoreProperties +1. TwitterProperties +1. TwitterRegistrationProperties + +#### Removed Struct Fields + +1. AllowedAudiencesValidation.*AllowedAudiencesValidationProperties +1. AllowedAudiencesValidation.ID +1. AllowedAudiencesValidation.Kind +1. AllowedAudiencesValidation.Name +1. AllowedAudiencesValidation.Type +1. AppRegistration.*AppRegistrationProperties +1. AppRegistration.ID +1. AppRegistration.Kind +1. AppRegistration.Name +1. AppRegistration.Type +1. Apple.*AppleProperties +1. Apple.ID +1. Apple.Kind +1. Apple.Name +1. Apple.Type +1. AppleRegistration.*AppleRegistrationProperties +1. AppleRegistration.ID +1. AppleRegistration.Kind +1. AppleRegistration.Name +1. AppleRegistration.Type +1. AppserviceGithubToken.autorest.Response +1. AuthPlatform.*AuthPlatformProperties +1. AuthPlatform.ID +1. AuthPlatform.Kind +1. AuthPlatform.Name +1. AuthPlatform.Type +1. AzureActiveDirectory.*AzureActiveDirectoryProperties +1. AzureActiveDirectory.ID +1. AzureActiveDirectory.Kind +1. AzureActiveDirectory.Name +1. AzureActiveDirectory.Type +1. AzureActiveDirectoryLogin.*AzureActiveDirectoryLoginProperties +1. AzureActiveDirectoryLogin.ID +1. AzureActiveDirectoryLogin.Kind +1. AzureActiveDirectoryLogin.Name +1. AzureActiveDirectoryLogin.Type +1. AzureActiveDirectoryRegistration.*AzureActiveDirectoryRegistrationProperties +1. AzureActiveDirectoryRegistration.ID +1. AzureActiveDirectoryRegistration.Kind +1. AzureActiveDirectoryRegistration.Name +1. AzureActiveDirectoryRegistration.Type +1. AzureActiveDirectoryValidation.*AzureActiveDirectoryValidationProperties +1. AzureActiveDirectoryValidation.ID +1. AzureActiveDirectoryValidation.Kind +1. AzureActiveDirectoryValidation.Name +1. AzureActiveDirectoryValidation.Type +1. AzureStaticWebApps.*AzureStaticWebAppsProperties +1. AzureStaticWebApps.ID +1. AzureStaticWebApps.Kind +1. AzureStaticWebApps.Name +1. AzureStaticWebApps.Type +1. AzureStaticWebAppsRegistration.*AzureStaticWebAppsRegistrationProperties +1. AzureStaticWebAppsRegistration.ID +1. AzureStaticWebAppsRegistration.Kind +1. AzureStaticWebAppsRegistration.Name +1. AzureStaticWebAppsRegistration.Type +1. BlobStorageTokenStore.*BlobStorageTokenStoreProperties +1. BlobStorageTokenStore.ID +1. BlobStorageTokenStore.Kind +1. BlobStorageTokenStore.Name +1. BlobStorageTokenStore.Type +1. ClientRegistration.*ClientRegistrationProperties +1. ClientRegistration.ID +1. ClientRegistration.Kind +1. ClientRegistration.Name +1. ClientRegistration.Type +1. CookieExpiration.*CookieExpirationProperties +1. CookieExpiration.ID +1. CookieExpiration.Kind +1. CookieExpiration.Name +1. CookieExpiration.Type +1. CustomOpenIDConnectProvider.*CustomOpenIDConnectProviderProperties +1. CustomOpenIDConnectProvider.ID +1. CustomOpenIDConnectProvider.Kind +1. CustomOpenIDConnectProvider.Name +1. CustomOpenIDConnectProvider.Type +1. Facebook.*FacebookProperties +1. Facebook.ID +1. Facebook.Kind +1. Facebook.Name +1. Facebook.Type +1. FileSystemTokenStore.*FileSystemTokenStoreProperties +1. FileSystemTokenStore.ID +1. FileSystemTokenStore.Kind +1. FileSystemTokenStore.Name +1. FileSystemTokenStore.Type +1. ForwardProxy.*ForwardProxyProperties +1. ForwardProxy.ID +1. ForwardProxy.Kind +1. ForwardProxy.Name +1. ForwardProxy.Type +1. GitHub.*GitHubProperties +1. GitHub.ID +1. GitHub.Kind +1. GitHub.Name +1. GitHub.Type +1. GlobalValidation.*GlobalValidationProperties +1. GlobalValidation.ID +1. GlobalValidation.Kind +1. GlobalValidation.Name +1. GlobalValidation.Type +1. Google.*GoogleProperties +1. Google.ID +1. Google.Kind +1. Google.Name +1. Google.Type +1. HTTPSettings.*HTTPSettingsProperties +1. HTTPSettings.ID +1. HTTPSettings.Kind +1. HTTPSettings.Name +1. HTTPSettings.Type +1. HTTPSettingsRoutes.*HTTPSettingsRoutesProperties +1. HTTPSettingsRoutes.ID +1. HTTPSettingsRoutes.Kind +1. HTTPSettingsRoutes.Name +1. HTTPSettingsRoutes.Type +1. IdentityProviders.*IdentityProvidersProperties +1. IdentityProviders.ID +1. IdentityProviders.Kind +1. IdentityProviders.Name +1. IdentityProviders.Type +1. JwtClaimChecks.*JwtClaimChecksProperties +1. JwtClaimChecks.ID +1. JwtClaimChecks.Kind +1. JwtClaimChecks.Name +1. JwtClaimChecks.Type +1. LegacyMicrosoftAccount.*LegacyMicrosoftAccountProperties +1. LegacyMicrosoftAccount.ID +1. LegacyMicrosoftAccount.Kind +1. LegacyMicrosoftAccount.Name +1. LegacyMicrosoftAccount.Type +1. Login.*LoginProperties +1. Login.ID +1. Login.Kind +1. Login.Name +1. Login.Type +1. LoginRoutes.*LoginRoutesProperties +1. LoginRoutes.ID +1. LoginRoutes.Kind +1. LoginRoutes.Name +1. LoginRoutes.Type +1. LoginScopes.*LoginScopesProperties +1. LoginScopes.ID +1. LoginScopes.Kind +1. LoginScopes.Name +1. LoginScopes.Type +1. Nonce.*NonceProperties +1. Nonce.ID +1. Nonce.Kind +1. Nonce.Name +1. Nonce.Type +1. OpenIDConnectClientCredential.*OpenIDConnectClientCredentialProperties +1. OpenIDConnectClientCredential.ID +1. OpenIDConnectClientCredential.Kind +1. OpenIDConnectClientCredential.Name +1. OpenIDConnectClientCredential.Type +1. OpenIDConnectConfig.*OpenIDConnectConfigProperties +1. OpenIDConnectConfig.ID +1. OpenIDConnectConfig.Kind +1. OpenIDConnectConfig.Name +1. OpenIDConnectConfig.Type +1. OpenIDConnectLogin.*OpenIDConnectLoginProperties +1. OpenIDConnectLogin.ID +1. OpenIDConnectLogin.Kind +1. OpenIDConnectLogin.Name +1. OpenIDConnectLogin.Type +1. OpenIDConnectRegistration.*OpenIDConnectRegistrationProperties +1. OpenIDConnectRegistration.ID +1. OpenIDConnectRegistration.Kind +1. OpenIDConnectRegistration.Name +1. OpenIDConnectRegistration.Type +1. TokenStore.*TokenStoreProperties +1. TokenStore.ID +1. TokenStore.Kind +1. TokenStore.Name +1. TokenStore.Type +1. Twitter.*TwitterProperties +1. Twitter.ID +1. Twitter.Kind +1. Twitter.Name +1. Twitter.Type +1. TwitterRegistration.*TwitterRegistrationProperties +1. TwitterRegistration.ID +1. TwitterRegistration.Kind +1. TwitterRegistration.Name +1. TwitterRegistration.Type + +## Additive Changes + +### Struct Changes + +#### New Struct Fields + +1. AllowedAudiencesValidation.AllowedAudiences +1. AppRegistration.AppID +1. AppRegistration.AppSecretSettingName +1. Apple.Enabled +1. Apple.Login +1. Apple.Registration +1. AppleRegistration.ClientID +1. AppleRegistration.ClientSecretSettingName +1. AuthPlatform.ConfigFilePath +1. AuthPlatform.Enabled +1. AuthPlatform.RuntimeVersion +1. AzureActiveDirectory.Enabled +1. AzureActiveDirectory.IsAutoProvisioned +1. AzureActiveDirectory.Login +1. AzureActiveDirectory.Registration +1. AzureActiveDirectory.Validation +1. AzureActiveDirectoryLogin.DisableWWWAuthenticate +1. AzureActiveDirectoryLogin.LoginParameters +1. AzureActiveDirectoryRegistration.ClientID +1. AzureActiveDirectoryRegistration.ClientSecretCertificateIssuer +1. AzureActiveDirectoryRegistration.ClientSecretCertificateSubjectAlternativeName +1. AzureActiveDirectoryRegistration.ClientSecretCertificateThumbprint +1. AzureActiveDirectoryRegistration.ClientSecretSettingName +1. AzureActiveDirectoryRegistration.OpenIDIssuer +1. AzureActiveDirectoryValidation.AllowedAudiences +1. AzureActiveDirectoryValidation.JwtClaimChecks +1. AzureStaticWebApps.Enabled +1. AzureStaticWebApps.Registration +1. AzureStaticWebAppsRegistration.ClientID +1. BlobStorageTokenStore.SasURLSettingName +1. ClientRegistration.ClientID +1. ClientRegistration.ClientSecretSettingName +1. CookieExpiration.Convention +1. CookieExpiration.TimeToExpiration +1. CustomOpenIDConnectProvider.Enabled +1. CustomOpenIDConnectProvider.Login +1. CustomOpenIDConnectProvider.Registration +1. Facebook.Enabled +1. Facebook.GraphAPIVersion +1. Facebook.Login +1. Facebook.Registration +1. FileSystemTokenStore.Directory +1. ForwardProxy.Convention +1. ForwardProxy.CustomHostHeaderName +1. ForwardProxy.CustomProtoHeaderName +1. GitHub.Enabled +1. GitHub.Login +1. GitHub.Registration +1. GlobalValidation.ExcludedPaths +1. GlobalValidation.RedirectToProvider +1. GlobalValidation.RequireAuthentication +1. GlobalValidation.UnauthenticatedClientAction +1. Google.Enabled +1. Google.Login +1. Google.Registration +1. Google.Validation +1. HTTPSettings.ForwardProxy +1. HTTPSettings.RequireHTTPS +1. HTTPSettings.Routes +1. HTTPSettingsRoutes.APIPrefix +1. IdentityProviders.Apple +1. IdentityProviders.AzureActiveDirectory +1. IdentityProviders.AzureStaticWebApps +1. IdentityProviders.CustomOpenIDConnectProviders +1. IdentityProviders.Facebook +1. IdentityProviders.GitHub +1. IdentityProviders.Google +1. IdentityProviders.LegacyMicrosoftAccount +1. IdentityProviders.Twitter +1. JwtClaimChecks.AllowedClientApplications +1. JwtClaimChecks.AllowedGroups +1. LegacyMicrosoftAccount.Enabled +1. LegacyMicrosoftAccount.Login +1. LegacyMicrosoftAccount.Registration +1. LegacyMicrosoftAccount.Validation +1. Login.AllowedExternalRedirectUrls +1. Login.CookieExpiration +1. Login.Nonce +1. Login.PreserveURLFragmentsForLogins +1. Login.Routes +1. Login.TokenStore +1. LoginRoutes.LogoutEndpoint +1. LoginScopes.Scopes +1. Nonce.NonceExpirationInterval +1. Nonce.ValidateNonce +1. OpenIDConnectClientCredential.ClientSecretSettingName +1. OpenIDConnectClientCredential.Method +1. OpenIDConnectConfig.AuthorizationEndpoint +1. OpenIDConnectConfig.CertificationURI +1. OpenIDConnectConfig.Issuer +1. OpenIDConnectConfig.TokenEndpoint +1. OpenIDConnectConfig.WellKnownOpenIDConfiguration +1. OpenIDConnectLogin.NameClaimType +1. OpenIDConnectLogin.Scopes +1. OpenIDConnectRegistration.ClientCredential +1. OpenIDConnectRegistration.ClientID +1. OpenIDConnectRegistration.OpenIDConnectConfiguration +1. TokenStore.AzureBlobStorage +1. TokenStore.Enabled +1. TokenStore.FileSystem +1. TokenStore.TokenRefreshExtensionHours +1. Twitter.Enabled +1. Twitter.Registration +1. TwitterRegistration.ConsumerKey +1. TwitterRegistration.ConsumerSecretSettingName diff --git a/services/web/mgmt/2020-12-01/web/_meta.json b/services/web/mgmt/2020-12-01/web/_meta.json index 7542fdf44a8c..f9c13caf7992 100644 --- a/services/web/mgmt/2020-12-01/web/_meta.json +++ b/services/web/mgmt/2020-12-01/web/_meta.json @@ -1,5 +1,5 @@ { - "commit": "ef7ffaa1ae68ab17dba86d8e0be5fd1fb615ef64", + "commit": "eb2b882ef0a4aa5956ca38cfa566fc4d7cfb3fb0", "readme": "/_/azure-rest-api-specs/specification/web/resource-manager/readme.md", "tag": "package-2020-12", "use": "@microsoft.azure/autorest.go@2.1.187", diff --git a/services/web/mgmt/2020-12-01/web/apps.go b/services/web/mgmt/2020-12-01/web/apps.go index 4dcfced4e2c8..06e15d3df59d 100644 --- a/services/web/mgmt/2020-12-01/web/apps.go +++ b/services/web/mgmt/2020-12-01/web/apps.go @@ -31,7 +31,7 @@ func NewAppsClientWithBaseURI(baseURI string, subscriptionID string) AppsClient return AppsClient{NewWithBaseURI(baseURI, subscriptionID)} } -// AddPremierAddOn description for Updates a named add-on of an app. +// AddPremierAddOn updates a named add-on of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -120,7 +120,7 @@ func (client AppsClient) AddPremierAddOnResponder(resp *http.Response) (result P return } -// AddPremierAddOnSlot description for Updates a named add-on of an app. +// AddPremierAddOnSlot updates a named add-on of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -212,7 +212,7 @@ func (client AppsClient) AddPremierAddOnSlotResponder(resp *http.Response) (resu return } -// AnalyzeCustomHostname description for Analyze a custom hostname. +// AnalyzeCustomHostname analyze a custom hostname. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -300,7 +300,7 @@ func (client AppsClient) AnalyzeCustomHostnameResponder(resp *http.Response) (re return } -// AnalyzeCustomHostnameSlot description for Analyze a custom hostname. +// AnalyzeCustomHostnameSlot analyze a custom hostname. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -390,8 +390,7 @@ func (client AppsClient) AnalyzeCustomHostnameSlotResponder(resp *http.Response) return } -// ApplySlotConfigToProduction description for Applies the configuration settings from the target slot onto the current -// slot. +// ApplySlotConfigToProduction applies the configuration settings from the target slot onto the current slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -480,8 +479,7 @@ func (client AppsClient) ApplySlotConfigToProductionResponder(resp *http.Respons return } -// ApplySlotConfigurationSlot description for Applies the configuration settings from the target slot onto the current -// slot. +// ApplySlotConfigurationSlot applies the configuration settings from the target slot onto the current slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -572,7 +570,7 @@ func (client AppsClient) ApplySlotConfigurationSlotResponder(resp *http.Response return } -// ApproveOrRejectPrivateEndpointConnection description for Approves or rejects a private endpoint connection +// ApproveOrRejectPrivateEndpointConnection approves or rejects a private endpoint connection // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the site. @@ -662,7 +660,7 @@ func (client AppsClient) ApproveOrRejectPrivateEndpointConnectionResponder(resp return } -// ApproveOrRejectPrivateEndpointConnectionSlot description for Approves or rejects a private endpoint connection +// ApproveOrRejectPrivateEndpointConnectionSlot approves or rejects a private endpoint connection // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the site. @@ -753,7 +751,7 @@ func (client AppsClient) ApproveOrRejectPrivateEndpointConnectionSlotResponder(r return } -// Backup description for Creates a backup of an app. +// Backup creates a backup of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -849,7 +847,7 @@ func (client AppsClient) BackupResponder(resp *http.Response) (result BackupItem return } -// BackupSlot description for Creates a backup of an app. +// BackupSlot creates a backup of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -948,7 +946,7 @@ func (client AppsClient) BackupSlotResponder(resp *http.Response) (result Backup return } -// CreateDeployment description for Create a deployment for an app, or a deployment slot. +// CreateDeployment create a deployment for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -1037,7 +1035,7 @@ func (client AppsClient) CreateDeploymentResponder(resp *http.Response) (result return } -// CreateDeploymentSlot description for Create a deployment for an app, or a deployment slot. +// CreateDeploymentSlot create a deployment for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -1129,7 +1127,7 @@ func (client AppsClient) CreateDeploymentSlotResponder(resp *http.Response) (res return } -// CreateFunction description for Create function for web site, or a deployment slot. +// CreateFunction create function for web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -1221,7 +1219,7 @@ func (client AppsClient) CreateFunctionResponder(resp *http.Response) (result Fu return } -// CreateInstanceFunctionSlot description for Create function for web site, or a deployment slot. +// CreateInstanceFunctionSlot create function for web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -1315,7 +1313,7 @@ func (client AppsClient) CreateInstanceFunctionSlotResponder(resp *http.Response return } -// CreateInstanceMSDeployOperation description for Invoke the MSDeploy web app extension. +// CreateInstanceMSDeployOperation invoke the MSDeploy web app extension. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -1407,7 +1405,7 @@ func (client AppsClient) CreateInstanceMSDeployOperationResponder(resp *http.Res return } -// CreateInstanceMSDeployOperationSlot description for Invoke the MSDeploy web app extension. +// CreateInstanceMSDeployOperationSlot invoke the MSDeploy web app extension. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -1501,7 +1499,7 @@ func (client AppsClient) CreateInstanceMSDeployOperationSlotResponder(resp *http return } -// CreateMSDeployOperation description for Invoke the MSDeploy web app extension. +// CreateMSDeployOperation invoke the MSDeploy web app extension. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -1591,7 +1589,7 @@ func (client AppsClient) CreateMSDeployOperationResponder(resp *http.Response) ( return } -// CreateMSDeployOperationSlot description for Invoke the MSDeploy web app extension. +// CreateMSDeployOperationSlot invoke the MSDeploy web app extension. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -1683,8 +1681,7 @@ func (client AppsClient) CreateMSDeployOperationSlotResponder(resp *http.Respons return } -// CreateOrUpdate description for Creates a new web, mobile, or API app in an existing resource group, or updates an -// existing app. +// CreateOrUpdate creates a new web, mobile, or API app in an existing resource group, or updates an existing app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - unique name of the app to create or update. To create or update a deployment slot, use the {slot} @@ -1796,7 +1793,7 @@ func (client AppsClient) CreateOrUpdateResponder(resp *http.Response) (result Si return } -// CreateOrUpdateConfiguration description for Updates the configuration of an app. +// CreateOrUpdateConfiguration updates the configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -1900,7 +1897,7 @@ func (client AppsClient) CreateOrUpdateConfigurationResponder(resp *http.Respons return } -// CreateOrUpdateConfigurationSlot description for Updates the configuration of an app. +// CreateOrUpdateConfigurationSlot updates the configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -2007,8 +2004,8 @@ func (client AppsClient) CreateOrUpdateConfigurationSlotResponder(resp *http.Res return } -// CreateOrUpdateDomainOwnershipIdentifier description for Creates a domain ownership identifier for web app, or -// updates an existing ownership identifier. +// CreateOrUpdateDomainOwnershipIdentifier creates a domain ownership identifier for web app, or updates an existing +// ownership identifier. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -2097,8 +2094,8 @@ func (client AppsClient) CreateOrUpdateDomainOwnershipIdentifierResponder(resp * return } -// CreateOrUpdateDomainOwnershipIdentifierSlot description for Creates a domain ownership identifier for web app, or -// updates an existing ownership identifier. +// CreateOrUpdateDomainOwnershipIdentifierSlot creates a domain ownership identifier for web app, or updates an +// existing ownership identifier. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -2190,7 +2187,7 @@ func (client AppsClient) CreateOrUpdateDomainOwnershipIdentifierSlotResponder(re return } -// CreateOrUpdateFunctionSecret description for Add or update a function secret. +// CreateOrUpdateFunctionSecret add or update a function secret. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -2281,7 +2278,7 @@ func (client AppsClient) CreateOrUpdateFunctionSecretResponder(resp *http.Respon return } -// CreateOrUpdateFunctionSecretSlot description for Add or update a function secret. +// CreateOrUpdateFunctionSecretSlot add or update a function secret. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -2374,7 +2371,7 @@ func (client AppsClient) CreateOrUpdateFunctionSecretSlotResponder(resp *http.Re return } -// CreateOrUpdateHostNameBinding description for Creates a hostname binding for an app. +// CreateOrUpdateHostNameBinding creates a hostname binding for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -2463,7 +2460,7 @@ func (client AppsClient) CreateOrUpdateHostNameBindingResponder(resp *http.Respo return } -// CreateOrUpdateHostNameBindingSlot description for Creates a hostname binding for an app. +// CreateOrUpdateHostNameBindingSlot creates a hostname binding for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -2555,7 +2552,7 @@ func (client AppsClient) CreateOrUpdateHostNameBindingSlotResponder(resp *http.R return } -// CreateOrUpdateHostSecret description for Add or update a host level secret. +// CreateOrUpdateHostSecret add or update a host level secret. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -2646,7 +2643,7 @@ func (client AppsClient) CreateOrUpdateHostSecretResponder(resp *http.Response) return } -// CreateOrUpdateHostSecretSlot description for Add or update a host level secret. +// CreateOrUpdateHostSecretSlot add or update a host level secret. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -2739,7 +2736,7 @@ func (client AppsClient) CreateOrUpdateHostSecretSlotResponder(resp *http.Respon return } -// CreateOrUpdateHybridConnection description for Creates a new Hybrid Connection using a Service Bus relay. +// CreateOrUpdateHybridConnection creates a new Hybrid Connection using a Service Bus relay. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -2830,7 +2827,7 @@ func (client AppsClient) CreateOrUpdateHybridConnectionResponder(resp *http.Resp return } -// CreateOrUpdateHybridConnectionSlot description for Creates a new Hybrid Connection using a Service Bus relay. +// CreateOrUpdateHybridConnectionSlot creates a new Hybrid Connection using a Service Bus relay. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -2923,7 +2920,7 @@ func (client AppsClient) CreateOrUpdateHybridConnectionSlotResponder(resp *http. return } -// CreateOrUpdatePublicCertificate description for Creates a hostname binding for an app. +// CreateOrUpdatePublicCertificate creates a hostname binding for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -3013,7 +3010,7 @@ func (client AppsClient) CreateOrUpdatePublicCertificateResponder(resp *http.Res return } -// CreateOrUpdatePublicCertificateSlot description for Creates a hostname binding for an app. +// CreateOrUpdatePublicCertificateSlot creates a hostname binding for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -3106,8 +3103,8 @@ func (client AppsClient) CreateOrUpdatePublicCertificateSlotResponder(resp *http return } -// CreateOrUpdateRelayServiceConnection description for Creates a new hybrid connection configuration (PUT), or updates -// an existing one (PATCH). +// CreateOrUpdateRelayServiceConnection creates a new hybrid connection configuration (PUT), or updates an existing one +// (PATCH). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -3196,8 +3193,8 @@ func (client AppsClient) CreateOrUpdateRelayServiceConnectionResponder(resp *htt return } -// CreateOrUpdateRelayServiceConnectionSlot description for Creates a new hybrid connection configuration (PUT), or -// updates an existing one (PATCH). +// CreateOrUpdateRelayServiceConnectionSlot creates a new hybrid connection configuration (PUT), or updates an existing +// one (PATCH). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -3289,15 +3286,13 @@ func (client AppsClient) CreateOrUpdateRelayServiceConnectionSlotResponder(resp return } -// CreateOrUpdateSlot description for Creates a new web, mobile, or API app in an existing resource group, or updates -// an existing app. +// CreateOrUpdateSlot creates a new web, mobile, or API app in an existing resource group, or updates an existing app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - unique name of the app to create or update. To create or update a deployment slot, use the {slot} // parameter. // siteEnvelope - a JSON representation of the app properties. See example. -// slot - name of the deployment slot to create or update. By default, this API attempts to create or modify -// the production slot. +// slot - name of the deployment slot to create or update. The name 'production' is reserved. func (client AppsClient) CreateOrUpdateSlot(ctx context.Context, resourceGroupName string, name string, siteEnvelope Site, slot string) (result AppsCreateOrUpdateSlotFuture, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/AppsClient.CreateOrUpdateSlot") @@ -3405,7 +3400,7 @@ func (client AppsClient) CreateOrUpdateSlotResponder(resp *http.Response) (resul return } -// CreateOrUpdateSourceControl description for Updates the source control configuration of an app. +// CreateOrUpdateSourceControl updates the source control configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -3495,7 +3490,7 @@ func (client AppsClient) CreateOrUpdateSourceControlResponder(resp *http.Respons return } -// CreateOrUpdateSourceControlSlot description for Updates the source control configuration of an app. +// CreateOrUpdateSourceControlSlot updates the source control configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -3588,9 +3583,9 @@ func (client AppsClient) CreateOrUpdateSourceControlSlotResponder(resp *http.Res return } -// CreateOrUpdateSwiftVirtualNetworkConnectionWithCheck description for Integrates this Web App with a Virtual Network. -// This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet -// has already been delegated, and is not +// CreateOrUpdateSwiftVirtualNetworkConnectionWithCheck integrates this Web App with a Virtual Network. This requires +// that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already +// been delegated, and is not // in use by another App Service Plan other than the one this App is in. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. @@ -3678,8 +3673,8 @@ func (client AppsClient) CreateOrUpdateSwiftVirtualNetworkConnectionWithCheckRes return } -// CreateOrUpdateVnetConnection description for Adds a Virtual Network connection to an app or slot (PUT) or updates -// the connection properties (PATCH). +// CreateOrUpdateVnetConnection adds a Virtual Network connection to an app or slot (PUT) or updates the connection +// properties (PATCH). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -3768,8 +3763,7 @@ func (client AppsClient) CreateOrUpdateVnetConnectionResponder(resp *http.Respon return } -// CreateOrUpdateVnetConnectionGateway description for Adds a gateway to a connected Virtual Network (PUT) or updates -// it (PATCH). +// CreateOrUpdateVnetConnectionGateway adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -3863,8 +3857,7 @@ func (client AppsClient) CreateOrUpdateVnetConnectionGatewayResponder(resp *http return } -// CreateOrUpdateVnetConnectionGatewaySlot description for Adds a gateway to a connected Virtual Network (PUT) or -// updates it (PATCH). +// CreateOrUpdateVnetConnectionGatewaySlot adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -3961,8 +3954,8 @@ func (client AppsClient) CreateOrUpdateVnetConnectionGatewaySlotResponder(resp * return } -// CreateOrUpdateVnetConnectionSlot description for Adds a Virtual Network connection to an app or slot (PUT) or -// updates the connection properties (PATCH). +// CreateOrUpdateVnetConnectionSlot adds a Virtual Network connection to an app or slot (PUT) or updates the connection +// properties (PATCH). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -4054,7 +4047,7 @@ func (client AppsClient) CreateOrUpdateVnetConnectionSlotResponder(resp *http.Re return } -// Delete description for Deletes a web, mobile, or API app, or one of the deployment slots. +// Delete deletes a web, mobile, or API app, or one of the deployment slots. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app to delete. @@ -4146,7 +4139,7 @@ func (client AppsClient) DeleteResponder(resp *http.Response) (result autorest.R return } -// DeleteBackup description for Deletes a backup of an app by its ID. +// DeleteBackup deletes a backup of an app by its ID. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -4231,7 +4224,7 @@ func (client AppsClient) DeleteBackupResponder(resp *http.Response) (result auto return } -// DeleteBackupConfiguration description for Deletes the backup configuration of an app. +// DeleteBackupConfiguration deletes the backup configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -4314,7 +4307,7 @@ func (client AppsClient) DeleteBackupConfigurationResponder(resp *http.Response) return } -// DeleteBackupConfigurationSlot description for Deletes the backup configuration of an app. +// DeleteBackupConfigurationSlot deletes the backup configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -4400,7 +4393,7 @@ func (client AppsClient) DeleteBackupConfigurationSlotResponder(resp *http.Respo return } -// DeleteBackupSlot description for Deletes a backup of an app by its ID. +// DeleteBackupSlot deletes a backup of an app by its ID. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -4488,7 +4481,7 @@ func (client AppsClient) DeleteBackupSlotResponder(resp *http.Response) (result return } -// DeleteContinuousWebJob description for Delete a continuous web job by its ID for an app, or a deployment slot. +// DeleteContinuousWebJob delete a continuous web job by its ID for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -4573,7 +4566,7 @@ func (client AppsClient) DeleteContinuousWebJobResponder(resp *http.Response) (r return } -// DeleteContinuousWebJobSlot description for Delete a continuous web job by its ID for an app, or a deployment slot. +// DeleteContinuousWebJobSlot delete a continuous web job by its ID for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -4661,7 +4654,7 @@ func (client AppsClient) DeleteContinuousWebJobSlotResponder(resp *http.Response return } -// DeleteDeployment description for Delete a deployment by its ID for an app, or a deployment slot. +// DeleteDeployment delete a deployment by its ID for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -4746,7 +4739,7 @@ func (client AppsClient) DeleteDeploymentResponder(resp *http.Response) (result return } -// DeleteDeploymentSlot description for Delete a deployment by its ID for an app, or a deployment slot. +// DeleteDeploymentSlot delete a deployment by its ID for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -4834,7 +4827,7 @@ func (client AppsClient) DeleteDeploymentSlotResponder(resp *http.Response) (res return } -// DeleteDomainOwnershipIdentifier description for Deletes a domain ownership identifier for a web app. +// DeleteDomainOwnershipIdentifier deletes a domain ownership identifier for a web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -4919,7 +4912,7 @@ func (client AppsClient) DeleteDomainOwnershipIdentifierResponder(resp *http.Res return } -// DeleteDomainOwnershipIdentifierSlot description for Deletes a domain ownership identifier for a web app. +// DeleteDomainOwnershipIdentifierSlot deletes a domain ownership identifier for a web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -5007,7 +5000,7 @@ func (client AppsClient) DeleteDomainOwnershipIdentifierSlotResponder(resp *http return } -// DeleteFunction description for Delete a function for web site, or a deployment slot. +// DeleteFunction delete a function for web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -5092,7 +5085,7 @@ func (client AppsClient) DeleteFunctionResponder(resp *http.Response) (result au return } -// DeleteFunctionSecret description for Delete a function secret. +// DeleteFunctionSecret delete a function secret. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -5179,7 +5172,7 @@ func (client AppsClient) DeleteFunctionSecretResponder(resp *http.Response) (res return } -// DeleteFunctionSecretSlot description for Delete a function secret. +// DeleteFunctionSecretSlot delete a function secret. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -5268,7 +5261,7 @@ func (client AppsClient) DeleteFunctionSecretSlotResponder(resp *http.Response) return } -// DeleteHostNameBinding description for Deletes a hostname binding for an app. +// DeleteHostNameBinding deletes a hostname binding for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -5353,7 +5346,7 @@ func (client AppsClient) DeleteHostNameBindingResponder(resp *http.Response) (re return } -// DeleteHostNameBindingSlot description for Deletes a hostname binding for an app. +// DeleteHostNameBindingSlot deletes a hostname binding for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -5441,7 +5434,7 @@ func (client AppsClient) DeleteHostNameBindingSlotResponder(resp *http.Response) return } -// DeleteHostSecret description for Delete a host level secret. +// DeleteHostSecret delete a host level secret. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -5528,7 +5521,7 @@ func (client AppsClient) DeleteHostSecretResponder(resp *http.Response) (result return } -// DeleteHostSecretSlot description for Delete a host level secret. +// DeleteHostSecretSlot delete a host level secret. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -5617,7 +5610,7 @@ func (client AppsClient) DeleteHostSecretSlotResponder(resp *http.Response) (res return } -// DeleteHybridConnection description for Removes a Hybrid Connection from this site. +// DeleteHybridConnection removes a Hybrid Connection from this site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -5704,7 +5697,7 @@ func (client AppsClient) DeleteHybridConnectionResponder(resp *http.Response) (r return } -// DeleteHybridConnectionSlot description for Removes a Hybrid Connection from this site. +// DeleteHybridConnectionSlot removes a Hybrid Connection from this site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -5793,7 +5786,7 @@ func (client AppsClient) DeleteHybridConnectionSlotResponder(resp *http.Response return } -// DeleteInstanceFunctionSlot description for Delete a function for web site, or a deployment slot. +// DeleteInstanceFunctionSlot delete a function for web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -5880,8 +5873,8 @@ func (client AppsClient) DeleteInstanceFunctionSlotResponder(resp *http.Response return } -// DeleteInstanceProcess description for Terminate a process by its ID for a web site, or a deployment slot, or -// specific scaled-out instance in a web site. +// DeleteInstanceProcess terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out +// instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -5969,8 +5962,8 @@ func (client AppsClient) DeleteInstanceProcessResponder(resp *http.Response) (re return } -// DeleteInstanceProcessSlot description for Terminate a process by its ID for a web site, or a deployment slot, or -// specific scaled-out instance in a web site. +// DeleteInstanceProcessSlot terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out +// instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -6061,7 +6054,7 @@ func (client AppsClient) DeleteInstanceProcessSlotResponder(resp *http.Response) return } -// DeletePremierAddOn description for Delete a premier add-on from an app. +// DeletePremierAddOn delete a premier add-on from an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -6146,7 +6139,7 @@ func (client AppsClient) DeletePremierAddOnResponder(resp *http.Response) (resul return } -// DeletePremierAddOnSlot description for Delete a premier add-on from an app. +// DeletePremierAddOnSlot delete a premier add-on from an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -6234,7 +6227,7 @@ func (client AppsClient) DeletePremierAddOnSlotResponder(resp *http.Response) (r return } -// DeletePrivateEndpointConnection description for Deletes a private endpoint connection +// DeletePrivateEndpointConnection deletes a private endpoint connection // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the site. @@ -6322,7 +6315,7 @@ func (client AppsClient) DeletePrivateEndpointConnectionResponder(resp *http.Res return } -// DeletePrivateEndpointConnectionSlot description for Deletes a private endpoint connection +// DeletePrivateEndpointConnectionSlot deletes a private endpoint connection // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the site. @@ -6411,8 +6404,8 @@ func (client AppsClient) DeletePrivateEndpointConnectionSlotResponder(resp *http return } -// DeleteProcess description for Terminate a process by its ID for a web site, or a deployment slot, or specific -// scaled-out instance in a web site. +// DeleteProcess terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in +// a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -6497,8 +6490,8 @@ func (client AppsClient) DeleteProcessResponder(resp *http.Response) (result aut return } -// DeleteProcessSlot description for Terminate a process by its ID for a web site, or a deployment slot, or specific -// scaled-out instance in a web site. +// DeleteProcessSlot terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out +// instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -6586,7 +6579,7 @@ func (client AppsClient) DeleteProcessSlotResponder(resp *http.Response) (result return } -// DeletePublicCertificate description for Deletes a hostname binding for an app. +// DeletePublicCertificate deletes a hostname binding for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -6671,7 +6664,7 @@ func (client AppsClient) DeletePublicCertificateResponder(resp *http.Response) ( return } -// DeletePublicCertificateSlot description for Deletes a hostname binding for an app. +// DeletePublicCertificateSlot deletes a hostname binding for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -6759,7 +6752,7 @@ func (client AppsClient) DeletePublicCertificateSlotResponder(resp *http.Respons return } -// DeleteRelayServiceConnection description for Deletes a relay service connection by its name. +// DeleteRelayServiceConnection deletes a relay service connection by its name. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -6844,7 +6837,7 @@ func (client AppsClient) DeleteRelayServiceConnectionResponder(resp *http.Respon return } -// DeleteRelayServiceConnectionSlot description for Deletes a relay service connection by its name. +// DeleteRelayServiceConnectionSlot deletes a relay service connection by its name. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -6932,7 +6925,7 @@ func (client AppsClient) DeleteRelayServiceConnectionSlotResponder(resp *http.Re return } -// DeleteSiteExtension description for Remove a site extension from a web site, or a deployment slot. +// DeleteSiteExtension remove a site extension from a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -7017,7 +7010,7 @@ func (client AppsClient) DeleteSiteExtensionResponder(resp *http.Response) (resu return } -// DeleteSiteExtensionSlot description for Remove a site extension from a web site, or a deployment slot. +// DeleteSiteExtensionSlot remove a site extension from a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -7105,7 +7098,7 @@ func (client AppsClient) DeleteSiteExtensionSlotResponder(resp *http.Response) ( return } -// DeleteSlot description for Deletes a web, mobile, or API app, or one of the deployment slots. +// DeleteSlot deletes a web, mobile, or API app, or one of the deployment slots. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app to delete. @@ -7199,7 +7192,7 @@ func (client AppsClient) DeleteSlotResponder(resp *http.Response) (result autore return } -// DeleteSourceControl description for Deletes the source control configuration of an app. +// DeleteSourceControl deletes the source control configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -7285,7 +7278,7 @@ func (client AppsClient) DeleteSourceControlResponder(resp *http.Response) (resu return } -// DeleteSourceControlSlot description for Deletes the source control configuration of an app. +// DeleteSourceControlSlot deletes the source control configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -7374,8 +7367,7 @@ func (client AppsClient) DeleteSourceControlSlotResponder(resp *http.Response) ( return } -// DeleteSwiftVirtualNetwork description for Deletes a Swift Virtual Network connection from an app (or deployment -// slot). +// DeleteSwiftVirtualNetwork deletes a Swift Virtual Network connection from an app (or deployment slot). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -7458,8 +7450,7 @@ func (client AppsClient) DeleteSwiftVirtualNetworkResponder(resp *http.Response) return } -// DeleteSwiftVirtualNetworkSlot description for Deletes a Swift Virtual Network connection from an app (or deployment -// slot). +// DeleteSwiftVirtualNetworkSlot deletes a Swift Virtual Network connection from an app (or deployment slot). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -7545,7 +7536,7 @@ func (client AppsClient) DeleteSwiftVirtualNetworkSlotResponder(resp *http.Respo return } -// DeleteTriggeredWebJob description for Delete a triggered web job by its ID for an app, or a deployment slot. +// DeleteTriggeredWebJob delete a triggered web job by its ID for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -7630,7 +7621,7 @@ func (client AppsClient) DeleteTriggeredWebJobResponder(resp *http.Response) (re return } -// DeleteTriggeredWebJobSlot description for Delete a triggered web job by its ID for an app, or a deployment slot. +// DeleteTriggeredWebJobSlot delete a triggered web job by its ID for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -7718,8 +7709,7 @@ func (client AppsClient) DeleteTriggeredWebJobSlotResponder(resp *http.Response) return } -// DeleteVnetConnection description for Deletes a connection from an app (or deployment slot to a named virtual -// network. +// DeleteVnetConnection deletes a connection from an app (or deployment slot to a named virtual network. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -7804,8 +7794,7 @@ func (client AppsClient) DeleteVnetConnectionResponder(resp *http.Response) (res return } -// DeleteVnetConnectionSlot description for Deletes a connection from an app (or deployment slot to a named virtual -// network. +// DeleteVnetConnectionSlot deletes a connection from an app (or deployment slot to a named virtual network. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -7893,8 +7882,8 @@ func (client AppsClient) DeleteVnetConnectionSlotResponder(resp *http.Response) return } -// DiscoverBackup description for Discovers an existing app backup that can be restored from a blob in Azure storage. -// Use this to get information about the databases stored in a backup. +// DiscoverBackup discovers an existing app backup that can be restored from a blob in Azure storage. Use this to get +// information about the databases stored in a backup. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -7986,8 +7975,8 @@ func (client AppsClient) DiscoverBackupResponder(resp *http.Response) (result Re return } -// DiscoverBackupSlot description for Discovers an existing app backup that can be restored from a blob in Azure -// storage. Use this to get information about the databases stored in a backup. +// DiscoverBackupSlot discovers an existing app backup that can be restored from a blob in Azure storage. Use this to +// get information about the databases stored in a backup. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -8082,8 +8071,7 @@ func (client AppsClient) DiscoverBackupSlotResponder(resp *http.Response) (resul return } -// GenerateNewSitePublishingPassword description for Generates a new publishing password for an app (or deployment -// slot, if specified). +// GenerateNewSitePublishingPassword generates a new publishing password for an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -8166,8 +8154,8 @@ func (client AppsClient) GenerateNewSitePublishingPasswordResponder(resp *http.R return } -// GenerateNewSitePublishingPasswordSlot description for Generates a new publishing password for an app (or deployment -// slot, if specified). +// GenerateNewSitePublishingPasswordSlot generates a new publishing password for an app (or deployment slot, if +// specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -8253,7 +8241,7 @@ func (client AppsClient) GenerateNewSitePublishingPasswordSlotResponder(resp *ht return } -// Get description for Gets the details of a web, mobile, or API app. +// Get gets the details of a web, mobile, or API app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -8337,7 +8325,7 @@ func (client AppsClient) GetResponder(resp *http.Response) (result Site, err err return } -// GetAppSettingKeyVaultReference description for Gets the config reference and status of an app +// GetAppSettingKeyVaultReference gets the config reference and status of an app // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -8423,7 +8411,7 @@ func (client AppsClient) GetAppSettingKeyVaultReferenceResponder(resp *http.Resp return } -// GetAppSettingKeyVaultReferenceSlot description for Gets the config reference and status of an app +// GetAppSettingKeyVaultReferenceSlot gets the config reference and status of an app // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -8510,7 +8498,7 @@ func (client AppsClient) GetAppSettingKeyVaultReferenceSlotResponder(resp *http. return } -// GetAppSettingsKeyVaultReferences description for Gets the config reference app settings and status of an app +// GetAppSettingsKeyVaultReferences gets the config reference app settings and status of an app // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -8636,7 +8624,7 @@ func (client AppsClient) GetAppSettingsKeyVaultReferencesComplete(ctx context.Co return } -// GetAppSettingsKeyVaultReferencesSlot description for Gets the config reference app settings and status of an app +// GetAppSettingsKeyVaultReferencesSlot gets the config reference app settings and status of an app // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -8763,7 +8751,7 @@ func (client AppsClient) GetAppSettingsKeyVaultReferencesSlotComplete(ctx contex return } -// GetAuthSettings description for Gets the Authentication/Authorization settings of an app. +// GetAuthSettings gets the Authentication/Authorization settings of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -8847,7 +8835,7 @@ func (client AppsClient) GetAuthSettingsResponder(resp *http.Response) (result S return } -// GetAuthSettingsSlot description for Gets the Authentication/Authorization settings of an app. +// GetAuthSettingsSlot gets the Authentication/Authorization settings of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -8934,7 +8922,7 @@ func (client AppsClient) GetAuthSettingsSlotResponder(resp *http.Response) (resu return } -// GetAuthSettingsV2 description for Gets site's Authentication / Authorization settings for apps via the V2 format +// GetAuthSettingsV2 gets site's Authentication / Authorization settings for apps via the V2 format // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -9018,7 +9006,7 @@ func (client AppsClient) GetAuthSettingsV2Responder(resp *http.Response) (result return } -// GetAuthSettingsV2Slot description for Gets site's Authentication / Authorization settings for apps via the V2 format +// GetAuthSettingsV2Slot gets site's Authentication / Authorization settings for apps via the V2 format // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -9105,7 +9093,7 @@ func (client AppsClient) GetAuthSettingsV2SlotResponder(resp *http.Response) (re return } -// GetBackupConfiguration description for Gets the backup configuration of an app. +// GetBackupConfiguration gets the backup configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -9189,7 +9177,7 @@ func (client AppsClient) GetBackupConfigurationResponder(resp *http.Response) (r return } -// GetBackupConfigurationSlot description for Gets the backup configuration of an app. +// GetBackupConfigurationSlot gets the backup configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -9276,7 +9264,7 @@ func (client AppsClient) GetBackupConfigurationSlotResponder(resp *http.Response return } -// GetBackupStatus description for Gets a backup of an app by its ID. +// GetBackupStatus gets a backup of an app by its ID. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -9362,7 +9350,7 @@ func (client AppsClient) GetBackupStatusResponder(resp *http.Response) (result B return } -// GetBackupStatusSlot description for Gets a backup of an app by its ID. +// GetBackupStatusSlot gets a backup of an app by its ID. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -9451,8 +9439,8 @@ func (client AppsClient) GetBackupStatusSlotResponder(resp *http.Response) (resu return } -// GetBasicPublishingCredentialsPolicies description for Returns whether Scm basic auth is allowed and whether Ftp is -// allowed for a given site. +// GetBasicPublishingCredentialsPolicies returns whether Scm basic auth is allowed and whether Ftp is allowed for a +// given site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -9536,8 +9524,8 @@ func (client AppsClient) GetBasicPublishingCredentialsPoliciesResponder(resp *ht return } -// GetBasicPublishingCredentialsPoliciesSlot description for Returns whether Scm basic auth is allowed and whether Ftp -// is allowed for a given site. +// GetBasicPublishingCredentialsPoliciesSlot returns whether Scm basic auth is allowed and whether Ftp is allowed for a +// given site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -9622,8 +9610,8 @@ func (client AppsClient) GetBasicPublishingCredentialsPoliciesSlotResponder(resp return } -// GetConfiguration description for Gets the configuration of an app, such as platform version and bitness, default -// documents, virtual applications, Always On, etc. +// GetConfiguration gets the configuration of an app, such as platform version and bitness, default documents, virtual +// applications, Always On, etc. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -9707,8 +9695,8 @@ func (client AppsClient) GetConfigurationResponder(resp *http.Response) (result return } -// GetConfigurationSlot description for Gets the configuration of an app, such as platform version and bitness, default -// documents, virtual applications, Always On, etc. +// GetConfigurationSlot gets the configuration of an app, such as platform version and bitness, default documents, +// virtual applications, Always On, etc. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -9795,7 +9783,7 @@ func (client AppsClient) GetConfigurationSlotResponder(resp *http.Response) (res return } -// GetConfigurationSnapshot description for Gets a snapshot of the configuration of an app at a previous point in time. +// GetConfigurationSnapshot gets a snapshot of the configuration of an app at a previous point in time. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -9881,8 +9869,7 @@ func (client AppsClient) GetConfigurationSnapshotResponder(resp *http.Response) return } -// GetConfigurationSnapshotSlot description for Gets a snapshot of the configuration of an app at a previous point in -// time. +// GetConfigurationSnapshotSlot gets a snapshot of the configuration of an app at a previous point in time. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -9971,7 +9958,7 @@ func (client AppsClient) GetConfigurationSnapshotSlotResponder(resp *http.Respon return } -// GetContainerLogsZip description for Gets the ZIP archived docker log files for the given site +// GetContainerLogsZip gets the ZIP archived docker log files for the given site // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -10054,7 +10041,7 @@ func (client AppsClient) GetContainerLogsZipResponder(resp *http.Response) (resu return } -// GetContainerLogsZipSlot description for Gets the ZIP archived docker log files for the given site +// GetContainerLogsZipSlot gets the ZIP archived docker log files for the given site // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -10139,7 +10126,7 @@ func (client AppsClient) GetContainerLogsZipSlotResponder(resp *http.Response) ( return } -// GetContinuousWebJob description for Gets a continuous web job by its ID for an app, or a deployment slot. +// GetContinuousWebJob gets a continuous web job by its ID for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -10225,7 +10212,7 @@ func (client AppsClient) GetContinuousWebJobResponder(resp *http.Response) (resu return } -// GetContinuousWebJobSlot description for Gets a continuous web job by its ID for an app, or a deployment slot. +// GetContinuousWebJobSlot gets a continuous web job by its ID for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -10314,7 +10301,7 @@ func (client AppsClient) GetContinuousWebJobSlotResponder(resp *http.Response) ( return } -// GetDeployment description for Get a deployment by its ID for an app, or a deployment slot. +// GetDeployment get a deployment by its ID for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -10400,7 +10387,7 @@ func (client AppsClient) GetDeploymentResponder(resp *http.Response) (result Dep return } -// GetDeploymentSlot description for Get a deployment by its ID for an app, or a deployment slot. +// GetDeploymentSlot get a deployment by its ID for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -10489,7 +10476,7 @@ func (client AppsClient) GetDeploymentSlotResponder(resp *http.Response) (result return } -// GetDiagnosticLogsConfiguration description for Gets the logging configuration of an app. +// GetDiagnosticLogsConfiguration gets the logging configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -10573,7 +10560,7 @@ func (client AppsClient) GetDiagnosticLogsConfigurationResponder(resp *http.Resp return } -// GetDiagnosticLogsConfigurationSlot description for Gets the logging configuration of an app. +// GetDiagnosticLogsConfigurationSlot gets the logging configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -10660,7 +10647,7 @@ func (client AppsClient) GetDiagnosticLogsConfigurationSlotResponder(resp *http. return } -// GetDomainOwnershipIdentifier description for Get domain ownership identifier for web app. +// GetDomainOwnershipIdentifier get domain ownership identifier for web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -10746,7 +10733,7 @@ func (client AppsClient) GetDomainOwnershipIdentifierResponder(resp *http.Respon return } -// GetDomainOwnershipIdentifierSlot description for Get domain ownership identifier for web app. +// GetDomainOwnershipIdentifierSlot get domain ownership identifier for web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -10835,7 +10822,7 @@ func (client AppsClient) GetDomainOwnershipIdentifierSlotResponder(resp *http.Re return } -// GetFtpAllowed description for Returns whether FTP is allowed on the site or not. +// GetFtpAllowed returns whether FTP is allowed on the site or not. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -10919,7 +10906,7 @@ func (client AppsClient) GetFtpAllowedResponder(resp *http.Response) (result Csm return } -// GetFtpAllowedSlot description for Returns whether FTP is allowed on the site or not. +// GetFtpAllowedSlot returns whether FTP is allowed on the site or not. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -11004,7 +10991,7 @@ func (client AppsClient) GetFtpAllowedSlotResponder(resp *http.Response) (result return } -// GetFunction description for Get function information by its ID for web site, or a deployment slot. +// GetFunction get function information by its ID for web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -11090,7 +11077,7 @@ func (client AppsClient) GetFunctionResponder(resp *http.Response) (result Funct return } -// GetFunctionsAdminToken description for Fetch a short lived token that can be exchanged for a master key. +// GetFunctionsAdminToken fetch a short lived token that can be exchanged for a master key. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -11174,7 +11161,7 @@ func (client AppsClient) GetFunctionsAdminTokenResponder(resp *http.Response) (r return } -// GetFunctionsAdminTokenSlot description for Fetch a short lived token that can be exchanged for a master key. +// GetFunctionsAdminTokenSlot fetch a short lived token that can be exchanged for a master key. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -11260,7 +11247,7 @@ func (client AppsClient) GetFunctionsAdminTokenSlotResponder(resp *http.Response return } -// GetHostNameBinding description for Get the named hostname binding for an app (or deployment slot, if specified). +// GetHostNameBinding get the named hostname binding for an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -11346,7 +11333,7 @@ func (client AppsClient) GetHostNameBindingResponder(resp *http.Response) (resul return } -// GetHostNameBindingSlot description for Get the named hostname binding for an app (or deployment slot, if specified). +// GetHostNameBindingSlot get the named hostname binding for an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -11435,7 +11422,7 @@ func (client AppsClient) GetHostNameBindingSlotResponder(resp *http.Response) (r return } -// GetHybridConnection description for Retrieves a specific Service Bus Hybrid Connection used by this Web App. +// GetHybridConnection retrieves a specific Service Bus Hybrid Connection used by this Web App. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -11523,7 +11510,7 @@ func (client AppsClient) GetHybridConnectionResponder(resp *http.Response) (resu return } -// GetHybridConnectionSlot description for Retrieves a specific Service Bus Hybrid Connection used by this Web App. +// GetHybridConnectionSlot retrieves a specific Service Bus Hybrid Connection used by this Web App. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -11613,7 +11600,7 @@ func (client AppsClient) GetHybridConnectionSlotResponder(resp *http.Response) ( return } -// GetInstanceFunctionSlot description for Get function information by its ID for web site, or a deployment slot. +// GetInstanceFunctionSlot get function information by its ID for web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -11701,7 +11688,7 @@ func (client AppsClient) GetInstanceFunctionSlotResponder(resp *http.Response) ( return } -// GetInstanceInfo description for Gets all scale-out instances of an app. +// GetInstanceInfo gets all scale-out instances of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -11786,7 +11773,7 @@ func (client AppsClient) GetInstanceInfoResponder(resp *http.Response) (result S return } -// GetInstanceInfoSlot description for Gets all scale-out instances of an app. +// GetInstanceInfoSlot gets all scale-out instances of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -11873,7 +11860,7 @@ func (client AppsClient) GetInstanceInfoSlotResponder(resp *http.Response) (resu return } -// GetInstanceMSDeployLog description for Get the MSDeploy Log for the last MSDeploy operation. +// GetInstanceMSDeployLog get the MSDeploy Log for the last MSDeploy operation. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -11959,7 +11946,7 @@ func (client AppsClient) GetInstanceMSDeployLogResponder(resp *http.Response) (r return } -// GetInstanceMSDeployLogSlot description for Get the MSDeploy Log for the last MSDeploy operation. +// GetInstanceMSDeployLogSlot get the MSDeploy Log for the last MSDeploy operation. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -12047,7 +12034,7 @@ func (client AppsClient) GetInstanceMSDeployLogSlotResponder(resp *http.Response return } -// GetInstanceMsDeployStatus description for Get the status of the last MSDeploy operation. +// GetInstanceMsDeployStatus get the status of the last MSDeploy operation. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -12133,7 +12120,7 @@ func (client AppsClient) GetInstanceMsDeployStatusResponder(resp *http.Response) return } -// GetInstanceMsDeployStatusSlot description for Get the status of the last MSDeploy operation. +// GetInstanceMsDeployStatusSlot get the status of the last MSDeploy operation. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -12221,8 +12208,7 @@ func (client AppsClient) GetInstanceMsDeployStatusSlotResponder(resp *http.Respo return } -// GetInstanceProcess description for Get process information by its ID for a specific scaled-out instance in a web -// site. +// GetInstanceProcess get process information by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -12311,8 +12297,7 @@ func (client AppsClient) GetInstanceProcessResponder(resp *http.Response) (resul return } -// GetInstanceProcessDump description for Get a memory dump of a process by its ID for a specific scaled-out instance -// in a web site. +// GetInstanceProcessDump get a memory dump of a process by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -12400,8 +12385,8 @@ func (client AppsClient) GetInstanceProcessDumpResponder(resp *http.Response) (r return } -// GetInstanceProcessDumpSlot description for Get a memory dump of a process by its ID for a specific scaled-out -// instance in a web site. +// GetInstanceProcessDumpSlot get a memory dump of a process by its ID for a specific scaled-out instance in a web +// site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -12492,8 +12477,7 @@ func (client AppsClient) GetInstanceProcessDumpSlotResponder(resp *http.Response return } -// GetInstanceProcessModule description for Get process information by its ID for a specific scaled-out instance in a -// web site. +// GetInstanceProcessModule get process information by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -12584,8 +12568,7 @@ func (client AppsClient) GetInstanceProcessModuleResponder(resp *http.Response) return } -// GetInstanceProcessModuleSlot description for Get process information by its ID for a specific scaled-out instance in -// a web site. +// GetInstanceProcessModuleSlot get process information by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -12679,8 +12662,7 @@ func (client AppsClient) GetInstanceProcessModuleSlotResponder(resp *http.Respon return } -// GetInstanceProcessSlot description for Get process information by its ID for a specific scaled-out instance in a web -// site. +// GetInstanceProcessSlot get process information by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -12772,8 +12754,8 @@ func (client AppsClient) GetInstanceProcessSlotResponder(resp *http.Response) (r return } -// GetMigrateMySQLStatus description for Returns the status of MySql in app migration, if one is active, and whether or -// not MySql in app is enabled +// GetMigrateMySQLStatus returns the status of MySql in app migration, if one is active, and whether or not MySql in +// app is enabled // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -12857,8 +12839,8 @@ func (client AppsClient) GetMigrateMySQLStatusResponder(resp *http.Response) (re return } -// GetMigrateMySQLStatusSlot description for Returns the status of MySql in app migration, if one is active, and -// whether or not MySql in app is enabled +// GetMigrateMySQLStatusSlot returns the status of MySql in app migration, if one is active, and whether or not MySql +// in app is enabled // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -12944,7 +12926,7 @@ func (client AppsClient) GetMigrateMySQLStatusSlotResponder(resp *http.Response) return } -// GetMSDeployLog description for Get the MSDeploy Log for the last MSDeploy operation. +// GetMSDeployLog get the MSDeploy Log for the last MSDeploy operation. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -13028,7 +13010,7 @@ func (client AppsClient) GetMSDeployLogResponder(resp *http.Response) (result MS return } -// GetMSDeployLogSlot description for Get the MSDeploy Log for the last MSDeploy operation. +// GetMSDeployLogSlot get the MSDeploy Log for the last MSDeploy operation. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -13114,7 +13096,7 @@ func (client AppsClient) GetMSDeployLogSlotResponder(resp *http.Response) (resul return } -// GetMSDeployStatus description for Get the status of the last MSDeploy operation. +// GetMSDeployStatus get the status of the last MSDeploy operation. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -13198,7 +13180,7 @@ func (client AppsClient) GetMSDeployStatusResponder(resp *http.Response) (result return } -// GetMSDeployStatusSlot description for Get the status of the last MSDeploy operation. +// GetMSDeployStatusSlot get the status of the last MSDeploy operation. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -13284,8 +13266,7 @@ func (client AppsClient) GetMSDeployStatusSlotResponder(resp *http.Response) (re return } -// GetNetworkTraceOperation description for Gets a named operation for a network trace capturing (or deployment slot, -// if specified). +// GetNetworkTraceOperation gets a named operation for a network trace capturing (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -13371,8 +13352,8 @@ func (client AppsClient) GetNetworkTraceOperationResponder(resp *http.Response) return } -// GetNetworkTraceOperationSlot description for Gets a named operation for a network trace capturing (or deployment -// slot, if specified). +// GetNetworkTraceOperationSlot gets a named operation for a network trace capturing (or deployment slot, if +// specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -13461,8 +13442,8 @@ func (client AppsClient) GetNetworkTraceOperationSlotResponder(resp *http.Respon return } -// GetNetworkTraceOperationSlotV2 description for Gets a named operation for a network trace capturing (or deployment -// slot, if specified). +// GetNetworkTraceOperationSlotV2 gets a named operation for a network trace capturing (or deployment slot, if +// specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -13551,8 +13532,7 @@ func (client AppsClient) GetNetworkTraceOperationSlotV2Responder(resp *http.Resp return } -// GetNetworkTraceOperationV2 description for Gets a named operation for a network trace capturing (or deployment slot, -// if specified). +// GetNetworkTraceOperationV2 gets a named operation for a network trace capturing (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -13638,8 +13618,7 @@ func (client AppsClient) GetNetworkTraceOperationV2Responder(resp *http.Response return } -// GetNetworkTraces description for Gets a named operation for a network trace capturing (or deployment slot, if -// specified). +// GetNetworkTraces gets a named operation for a network trace capturing (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -13725,8 +13704,7 @@ func (client AppsClient) GetNetworkTracesResponder(resp *http.Response) (result return } -// GetNetworkTracesSlot description for Gets a named operation for a network trace capturing (or deployment slot, if -// specified). +// GetNetworkTracesSlot gets a named operation for a network trace capturing (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -13815,8 +13793,7 @@ func (client AppsClient) GetNetworkTracesSlotResponder(resp *http.Response) (res return } -// GetNetworkTracesSlotV2 description for Gets a named operation for a network trace capturing (or deployment slot, if -// specified). +// GetNetworkTracesSlotV2 gets a named operation for a network trace capturing (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -13905,8 +13882,7 @@ func (client AppsClient) GetNetworkTracesSlotV2Responder(resp *http.Response) (r return } -// GetNetworkTracesV2 description for Gets a named operation for a network trace capturing (or deployment slot, if -// specified). +// GetNetworkTracesV2 gets a named operation for a network trace capturing (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -13992,7 +13968,7 @@ func (client AppsClient) GetNetworkTracesV2Responder(resp *http.Response) (resul return } -// GetPremierAddOn description for Gets a named add-on of an app. +// GetPremierAddOn gets a named add-on of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -14078,7 +14054,7 @@ func (client AppsClient) GetPremierAddOnResponder(resp *http.Response) (result P return } -// GetPremierAddOnSlot description for Gets a named add-on of an app. +// GetPremierAddOnSlot gets a named add-on of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -14167,8 +14143,8 @@ func (client AppsClient) GetPremierAddOnSlotResponder(resp *http.Response) (resu return } -// GetPrivateAccess description for Gets data around private site access enablement and authorized Virtual Networks -// that can access the site. +// GetPrivateAccess gets data around private site access enablement and authorized Virtual Networks that can access the +// site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -14252,8 +14228,8 @@ func (client AppsClient) GetPrivateAccessResponder(resp *http.Response) (result return } -// GetPrivateAccessSlot description for Gets data around private site access enablement and authorized Virtual Networks -// that can access the site. +// GetPrivateAccessSlot gets data around private site access enablement and authorized Virtual Networks that can access +// the site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -14339,7 +14315,7 @@ func (client AppsClient) GetPrivateAccessSlotResponder(resp *http.Response) (res return } -// GetPrivateEndpointConnection description for Gets a private endpoint connection +// GetPrivateEndpointConnection gets a private endpoint connection // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the site. @@ -14425,8 +14401,7 @@ func (client AppsClient) GetPrivateEndpointConnectionResponder(resp *http.Respon return } -// GetPrivateEndpointConnectionList description for Gets the list of private endpoint connections associated with a -// site +// GetPrivateEndpointConnectionList gets the list of private endpoint connections associated with a site // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the site. @@ -14552,8 +14527,7 @@ func (client AppsClient) GetPrivateEndpointConnectionListComplete(ctx context.Co return } -// GetPrivateEndpointConnectionListSlot description for Gets the list of private endpoint connections associated with a -// site +// GetPrivateEndpointConnectionListSlot gets the list of private endpoint connections associated with a site // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the site. @@ -14681,7 +14655,7 @@ func (client AppsClient) GetPrivateEndpointConnectionListSlotComplete(ctx contex return } -// GetPrivateEndpointConnectionSlot description for Gets a private endpoint connection +// GetPrivateEndpointConnectionSlot gets a private endpoint connection // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the site. @@ -14769,7 +14743,7 @@ func (client AppsClient) GetPrivateEndpointConnectionSlotResponder(resp *http.Re return } -// GetPrivateLinkResources description for Gets the private link resources +// GetPrivateLinkResources gets the private link resources // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the site. @@ -14853,7 +14827,7 @@ func (client AppsClient) GetPrivateLinkResourcesResponder(resp *http.Response) ( return } -// GetPrivateLinkResourcesSlot description for Gets the private link resources +// GetPrivateLinkResourcesSlot gets the private link resources // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the site. @@ -14938,7 +14912,7 @@ func (client AppsClient) GetPrivateLinkResourcesSlotResponder(resp *http.Respons return } -// GetProcess description for Get process information by its ID for a specific scaled-out instance in a web site. +// GetProcess get process information by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -15024,8 +14998,7 @@ func (client AppsClient) GetProcessResponder(resp *http.Response) (result Proces return } -// GetProcessDump description for Get a memory dump of a process by its ID for a specific scaled-out instance in a web -// site. +// GetProcessDump get a memory dump of a process by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -15110,8 +15083,7 @@ func (client AppsClient) GetProcessDumpResponder(resp *http.Response) (result Re return } -// GetProcessDumpSlot description for Get a memory dump of a process by its ID for a specific scaled-out instance in a -// web site. +// GetProcessDumpSlot get a memory dump of a process by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -15199,7 +15171,7 @@ func (client AppsClient) GetProcessDumpSlotResponder(resp *http.Response) (resul return } -// GetProcessModule description for Get process information by its ID for a specific scaled-out instance in a web site. +// GetProcessModule get process information by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -15287,8 +15259,7 @@ func (client AppsClient) GetProcessModuleResponder(resp *http.Response) (result return } -// GetProcessModuleSlot description for Get process information by its ID for a specific scaled-out instance in a web -// site. +// GetProcessModuleSlot get process information by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -15379,7 +15350,7 @@ func (client AppsClient) GetProcessModuleSlotResponder(resp *http.Response) (res return } -// GetProcessSlot description for Get process information by its ID for a specific scaled-out instance in a web site. +// GetProcessSlot get process information by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -15468,7 +15439,7 @@ func (client AppsClient) GetProcessSlotResponder(resp *http.Response) (result Pr return } -// GetPublicCertificate description for Get the named public certificate for an app (or deployment slot, if specified). +// GetPublicCertificate get the named public certificate for an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -15554,8 +15525,7 @@ func (client AppsClient) GetPublicCertificateResponder(resp *http.Response) (res return } -// GetPublicCertificateSlot description for Get the named public certificate for an app (or deployment slot, if -// specified). +// GetPublicCertificateSlot get the named public certificate for an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -15644,7 +15614,7 @@ func (client AppsClient) GetPublicCertificateSlotResponder(resp *http.Response) return } -// GetRelayServiceConnection description for Gets a hybrid connection configuration by its name. +// GetRelayServiceConnection gets a hybrid connection configuration by its name. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -15730,7 +15700,7 @@ func (client AppsClient) GetRelayServiceConnectionResponder(resp *http.Response) return } -// GetRelayServiceConnectionSlot description for Gets a hybrid connection configuration by its name. +// GetRelayServiceConnectionSlot gets a hybrid connection configuration by its name. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -15819,7 +15789,7 @@ func (client AppsClient) GetRelayServiceConnectionSlotResponder(resp *http.Respo return } -// GetScmAllowed description for Returns whether Scm basic auth is allowed on the site or not. +// GetScmAllowed returns whether Scm basic auth is allowed on the site or not. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -15903,7 +15873,7 @@ func (client AppsClient) GetScmAllowedResponder(resp *http.Response) (result Csm return } -// GetScmAllowedSlot description for Returns whether Scm basic auth is allowed on the site or not. +// GetScmAllowedSlot returns whether Scm basic auth is allowed on the site or not. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -15988,7 +15958,7 @@ func (client AppsClient) GetScmAllowedSlotResponder(resp *http.Response) (result return } -// GetSiteConnectionStringKeyVaultReference description for Gets the config reference and status of an app +// GetSiteConnectionStringKeyVaultReference gets the config reference and status of an app // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -16073,8 +16043,7 @@ func (client AppsClient) GetSiteConnectionStringKeyVaultReferenceResponder(resp return } -// GetSiteConnectionStringKeyVaultReferences description for Gets the config reference app settings and status of an -// app +// GetSiteConnectionStringKeyVaultReferences gets the config reference app settings and status of an app // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -16200,7 +16169,7 @@ func (client AppsClient) GetSiteConnectionStringKeyVaultReferencesComplete(ctx c return } -// GetSiteConnectionStringKeyVaultReferenceSlot description for Gets the config reference and status of an app +// GetSiteConnectionStringKeyVaultReferenceSlot gets the config reference and status of an app // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -16286,8 +16255,7 @@ func (client AppsClient) GetSiteConnectionStringKeyVaultReferenceSlotResponder(r return } -// GetSiteConnectionStringKeyVaultReferencesSlot description for Gets the config reference app settings and status of -// an app +// GetSiteConnectionStringKeyVaultReferencesSlot gets the config reference app settings and status of an app // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -16414,7 +16382,7 @@ func (client AppsClient) GetSiteConnectionStringKeyVaultReferencesSlotComplete(c return } -// GetSiteExtension description for Get site extension information by its ID for a web site, or a deployment slot. +// GetSiteExtension get site extension information by its ID for a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -16500,7 +16468,7 @@ func (client AppsClient) GetSiteExtensionResponder(resp *http.Response) (result return } -// GetSiteExtensionSlot description for Get site extension information by its ID for a web site, or a deployment slot. +// GetSiteExtensionSlot get site extension information by its ID for a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -16588,7 +16556,7 @@ func (client AppsClient) GetSiteExtensionSlotResponder(resp *http.Response) (res return } -// GetSitePhpErrorLogFlag description for Gets web app's event logs. +// GetSitePhpErrorLogFlag gets web app's event logs. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -16672,7 +16640,7 @@ func (client AppsClient) GetSitePhpErrorLogFlagResponder(resp *http.Response) (r return } -// GetSitePhpErrorLogFlagSlot description for Gets web app's event logs. +// GetSitePhpErrorLogFlagSlot gets web app's event logs. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -16758,7 +16726,7 @@ func (client AppsClient) GetSitePhpErrorLogFlagSlotResponder(resp *http.Response return } -// GetSlot description for Gets the details of a web, mobile, or API app. +// GetSlot gets the details of a web, mobile, or API app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -16844,7 +16812,7 @@ func (client AppsClient) GetSlotResponder(resp *http.Response) (result Site, err return } -// GetSourceControl description for Gets the source control configuration of an app. +// GetSourceControl gets the source control configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -16928,7 +16896,7 @@ func (client AppsClient) GetSourceControlResponder(resp *http.Response) (result return } -// GetSourceControlSlot description for Gets the source control configuration of an app. +// GetSourceControlSlot gets the source control configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -17015,7 +16983,7 @@ func (client AppsClient) GetSourceControlSlotResponder(resp *http.Response) (res return } -// GetSwiftVirtualNetworkConnection description for Gets a Swift Virtual Network connection. +// GetSwiftVirtualNetworkConnection gets a Swift Virtual Network connection. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -17099,7 +17067,7 @@ func (client AppsClient) GetSwiftVirtualNetworkConnectionResponder(resp *http.Re return } -// GetSwiftVirtualNetworkConnectionSlot description for Gets a Swift Virtual Network connection. +// GetSwiftVirtualNetworkConnectionSlot gets a Swift Virtual Network connection. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -17186,7 +17154,7 @@ func (client AppsClient) GetSwiftVirtualNetworkConnectionSlotResponder(resp *htt return } -// GetTriggeredWebJob description for Gets a triggered web job by its ID for an app, or a deployment slot. +// GetTriggeredWebJob gets a triggered web job by its ID for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -17272,8 +17240,7 @@ func (client AppsClient) GetTriggeredWebJobResponder(resp *http.Response) (resul return } -// GetTriggeredWebJobHistory description for Gets a triggered web job's history by its ID for an app, , or a deployment -// slot. +// GetTriggeredWebJobHistory gets a triggered web job's history by its ID for an app, , or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -17361,8 +17328,7 @@ func (client AppsClient) GetTriggeredWebJobHistoryResponder(resp *http.Response) return } -// GetTriggeredWebJobHistorySlot description for Gets a triggered web job's history by its ID for an app, , or a -// deployment slot. +// GetTriggeredWebJobHistorySlot gets a triggered web job's history by its ID for an app, , or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -17452,7 +17418,7 @@ func (client AppsClient) GetTriggeredWebJobHistorySlotResponder(resp *http.Respo return } -// GetTriggeredWebJobSlot description for Gets a triggered web job by its ID for an app, or a deployment slot. +// GetTriggeredWebJobSlot gets a triggered web job by its ID for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -17540,7 +17506,7 @@ func (client AppsClient) GetTriggeredWebJobSlotResponder(resp *http.Response) (r return } -// GetVnetConnection description for Gets a virtual network the app (or deployment slot) is connected to by name. +// GetVnetConnection gets a virtual network the app (or deployment slot) is connected to by name. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -17626,7 +17592,7 @@ func (client AppsClient) GetVnetConnectionResponder(resp *http.Response) (result return } -// GetVnetConnectionGateway description for Gets an app's Virtual Network gateway. +// GetVnetConnectionGateway gets an app's Virtual Network gateway. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -17714,7 +17680,7 @@ func (client AppsClient) GetVnetConnectionGatewayResponder(resp *http.Response) return } -// GetVnetConnectionGatewaySlot description for Gets an app's Virtual Network gateway. +// GetVnetConnectionGatewaySlot gets an app's Virtual Network gateway. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -17805,7 +17771,7 @@ func (client AppsClient) GetVnetConnectionGatewaySlotResponder(resp *http.Respon return } -// GetVnetConnectionSlot description for Gets a virtual network the app (or deployment slot) is connected to by name. +// GetVnetConnectionSlot gets a virtual network the app (or deployment slot) is connected to by name. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -17894,7 +17860,7 @@ func (client AppsClient) GetVnetConnectionSlotResponder(resp *http.Response) (re return } -// GetWebJob description for Get webjob information for an app, or a deployment slot. +// GetWebJob get webjob information for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -17980,7 +17946,7 @@ func (client AppsClient) GetWebJobResponder(resp *http.Response) (result Job, er return } -// GetWebJobSlot description for Get webjob information for an app, or a deployment slot. +// GetWebJobSlot get webjob information for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -18069,7 +18035,7 @@ func (client AppsClient) GetWebJobSlotResponder(resp *http.Response) (result Job return } -// GetWebSiteContainerLogs description for Gets the last lines of docker logs for the given site +// GetWebSiteContainerLogs gets the last lines of docker logs for the given site // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -18152,7 +18118,7 @@ func (client AppsClient) GetWebSiteContainerLogsResponder(resp *http.Response) ( return } -// GetWebSiteContainerLogsSlot description for Gets the last lines of docker logs for the given site +// GetWebSiteContainerLogsSlot gets the last lines of docker logs for the given site // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -18237,7 +18203,7 @@ func (client AppsClient) GetWebSiteContainerLogsSlotResponder(resp *http.Respons return } -// InstallSiteExtension description for Install site extension on a web site, or a deployment slot. +// InstallSiteExtension install site extension on a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -18326,7 +18292,7 @@ func (client AppsClient) InstallSiteExtensionResponder(resp *http.Response) (res return } -// InstallSiteExtensionSlot description for Install site extension on a web site, or a deployment slot. +// InstallSiteExtensionSlot install site extension on a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -18417,7 +18383,7 @@ func (client AppsClient) InstallSiteExtensionSlotResponder(resp *http.Response) return } -// IsCloneable description for Shows whether an app can be cloned to another resource group or subscription. +// IsCloneable shows whether an app can be cloned to another resource group or subscription. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -18501,7 +18467,7 @@ func (client AppsClient) IsCloneableResponder(resp *http.Response) (result SiteC return } -// IsCloneableSlot description for Shows whether an app can be cloned to another resource group or subscription. +// IsCloneableSlot shows whether an app can be cloned to another resource group or subscription. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -18587,7 +18553,7 @@ func (client AppsClient) IsCloneableSlotResponder(resp *http.Response) (result S return } -// List description for Get all apps for a subscription. +// List get all apps for a subscription. func (client AppsClient) List(ctx context.Context) (result AppCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/AppsClient.List") @@ -18700,7 +18666,7 @@ func (client AppsClient) ListComplete(ctx context.Context) (result AppCollection return } -// ListApplicationSettings description for Gets the application settings of an app. +// ListApplicationSettings gets the application settings of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -18784,7 +18750,7 @@ func (client AppsClient) ListApplicationSettingsResponder(resp *http.Response) ( return } -// ListApplicationSettingsSlot description for Gets the application settings of an app. +// ListApplicationSettingsSlot gets the application settings of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -18871,7 +18837,7 @@ func (client AppsClient) ListApplicationSettingsSlotResponder(resp *http.Respons return } -// ListAzureStorageAccounts description for Gets the Azure storage account configurations of an app. +// ListAzureStorageAccounts gets the Azure storage account configurations of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -18955,7 +18921,7 @@ func (client AppsClient) ListAzureStorageAccountsResponder(resp *http.Response) return } -// ListAzureStorageAccountsSlot description for Gets the Azure storage account configurations of an app. +// ListAzureStorageAccountsSlot gets the Azure storage account configurations of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -19042,7 +19008,7 @@ func (client AppsClient) ListAzureStorageAccountsSlotResponder(resp *http.Respon return } -// ListBackups description for Gets existing backups of an app. +// ListBackups gets existing backups of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -19168,7 +19134,7 @@ func (client AppsClient) ListBackupsComplete(ctx context.Context, resourceGroupN return } -// ListBackupsSlot description for Gets existing backups of an app. +// ListBackupsSlot gets existing backups of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -19297,9 +19263,9 @@ func (client AppsClient) ListBackupsSlotComplete(ctx context.Context, resourceGr return } -// ListBackupStatusSecrets description for Gets status of a web app backup that may be in progress, including secrets -// associated with the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup -// if a new URL is passed in the request body. +// ListBackupStatusSecrets gets status of a web app backup that may be in progress, including secrets associated with +// the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup if a new URL is +// passed in the request body. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -19397,9 +19363,9 @@ func (client AppsClient) ListBackupStatusSecretsResponder(resp *http.Response) ( return } -// ListBackupStatusSecretsSlot description for Gets status of a web app backup that may be in progress, including -// secrets associated with the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for -// the backup if a new URL is passed in the request body. +// ListBackupStatusSecretsSlot gets status of a web app backup that may be in progress, including secrets associated +// with the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup if a new +// URL is passed in the request body. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -19499,7 +19465,7 @@ func (client AppsClient) ListBackupStatusSecretsSlotResponder(resp *http.Respons return } -// ListByResourceGroup description for Gets all web, mobile, and API apps in the specified resource group. +// ListByResourceGroup gets all web, mobile, and API apps in the specified resource group. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // includeSlots - specify true to include deployment slots in results. The default is false, @@ -19628,7 +19594,7 @@ func (client AppsClient) ListByResourceGroupComplete(ctx context.Context, resour return } -// ListConfigurations description for List the configurations of an app +// ListConfigurations list the configurations of an app // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -19754,8 +19720,8 @@ func (client AppsClient) ListConfigurationsComplete(ctx context.Context, resourc return } -// ListConfigurationSnapshotInfo description for Gets a list of web app configuration snapshots identifiers. Each -// element of the list contains a timestamp and the ID of the snapshot. +// ListConfigurationSnapshotInfo gets a list of web app configuration snapshots identifiers. Each element of the list +// contains a timestamp and the ID of the snapshot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -19881,8 +19847,8 @@ func (client AppsClient) ListConfigurationSnapshotInfoComplete(ctx context.Conte return } -// ListConfigurationSnapshotInfoSlot description for Gets a list of web app configuration snapshots identifiers. Each -// element of the list contains a timestamp and the ID of the snapshot. +// ListConfigurationSnapshotInfoSlot gets a list of web app configuration snapshots identifiers. Each element of the +// list contains a timestamp and the ID of the snapshot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -20011,7 +19977,7 @@ func (client AppsClient) ListConfigurationSnapshotInfoSlotComplete(ctx context.C return } -// ListConfigurationsSlot description for List the configurations of an app +// ListConfigurationsSlot list the configurations of an app // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -20140,7 +20106,7 @@ func (client AppsClient) ListConfigurationsSlotComplete(ctx context.Context, res return } -// ListConnectionStrings description for Gets the connection strings of an app. +// ListConnectionStrings gets the connection strings of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -20224,7 +20190,7 @@ func (client AppsClient) ListConnectionStringsResponder(resp *http.Response) (re return } -// ListConnectionStringsSlot description for Gets the connection strings of an app. +// ListConnectionStringsSlot gets the connection strings of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -20311,7 +20277,7 @@ func (client AppsClient) ListConnectionStringsSlotResponder(resp *http.Response) return } -// ListContinuousWebJobs description for List continuous web jobs for an app, or a deployment slot. +// ListContinuousWebJobs list continuous web jobs for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -20437,7 +20403,7 @@ func (client AppsClient) ListContinuousWebJobsComplete(ctx context.Context, reso return } -// ListContinuousWebJobsSlot description for List continuous web jobs for an app, or a deployment slot. +// ListContinuousWebJobsSlot list continuous web jobs for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -20566,7 +20532,7 @@ func (client AppsClient) ListContinuousWebJobsSlotComplete(ctx context.Context, return } -// ListDeploymentLog description for List deployment log for specific deployment for an app, or a deployment slot. +// ListDeploymentLog list deployment log for specific deployment for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -20653,7 +20619,7 @@ func (client AppsClient) ListDeploymentLogResponder(resp *http.Response) (result return } -// ListDeploymentLogSlot description for List deployment log for specific deployment for an app, or a deployment slot. +// ListDeploymentLogSlot list deployment log for specific deployment for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -20743,7 +20709,7 @@ func (client AppsClient) ListDeploymentLogSlotResponder(resp *http.Response) (re return } -// ListDeployments description for List deployments for an app, or a deployment slot. +// ListDeployments list deployments for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -20869,7 +20835,7 @@ func (client AppsClient) ListDeploymentsComplete(ctx context.Context, resourceGr return } -// ListDeploymentsSlot description for List deployments for an app, or a deployment slot. +// ListDeploymentsSlot list deployments for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -20998,7 +20964,7 @@ func (client AppsClient) ListDeploymentsSlotComplete(ctx context.Context, resour return } -// ListDomainOwnershipIdentifiers description for Lists ownership identifiers for domain associated with web app. +// ListDomainOwnershipIdentifiers lists ownership identifiers for domain associated with web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -21124,7 +21090,7 @@ func (client AppsClient) ListDomainOwnershipIdentifiersComplete(ctx context.Cont return } -// ListDomainOwnershipIdentifiersSlot description for Lists ownership identifiers for domain associated with web app. +// ListDomainOwnershipIdentifiersSlot lists ownership identifiers for domain associated with web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -21253,7 +21219,7 @@ func (client AppsClient) ListDomainOwnershipIdentifiersSlotComplete(ctx context. return } -// ListFunctionKeys description for Get function keys for a function in a web site, or a deployment slot. +// ListFunctionKeys get function keys for a function in a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -21339,7 +21305,7 @@ func (client AppsClient) ListFunctionKeysResponder(resp *http.Response) (result return } -// ListFunctionKeysSlot description for Get function keys for a function in a web site, or a deployment slot. +// ListFunctionKeysSlot get function keys for a function in a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -21427,7 +21393,7 @@ func (client AppsClient) ListFunctionKeysSlotResponder(resp *http.Response) (res return } -// ListFunctions description for List the functions for a web site, or a deployment slot. +// ListFunctions list the functions for a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -21553,7 +21519,7 @@ func (client AppsClient) ListFunctionsComplete(ctx context.Context, resourceGrou return } -// ListFunctionSecrets description for Get function secrets for a function in a web site, or a deployment slot. +// ListFunctionSecrets get function secrets for a function in a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -21639,7 +21605,7 @@ func (client AppsClient) ListFunctionSecretsResponder(resp *http.Response) (resu return } -// ListFunctionSecretsSlot description for Get function secrets for a function in a web site, or a deployment slot. +// ListFunctionSecretsSlot get function secrets for a function in a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -21727,7 +21693,7 @@ func (client AppsClient) ListFunctionSecretsSlotResponder(resp *http.Response) ( return } -// ListHostKeys description for Get host secrets for a function app. +// ListHostKeys get host secrets for a function app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -21811,7 +21777,7 @@ func (client AppsClient) ListHostKeysResponder(resp *http.Response) (result Host return } -// ListHostKeysSlot description for Get host secrets for a function app. +// ListHostKeysSlot get host secrets for a function app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -21897,7 +21863,7 @@ func (client AppsClient) ListHostKeysSlotResponder(resp *http.Response) (result return } -// ListHostNameBindings description for Get hostname bindings for an app or a deployment slot. +// ListHostNameBindings get hostname bindings for an app or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -22023,7 +21989,7 @@ func (client AppsClient) ListHostNameBindingsComplete(ctx context.Context, resou return } -// ListHostNameBindingsSlot description for Get hostname bindings for an app or a deployment slot. +// ListHostNameBindingsSlot get hostname bindings for an app or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -22152,7 +22118,7 @@ func (client AppsClient) ListHostNameBindingsSlotComplete(ctx context.Context, r return } -// ListHybridConnections description for Retrieves all Service Bus Hybrid Connections used by this Web App. +// ListHybridConnections retrieves all Service Bus Hybrid Connections used by this Web App. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -22236,7 +22202,7 @@ func (client AppsClient) ListHybridConnectionsResponder(resp *http.Response) (re return } -// ListHybridConnectionsSlot description for Retrieves all Service Bus Hybrid Connections used by this Web App. +// ListHybridConnectionsSlot retrieves all Service Bus Hybrid Connections used by this Web App. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -22322,7 +22288,7 @@ func (client AppsClient) ListHybridConnectionsSlotResponder(resp *http.Response) return } -// ListInstanceFunctionsSlot description for List the functions for a web site, or a deployment slot. +// ListInstanceFunctionsSlot list the functions for a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -22450,7 +22416,7 @@ func (client AppsClient) ListInstanceFunctionsSlotComplete(ctx context.Context, return } -// ListInstanceIdentifiers description for Gets all scale-out instances of an app. +// ListInstanceIdentifiers gets all scale-out instances of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -22576,7 +22542,7 @@ func (client AppsClient) ListInstanceIdentifiersComplete(ctx context.Context, re return } -// ListInstanceIdentifiersSlot description for Gets all scale-out instances of an app. +// ListInstanceIdentifiersSlot gets all scale-out instances of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -22704,8 +22670,8 @@ func (client AppsClient) ListInstanceIdentifiersSlotComplete(ctx context.Context return } -// ListInstanceProcesses description for Get list of processes for a web site, or a deployment slot, or for a specific -// scaled-out instance in a web site. +// ListInstanceProcesses get list of processes for a web site, or a deployment slot, or for a specific scaled-out +// instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -22834,8 +22800,8 @@ func (client AppsClient) ListInstanceProcessesComplete(ctx context.Context, reso return } -// ListInstanceProcessesSlot description for Get list of processes for a web site, or a deployment slot, or for a -// specific scaled-out instance in a web site. +// ListInstanceProcessesSlot get list of processes for a web site, or a deployment slot, or for a specific scaled-out +// instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -22967,8 +22933,8 @@ func (client AppsClient) ListInstanceProcessesSlotComplete(ctx context.Context, return } -// ListInstanceProcessModules description for List module information for a process by its ID for a specific scaled-out -// instance in a web site. +// ListInstanceProcessModules list module information for a process by its ID for a specific scaled-out instance in a +// web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -23099,8 +23065,8 @@ func (client AppsClient) ListInstanceProcessModulesComplete(ctx context.Context, return } -// ListInstanceProcessModulesSlot description for List module information for a process by its ID for a specific -// scaled-out instance in a web site. +// ListInstanceProcessModulesSlot list module information for a process by its ID for a specific scaled-out instance in +// a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -23234,8 +23200,7 @@ func (client AppsClient) ListInstanceProcessModulesSlotComplete(ctx context.Cont return } -// ListInstanceProcessThreads description for List the threads in a process by its ID for a specific scaled-out -// instance in a web site. +// ListInstanceProcessThreads list the threads in a process by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -23366,8 +23331,8 @@ func (client AppsClient) ListInstanceProcessThreadsComplete(ctx context.Context, return } -// ListInstanceProcessThreadsSlot description for List the threads in a process by its ID for a specific scaled-out -// instance in a web site. +// ListInstanceProcessThreadsSlot list the threads in a process by its ID for a specific scaled-out instance in a web +// site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -23501,7 +23466,7 @@ func (client AppsClient) ListInstanceProcessThreadsSlotComplete(ctx context.Cont return } -// ListMetadata description for Gets the metadata of an app. +// ListMetadata gets the metadata of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -23585,7 +23550,7 @@ func (client AppsClient) ListMetadataResponder(resp *http.Response) (result Stri return } -// ListMetadataSlot description for Gets the metadata of an app. +// ListMetadataSlot gets the metadata of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -23672,7 +23637,7 @@ func (client AppsClient) ListMetadataSlotResponder(resp *http.Response) (result return } -// ListNetworkFeatures description for Gets all network features used by the app (or deployment slot, if specified). +// ListNetworkFeatures gets all network features used by the app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -23758,8 +23723,7 @@ func (client AppsClient) ListNetworkFeaturesResponder(resp *http.Response) (resu return } -// ListNetworkFeaturesSlot description for Gets all network features used by the app (or deployment slot, if -// specified). +// ListNetworkFeaturesSlot gets all network features used by the app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -23848,7 +23812,7 @@ func (client AppsClient) ListNetworkFeaturesSlotResponder(resp *http.Response) ( return } -// ListPerfMonCounters description for Gets perfmon counters for web app. +// ListPerfMonCounters gets perfmon counters for web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -23980,7 +23944,7 @@ func (client AppsClient) ListPerfMonCountersComplete(ctx context.Context, resour return } -// ListPerfMonCountersSlot description for Gets perfmon counters for web app. +// ListPerfMonCountersSlot gets perfmon counters for web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -24114,7 +24078,7 @@ func (client AppsClient) ListPerfMonCountersSlotComplete(ctx context.Context, re return } -// ListPremierAddOns description for Gets the premier add-ons of an app. +// ListPremierAddOns gets the premier add-ons of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -24198,7 +24162,7 @@ func (client AppsClient) ListPremierAddOnsResponder(resp *http.Response) (result return } -// ListPremierAddOnsSlot description for Gets the premier add-ons of an app. +// ListPremierAddOnsSlot gets the premier add-ons of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -24285,8 +24249,8 @@ func (client AppsClient) ListPremierAddOnsSlotResponder(resp *http.Response) (re return } -// ListProcesses description for Get list of processes for a web site, or a deployment slot, or for a specific -// scaled-out instance in a web site. +// ListProcesses get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a +// web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -24412,8 +24376,8 @@ func (client AppsClient) ListProcessesComplete(ctx context.Context, resourceGrou return } -// ListProcessesSlot description for Get list of processes for a web site, or a deployment slot, or for a specific -// scaled-out instance in a web site. +// ListProcessesSlot get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance +// in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -24542,8 +24506,7 @@ func (client AppsClient) ListProcessesSlotComplete(ctx context.Context, resource return } -// ListProcessModules description for List module information for a process by its ID for a specific scaled-out -// instance in a web site. +// ListProcessModules list module information for a process by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -24671,8 +24634,8 @@ func (client AppsClient) ListProcessModulesComplete(ctx context.Context, resourc return } -// ListProcessModulesSlot description for List module information for a process by its ID for a specific scaled-out -// instance in a web site. +// ListProcessModulesSlot list module information for a process by its ID for a specific scaled-out instance in a web +// site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -24803,8 +24766,7 @@ func (client AppsClient) ListProcessModulesSlotComplete(ctx context.Context, res return } -// ListProcessThreads description for List the threads in a process by its ID for a specific scaled-out instance in a -// web site. +// ListProcessThreads list the threads in a process by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -24932,8 +24894,7 @@ func (client AppsClient) ListProcessThreadsComplete(ctx context.Context, resourc return } -// ListProcessThreadsSlot description for List the threads in a process by its ID for a specific scaled-out instance in -// a web site. +// ListProcessThreadsSlot list the threads in a process by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -25064,7 +25025,7 @@ func (client AppsClient) ListProcessThreadsSlotComplete(ctx context.Context, res return } -// ListPublicCertificates description for Get public certificates for an app or a deployment slot. +// ListPublicCertificates get public certificates for an app or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -25190,7 +25151,7 @@ func (client AppsClient) ListPublicCertificatesComplete(ctx context.Context, res return } -// ListPublicCertificatesSlot description for Get public certificates for an app or a deployment slot. +// ListPublicCertificatesSlot get public certificates for an app or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -25319,7 +25280,7 @@ func (client AppsClient) ListPublicCertificatesSlotComplete(ctx context.Context, return } -// ListPublishingCredentials description for Gets the Git/FTP publishing credentials of an app. +// ListPublishingCredentials gets the Git/FTP publishing credentials of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -25406,7 +25367,7 @@ func (client AppsClient) ListPublishingCredentialsResponder(resp *http.Response) return } -// ListPublishingCredentialsSlot description for Gets the Git/FTP publishing credentials of an app. +// ListPublishingCredentialsSlot gets the Git/FTP publishing credentials of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -25496,8 +25457,7 @@ func (client AppsClient) ListPublishingCredentialsSlotResponder(resp *http.Respo return } -// ListPublishingProfileXMLWithSecrets description for Gets the publishing profile for an app (or deployment slot, if -// specified). +// ListPublishingProfileXMLWithSecrets gets the publishing profile for an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -25584,8 +25544,7 @@ func (client AppsClient) ListPublishingProfileXMLWithSecretsResponder(resp *http return } -// ListPublishingProfileXMLWithSecretsSlot description for Gets the publishing profile for an app (or deployment slot, -// if specified). +// ListPublishingProfileXMLWithSecretsSlot gets the publishing profile for an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -25675,8 +25634,7 @@ func (client AppsClient) ListPublishingProfileXMLWithSecretsSlotResponder(resp * return } -// ListRelayServiceConnections description for Gets hybrid connections configured for an app (or deployment slot, if -// specified). +// ListRelayServiceConnections gets hybrid connections configured for an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -25760,8 +25718,7 @@ func (client AppsClient) ListRelayServiceConnectionsResponder(resp *http.Respons return } -// ListRelayServiceConnectionsSlot description for Gets hybrid connections configured for an app (or deployment slot, -// if specified). +// ListRelayServiceConnectionsSlot gets hybrid connections configured for an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -25848,7 +25805,7 @@ func (client AppsClient) ListRelayServiceConnectionsSlotResponder(resp *http.Res return } -// ListSiteBackups description for Gets existing backups of an app. +// ListSiteBackups gets existing backups of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -25974,7 +25931,7 @@ func (client AppsClient) ListSiteBackupsComplete(ctx context.Context, resourceGr return } -// ListSiteBackupsSlot description for Gets existing backups of an app. +// ListSiteBackupsSlot gets existing backups of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -26103,7 +26060,7 @@ func (client AppsClient) ListSiteBackupsSlotComplete(ctx context.Context, resour return } -// ListSiteExtensions description for Get list of siteextensions for a web site, or a deployment slot. +// ListSiteExtensions get list of siteextensions for a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -26229,7 +26186,7 @@ func (client AppsClient) ListSiteExtensionsComplete(ctx context.Context, resourc return } -// ListSiteExtensionsSlot description for Get list of siteextensions for a web site, or a deployment slot. +// ListSiteExtensionsSlot get list of siteextensions for a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -26357,7 +26314,7 @@ func (client AppsClient) ListSiteExtensionsSlotComplete(ctx context.Context, res return } -// ListSitePushSettings description for Gets the Push settings associated with web app. +// ListSitePushSettings gets the Push settings associated with web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -26441,7 +26398,7 @@ func (client AppsClient) ListSitePushSettingsResponder(resp *http.Response) (res return } -// ListSitePushSettingsSlot description for Gets the Push settings associated with web app. +// ListSitePushSettingsSlot gets the Push settings associated with web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -26527,8 +26484,8 @@ func (client AppsClient) ListSitePushSettingsSlotResponder(resp *http.Response) return } -// ListSlotConfigurationNames description for Gets the names of app settings and connection strings that stick to the -// slot (not swapped). +// ListSlotConfigurationNames gets the names of app settings and connection strings that stick to the slot (not +// swapped). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -26612,8 +26569,7 @@ func (client AppsClient) ListSlotConfigurationNamesResponder(resp *http.Response return } -// ListSlotDifferencesFromProduction description for Get the difference in configuration settings between two web app -// slots. +// ListSlotDifferencesFromProduction get the difference in configuration settings between two web app slots. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -26745,7 +26701,7 @@ func (client AppsClient) ListSlotDifferencesFromProductionComplete(ctx context.C return } -// ListSlotDifferencesSlot description for Get the difference in configuration settings between two web app slots. +// ListSlotDifferencesSlot get the difference in configuration settings between two web app slots. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -26879,7 +26835,7 @@ func (client AppsClient) ListSlotDifferencesSlotComplete(ctx context.Context, re return } -// ListSlots description for Gets an app's deployment slots. +// ListSlots gets an app's deployment slots. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -27005,7 +26961,7 @@ func (client AppsClient) ListSlotsComplete(ctx context.Context, resourceGroupNam return } -// ListSnapshots description for Returns all Snapshots to the user. +// ListSnapshots returns all Snapshots to the user. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - website Name. @@ -27131,7 +27087,7 @@ func (client AppsClient) ListSnapshotsComplete(ctx context.Context, resourceGrou return } -// ListSnapshotsFromDRSecondary description for Returns all Snapshots to the user from DRSecondary endpoint. +// ListSnapshotsFromDRSecondary returns all Snapshots to the user from DRSecondary endpoint. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - website Name. @@ -27257,7 +27213,7 @@ func (client AppsClient) ListSnapshotsFromDRSecondaryComplete(ctx context.Contex return } -// ListSnapshotsFromDRSecondarySlot description for Returns all Snapshots to the user from DRSecondary endpoint. +// ListSnapshotsFromDRSecondarySlot returns all Snapshots to the user from DRSecondary endpoint. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - website Name. @@ -27385,7 +27341,7 @@ func (client AppsClient) ListSnapshotsFromDRSecondarySlotComplete(ctx context.Co return } -// ListSnapshotsSlot description for Returns all Snapshots to the user. +// ListSnapshotsSlot returns all Snapshots to the user. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - website Name. @@ -27513,7 +27469,7 @@ func (client AppsClient) ListSnapshotsSlotComplete(ctx context.Context, resource return } -// ListSyncFunctionTriggers description for This is to allow calling via powershell and ARM template. +// ListSyncFunctionTriggers this is to allow calling via powershell and ARM template. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -27597,7 +27553,7 @@ func (client AppsClient) ListSyncFunctionTriggersResponder(resp *http.Response) return } -// ListSyncFunctionTriggersSlot description for This is to allow calling via powershell and ARM template. +// ListSyncFunctionTriggersSlot this is to allow calling via powershell and ARM template. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -27683,7 +27639,7 @@ func (client AppsClient) ListSyncFunctionTriggersSlotResponder(resp *http.Respon return } -// ListSyncStatus description for This is to allow calling via powershell and ARM template. +// ListSyncStatus this is to allow calling via powershell and ARM template. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -27766,7 +27722,7 @@ func (client AppsClient) ListSyncStatusResponder(resp *http.Response) (result au return } -// ListSyncStatusSlot description for This is to allow calling via powershell and ARM template. +// ListSyncStatusSlot this is to allow calling via powershell and ARM template. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -27851,7 +27807,7 @@ func (client AppsClient) ListSyncStatusSlotResponder(resp *http.Response) (resul return } -// ListTriggeredWebJobHistory description for List a triggered web job's history for an app, or a deployment slot. +// ListTriggeredWebJobHistory list a triggered web job's history for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -27979,7 +27935,7 @@ func (client AppsClient) ListTriggeredWebJobHistoryComplete(ctx context.Context, return } -// ListTriggeredWebJobHistorySlot description for List a triggered web job's history for an app, or a deployment slot. +// ListTriggeredWebJobHistorySlot list a triggered web job's history for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -28109,7 +28065,7 @@ func (client AppsClient) ListTriggeredWebJobHistorySlotComplete(ctx context.Cont return } -// ListTriggeredWebJobs description for List triggered web jobs for an app, or a deployment slot. +// ListTriggeredWebJobs list triggered web jobs for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -28235,7 +28191,7 @@ func (client AppsClient) ListTriggeredWebJobsComplete(ctx context.Context, resou return } -// ListTriggeredWebJobsSlot description for List triggered web jobs for an app, or a deployment slot. +// ListTriggeredWebJobsSlot list triggered web jobs for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -28364,7 +28320,7 @@ func (client AppsClient) ListTriggeredWebJobsSlotComplete(ctx context.Context, r return } -// ListUsages description for Gets the quota usage information of an app (or deployment slot, if specified). +// ListUsages gets the quota usage information of an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -28496,7 +28452,7 @@ func (client AppsClient) ListUsagesComplete(ctx context.Context, resourceGroupNa return } -// ListUsagesSlot description for Gets the quota usage information of an app (or deployment slot, if specified). +// ListUsagesSlot gets the quota usage information of an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -28631,7 +28587,7 @@ func (client AppsClient) ListUsagesSlotComplete(ctx context.Context, resourceGro return } -// ListVnetConnections description for Gets the virtual networks the app (or deployment slot) is connected to. +// ListVnetConnections gets the virtual networks the app (or deployment slot) is connected to. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -28715,7 +28671,7 @@ func (client AppsClient) ListVnetConnectionsResponder(resp *http.Response) (resu return } -// ListVnetConnectionsSlot description for Gets the virtual networks the app (or deployment slot) is connected to. +// ListVnetConnectionsSlot gets the virtual networks the app (or deployment slot) is connected to. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -28802,7 +28758,7 @@ func (client AppsClient) ListVnetConnectionsSlotResponder(resp *http.Response) ( return } -// ListWebJobs description for List webjobs for an app, or a deployment slot. +// ListWebJobs list webjobs for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -28928,7 +28884,7 @@ func (client AppsClient) ListWebJobsComplete(ctx context.Context, resourceGroupN return } -// ListWebJobsSlot description for List webjobs for an app, or a deployment slot. +// ListWebJobsSlot list webjobs for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -29057,7 +29013,7 @@ func (client AppsClient) ListWebJobsSlotComplete(ctx context.Context, resourceGr return } -// MigrateMySQL description for Migrates a local (in-app) MySql database to a remote MySql database. +// MigrateMySQL migrates a local (in-app) MySql database to a remote MySql database. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -29150,7 +29106,7 @@ func (client AppsClient) MigrateMySQLResponder(resp *http.Response) (result Oper return } -// MigrateStorage description for Restores a web app. +// MigrateStorage restores a web app. // Parameters: // subscriptionName - azure subscription. // resourceGroupName - name of the resource group to which the resource belongs. @@ -29247,8 +29203,8 @@ func (client AppsClient) MigrateStorageResponder(resp *http.Response) (result St return } -// PutPrivateAccessVnet description for Sets data around private site access enablement and authorized Virtual Networks -// that can access the site. +// PutPrivateAccessVnet sets data around private site access enablement and authorized Virtual Networks that can access +// the site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -29335,8 +29291,8 @@ func (client AppsClient) PutPrivateAccessVnetResponder(resp *http.Response) (res return } -// PutPrivateAccessVnetSlot description for Sets data around private site access enablement and authorized Virtual -// Networks that can access the site. +// PutPrivateAccessVnetSlot sets data around private site access enablement and authorized Virtual Networks that can +// access the site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -29425,7 +29381,7 @@ func (client AppsClient) PutPrivateAccessVnetSlotResponder(resp *http.Response) return } -// RecoverSiteConfigurationSnapshot description for Reverts the configuration of an app to a previous snapshot. +// RecoverSiteConfigurationSnapshot reverts the configuration of an app to a previous snapshot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -29510,7 +29466,7 @@ func (client AppsClient) RecoverSiteConfigurationSnapshotResponder(resp *http.Re return } -// RecoverSiteConfigurationSnapshotSlot description for Reverts the configuration of an app to a previous snapshot. +// RecoverSiteConfigurationSnapshotSlot reverts the configuration of an app to a previous snapshot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -29598,8 +29554,8 @@ func (client AppsClient) RecoverSiteConfigurationSnapshotSlotResponder(resp *htt return } -// ResetProductionSlotConfig description for Resets the configuration settings of the current slot if they were -// previously modified by calling the API with POST. +// ResetProductionSlotConfig resets the configuration settings of the current slot if they were previously modified by +// calling the API with POST. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -29682,8 +29638,8 @@ func (client AppsClient) ResetProductionSlotConfigResponder(resp *http.Response) return } -// ResetSlotConfigurationSlot description for Resets the configuration settings of the current slot if they were -// previously modified by calling the API with POST. +// ResetSlotConfigurationSlot resets the configuration settings of the current slot if they were previously modified by +// calling the API with POST. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -29769,7 +29725,7 @@ func (client AppsClient) ResetSlotConfigurationSlotResponder(resp *http.Response return } -// Restart description for Restarts an app (or deployment slot, if specified). +// Restart restarts an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -29862,7 +29818,7 @@ func (client AppsClient) RestartResponder(resp *http.Response) (result autorest. return } -// RestartSlot description for Restarts an app (or deployment slot, if specified). +// RestartSlot restarts an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -29957,7 +29913,7 @@ func (client AppsClient) RestartSlotResponder(resp *http.Response) (result autor return } -// Restore description for Restores a specific backup to another app (or deployment slot, if specified). +// Restore restores a specific backup to another app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -30053,7 +30009,7 @@ func (client AppsClient) RestoreResponder(resp *http.Response) (result autorest. return } -// RestoreFromBackupBlob description for Restores an app from a backup blob in Azure Storage. +// RestoreFromBackupBlob restores an app from a backup blob in Azure Storage. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -30147,7 +30103,7 @@ func (client AppsClient) RestoreFromBackupBlobResponder(resp *http.Response) (re return } -// RestoreFromBackupBlobSlot description for Restores an app from a backup blob in Azure Storage. +// RestoreFromBackupBlobSlot restores an app from a backup blob in Azure Storage. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -30244,7 +30200,7 @@ func (client AppsClient) RestoreFromBackupBlobSlotResponder(resp *http.Response) return } -// RestoreFromDeletedApp description for Restores a deleted web app to this web app. +// RestoreFromDeletedApp restores a deleted web app to this web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -30333,7 +30289,7 @@ func (client AppsClient) RestoreFromDeletedAppResponder(resp *http.Response) (re return } -// RestoreFromDeletedAppSlot description for Restores a deleted web app to this web app. +// RestoreFromDeletedAppSlot restores a deleted web app to this web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -30424,7 +30380,7 @@ func (client AppsClient) RestoreFromDeletedAppSlotResponder(resp *http.Response) return } -// RestoreSlot description for Restores a specific backup to another app (or deployment slot, if specified). +// RestoreSlot restores a specific backup to another app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -30523,7 +30479,7 @@ func (client AppsClient) RestoreSlotResponder(resp *http.Response) (result autor return } -// RestoreSnapshot description for Restores a web app from a snapshot. +// RestoreSnapshot restores a web app from a snapshot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -30616,7 +30572,7 @@ func (client AppsClient) RestoreSnapshotResponder(resp *http.Response) (result a return } -// RestoreSnapshotSlot description for Restores a web app from a snapshot. +// RestoreSnapshotSlot restores a web app from a snapshot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -30711,7 +30667,7 @@ func (client AppsClient) RestoreSnapshotSlotResponder(resp *http.Response) (resu return } -// RunTriggeredWebJob description for Run a triggered web job for an app, or a deployment slot. +// RunTriggeredWebJob run a triggered web job for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -30796,7 +30752,7 @@ func (client AppsClient) RunTriggeredWebJobResponder(resp *http.Response) (resul return } -// RunTriggeredWebJobSlot description for Run a triggered web job for an app, or a deployment slot. +// RunTriggeredWebJobSlot run a triggered web job for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -30883,7 +30839,7 @@ func (client AppsClient) RunTriggeredWebJobSlotResponder(resp *http.Response) (r return } -// Start description for Starts an app (or deployment slot, if specified). +// Start starts an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -30966,7 +30922,7 @@ func (client AppsClient) StartResponder(resp *http.Response) (result autorest.Re return } -// StartContinuousWebJob description for Start a continuous web job for an app, or a deployment slot. +// StartContinuousWebJob start a continuous web job for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -31051,7 +31007,7 @@ func (client AppsClient) StartContinuousWebJobResponder(resp *http.Response) (re return } -// StartContinuousWebJobSlot description for Start a continuous web job for an app, or a deployment slot. +// StartContinuousWebJobSlot start a continuous web job for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -31139,7 +31095,7 @@ func (client AppsClient) StartContinuousWebJobSlotResponder(resp *http.Response) return } -// StartNetworkTrace description for Start capturing network packets for the site. +// StartNetworkTrace start capturing network packets for the site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -31238,7 +31194,7 @@ func (client AppsClient) StartNetworkTraceResponder(resp *http.Response) (result return } -// StartNetworkTraceSlot description for Start capturing network packets for the site. +// StartNetworkTraceSlot start capturing network packets for the site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -31339,7 +31295,7 @@ func (client AppsClient) StartNetworkTraceSlotResponder(resp *http.Response) (re return } -// StartSlot description for Starts an app (or deployment slot, if specified). +// StartSlot starts an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -31424,7 +31380,7 @@ func (client AppsClient) StartSlotResponder(resp *http.Response) (result autores return } -// StartWebSiteNetworkTrace description for Start capturing network packets for the site (To be deprecated). +// StartWebSiteNetworkTrace start capturing network packets for the site (To be deprecated). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -31520,7 +31476,7 @@ func (client AppsClient) StartWebSiteNetworkTraceResponder(resp *http.Response) return } -// StartWebSiteNetworkTraceOperation description for Start capturing network packets for the site. +// StartWebSiteNetworkTraceOperation start capturing network packets for the site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -31619,7 +31575,7 @@ func (client AppsClient) StartWebSiteNetworkTraceOperationResponder(resp *http.R return } -// StartWebSiteNetworkTraceOperationSlot description for Start capturing network packets for the site. +// StartWebSiteNetworkTraceOperationSlot start capturing network packets for the site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -31720,7 +31676,7 @@ func (client AppsClient) StartWebSiteNetworkTraceOperationSlotResponder(resp *ht return } -// StartWebSiteNetworkTraceSlot description for Start capturing network packets for the site (To be deprecated). +// StartWebSiteNetworkTraceSlot start capturing network packets for the site (To be deprecated). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -31818,7 +31774,7 @@ func (client AppsClient) StartWebSiteNetworkTraceSlotResponder(resp *http.Respon return } -// Stop description for Stops an app (or deployment slot, if specified). +// Stop stops an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -31901,7 +31857,7 @@ func (client AppsClient) StopResponder(resp *http.Response) (result autorest.Res return } -// StopContinuousWebJob description for Stop a continuous web job for an app, or a deployment slot. +// StopContinuousWebJob stop a continuous web job for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -31986,7 +31942,7 @@ func (client AppsClient) StopContinuousWebJobResponder(resp *http.Response) (res return } -// StopContinuousWebJobSlot description for Stop a continuous web job for an app, or a deployment slot. +// StopContinuousWebJobSlot stop a continuous web job for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -32074,7 +32030,7 @@ func (client AppsClient) StopContinuousWebJobSlotResponder(resp *http.Response) return } -// StopNetworkTrace description for Stop ongoing capturing network packets for the site. +// StopNetworkTrace stop ongoing capturing network packets for the site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -32157,7 +32113,7 @@ func (client AppsClient) StopNetworkTraceResponder(resp *http.Response) (result return } -// StopNetworkTraceSlot description for Stop ongoing capturing network packets for the site. +// StopNetworkTraceSlot stop ongoing capturing network packets for the site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -32242,7 +32198,7 @@ func (client AppsClient) StopNetworkTraceSlotResponder(resp *http.Response) (res return } -// StopSlot description for Stops an app (or deployment slot, if specified). +// StopSlot stops an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -32327,7 +32283,7 @@ func (client AppsClient) StopSlotResponder(resp *http.Response) (result autorest return } -// StopWebSiteNetworkTrace description for Stop ongoing capturing network packets for the site. +// StopWebSiteNetworkTrace stop ongoing capturing network packets for the site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -32410,7 +32366,7 @@ func (client AppsClient) StopWebSiteNetworkTraceResponder(resp *http.Response) ( return } -// StopWebSiteNetworkTraceSlot description for Stop ongoing capturing network packets for the site. +// StopWebSiteNetworkTraceSlot stop ongoing capturing network packets for the site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -32495,7 +32451,7 @@ func (client AppsClient) StopWebSiteNetworkTraceSlotResponder(resp *http.Respons return } -// SwapSlotSlot description for Swaps two deployment slots of an app. +// SwapSlotSlot swaps two deployment slots of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -32589,7 +32545,7 @@ func (client AppsClient) SwapSlotSlotResponder(resp *http.Response) (result auto return } -// SwapSlotWithProduction description for Swaps two deployment slots of an app. +// SwapSlotWithProduction swaps two deployment slots of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -32681,7 +32637,7 @@ func (client AppsClient) SwapSlotWithProductionResponder(resp *http.Response) (r return } -// SyncFunctions description for Syncs function trigger metadata to the management database +// SyncFunctions syncs function trigger metadata to the management database // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -32764,7 +32720,7 @@ func (client AppsClient) SyncFunctionsResponder(resp *http.Response) (result aut return } -// SyncFunctionsSlot description for Syncs function trigger metadata to the management database +// SyncFunctionsSlot syncs function trigger metadata to the management database // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -32849,7 +32805,7 @@ func (client AppsClient) SyncFunctionsSlotResponder(resp *http.Response) (result return } -// SyncFunctionTriggers description for Syncs function trigger metadata to the management database +// SyncFunctionTriggers syncs function trigger metadata to the management database // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -32932,7 +32888,7 @@ func (client AppsClient) SyncFunctionTriggersResponder(resp *http.Response) (res return } -// SyncFunctionTriggersSlot description for Syncs function trigger metadata to the management database +// SyncFunctionTriggersSlot syncs function trigger metadata to the management database // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -33017,7 +32973,7 @@ func (client AppsClient) SyncFunctionTriggersSlotResponder(resp *http.Response) return } -// SyncRepository description for Sync web app repository. +// SyncRepository sync web app repository. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -33100,7 +33056,7 @@ func (client AppsClient) SyncRepositoryResponder(resp *http.Response) (result au return } -// SyncRepositorySlot description for Sync web app repository. +// SyncRepositorySlot sync web app repository. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -33185,8 +33141,7 @@ func (client AppsClient) SyncRepositorySlotResponder(resp *http.Response) (resul return } -// Update description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing -// app. +// Update creates a new web, mobile, or API app in an existing resource group, or updates an existing app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - unique name of the app to create or update. To create or update a deployment slot, use the {slot} @@ -33274,7 +33229,7 @@ func (client AppsClient) UpdateResponder(resp *http.Response) (result Site, err return } -// UpdateApplicationSettings description for Replaces the application settings of an app. +// UpdateApplicationSettings replaces the application settings of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -33361,7 +33316,7 @@ func (client AppsClient) UpdateApplicationSettingsResponder(resp *http.Response) return } -// UpdateApplicationSettingsSlot description for Replaces the application settings of an app. +// UpdateApplicationSettingsSlot replaces the application settings of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -33451,7 +33406,7 @@ func (client AppsClient) UpdateApplicationSettingsSlotResponder(resp *http.Respo return } -// UpdateAuthSettings description for Updates the Authentication / Authorization settings associated with web app. +// UpdateAuthSettings updates the Authentication / Authorization settings associated with web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -33538,7 +33493,7 @@ func (client AppsClient) UpdateAuthSettingsResponder(resp *http.Response) (resul return } -// UpdateAuthSettingsSlot description for Updates the Authentication / Authorization settings associated with web app. +// UpdateAuthSettingsSlot updates the Authentication / Authorization settings associated with web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -33627,8 +33582,7 @@ func (client AppsClient) UpdateAuthSettingsSlotResponder(resp *http.Response) (r return } -// UpdateAuthSettingsV2 description for Updates site's Authentication / Authorization settings for apps via the V2 -// format +// UpdateAuthSettingsV2 updates site's Authentication / Authorization settings for apps via the V2 format // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -33715,8 +33669,7 @@ func (client AppsClient) UpdateAuthSettingsV2Responder(resp *http.Response) (res return } -// UpdateAuthSettingsV2Slot description for Updates site's Authentication / Authorization settings for apps via the V2 -// format +// UpdateAuthSettingsV2Slot updates site's Authentication / Authorization settings for apps via the V2 format // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -33805,7 +33758,7 @@ func (client AppsClient) UpdateAuthSettingsV2SlotResponder(resp *http.Response) return } -// UpdateAzureStorageAccounts description for Updates the Azure storage account configurations of an app. +// UpdateAzureStorageAccounts updates the Azure storage account configurations of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -33892,7 +33845,7 @@ func (client AppsClient) UpdateAzureStorageAccountsResponder(resp *http.Response return } -// UpdateAzureStorageAccountsSlot description for Updates the Azure storage account configurations of an app. +// UpdateAzureStorageAccountsSlot updates the Azure storage account configurations of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -33982,7 +33935,7 @@ func (client AppsClient) UpdateAzureStorageAccountsSlotResponder(resp *http.Resp return } -// UpdateBackupConfiguration description for Updates the backup configuration of an app. +// UpdateBackupConfiguration updates the backup configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -34078,7 +34031,7 @@ func (client AppsClient) UpdateBackupConfigurationResponder(resp *http.Response) return } -// UpdateBackupConfigurationSlot description for Updates the backup configuration of an app. +// UpdateBackupConfigurationSlot updates the backup configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -34177,7 +34130,7 @@ func (client AppsClient) UpdateBackupConfigurationSlotResponder(resp *http.Respo return } -// UpdateConfiguration description for Updates the configuration of an app. +// UpdateConfiguration updates the configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -34264,7 +34217,7 @@ func (client AppsClient) UpdateConfigurationResponder(resp *http.Response) (resu return } -// UpdateConfigurationSlot description for Updates the configuration of an app. +// UpdateConfigurationSlot updates the configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -34354,7 +34307,7 @@ func (client AppsClient) UpdateConfigurationSlotResponder(resp *http.Response) ( return } -// UpdateConnectionStrings description for Replaces the connection strings of an app. +// UpdateConnectionStrings replaces the connection strings of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -34441,7 +34394,7 @@ func (client AppsClient) UpdateConnectionStringsResponder(resp *http.Response) ( return } -// UpdateConnectionStringsSlot description for Replaces the connection strings of an app. +// UpdateConnectionStringsSlot replaces the connection strings of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -34531,7 +34484,7 @@ func (client AppsClient) UpdateConnectionStringsSlotResponder(resp *http.Respons return } -// UpdateDiagnosticLogsConfig description for Updates the logging configuration of an app. +// UpdateDiagnosticLogsConfig updates the logging configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -34634,7 +34587,7 @@ func (client AppsClient) UpdateDiagnosticLogsConfigResponder(resp *http.Response return } -// UpdateDiagnosticLogsConfigSlot description for Updates the logging configuration of an app. +// UpdateDiagnosticLogsConfigSlot updates the logging configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -34740,8 +34693,8 @@ func (client AppsClient) UpdateDiagnosticLogsConfigSlotResponder(resp *http.Resp return } -// UpdateDomainOwnershipIdentifier description for Creates a domain ownership identifier for web app, or updates an -// existing ownership identifier. +// UpdateDomainOwnershipIdentifier creates a domain ownership identifier for web app, or updates an existing ownership +// identifier. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -34830,8 +34783,8 @@ func (client AppsClient) UpdateDomainOwnershipIdentifierResponder(resp *http.Res return } -// UpdateDomainOwnershipIdentifierSlot description for Creates a domain ownership identifier for web app, or updates an -// existing ownership identifier. +// UpdateDomainOwnershipIdentifierSlot creates a domain ownership identifier for web app, or updates an existing +// ownership identifier. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -34923,7 +34876,7 @@ func (client AppsClient) UpdateDomainOwnershipIdentifierSlotResponder(resp *http return } -// UpdateFtpAllowed description for Updates whether FTP is allowed on the site or not. +// UpdateFtpAllowed updates whether FTP is allowed on the site or not. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -35012,7 +34965,7 @@ func (client AppsClient) UpdateFtpAllowedResponder(resp *http.Response) (result return } -// UpdateFtpAllowedSlot description for Updates whether FTP is allowed on the site or not. +// UpdateFtpAllowedSlot updates whether FTP is allowed on the site or not. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -35102,7 +35055,7 @@ func (client AppsClient) UpdateFtpAllowedSlotResponder(resp *http.Response) (res return } -// UpdateHybridConnection description for Creates a new Hybrid Connection using a Service Bus relay. +// UpdateHybridConnection creates a new Hybrid Connection using a Service Bus relay. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -35193,7 +35146,7 @@ func (client AppsClient) UpdateHybridConnectionResponder(resp *http.Response) (r return } -// UpdateHybridConnectionSlot description for Creates a new Hybrid Connection using a Service Bus relay. +// UpdateHybridConnectionSlot creates a new Hybrid Connection using a Service Bus relay. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -35286,7 +35239,7 @@ func (client AppsClient) UpdateHybridConnectionSlotResponder(resp *http.Response return } -// UpdateMetadata description for Replaces the metadata of an app. +// UpdateMetadata replaces the metadata of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -35373,7 +35326,7 @@ func (client AppsClient) UpdateMetadataResponder(resp *http.Response) (result St return } -// UpdateMetadataSlot description for Replaces the metadata of an app. +// UpdateMetadataSlot replaces the metadata of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -35463,7 +35416,7 @@ func (client AppsClient) UpdateMetadataSlotResponder(resp *http.Response) (resul return } -// UpdatePremierAddOn description for Updates a named add-on of an app. +// UpdatePremierAddOn updates a named add-on of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -35552,7 +35505,7 @@ func (client AppsClient) UpdatePremierAddOnResponder(resp *http.Response) (resul return } -// UpdatePremierAddOnSlot description for Updates a named add-on of an app. +// UpdatePremierAddOnSlot updates a named add-on of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -35644,8 +35597,8 @@ func (client AppsClient) UpdatePremierAddOnSlotResponder(resp *http.Response) (r return } -// UpdateRelayServiceConnection description for Creates a new hybrid connection configuration (PUT), or updates an -// existing one (PATCH). +// UpdateRelayServiceConnection creates a new hybrid connection configuration (PUT), or updates an existing one +// (PATCH). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -35734,8 +35687,8 @@ func (client AppsClient) UpdateRelayServiceConnectionResponder(resp *http.Respon return } -// UpdateRelayServiceConnectionSlot description for Creates a new hybrid connection configuration (PUT), or updates an -// existing one (PATCH). +// UpdateRelayServiceConnectionSlot creates a new hybrid connection configuration (PUT), or updates an existing one +// (PATCH). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -35827,7 +35780,7 @@ func (client AppsClient) UpdateRelayServiceConnectionSlotResponder(resp *http.Re return } -// UpdateScmAllowed description for Updates whether user publishing credentials are allowed on the site or not. +// UpdateScmAllowed updates whether user publishing credentials are allowed on the site or not. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -35916,7 +35869,7 @@ func (client AppsClient) UpdateScmAllowedResponder(resp *http.Response) (result return } -// UpdateScmAllowedSlot description for Updates whether user publishing credentials are allowed on the site or not. +// UpdateScmAllowedSlot updates whether user publishing credentials are allowed on the site or not. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -36006,7 +35959,7 @@ func (client AppsClient) UpdateScmAllowedSlotResponder(resp *http.Response) (res return } -// UpdateSitePushSettings description for Updates the Push settings associated with web app. +// UpdateSitePushSettings updates the Push settings associated with web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -36096,7 +36049,7 @@ func (client AppsClient) UpdateSitePushSettingsResponder(resp *http.Response) (r return } -// UpdateSitePushSettingsSlot description for Updates the Push settings associated with web app. +// UpdateSitePushSettingsSlot updates the Push settings associated with web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -36188,15 +36141,13 @@ func (client AppsClient) UpdateSitePushSettingsSlotResponder(resp *http.Response return } -// UpdateSlot description for Creates a new web, mobile, or API app in an existing resource group, or updates an -// existing app. +// UpdateSlot creates a new web, mobile, or API app in an existing resource group, or updates an existing app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - unique name of the app to create or update. To create or update a deployment slot, use the {slot} // parameter. // siteEnvelope - a JSON representation of the app properties. See example. -// slot - name of the deployment slot to create or update. By default, this API attempts to create or modify -// the production slot. +// slot - name of the deployment slot to create or update. The name 'production' is reserved. func (client AppsClient) UpdateSlot(ctx context.Context, resourceGroupName string, name string, siteEnvelope SitePatchResource, slot string) (result Site, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/AppsClient.UpdateSlot") @@ -36280,8 +36231,8 @@ func (client AppsClient) UpdateSlotResponder(resp *http.Response) (result Site, return } -// UpdateSlotConfigurationNames description for Updates the names of application settings and connection string that -// remain with the slot during swap operation. +// UpdateSlotConfigurationNames updates the names of application settings and connection string that remain with the +// slot during swap operation. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -36368,7 +36319,7 @@ func (client AppsClient) UpdateSlotConfigurationNamesResponder(resp *http.Respon return } -// UpdateSourceControl description for Updates the source control configuration of an app. +// UpdateSourceControl updates the source control configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -36455,7 +36406,7 @@ func (client AppsClient) UpdateSourceControlResponder(resp *http.Response) (resu return } -// UpdateSourceControlSlot description for Updates the source control configuration of an app. +// UpdateSourceControlSlot updates the source control configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -36545,8 +36496,8 @@ func (client AppsClient) UpdateSourceControlSlotResponder(resp *http.Response) ( return } -// UpdateVnetConnection description for Adds a Virtual Network connection to an app or slot (PUT) or updates the -// connection properties (PATCH). +// UpdateVnetConnection adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties +// (PATCH). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -36635,8 +36586,7 @@ func (client AppsClient) UpdateVnetConnectionResponder(resp *http.Response) (res return } -// UpdateVnetConnectionGateway description for Adds a gateway to a connected Virtual Network (PUT) or updates it -// (PATCH). +// UpdateVnetConnectionGateway adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -36727,8 +36677,7 @@ func (client AppsClient) UpdateVnetConnectionGatewayResponder(resp *http.Respons return } -// UpdateVnetConnectionGatewaySlot description for Adds a gateway to a connected Virtual Network (PUT) or updates it -// (PATCH). +// UpdateVnetConnectionGatewaySlot adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -36822,8 +36771,8 @@ func (client AppsClient) UpdateVnetConnectionGatewaySlotResponder(resp *http.Res return } -// UpdateVnetConnectionSlot description for Adds a Virtual Network connection to an app or slot (PUT) or updates the -// connection properties (PATCH). +// UpdateVnetConnectionSlot adds a Virtual Network connection to an app or slot (PUT) or updates the connection +// properties (PATCH). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. diff --git a/services/web/mgmt/2020-12-01/web/appservicecertificateorders.go b/services/web/mgmt/2020-12-01/web/appservicecertificateorders.go index 7752862d67e3..26d43225762e 100644 --- a/services/web/mgmt/2020-12-01/web/appservicecertificateorders.go +++ b/services/web/mgmt/2020-12-01/web/appservicecertificateorders.go @@ -32,7 +32,7 @@ func NewAppServiceCertificateOrdersClientWithBaseURI(baseURI string, subscriptio return AppServiceCertificateOrdersClient{NewWithBaseURI(baseURI, subscriptionID)} } -// CreateOrUpdate description for Create or update a certificate purchase order. +// CreateOrUpdate create or update a certificate purchase order. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -122,7 +122,7 @@ func (client AppServiceCertificateOrdersClient) CreateOrUpdateResponder(resp *ht return } -// CreateOrUpdateCertificate description for Creates or updates a certificate and associates with key vault secret. +// CreateOrUpdateCertificate creates or updates a certificate and associates with key vault secret. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -214,7 +214,7 @@ func (client AppServiceCertificateOrdersClient) CreateOrUpdateCertificateRespond return } -// Delete description for Delete an existing certificate order. +// Delete delete an existing certificate order. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -297,7 +297,7 @@ func (client AppServiceCertificateOrdersClient) DeleteResponder(resp *http.Respo return } -// DeleteCertificate description for Delete the certificate associated with a certificate order. +// DeleteCertificate delete the certificate associated with a certificate order. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -382,7 +382,7 @@ func (client AppServiceCertificateOrdersClient) DeleteCertificateResponder(resp return } -// Get description for Get a certificate order. +// Get get a certificate order. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order.. @@ -466,7 +466,7 @@ func (client AppServiceCertificateOrdersClient) GetResponder(resp *http.Response return } -// GetCertificate description for Get the certificate associated with a certificate order. +// GetCertificate get the certificate associated with a certificate order. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -552,7 +552,7 @@ func (client AppServiceCertificateOrdersClient) GetCertificateResponder(resp *ht return } -// List description for List all certificate orders in a subscription. +// List list all certificate orders in a subscription. func (client AppServiceCertificateOrdersClient) List(ctx context.Context) (result AppServiceCertificateOrderCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/AppServiceCertificateOrdersClient.List") @@ -665,7 +665,7 @@ func (client AppServiceCertificateOrdersClient) ListComplete(ctx context.Context return } -// ListByResourceGroup description for Get certificate orders in a resource group. +// ListByResourceGroup get certificate orders in a resource group. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. func (client AppServiceCertificateOrdersClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result AppServiceCertificateOrderCollectionPage, err error) { @@ -789,7 +789,7 @@ func (client AppServiceCertificateOrdersClient) ListByResourceGroupComplete(ctx return } -// ListCertificates description for List all certificates associated with a certificate order. +// ListCertificates list all certificates associated with a certificate order. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -915,7 +915,7 @@ func (client AppServiceCertificateOrdersClient) ListCertificatesComplete(ctx con return } -// Reissue description for Reissue an existing certificate order. +// Reissue reissue an existing certificate order. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -1001,7 +1001,7 @@ func (client AppServiceCertificateOrdersClient) ReissueResponder(resp *http.Resp return } -// Renew description for Renew an existing certificate order. +// Renew renew an existing certificate order. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -1087,7 +1087,7 @@ func (client AppServiceCertificateOrdersClient) RenewResponder(resp *http.Respon return } -// ResendEmail description for Resend certificate email. +// ResendEmail resend certificate email. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -1170,7 +1170,7 @@ func (client AppServiceCertificateOrdersClient) ResendEmailResponder(resp *http. return } -// ResendRequestEmails description for Verify domain ownership for this certificate order. +// ResendRequestEmails verify domain ownership for this certificate order. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -1256,7 +1256,7 @@ func (client AppServiceCertificateOrdersClient) ResendRequestEmailsResponder(res return } -// RetrieveCertificateActions description for Retrieve the list of certificate actions. +// RetrieveCertificateActions retrieve the list of certificate actions. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the certificate order. @@ -1340,7 +1340,7 @@ func (client AppServiceCertificateOrdersClient) RetrieveCertificateActionsRespon return } -// RetrieveCertificateEmailHistory description for Retrieve email history. +// RetrieveCertificateEmailHistory retrieve email history. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the certificate order. @@ -1424,7 +1424,7 @@ func (client AppServiceCertificateOrdersClient) RetrieveCertificateEmailHistoryR return } -// RetrieveSiteSeal description for Verify domain ownership for this certificate order. +// RetrieveSiteSeal verify domain ownership for this certificate order. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -1511,7 +1511,7 @@ func (client AppServiceCertificateOrdersClient) RetrieveSiteSealResponder(resp * return } -// Update description for Create or update a certificate purchase order. +// Update create or update a certificate purchase order. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -1598,7 +1598,7 @@ func (client AppServiceCertificateOrdersClient) UpdateResponder(resp *http.Respo return } -// UpdateCertificate description for Creates or updates a certificate and associates with key vault secret. +// UpdateCertificate creates or updates a certificate and associates with key vault secret. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -1687,7 +1687,7 @@ func (client AppServiceCertificateOrdersClient) UpdateCertificateResponder(resp return } -// ValidatePurchaseInformation description for Validate information for a certificate order. +// ValidatePurchaseInformation validate information for a certificate order. // Parameters: // appServiceCertificateOrder - information for a certificate order. func (client AppServiceCertificateOrdersClient) ValidatePurchaseInformation(ctx context.Context, appServiceCertificateOrder AppServiceCertificateOrder) (result autorest.Response, err error) { @@ -1761,7 +1761,7 @@ func (client AppServiceCertificateOrdersClient) ValidatePurchaseInformationRespo return } -// VerifyDomainOwnership description for Verify domain ownership for this certificate order. +// VerifyDomainOwnership verify domain ownership for this certificate order. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. diff --git a/services/web/mgmt/2020-12-01/web/appserviceenvironments.go b/services/web/mgmt/2020-12-01/web/appserviceenvironments.go index 514b2df25da8..1f988f9518c7 100644 --- a/services/web/mgmt/2020-12-01/web/appserviceenvironments.go +++ b/services/web/mgmt/2020-12-01/web/appserviceenvironments.go @@ -32,7 +32,7 @@ func NewAppServiceEnvironmentsClientWithBaseURI(baseURI string, subscriptionID s return AppServiceEnvironmentsClient{NewWithBaseURI(baseURI, subscriptionID)} } -// ApproveOrRejectPrivateEndpointConnection description for Approves or rejects a private endpoint connection +// ApproveOrRejectPrivateEndpointConnection approves or rejects a private endpoint connection // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -122,7 +122,7 @@ func (client AppServiceEnvironmentsClient) ApproveOrRejectPrivateEndpointConnect return } -// ChangeVnet description for Move an App Service Environment to a different VNET. +// ChangeVnet move an App Service Environment to a different VNET. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -257,7 +257,7 @@ func (client AppServiceEnvironmentsClient) ChangeVnetComplete(ctx context.Contex return } -// CreateOrUpdate description for Create or update an App Service Environment. +// CreateOrUpdate create or update an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -352,7 +352,7 @@ func (client AppServiceEnvironmentsClient) CreateOrUpdateResponder(resp *http.Re return } -// CreateOrUpdateMultiRolePool description for Create or update a multi-role pool. +// CreateOrUpdateMultiRolePool create or update a multi-role pool. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -442,7 +442,7 @@ func (client AppServiceEnvironmentsClient) CreateOrUpdateMultiRolePoolResponder( return } -// CreateOrUpdateWorkerPool description for Create or update a worker pool. +// CreateOrUpdateWorkerPool create or update a worker pool. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -534,7 +534,7 @@ func (client AppServiceEnvironmentsClient) CreateOrUpdateWorkerPoolResponder(res return } -// Delete description for Delete an App Service Environment. +// Delete delete an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -625,7 +625,7 @@ func (client AppServiceEnvironmentsClient) DeleteResponder(resp *http.Response) return } -// DeletePrivateEndpointConnection description for Deletes a private endpoint connection +// DeletePrivateEndpointConnection deletes a private endpoint connection // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -713,7 +713,7 @@ func (client AppServiceEnvironmentsClient) DeletePrivateEndpointConnectionRespon return } -// Get description for Get the properties of an App Service Environment. +// Get get the properties of an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -797,7 +797,7 @@ func (client AppServiceEnvironmentsClient) GetResponder(resp *http.Response) (re return } -// GetAseV3NetworkingConfiguration description for Get networking configuration of an App Service Environment +// GetAseV3NetworkingConfiguration get networking configuration of an App Service Environment // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -881,7 +881,7 @@ func (client AppServiceEnvironmentsClient) GetAseV3NetworkingConfigurationRespon return } -// GetDiagnosticsItem description for Get a diagnostics item for an App Service Environment. +// GetDiagnosticsItem get a diagnostics item for an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -967,8 +967,8 @@ func (client AppServiceEnvironmentsClient) GetDiagnosticsItemResponder(resp *htt return } -// GetInboundNetworkDependenciesEndpoints description for Get the network endpoints of all inbound dependencies of an -// App Service Environment. +// GetInboundNetworkDependenciesEndpoints get the network endpoints of all inbound dependencies of an App Service +// Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -1094,7 +1094,7 @@ func (client AppServiceEnvironmentsClient) GetInboundNetworkDependenciesEndpoint return } -// GetMultiRolePool description for Get properties of a multi-role pool. +// GetMultiRolePool get properties of a multi-role pool. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -1178,8 +1178,8 @@ func (client AppServiceEnvironmentsClient) GetMultiRolePoolResponder(resp *http. return } -// GetOutboundNetworkDependenciesEndpoints description for Get the network endpoints of all outbound dependencies of an -// App Service Environment. +// GetOutboundNetworkDependenciesEndpoints get the network endpoints of all outbound dependencies of an App Service +// Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -1305,7 +1305,7 @@ func (client AppServiceEnvironmentsClient) GetOutboundNetworkDependenciesEndpoin return } -// GetPrivateEndpointConnection description for Gets a private endpoint connection +// GetPrivateEndpointConnection gets a private endpoint connection // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -1391,8 +1391,7 @@ func (client AppServiceEnvironmentsClient) GetPrivateEndpointConnectionResponder return } -// GetPrivateEndpointConnectionList description for Gets the list of private endpoints associated with a hosting -// environment +// GetPrivateEndpointConnectionList gets the list of private endpoints associated with a hosting environment // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -1518,7 +1517,7 @@ func (client AppServiceEnvironmentsClient) GetPrivateEndpointConnectionListCompl return } -// GetPrivateLinkResources description for Gets the private link resources +// GetPrivateLinkResources gets the private link resources // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -1602,7 +1601,7 @@ func (client AppServiceEnvironmentsClient) GetPrivateLinkResourcesResponder(resp return } -// GetVipInfo description for Get IP addresses assigned to an App Service Environment. +// GetVipInfo get IP addresses assigned to an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -1686,7 +1685,7 @@ func (client AppServiceEnvironmentsClient) GetVipInfoResponder(resp *http.Respon return } -// GetWorkerPool description for Get properties of a worker pool. +// GetWorkerPool get properties of a worker pool. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -1772,7 +1771,7 @@ func (client AppServiceEnvironmentsClient) GetWorkerPoolResponder(resp *http.Res return } -// List description for Get all App Service Environments for a subscription. +// List get all App Service Environments for a subscription. func (client AppServiceEnvironmentsClient) List(ctx context.Context) (result AppServiceEnvironmentCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/AppServiceEnvironmentsClient.List") @@ -1885,7 +1884,7 @@ func (client AppServiceEnvironmentsClient) ListComplete(ctx context.Context) (re return } -// ListAppServicePlans description for Get all App Service plans in an App Service Environment. +// ListAppServicePlans get all App Service plans in an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -2011,7 +2010,7 @@ func (client AppServiceEnvironmentsClient) ListAppServicePlansComplete(ctx conte return } -// ListByResourceGroup description for Get all App Service Environments in a resource group. +// ListByResourceGroup get all App Service Environments in a resource group. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. func (client AppServiceEnvironmentsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result AppServiceEnvironmentCollectionPage, err error) { @@ -2135,7 +2134,7 @@ func (client AppServiceEnvironmentsClient) ListByResourceGroupComplete(ctx conte return } -// ListCapacities description for Get the used, available, and total worker capacity an App Service Environment. +// ListCapacities get the used, available, and total worker capacity an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -2261,7 +2260,7 @@ func (client AppServiceEnvironmentsClient) ListCapacitiesComplete(ctx context.Co return } -// ListDiagnostics description for Get diagnostic information for an App Service Environment. +// ListDiagnostics get diagnostic information for an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -2345,8 +2344,7 @@ func (client AppServiceEnvironmentsClient) ListDiagnosticsResponder(resp *http.R return } -// ListMultiRoleMetricDefinitions description for Get metric definitions for a multi-role pool of an App Service -// Environment. +// ListMultiRoleMetricDefinitions get metric definitions for a multi-role pool of an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -2472,8 +2470,8 @@ func (client AppServiceEnvironmentsClient) ListMultiRoleMetricDefinitionsComplet return } -// ListMultiRolePoolInstanceMetricDefinitions description for Get metric definitions for a specific instance of a -// multi-role pool of an App Service Environment. +// ListMultiRolePoolInstanceMetricDefinitions get metric definitions for a specific instance of a multi-role pool of an +// App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -2601,7 +2599,7 @@ func (client AppServiceEnvironmentsClient) ListMultiRolePoolInstanceMetricDefini return } -// ListMultiRolePools description for Get all multi-role pools. +// ListMultiRolePools get all multi-role pools. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -2727,7 +2725,7 @@ func (client AppServiceEnvironmentsClient) ListMultiRolePoolsComplete(ctx contex return } -// ListMultiRolePoolSkus description for Get available SKUs for scaling a multi-role pool. +// ListMultiRolePoolSkus get available SKUs for scaling a multi-role pool. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -2853,7 +2851,7 @@ func (client AppServiceEnvironmentsClient) ListMultiRolePoolSkusComplete(ctx con return } -// ListMultiRoleUsages description for Get usage metrics for a multi-role pool of an App Service Environment. +// ListMultiRoleUsages get usage metrics for a multi-role pool of an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -2979,7 +2977,7 @@ func (client AppServiceEnvironmentsClient) ListMultiRoleUsagesComplete(ctx conte return } -// ListOperations description for List all currently running operations on the App Service Environment. +// ListOperations list all currently running operations on the App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -3063,7 +3061,7 @@ func (client AppServiceEnvironmentsClient) ListOperationsResponder(resp *http.Re return } -// ListUsages description for Get global usage metrics of an App Service Environment. +// ListUsages get global usage metrics of an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -3195,7 +3193,7 @@ func (client AppServiceEnvironmentsClient) ListUsagesComplete(ctx context.Contex return } -// ListWebApps description for Get all apps in an App Service Environment. +// ListWebApps get all apps in an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -3325,8 +3323,7 @@ func (client AppServiceEnvironmentsClient) ListWebAppsComplete(ctx context.Conte return } -// ListWebWorkerMetricDefinitions description for Get metric definitions for a worker pool of an App Service -// Environment. +// ListWebWorkerMetricDefinitions get metric definitions for a worker pool of an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -3454,7 +3451,7 @@ func (client AppServiceEnvironmentsClient) ListWebWorkerMetricDefinitionsComplet return } -// ListWebWorkerUsages description for Get usage metrics for a worker pool of an App Service Environment. +// ListWebWorkerUsages get usage metrics for a worker pool of an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -3582,8 +3579,8 @@ func (client AppServiceEnvironmentsClient) ListWebWorkerUsagesComplete(ctx conte return } -// ListWorkerPoolInstanceMetricDefinitions description for Get metric definitions for a specific instance of a worker -// pool of an App Service Environment. +// ListWorkerPoolInstanceMetricDefinitions get metric definitions for a specific instance of a worker pool of an App +// Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -3713,7 +3710,7 @@ func (client AppServiceEnvironmentsClient) ListWorkerPoolInstanceMetricDefinitio return } -// ListWorkerPools description for Get all worker pools of an App Service Environment. +// ListWorkerPools get all worker pools of an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -3839,7 +3836,7 @@ func (client AppServiceEnvironmentsClient) ListWorkerPoolsComplete(ctx context.C return } -// ListWorkerPoolSkus description for Get available SKUs for scaling a worker pool. +// ListWorkerPoolSkus get available SKUs for scaling a worker pool. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -3967,7 +3964,7 @@ func (client AppServiceEnvironmentsClient) ListWorkerPoolSkusComplete(ctx contex return } -// Reboot description for Reboot all machines in an App Service Environment. +// Reboot reboot all machines in an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -4050,7 +4047,7 @@ func (client AppServiceEnvironmentsClient) RebootResponder(resp *http.Response) return } -// Resume description for Resume an App Service Environment. +// Resume resume an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -4178,7 +4175,7 @@ func (client AppServiceEnvironmentsClient) ResumeComplete(ctx context.Context, r return } -// Suspend description for Suspend an App Service Environment. +// Suspend suspend an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -4306,7 +4303,7 @@ func (client AppServiceEnvironmentsClient) SuspendComplete(ctx context.Context, return } -// Update description for Create or update an App Service Environment. +// Update create or update an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -4393,7 +4390,7 @@ func (client AppServiceEnvironmentsClient) UpdateResponder(resp *http.Response) return } -// UpdateAseNetworkingConfiguration description for Update networking configuration of an App Service Environment +// UpdateAseNetworkingConfiguration update networking configuration of an App Service Environment // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -4479,7 +4476,7 @@ func (client AppServiceEnvironmentsClient) UpdateAseNetworkingConfigurationRespo return } -// UpdateMultiRolePool description for Create or update a multi-role pool. +// UpdateMultiRolePool create or update a multi-role pool. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -4566,7 +4563,7 @@ func (client AppServiceEnvironmentsClient) UpdateMultiRolePoolResponder(resp *ht return } -// UpdateWorkerPool description for Create or update a worker pool. +// UpdateWorkerPool create or update a worker pool. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. diff --git a/services/web/mgmt/2020-12-01/web/appserviceplans.go b/services/web/mgmt/2020-12-01/web/appserviceplans.go index bd19fcb196ca..c67bea1e328b 100644 --- a/services/web/mgmt/2020-12-01/web/appserviceplans.go +++ b/services/web/mgmt/2020-12-01/web/appserviceplans.go @@ -31,7 +31,7 @@ func NewAppServicePlansClientWithBaseURI(baseURI string, subscriptionID string) return AppServicePlansClient{NewWithBaseURI(baseURI, subscriptionID)} } -// CreateOrUpdate description for Creates or updates an App Service Plan. +// CreateOrUpdate creates or updates an App Service Plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -121,7 +121,7 @@ func (client AppServicePlansClient) CreateOrUpdateResponder(resp *http.Response) return } -// CreateOrUpdateVnetRoute description for Create or update a Virtual Network route in an App Service plan. +// CreateOrUpdateVnetRoute create or update a Virtual Network route in an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -212,7 +212,7 @@ func (client AppServicePlansClient) CreateOrUpdateVnetRouteResponder(resp *http. return } -// Delete description for Delete an App Service plan. +// Delete delete an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -295,7 +295,7 @@ func (client AppServicePlansClient) DeleteResponder(resp *http.Response) (result return } -// DeleteHybridConnection description for Delete a Hybrid Connection in use in an App Service plan. +// DeleteHybridConnection delete a Hybrid Connection in use in an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -382,7 +382,7 @@ func (client AppServicePlansClient) DeleteHybridConnectionResponder(resp *http.R return } -// DeleteVnetRoute description for Delete a Virtual Network route in an App Service plan. +// DeleteVnetRoute delete a Virtual Network route in an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -469,7 +469,7 @@ func (client AppServicePlansClient) DeleteVnetRouteResponder(resp *http.Response return } -// Get description for Get an App Service plan. +// Get get an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -553,7 +553,7 @@ func (client AppServicePlansClient) GetResponder(resp *http.Response) (result Ap return } -// GetHybridConnection description for Retrieve a Hybrid Connection in use in an App Service plan. +// GetHybridConnection retrieve a Hybrid Connection in use in an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -641,8 +641,7 @@ func (client AppServicePlansClient) GetHybridConnectionResponder(resp *http.Resp return } -// GetHybridConnectionPlanLimit description for Get the maximum number of Hybrid Connections allowed in an App Service -// plan. +// GetHybridConnectionPlanLimit get the maximum number of Hybrid Connections allowed in an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -726,7 +725,7 @@ func (client AppServicePlansClient) GetHybridConnectionPlanLimitResponder(resp * return } -// GetRouteForVnet description for Get a Virtual Network route in an App Service plan. +// GetRouteForVnet get a Virtual Network route in an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -814,7 +813,7 @@ func (client AppServicePlansClient) GetRouteForVnetResponder(resp *http.Response return } -// GetServerFarmSkus description for Gets all selectable SKUs for a given App Service Plan +// GetServerFarmSkus gets all selectable SKUs for a given App Service Plan // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of App Service Plan @@ -898,7 +897,7 @@ func (client AppServicePlansClient) GetServerFarmSkusResponder(resp *http.Respon return } -// GetVnetFromServerFarm description for Get a Virtual Network associated with an App Service plan. +// GetVnetFromServerFarm get a Virtual Network associated with an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -984,7 +983,7 @@ func (client AppServicePlansClient) GetVnetFromServerFarmResponder(resp *http.Re return } -// GetVnetGateway description for Get a Virtual Network gateway. +// GetVnetGateway get a Virtual Network gateway. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -1072,7 +1071,7 @@ func (client AppServicePlansClient) GetVnetGatewayResponder(resp *http.Response) return } -// List description for Get all App Service plans for a subscription. +// List get all App Service plans for a subscription. // Parameters: // detailed - specify true to return all App Service plan properties. The default is // false, which returns a subset of the properties. @@ -1192,7 +1191,7 @@ func (client AppServicePlansClient) ListComplete(ctx context.Context, detailed * return } -// ListByResourceGroup description for Get all App Service plans in a resource group. +// ListByResourceGroup get all App Service plans in a resource group. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. func (client AppServicePlansClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result AppServicePlanCollectionPage, err error) { @@ -1316,7 +1315,7 @@ func (client AppServicePlansClient) ListByResourceGroupComplete(ctx context.Cont return } -// ListCapabilities description for List all capabilities of an App Service plan. +// ListCapabilities list all capabilities of an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -1400,7 +1399,7 @@ func (client AppServicePlansClient) ListCapabilitiesResponder(resp *http.Respons return } -// ListHybridConnectionKeys description for Get the send key name and value of a Hybrid Connection. +// ListHybridConnectionKeys get the send key name and value of a Hybrid Connection. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -1488,7 +1487,7 @@ func (client AppServicePlansClient) ListHybridConnectionKeysResponder(resp *http return } -// ListHybridConnections description for Retrieve all Hybrid Connections in use in an App Service plan. +// ListHybridConnections retrieve all Hybrid Connections in use in an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -1614,7 +1613,7 @@ func (client AppServicePlansClient) ListHybridConnectionsComplete(ctx context.Co return } -// ListRoutesForVnet description for Get all routes that are associated with a Virtual Network in an App Service plan. +// ListRoutesForVnet get all routes that are associated with a Virtual Network in an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -1700,7 +1699,7 @@ func (client AppServicePlansClient) ListRoutesForVnetResponder(resp *http.Respon return } -// ListUsages description for Gets server farm usage information +// ListUsages gets server farm usage information // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of App Service Plan @@ -1831,7 +1830,7 @@ func (client AppServicePlansClient) ListUsagesComplete(ctx context.Context, reso return } -// ListVnets description for Get all Virtual Networks associated with an App Service plan. +// ListVnets get all Virtual Networks associated with an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -1915,7 +1914,7 @@ func (client AppServicePlansClient) ListVnetsResponder(resp *http.Response) (res return } -// ListWebApps description for Get all apps associated with an App Service plan. +// ListWebApps get all apps associated with an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -2055,7 +2054,7 @@ func (client AppServicePlansClient) ListWebAppsComplete(ctx context.Context, res return } -// ListWebAppsByHybridConnection description for Get all apps that use a Hybrid Connection in an App Service Plan. +// ListWebAppsByHybridConnection get all apps that use a Hybrid Connection in an App Service Plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -2185,7 +2184,7 @@ func (client AppServicePlansClient) ListWebAppsByHybridConnectionComplete(ctx co return } -// RebootWorker description for Reboot a worker machine in an App Service plan. +// RebootWorker reboot a worker machine in an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -2270,7 +2269,7 @@ func (client AppServicePlansClient) RebootWorkerResponder(resp *http.Response) ( return } -// RestartWebApps description for Restart all apps in an App Service plan. +// RestartWebApps restart all apps in an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -2359,7 +2358,7 @@ func (client AppServicePlansClient) RestartWebAppsResponder(resp *http.Response) return } -// Update description for Creates or updates an App Service Plan. +// Update creates or updates an App Service Plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -2446,7 +2445,7 @@ func (client AppServicePlansClient) UpdateResponder(resp *http.Response) (result return } -// UpdateVnetGateway description for Update a Virtual Network gateway. +// UpdateVnetGateway update a Virtual Network gateway. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -2540,7 +2539,7 @@ func (client AppServicePlansClient) UpdateVnetGatewayResponder(resp *http.Respon return } -// UpdateVnetRoute description for Create or update a Virtual Network route in an App Service plan. +// UpdateVnetRoute create or update a Virtual Network route in an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. diff --git a/services/web/mgmt/2020-12-01/web/certificateordersdiagnostics.go b/services/web/mgmt/2020-12-01/web/certificateordersdiagnostics.go index c707faf3c562..04c8fc50b106 100644 --- a/services/web/mgmt/2020-12-01/web/certificateordersdiagnostics.go +++ b/services/web/mgmt/2020-12-01/web/certificateordersdiagnostics.go @@ -33,8 +33,8 @@ func NewCertificateOrdersDiagnosticsClientWithBaseURI(baseURI string, subscripti return CertificateOrdersDiagnosticsClient{NewWithBaseURI(baseURI, subscriptionID)} } -// GetAppServiceCertificateOrderDetectorResponse description for Microsoft.CertificateRegistration call to get a -// detector response from App Lens. +// GetAppServiceCertificateOrderDetectorResponse microsoft.CertificateRegistration call to get a detector response from +// App Lens. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - the certificate order name for which the response is needed. @@ -135,8 +135,8 @@ func (client CertificateOrdersDiagnosticsClient) GetAppServiceCertificateOrderDe return } -// ListAppServiceCertificateOrderDetectorResponse description for Microsoft.CertificateRegistration to get the list of -// detectors for this RP. +// ListAppServiceCertificateOrderDetectorResponse microsoft.CertificateRegistration to get the list of detectors for +// this RP. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - the certificate order name for which the response is needed. diff --git a/services/web/mgmt/2020-12-01/web/certificateregistrationprovider.go b/services/web/mgmt/2020-12-01/web/certificateregistrationprovider.go index df59ff31f6f8..ff786adc3aab 100644 --- a/services/web/mgmt/2020-12-01/web/certificateregistrationprovider.go +++ b/services/web/mgmt/2020-12-01/web/certificateregistrationprovider.go @@ -31,8 +31,7 @@ func NewCertificateRegistrationProviderClientWithBaseURI(baseURI string, subscri return CertificateRegistrationProviderClient{NewWithBaseURI(baseURI, subscriptionID)} } -// ListOperations description for Implements Csm operations Api to exposes the list of available Csm Apis under the -// resource provider +// ListOperations implements Csm operations Api to exposes the list of available Csm Apis under the resource provider func (client CertificateRegistrationProviderClient) ListOperations(ctx context.Context) (result CsmOperationCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/CertificateRegistrationProviderClient.ListOperations") diff --git a/services/web/mgmt/2020-12-01/web/certificates.go b/services/web/mgmt/2020-12-01/web/certificates.go index 9d590b9e4507..85e6b4efbd94 100644 --- a/services/web/mgmt/2020-12-01/web/certificates.go +++ b/services/web/mgmt/2020-12-01/web/certificates.go @@ -31,7 +31,7 @@ func NewCertificatesClientWithBaseURI(baseURI string, subscriptionID string) Cer return CertificatesClient{NewWithBaseURI(baseURI, subscriptionID)} } -// CreateOrUpdate description for Create or update a certificate. +// CreateOrUpdate create or update a certificate. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the certificate. @@ -118,7 +118,7 @@ func (client CertificatesClient) CreateOrUpdateResponder(resp *http.Response) (r return } -// Delete description for Delete a certificate. +// Delete delete a certificate. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the certificate. @@ -201,7 +201,7 @@ func (client CertificatesClient) DeleteResponder(resp *http.Response) (result au return } -// Get description for Get a certificate. +// Get get a certificate. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the certificate. @@ -285,7 +285,7 @@ func (client CertificatesClient) GetResponder(resp *http.Response) (result Certi return } -// List description for Get all certificates for a subscription. +// List get all certificates for a subscription. // Parameters: // filter - return only information specified in the filter (using OData syntax). For example: // $filter=KeyVaultId eq 'KeyVaultId' @@ -404,7 +404,7 @@ func (client CertificatesClient) ListComplete(ctx context.Context, filter string return } -// ListByResourceGroup description for Get all certificates in a resource group. +// ListByResourceGroup get all certificates in a resource group. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. func (client CertificatesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result CertificateCollectionPage, err error) { @@ -528,7 +528,7 @@ func (client CertificatesClient) ListByResourceGroupComplete(ctx context.Context return } -// Update description for Create or update a certificate. +// Update create or update a certificate. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the certificate. diff --git a/services/web/mgmt/2020-12-01/web/client.go b/services/web/mgmt/2020-12-01/web/client.go index 74d2f458648f..335a958ecf40 100644 --- a/services/web/mgmt/2020-12-01/web/client.go +++ b/services/web/mgmt/2020-12-01/web/client.go @@ -45,7 +45,7 @@ func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient { } } -// CheckNameAvailability description for Check if a resource name is available. +// CheckNameAvailability check if a resource name is available. // Parameters: // request - name availability request. func (client BaseClient) CheckNameAvailability(ctx context.Context, request ResourceNameAvailabilityRequest) (result ResourceNameAvailability, err error) { @@ -126,84 +126,7 @@ func (client BaseClient) CheckNameAvailabilityResponder(resp *http.Response) (re return } -// GenerateGithubAccessTokenForAppserviceCLIAsync description for Exchange code for GitHub access token for AppService -// CLI -func (client BaseClient) GenerateGithubAccessTokenForAppserviceCLIAsync(ctx context.Context, request AppserviceGithubTokenRequest) (result AppserviceGithubToken, err error) { - if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/BaseClient.GenerateGithubAccessTokenForAppserviceCLIAsync") - defer func() { - sc := -1 - if result.Response.Response != nil { - sc = result.Response.Response.StatusCode - } - tracing.EndSpan(ctx, sc, err) - }() - } - if err := validation.Validate([]validation.Validation{ - {TargetValue: request, - Constraints: []validation.Constraint{{Target: "request.Code", Name: validation.Null, Rule: true, Chain: nil}, - {Target: "request.State", Name: validation.Null, Rule: true, Chain: nil}}}}); err != nil { - return result, validation.NewError("web.BaseClient", "GenerateGithubAccessTokenForAppserviceCLIAsync", err.Error()) - } - - req, err := client.GenerateGithubAccessTokenForAppserviceCLIAsyncPreparer(ctx, request) - if err != nil { - err = autorest.NewErrorWithError(err, "web.BaseClient", "GenerateGithubAccessTokenForAppserviceCLIAsync", nil, "Failure preparing request") - return - } - - resp, err := client.GenerateGithubAccessTokenForAppserviceCLIAsyncSender(req) - if err != nil { - result.Response = autorest.Response{Response: resp} - err = autorest.NewErrorWithError(err, "web.BaseClient", "GenerateGithubAccessTokenForAppserviceCLIAsync", resp, "Failure sending request") - return - } - - result, err = client.GenerateGithubAccessTokenForAppserviceCLIAsyncResponder(resp) - if err != nil { - err = autorest.NewErrorWithError(err, "web.BaseClient", "GenerateGithubAccessTokenForAppserviceCLIAsync", resp, "Failure responding to request") - return - } - - return -} - -// GenerateGithubAccessTokenForAppserviceCLIAsyncPreparer prepares the GenerateGithubAccessTokenForAppserviceCLIAsync request. -func (client BaseClient) GenerateGithubAccessTokenForAppserviceCLIAsyncPreparer(ctx context.Context, request AppserviceGithubTokenRequest) (*http.Request, error) { - const APIVersion = "2020-12-01" - queryParameters := map[string]interface{}{ - "api-version": APIVersion, - } - - preparer := autorest.CreatePreparer( - autorest.AsContentType("application/json; charset=utf-8"), - autorest.AsPost(), - autorest.WithBaseURL(client.BaseURI), - autorest.WithPath("/providers/Microsoft.Web/generateGithubAccessTokenForAppserviceCLI"), - autorest.WithJSON(request), - autorest.WithQueryParameters(queryParameters)) - return preparer.Prepare((&http.Request{}).WithContext(ctx)) -} - -// GenerateGithubAccessTokenForAppserviceCLIAsyncSender sends the GenerateGithubAccessTokenForAppserviceCLIAsync request. The method will close the -// http.Response Body if it receives an error. -func (client BaseClient) GenerateGithubAccessTokenForAppserviceCLIAsyncSender(req *http.Request) (*http.Response, error) { - return client.Send(req, autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...)) -} - -// GenerateGithubAccessTokenForAppserviceCLIAsyncResponder handles the response to the GenerateGithubAccessTokenForAppserviceCLIAsync request. The method always -// closes the http.Response Body. -func (client BaseClient) GenerateGithubAccessTokenForAppserviceCLIAsyncResponder(resp *http.Response) (result AppserviceGithubToken, err error) { - err = autorest.Respond( - resp, - azure.WithErrorUnlessStatusCode(http.StatusOK), - autorest.ByUnmarshallingJSON(&result), - autorest.ByClosing()) - result.Response = autorest.Response{Response: resp} - return -} - -// GetPublishingUser description for Gets publishing user +// GetPublishingUser gets publishing user func (client BaseClient) GetPublishingUser(ctx context.Context) (result User, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/BaseClient.GetPublishingUser") @@ -270,7 +193,7 @@ func (client BaseClient) GetPublishingUserResponder(resp *http.Response) (result return } -// GetSourceControl description for Gets source control token +// GetSourceControl gets source control token // Parameters: // sourceControlType - type of source control func (client BaseClient) GetSourceControl(ctx context.Context, sourceControlType string) (result SourceControl, err error) { @@ -343,7 +266,7 @@ func (client BaseClient) GetSourceControlResponder(resp *http.Response) (result return } -// GetSubscriptionDeploymentLocations description for Gets list of available geo regions plus ministamps +// GetSubscriptionDeploymentLocations gets list of available geo regions plus ministamps func (client BaseClient) GetSubscriptionDeploymentLocations(ctx context.Context) (result DeploymentLocations, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/BaseClient.GetSubscriptionDeploymentLocations") @@ -414,7 +337,7 @@ func (client BaseClient) GetSubscriptionDeploymentLocationsResponder(resp *http. return } -// ListBillingMeters description for Gets a list of meters for a given location. +// ListBillingMeters gets a list of meters for a given location. // Parameters: // billingLocation - azure Location of billable resource // osType - app Service OS type meters used for @@ -536,7 +459,7 @@ func (client BaseClient) ListBillingMetersComplete(ctx context.Context, billingL return } -// ListGeoRegions description for Get a list of available geographical regions. +// ListGeoRegions get a list of available geographical regions. // Parameters: // sku - name of SKU used to filter the regions. // linuxWorkersEnabled - specify true if you want to filter to only regions that support Linux @@ -669,7 +592,7 @@ func (client BaseClient) ListGeoRegionsComplete(ctx context.Context, sku SkuName return } -// ListPremierAddOnOffers description for List all premier add-on offers. +// ListPremierAddOnOffers list all premier add-on offers. func (client BaseClient) ListPremierAddOnOffers(ctx context.Context) (result PremierAddOnOfferCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/BaseClient.ListPremierAddOnOffers") @@ -782,7 +705,7 @@ func (client BaseClient) ListPremierAddOnOffersComplete(ctx context.Context) (re return } -// ListSiteIdentifiersAssignedToHostName description for List all apps that are assigned to a hostname. +// ListSiteIdentifiersAssignedToHostName list all apps that are assigned to a hostname. // Parameters: // nameIdentifier - hostname information. func (client BaseClient) ListSiteIdentifiersAssignedToHostName(ctx context.Context, nameIdentifier NameIdentifier) (result IdentifierCollectionPage, err error) { @@ -899,7 +822,7 @@ func (client BaseClient) ListSiteIdentifiersAssignedToHostNameComplete(ctx conte return } -// ListSkus description for List all SKUs. +// ListSkus list all SKUs. func (client BaseClient) ListSkus(ctx context.Context) (result SkuInfos, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/BaseClient.ListSkus") @@ -970,7 +893,7 @@ func (client BaseClient) ListSkusResponder(resp *http.Response) (result SkuInfos return } -// ListSourceControls description for Gets the source controls available for Azure websites. +// ListSourceControls gets the source controls available for Azure websites. func (client BaseClient) ListSourceControls(ctx context.Context) (result SourceControlCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/BaseClient.ListSourceControls") @@ -1079,7 +1002,7 @@ func (client BaseClient) ListSourceControlsComplete(ctx context.Context) (result return } -// Move description for Move resources between resource groups. +// Move move resources between resource groups. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // moveResourceEnvelope - object that represents the resource to move. @@ -1169,7 +1092,7 @@ func (client BaseClient) MoveResponder(resp *http.Response) (result autorest.Res return } -// UpdatePublishingUser description for Updates publishing user +// UpdatePublishingUser updates publishing user // Parameters: // userDetails - details of publishing user func (client BaseClient) UpdatePublishingUser(ctx context.Context, userDetails User) (result User, err error) { @@ -1247,7 +1170,7 @@ func (client BaseClient) UpdatePublishingUserResponder(resp *http.Response) (res return } -// UpdateSourceControl description for Updates source control token +// UpdateSourceControl updates source control token // Parameters: // sourceControlType - type of source control // requestMessage - source control token information @@ -1323,7 +1246,7 @@ func (client BaseClient) UpdateSourceControlResponder(resp *http.Response) (resu return } -// Validate description for Validate if a resource can be created. +// Validate validate if a resource can be created. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // validateRequest - request with the resources to validate. @@ -1419,7 +1342,7 @@ func (client BaseClient) ValidateResponder(resp *http.Response) (result Validate return } -// ValidateMove description for Validate whether a resource can be moved. +// ValidateMove validate whether a resource can be moved. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // moveResourceEnvelope - object that represents the resource to move. @@ -1509,8 +1432,8 @@ func (client BaseClient) ValidateMoveResponder(resp *http.Response) (result auto return } -// VerifyHostingEnvironmentVnet description for Verifies if this VNET is compatible with an App Service Environment by -// analyzing the Network Security Group rules. +// VerifyHostingEnvironmentVnet verifies if this VNET is compatible with an App Service Environment by analyzing the +// Network Security Group rules. // Parameters: // parameters - VNET information func (client BaseClient) VerifyHostingEnvironmentVnet(ctx context.Context, parameters VnetParameters) (result VnetValidationFailureDetails, err error) { diff --git a/services/web/mgmt/2020-12-01/web/deletedwebapps.go b/services/web/mgmt/2020-12-01/web/deletedwebapps.go index 4b76bfe311a5..30c347e0364c 100644 --- a/services/web/mgmt/2020-12-01/web/deletedwebapps.go +++ b/services/web/mgmt/2020-12-01/web/deletedwebapps.go @@ -30,7 +30,7 @@ func NewDeletedWebAppsClientWithBaseURI(baseURI string, subscriptionID string) D return DeletedWebAppsClient{NewWithBaseURI(baseURI, subscriptionID)} } -// GetDeletedWebAppByLocation description for Get deleted app for a subscription at location. +// GetDeletedWebAppByLocation get deleted app for a subscription at location. // Parameters: // deletedSiteID - the numeric ID of the deleted app, e.g. 12345 func (client DeletedWebAppsClient) GetDeletedWebAppByLocation(ctx context.Context, location string, deletedSiteID string) (result DeletedSite, err error) { @@ -105,7 +105,7 @@ func (client DeletedWebAppsClient) GetDeletedWebAppByLocationResponder(resp *htt return } -// List description for Get all deleted apps for a subscription. +// List get all deleted apps for a subscription. func (client DeletedWebAppsClient) List(ctx context.Context) (result DeletedWebAppCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/DeletedWebAppsClient.List") @@ -218,7 +218,7 @@ func (client DeletedWebAppsClient) ListComplete(ctx context.Context) (result Del return } -// ListByLocation description for Get all deleted apps for a subscription at location +// ListByLocation get all deleted apps for a subscription at location func (client DeletedWebAppsClient) ListByLocation(ctx context.Context, location string) (result DeletedWebAppCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/DeletedWebAppsClient.ListByLocation") diff --git a/services/web/mgmt/2020-12-01/web/diagnostics.go b/services/web/mgmt/2020-12-01/web/diagnostics.go index 548e9f2d82a7..52e4d0af9732 100644 --- a/services/web/mgmt/2020-12-01/web/diagnostics.go +++ b/services/web/mgmt/2020-12-01/web/diagnostics.go @@ -32,7 +32,7 @@ func NewDiagnosticsClientWithBaseURI(baseURI string, subscriptionID string) Diag return DiagnosticsClient{NewWithBaseURI(baseURI, subscriptionID)} } -// ExecuteSiteAnalysis description for Execute Analysis +// ExecuteSiteAnalysis execute Analysis // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -135,7 +135,7 @@ func (client DiagnosticsClient) ExecuteSiteAnalysisResponder(resp *http.Response return } -// ExecuteSiteAnalysisSlot description for Execute Analysis +// ExecuteSiteAnalysisSlot execute Analysis // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -240,7 +240,7 @@ func (client DiagnosticsClient) ExecuteSiteAnalysisSlotResponder(resp *http.Resp return } -// ExecuteSiteDetector description for Execute Detector +// ExecuteSiteDetector execute Detector // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -343,7 +343,7 @@ func (client DiagnosticsClient) ExecuteSiteDetectorResponder(resp *http.Response return } -// ExecuteSiteDetectorSlot description for Execute Detector +// ExecuteSiteDetectorSlot execute Detector // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -448,7 +448,7 @@ func (client DiagnosticsClient) ExecuteSiteDetectorSlotResponder(resp *http.Resp return } -// GetHostingEnvironmentDetectorResponse description for Get Hosting Environment Detector Response +// GetHostingEnvironmentDetectorResponse get Hosting Environment Detector Response // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - app Service Environment Name @@ -549,7 +549,7 @@ func (client DiagnosticsClient) GetHostingEnvironmentDetectorResponseResponder(r return } -// GetSiteAnalysis description for Get Site Analysis +// GetSiteAnalysis get Site Analysis // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -637,7 +637,7 @@ func (client DiagnosticsClient) GetSiteAnalysisResponder(resp *http.Response) (r return } -// GetSiteAnalysisSlot description for Get Site Analysis +// GetSiteAnalysisSlot get Site Analysis // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -727,7 +727,7 @@ func (client DiagnosticsClient) GetSiteAnalysisSlotResponder(resp *http.Response return } -// GetSiteDetector description for Get Detector +// GetSiteDetector get Detector // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -815,7 +815,7 @@ func (client DiagnosticsClient) GetSiteDetectorResponder(resp *http.Response) (r return } -// GetSiteDetectorResponse description for Get site detector response +// GetSiteDetectorResponse get site detector response // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -916,7 +916,7 @@ func (client DiagnosticsClient) GetSiteDetectorResponseResponder(resp *http.Resp return } -// GetSiteDetectorResponseSlot description for Get site detector response +// GetSiteDetectorResponseSlot get site detector response // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -1019,7 +1019,7 @@ func (client DiagnosticsClient) GetSiteDetectorResponseSlotResponder(resp *http. return } -// GetSiteDetectorSlot description for Get Detector +// GetSiteDetectorSlot get Detector // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -1109,7 +1109,7 @@ func (client DiagnosticsClient) GetSiteDetectorSlotResponder(resp *http.Response return } -// GetSiteDiagnosticCategory description for Get Diagnostics Category +// GetSiteDiagnosticCategory get Diagnostics Category // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -1195,7 +1195,7 @@ func (client DiagnosticsClient) GetSiteDiagnosticCategoryResponder(resp *http.Re return } -// GetSiteDiagnosticCategorySlot description for Get Diagnostics Category +// GetSiteDiagnosticCategorySlot get Diagnostics Category // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -1283,7 +1283,7 @@ func (client DiagnosticsClient) GetSiteDiagnosticCategorySlotResponder(resp *htt return } -// ListHostingEnvironmentDetectorResponses description for List Hosting Environment Detector Responses +// ListHostingEnvironmentDetectorResponses list Hosting Environment Detector Responses // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site Name @@ -1409,7 +1409,7 @@ func (client DiagnosticsClient) ListHostingEnvironmentDetectorResponsesComplete( return } -// ListSiteAnalyses description for Get Site Analyses +// ListSiteAnalyses get Site Analyses // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -1537,7 +1537,7 @@ func (client DiagnosticsClient) ListSiteAnalysesComplete(ctx context.Context, re return } -// ListSiteAnalysesSlot description for Get Site Analyses +// ListSiteAnalysesSlot get Site Analyses // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -1667,7 +1667,7 @@ func (client DiagnosticsClient) ListSiteAnalysesSlotComplete(ctx context.Context return } -// ListSiteDetectorResponses description for List Site Detector Responses +// ListSiteDetectorResponses list Site Detector Responses // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -1793,7 +1793,7 @@ func (client DiagnosticsClient) ListSiteDetectorResponsesComplete(ctx context.Co return } -// ListSiteDetectorResponsesSlot description for List Site Detector Responses +// ListSiteDetectorResponsesSlot list Site Detector Responses // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -1921,7 +1921,7 @@ func (client DiagnosticsClient) ListSiteDetectorResponsesSlotComplete(ctx contex return } -// ListSiteDetectors description for Get Detectors +// ListSiteDetectors get Detectors // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -2049,7 +2049,7 @@ func (client DiagnosticsClient) ListSiteDetectorsComplete(ctx context.Context, r return } -// ListSiteDetectorsSlot description for Get Detectors +// ListSiteDetectorsSlot get Detectors // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -2179,7 +2179,7 @@ func (client DiagnosticsClient) ListSiteDetectorsSlotComplete(ctx context.Contex return } -// ListSiteDiagnosticCategories description for Get Diagnostics Categories +// ListSiteDiagnosticCategories get Diagnostics Categories // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -2305,7 +2305,7 @@ func (client DiagnosticsClient) ListSiteDiagnosticCategoriesComplete(ctx context return } -// ListSiteDiagnosticCategoriesSlot description for Get Diagnostics Categories +// ListSiteDiagnosticCategoriesSlot get Diagnostics Categories // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name diff --git a/services/web/mgmt/2020-12-01/web/domainregistrationprovider.go b/services/web/mgmt/2020-12-01/web/domainregistrationprovider.go index d57e7e9a6375..d29646ea7660 100644 --- a/services/web/mgmt/2020-12-01/web/domainregistrationprovider.go +++ b/services/web/mgmt/2020-12-01/web/domainregistrationprovider.go @@ -31,8 +31,7 @@ func NewDomainRegistrationProviderClientWithBaseURI(baseURI string, subscription return DomainRegistrationProviderClient{NewWithBaseURI(baseURI, subscriptionID)} } -// ListOperations description for Implements Csm operations Api to exposes the list of available Csm Apis under the -// resource provider +// ListOperations implements Csm operations Api to exposes the list of available Csm Apis under the resource provider func (client DomainRegistrationProviderClient) ListOperations(ctx context.Context) (result CsmOperationCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/DomainRegistrationProviderClient.ListOperations") diff --git a/services/web/mgmt/2020-12-01/web/domains.go b/services/web/mgmt/2020-12-01/web/domains.go index 8cddcdb8e5c7..6c0b51134df3 100644 --- a/services/web/mgmt/2020-12-01/web/domains.go +++ b/services/web/mgmt/2020-12-01/web/domains.go @@ -31,7 +31,7 @@ func NewDomainsClientWithBaseURI(baseURI string, subscriptionID string) DomainsC return DomainsClient{NewWithBaseURI(baseURI, subscriptionID)} } -// CheckAvailability description for Check if a domain is available for registration. +// CheckAvailability check if a domain is available for registration. // Parameters: // identifier - name of the domain. func (client DomainsClient) CheckAvailability(ctx context.Context, identifier NameIdentifier) (result DomainAvailabilityCheckResult, err error) { @@ -106,7 +106,7 @@ func (client DomainsClient) CheckAvailabilityResponder(resp *http.Response) (res return } -// CreateOrUpdate description for Creates or updates a domain. +// CreateOrUpdate creates or updates a domain. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // domainName - name of the domain. @@ -254,8 +254,8 @@ func (client DomainsClient) CreateOrUpdateResponder(resp *http.Response) (result return } -// CreateOrUpdateOwnershipIdentifier description for Creates an ownership identifier for a domain or updates identifier -// details for an existing identifier +// CreateOrUpdateOwnershipIdentifier creates an ownership identifier for a domain or updates identifier details for an +// existing identifier // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // domainName - name of domain. @@ -344,7 +344,7 @@ func (client DomainsClient) CreateOrUpdateOwnershipIdentifierResponder(resp *htt return } -// Delete description for Delete a domain. +// Delete delete a domain. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // domainName - name of the domain. @@ -432,7 +432,7 @@ func (client DomainsClient) DeleteResponder(resp *http.Response) (result autores return } -// DeleteOwnershipIdentifier description for Delete ownership identifier for domain +// DeleteOwnershipIdentifier delete ownership identifier for domain // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // domainName - name of domain. @@ -517,7 +517,7 @@ func (client DomainsClient) DeleteOwnershipIdentifierResponder(resp *http.Respon return } -// Get description for Get a domain. +// Get get a domain. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // domainName - name of the domain. @@ -601,7 +601,7 @@ func (client DomainsClient) GetResponder(resp *http.Response) (result Domain, er return } -// GetControlCenterSsoRequest description for Generate a single sign-on request for the domain management portal. +// GetControlCenterSsoRequest generate a single sign-on request for the domain management portal. func (client DomainsClient) GetControlCenterSsoRequest(ctx context.Context) (result DomainControlCenterSsoRequest, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/DomainsClient.GetControlCenterSsoRequest") @@ -672,7 +672,7 @@ func (client DomainsClient) GetControlCenterSsoRequestResponder(resp *http.Respo return } -// GetOwnershipIdentifier description for Get ownership identifier for domain +// GetOwnershipIdentifier get ownership identifier for domain // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // domainName - name of domain. @@ -758,7 +758,7 @@ func (client DomainsClient) GetOwnershipIdentifierResponder(resp *http.Response) return } -// List description for Get all domains in a subscription. +// List get all domains in a subscription. func (client DomainsClient) List(ctx context.Context) (result DomainCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/DomainsClient.List") @@ -871,7 +871,7 @@ func (client DomainsClient) ListComplete(ctx context.Context) (result DomainColl return } -// ListByResourceGroup description for Get all domains in a resource group. +// ListByResourceGroup get all domains in a resource group. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. func (client DomainsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result DomainCollectionPage, err error) { @@ -995,7 +995,7 @@ func (client DomainsClient) ListByResourceGroupComplete(ctx context.Context, res return } -// ListOwnershipIdentifiers description for Lists domain ownership identifiers. +// ListOwnershipIdentifiers lists domain ownership identifiers. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // domainName - name of domain. @@ -1121,7 +1121,7 @@ func (client DomainsClient) ListOwnershipIdentifiersComplete(ctx context.Context return } -// ListRecommendations description for Get domain name recommendations based on keywords. +// ListRecommendations get domain name recommendations based on keywords. // Parameters: // parameters - search parameters for domain name recommendations. func (client DomainsClient) ListRecommendations(ctx context.Context, parameters DomainRecommendationSearchParameters) (result NameIdentifierCollectionPage, err error) { @@ -1238,7 +1238,7 @@ func (client DomainsClient) ListRecommendationsComplete(ctx context.Context, par return } -// Renew description for Renew a domain. +// Renew renew a domain. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // domainName - name of the domain. @@ -1321,7 +1321,7 @@ func (client DomainsClient) RenewResponder(resp *http.Response) (result autorest return } -// Update description for Creates or updates a domain. +// Update creates or updates a domain. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // domainName - name of the domain. @@ -1410,8 +1410,8 @@ func (client DomainsClient) UpdateResponder(resp *http.Response) (result Domain, return } -// UpdateOwnershipIdentifier description for Creates an ownership identifier for a domain or updates identifier details -// for an existing identifier +// UpdateOwnershipIdentifier creates an ownership identifier for a domain or updates identifier details for an existing +// identifier // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // domainName - name of domain. diff --git a/services/web/mgmt/2020-12-01/web/global.go b/services/web/mgmt/2020-12-01/web/global.go index 20e9be26fdbb..07b6d8d6051b 100644 --- a/services/web/mgmt/2020-12-01/web/global.go +++ b/services/web/mgmt/2020-12-01/web/global.go @@ -30,7 +30,7 @@ func NewGlobalClientWithBaseURI(baseURI string, subscriptionID string) GlobalCli return GlobalClient{NewWithBaseURI(baseURI, subscriptionID)} } -// GetDeletedWebApp description for Get deleted app for a subscription. +// GetDeletedWebApp get deleted app for a subscription. // Parameters: // deletedSiteID - the numeric ID of the deleted app, e.g. 12345 func (client GlobalClient) GetDeletedWebApp(ctx context.Context, deletedSiteID string) (result DeletedSite, err error) { @@ -104,7 +104,7 @@ func (client GlobalClient) GetDeletedWebAppResponder(resp *http.Response) (resul return } -// GetDeletedWebAppSnapshots description for Get all deleted apps for a subscription. +// GetDeletedWebAppSnapshots get all deleted apps for a subscription. // Parameters: // deletedSiteID - the numeric ID of the deleted app, e.g. 12345 func (client GlobalClient) GetDeletedWebAppSnapshots(ctx context.Context, deletedSiteID string) (result ListSnapshot, err error) { @@ -178,7 +178,7 @@ func (client GlobalClient) GetDeletedWebAppSnapshotsResponder(resp *http.Respons return } -// GetSubscriptionOperationWithAsyncResponse description for Gets an operation in a subscription and given region +// GetSubscriptionOperationWithAsyncResponse gets an operation in a subscription and given region // Parameters: // location - location name // operationID - operation Id diff --git a/services/web/mgmt/2020-12-01/web/models.go b/services/web/mgmt/2020-12-01/web/models.go index 229b1be2d2f4..a6b4f0929813 100644 --- a/services/web/mgmt/2020-12-01/web/models.go +++ b/services/web/mgmt/2020-12-01/web/models.go @@ -149,94 +149,9 @@ type AddressResponseProperties struct { VipMappings *[]VirtualIPMapping `json:"vipMappings,omitempty"` } -// AllowedAudiencesValidation ... +// AllowedAudiencesValidation the configuration settings of the Allowed Audiences validation flow. type AllowedAudiencesValidation struct { - // AllowedAudiencesValidationProperties - AllowedAudiencesValidation resource specific properties - *AllowedAudiencesValidationProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for AllowedAudiencesValidation. -func (aav AllowedAudiencesValidation) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if aav.AllowedAudiencesValidationProperties != nil { - objectMap["properties"] = aav.AllowedAudiencesValidationProperties - } - if aav.Kind != nil { - objectMap["kind"] = aav.Kind - } - return json.Marshal(objectMap) -} - -// UnmarshalJSON is the custom unmarshaler for AllowedAudiencesValidation struct. -func (aav *AllowedAudiencesValidation) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var allowedAudiencesValidationProperties AllowedAudiencesValidationProperties - err = json.Unmarshal(*v, &allowedAudiencesValidationProperties) - if err != nil { - return err - } - aav.AllowedAudiencesValidationProperties = &allowedAudiencesValidationProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - aav.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - aav.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - aav.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - aav.Type = &typeVar - } - } - } - - return nil -} - -// AllowedAudiencesValidationProperties allowedAudiencesValidation resource specific properties -type AllowedAudiencesValidationProperties struct { + // AllowedAudiences - The configuration settings of the allowed list of audiences from which to validate the JWT token. AllowedAudiences *[]string `json:"allowedAudiences,omitempty"` } @@ -987,92 +902,6 @@ func NewAppInstanceStatusCollectionPage(cur AppInstanceStatusCollection, getNext // Apple the configuration settings of the Apple provider. type Apple struct { - // AppleProperties - Apple resource specific properties - *AppleProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for Apple. -func (a Apple) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if a.AppleProperties != nil { - objectMap["properties"] = a.AppleProperties - } - if a.Kind != nil { - objectMap["kind"] = a.Kind - } - return json.Marshal(objectMap) -} - -// UnmarshalJSON is the custom unmarshaler for Apple struct. -func (a *Apple) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var appleProperties AppleProperties - err = json.Unmarshal(*v, &appleProperties) - if err != nil { - return err - } - a.AppleProperties = &appleProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - a.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - a.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - a.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - a.Type = &typeVar - } - } - } - - return nil -} - -// AppleProperties apple resource specific properties -type AppleProperties struct { // Enabled - false if the Apple provider should not be enabled despite the set registration; otherwise, true. Enabled *bool `json:"enabled,omitempty"` // Registration - The configuration settings of the Apple registration. @@ -1083,92 +912,6 @@ type AppleProperties struct { // AppleRegistration the configuration settings of the registration for the Apple provider type AppleRegistration struct { - // AppleRegistrationProperties - AppleRegistration resource specific properties - *AppleRegistrationProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for AppleRegistration. -func (ar AppleRegistration) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if ar.AppleRegistrationProperties != nil { - objectMap["properties"] = ar.AppleRegistrationProperties - } - if ar.Kind != nil { - objectMap["kind"] = ar.Kind - } - return json.Marshal(objectMap) -} - -// UnmarshalJSON is the custom unmarshaler for AppleRegistration struct. -func (ar *AppleRegistration) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var appleRegistrationProperties AppleRegistrationProperties - err = json.Unmarshal(*v, &appleRegistrationProperties) - if err != nil { - return err - } - ar.AppleRegistrationProperties = &appleRegistrationProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - ar.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - ar.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - ar.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - ar.Type = &typeVar - } - } - } - - return nil -} - -// AppleRegistrationProperties appleRegistration resource specific properties -type AppleRegistrationProperties struct { // ClientID - The Client ID of the app used for login. ClientID *string `json:"clientId,omitempty"` // ClientSecretSettingName - The app setting name that contains the client secret. @@ -1491,112 +1234,26 @@ func (amv AppMinorVersion) MarshalJSON() ([]byte, error) { // AppRegistration the configuration settings of the app registration for providers that have app ids and // app secrets type AppRegistration struct { - // AppRegistrationProperties - AppRegistration resource specific properties - *AppRegistrationProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` + // AppID - The App ID of the app used for login. + AppID *string `json:"appId,omitempty"` + // AppSecretSettingName - The app setting name that contains the app secret. + AppSecretSettingName *string `json:"appSecretSettingName,omitempty"` +} + +// AppRuntimes web App stack runtimes. +type AppRuntimes struct { + // LinuxRuntimeSettings - READ-ONLY; Linux-specific settings associated with the minor version. + LinuxRuntimeSettings *AppRuntimeSettings `json:"linuxRuntimeSettings,omitempty"` + // WindowsRuntimeSettings - READ-ONLY; Windows-specific settings associated with the minor version. + WindowsRuntimeSettings *AppRuntimeSettings `json:"windowsRuntimeSettings,omitempty"` + // LinuxContainerSettings - READ-ONLY; Linux-specific settings associated with the Java container minor version. + LinuxContainerSettings *LinuxJavaContainerSettings `json:"linuxContainerSettings,omitempty"` + // WindowsContainerSettings - READ-ONLY; Windows-specific settings associated with the Java container minor version. + WindowsContainerSettings *WindowsJavaContainerSettings `json:"windowsContainerSettings,omitempty"` } -// MarshalJSON is the custom marshaler for AppRegistration. -func (ar AppRegistration) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if ar.AppRegistrationProperties != nil { - objectMap["properties"] = ar.AppRegistrationProperties - } - if ar.Kind != nil { - objectMap["kind"] = ar.Kind - } - return json.Marshal(objectMap) -} - -// UnmarshalJSON is the custom unmarshaler for AppRegistration struct. -func (ar *AppRegistration) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var appRegistrationProperties AppRegistrationProperties - err = json.Unmarshal(*v, &appRegistrationProperties) - if err != nil { - return err - } - ar.AppRegistrationProperties = &appRegistrationProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - ar.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - ar.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - ar.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - ar.Type = &typeVar - } - } - } - - return nil -} - -// AppRegistrationProperties appRegistration resource specific properties -type AppRegistrationProperties struct { - // AppID - The App ID of the app used for login. - AppID *string `json:"appId,omitempty"` - // AppSecretSettingName - The app setting name that contains the app secret. - AppSecretSettingName *string `json:"appSecretSettingName,omitempty"` -} - -// AppRuntimes web App stack runtimes. -type AppRuntimes struct { - // LinuxRuntimeSettings - READ-ONLY; Linux-specific settings associated with the minor version. - LinuxRuntimeSettings *AppRuntimeSettings `json:"linuxRuntimeSettings,omitempty"` - // WindowsRuntimeSettings - READ-ONLY; Windows-specific settings associated with the minor version. - WindowsRuntimeSettings *AppRuntimeSettings `json:"windowsRuntimeSettings,omitempty"` - // LinuxContainerSettings - READ-ONLY; Linux-specific settings associated with the Java container minor version. - LinuxContainerSettings *LinuxJavaContainerSettings `json:"linuxContainerSettings,omitempty"` - // WindowsContainerSettings - READ-ONLY; Windows-specific settings associated with the Java container minor version. - WindowsContainerSettings *WindowsJavaContainerSettings `json:"windowsContainerSettings,omitempty"` -} - -// MarshalJSON is the custom marshaler for AppRuntimes. -func (ar AppRuntimes) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for AppRuntimes. +func (ar AppRuntimes) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) return json.Marshal(objectMap) } @@ -4174,7 +3831,6 @@ func (future *AppServiceEnvironmentsSuspendFuture) result(client AppServiceEnvir // AppserviceGithubToken github access token for Appservice CLI github integration. type AppserviceGithubToken struct { - autorest.Response `json:"-"` // AccessToken - Github access token for Appservice CLI github integration AccessToken *string `json:"accessToken,omitempty"` // Scope - Scope of the github access token @@ -6016,92 +5672,6 @@ func (avnc AseV3NetworkingConfigurationProperties) MarshalJSON() ([]byte, error) // AuthPlatform the configuration settings of the platform of App Service Authentication/Authorization. type AuthPlatform struct { - // AuthPlatformProperties - AuthPlatform resource specific properties - *AuthPlatformProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for AuthPlatform. -func (ap AuthPlatform) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if ap.AuthPlatformProperties != nil { - objectMap["properties"] = ap.AuthPlatformProperties - } - if ap.Kind != nil { - objectMap["kind"] = ap.Kind - } - return json.Marshal(objectMap) -} - -// UnmarshalJSON is the custom unmarshaler for AuthPlatform struct. -func (ap *AuthPlatform) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var authPlatformProperties AuthPlatformProperties - err = json.Unmarshal(*v, &authPlatformProperties) - if err != nil { - return err - } - ap.AuthPlatformProperties = &authPlatformProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - ap.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - ap.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - ap.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - ap.Type = &typeVar - } - } - } - - return nil -} - -// AuthPlatformProperties authPlatform resource specific properties -type AuthPlatformProperties struct { // Enabled - true if the Authentication / Authorization feature is enabled for the current app; otherwise, false. Enabled *bool `json:"enabled,omitempty"` // RuntimeVersion - The RuntimeVersion of the Authentication / Authorization feature in use for the current app. @@ -6158,205 +5728,145 @@ type AutoHealTriggers struct { // AzureActiveDirectory the configuration settings of the Azure Active directory provider. type AzureActiveDirectory struct { - // AzureActiveDirectoryProperties - AzureActiveDirectory resource specific properties - *AzureActiveDirectoryProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` + // Enabled - false if the Azure Active Directory provider should not be enabled despite the set registration; otherwise, true. + Enabled *bool `json:"enabled,omitempty"` + // Registration - The configuration settings of the Azure Active Directory app registration. + Registration *AzureActiveDirectoryRegistration `json:"registration,omitempty"` + // Login - The configuration settings of the Azure Active Directory login flow. + Login *AzureActiveDirectoryLogin `json:"login,omitempty"` + // Validation - The configuration settings of the Azure Active Directory token validation flow. + Validation *AzureActiveDirectoryValidation `json:"validation,omitempty"` + // IsAutoProvisioned - Gets a value indicating whether the Azure AD configuration was auto-provisioned using 1st party tooling. + // This is an internal flag primarily intended to support the Azure Management Portal. Users should not + // read or write to this property. + IsAutoProvisioned *bool `json:"isAutoProvisioned,omitempty"` } -// MarshalJSON is the custom marshaler for AzureActiveDirectory. -func (aad AzureActiveDirectory) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if aad.AzureActiveDirectoryProperties != nil { - objectMap["properties"] = aad.AzureActiveDirectoryProperties - } - if aad.Kind != nil { - objectMap["kind"] = aad.Kind - } - return json.Marshal(objectMap) +// AzureActiveDirectoryLogin the configuration settings of the Azure Active Directory login flow. +type AzureActiveDirectoryLogin struct { + // LoginParameters - Login parameters to send to the OpenID Connect authorization endpoint when + // a user logs in. Each parameter must be in the form "key=value". + LoginParameters *[]string `json:"loginParameters,omitempty"` + // DisableWWWAuthenticate - true if the www-authenticate provider should be omitted from the request; otherwise, false. + DisableWWWAuthenticate *bool `json:"disableWWWAuthenticate,omitempty"` } -// UnmarshalJSON is the custom unmarshaler for AzureActiveDirectory struct. -func (aad *AzureActiveDirectory) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var azureActiveDirectoryProperties AzureActiveDirectoryProperties - err = json.Unmarshal(*v, &azureActiveDirectoryProperties) - if err != nil { - return err - } - aad.AzureActiveDirectoryProperties = &azureActiveDirectoryProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - aad.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - aad.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - aad.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - aad.Type = &typeVar - } - } - } - - return nil +// AzureActiveDirectoryRegistration the configuration settings of the Azure Active Directory app +// registration. +type AzureActiveDirectoryRegistration struct { + // OpenIDIssuer - The OpenID Connect Issuer URI that represents the entity which issues access tokens for this application. + // When using Azure Active Directory, this value is the URI of the directory tenant, e.g. https://login.microsoftonline.com/v2.0/{tenant-guid}/. + // This URI is a case-sensitive identifier for the token issuer. + // More information on OpenID Connect Discovery: http://openid.net/specs/openid-connect-discovery-1_0.html + OpenIDIssuer *string `json:"openIdIssuer,omitempty"` + // ClientID - The Client ID of this relying party application, known as the client_id. + // This setting is required for enabling OpenID Connection authentication with Azure Active Directory or + // other 3rd party OpenID Connect providers. + // More information on OpenID Connect: http://openid.net/specs/openid-connect-core-1_0.html + ClientID *string `json:"clientId,omitempty"` + // ClientSecretSettingName - The app setting name that contains the client secret of the relying party application. + ClientSecretSettingName *string `json:"clientSecretSettingName,omitempty"` + // ClientSecretCertificateThumbprint - An alternative to the client secret, that is the thumbprint of a certificate used for signing purposes. This property acts as + // a replacement for the Client Secret. It is also optional. + ClientSecretCertificateThumbprint *string `json:"clientSecretCertificateThumbprint,omitempty"` + // ClientSecretCertificateSubjectAlternativeName - An alternative to the client secret thumbprint, that is the subject alternative name of a certificate used for signing purposes. This property acts as + // a replacement for the Client Secret Certificate Thumbprint. It is also optional. + ClientSecretCertificateSubjectAlternativeName *string `json:"clientSecretCertificateSubjectAlternativeName,omitempty"` + // ClientSecretCertificateIssuer - An alternative to the client secret thumbprint, that is the issuer of a certificate used for signing purposes. This property acts as + // a replacement for the Client Secret Certificate Thumbprint. It is also optional. + ClientSecretCertificateIssuer *string `json:"clientSecretCertificateIssuer,omitempty"` } -// AzureActiveDirectoryLogin the configuration settings of the Azure Active Directory login flow. -type AzureActiveDirectoryLogin struct { - // AzureActiveDirectoryLoginProperties - AzureActiveDirectoryLogin resource specific properties - *AzureActiveDirectoryLoginProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` +// AzureActiveDirectoryValidation the configuration settings of the Azure Active Directory token validation +// flow. +type AzureActiveDirectoryValidation struct { + // JwtClaimChecks - The configuration settings of the checks that should be made while validating the JWT Claims. + JwtClaimChecks *JwtClaimChecks `json:"jwtClaimChecks,omitempty"` + // AllowedAudiences - The list of audiences that can make successful authentication/authorization requests. + AllowedAudiences *[]string `json:"allowedAudiences,omitempty"` } -// MarshalJSON is the custom marshaler for AzureActiveDirectoryLogin. -func (aadl AzureActiveDirectoryLogin) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if aadl.AzureActiveDirectoryLoginProperties != nil { - objectMap["properties"] = aadl.AzureActiveDirectoryLoginProperties - } - if aadl.Kind != nil { - objectMap["kind"] = aadl.Kind - } - return json.Marshal(objectMap) +// AzureBlobStorageApplicationLogsConfig application logs azure blob storage configuration. +type AzureBlobStorageApplicationLogsConfig struct { + // Level - Log level. Possible values include: 'Off', 'Verbose', 'Information', 'Warning', 'Error' + Level LogLevel `json:"level,omitempty"` + // SasURL - SAS url to a azure blob container with read/write/list/delete permissions. + SasURL *string `json:"sasUrl,omitempty"` + // RetentionInDays - Retention in days. + // Remove blobs older than X days. + // 0 or lower means no retention. + RetentionInDays *int32 `json:"retentionInDays,omitempty"` } -// UnmarshalJSON is the custom unmarshaler for AzureActiveDirectoryLogin struct. -func (aadl *AzureActiveDirectoryLogin) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var azureActiveDirectoryLoginProperties AzureActiveDirectoryLoginProperties - err = json.Unmarshal(*v, &azureActiveDirectoryLoginProperties) - if err != nil { - return err - } - aadl.AzureActiveDirectoryLoginProperties = &azureActiveDirectoryLoginProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - aadl.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - aadl.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - aadl.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - aadl.Type = &typeVar - } - } - } +// AzureBlobStorageHTTPLogsConfig http logs to azure blob storage configuration. +type AzureBlobStorageHTTPLogsConfig struct { + // SasURL - SAS url to a azure blob container with read/write/list/delete permissions. + SasURL *string `json:"sasUrl,omitempty"` + // RetentionInDays - Retention in days. + // Remove blobs older than X days. + // 0 or lower means no retention. + RetentionInDays *int32 `json:"retentionInDays,omitempty"` + // Enabled - True if configuration is enabled, false if it is disabled and null if configuration is not set. + Enabled *bool `json:"enabled,omitempty"` +} - return nil +// AzureStaticWebApps the configuration settings of the Azure Static Web Apps provider. +type AzureStaticWebApps struct { + // Enabled - false if the Azure Static Web Apps provider should not be enabled despite the set registration; otherwise, true. + Enabled *bool `json:"enabled,omitempty"` + // Registration - The configuration settings of the Azure Static Web Apps registration. + Registration *AzureStaticWebAppsRegistration `json:"registration,omitempty"` } -// AzureActiveDirectoryLoginProperties azureActiveDirectoryLogin resource specific properties -type AzureActiveDirectoryLoginProperties struct { - DisableWWWAuthenticate *bool `json:"disableWWWAuthenticate,omitempty"` - // LoginParameters - Login parameters to send to the OpenID Connect authorization endpoint when - // a user logs in. Each parameter must be in the form "key=value". - LoginParameters *[]string `json:"loginParameters,omitempty"` +// AzureStaticWebAppsRegistration the configuration settings of the registration for the Azure Static Web +// Apps provider +type AzureStaticWebAppsRegistration struct { + // ClientID - The Client ID of the app used for login. + ClientID *string `json:"clientId,omitempty"` } -// AzureActiveDirectoryProperties azureActiveDirectory resource specific properties -type AzureActiveDirectoryProperties struct { - // Enabled - false if the Azure Active Directory provider should not be enabled despite the set registration; otherwise, true. - Enabled *bool `json:"enabled,omitempty"` - // Registration - The configuration settings of the Azure Active Directory app registration. - Registration *AzureActiveDirectoryRegistration `json:"registration,omitempty"` - // Login - The configuration settings of the Azure Active Directory login flow. - Login *AzureActiveDirectoryLogin `json:"login,omitempty"` - // Validation - The configuration settings of the Azure Active Directory token validation flow. - Validation *AzureActiveDirectoryValidation `json:"validation,omitempty"` - // IsAutoProvisioned - Gets a value indicating whether the Azure AD configuration was auto-provisioned using 1st party tooling. - // This is an internal flag primarily intended to support the Azure Management Portal. Users should not - // read or write to this property. - IsAutoProvisioned *bool `json:"isAutoProvisioned,omitempty"` +// AzureStorageInfoValue azure Files or Blob Storage access information value for dictionary storage. +type AzureStorageInfoValue struct { + // Type - Type of storage. Possible values include: 'AzureFiles', 'AzureBlob' + Type AzureStorageType `json:"type,omitempty"` + // AccountName - Name of the storage account. + AccountName *string `json:"accountName,omitempty"` + // ShareName - Name of the file share (container name, for Blob storage). + ShareName *string `json:"shareName,omitempty"` + // AccessKey - Access key for the storage account. + AccessKey *string `json:"accessKey,omitempty"` + // MountPath - Path to mount the storage within the site's runtime environment. + MountPath *string `json:"mountPath,omitempty"` + // State - READ-ONLY; State of the storage account. Possible values include: 'Ok', 'InvalidCredentials', 'InvalidShare', 'NotValidated' + State AzureStorageState `json:"state,omitempty"` } -// AzureActiveDirectoryRegistration the configuration settings of the Azure Active Directory app -// registration. -type AzureActiveDirectoryRegistration struct { - // AzureActiveDirectoryRegistrationProperties - AzureActiveDirectoryRegistration resource specific properties - *AzureActiveDirectoryRegistrationProperties `json:"properties,omitempty"` +// MarshalJSON is the custom marshaler for AzureStorageInfoValue. +func (asiv AzureStorageInfoValue) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if asiv.Type != "" { + objectMap["type"] = asiv.Type + } + if asiv.AccountName != nil { + objectMap["accountName"] = asiv.AccountName + } + if asiv.ShareName != nil { + objectMap["shareName"] = asiv.ShareName + } + if asiv.AccessKey != nil { + objectMap["accessKey"] = asiv.AccessKey + } + if asiv.MountPath != nil { + objectMap["mountPath"] = asiv.MountPath + } + return json.Marshal(objectMap) +} + +// AzureStoragePropertyDictionaryResource azureStorageInfo dictionary resource. +type AzureStoragePropertyDictionaryResource struct { + autorest.Response `json:"-"` + // Properties - Azure storage accounts. + Properties map[string]*AzureStorageInfoValue `json:"properties"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. @@ -6367,102 +5877,31 @@ type AzureActiveDirectoryRegistration struct { Type *string `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for AzureActiveDirectoryRegistration. -func (aadr AzureActiveDirectoryRegistration) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for AzureStoragePropertyDictionaryResource. +func (aspdr AzureStoragePropertyDictionaryResource) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if aadr.AzureActiveDirectoryRegistrationProperties != nil { - objectMap["properties"] = aadr.AzureActiveDirectoryRegistrationProperties + if aspdr.Properties != nil { + objectMap["properties"] = aspdr.Properties } - if aadr.Kind != nil { - objectMap["kind"] = aadr.Kind + if aspdr.Kind != nil { + objectMap["kind"] = aspdr.Kind } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for AzureActiveDirectoryRegistration struct. -func (aadr *AzureActiveDirectoryRegistration) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var azureActiveDirectoryRegistrationProperties AzureActiveDirectoryRegistrationProperties - err = json.Unmarshal(*v, &azureActiveDirectoryRegistrationProperties) - if err != nil { - return err - } - aadr.AzureActiveDirectoryRegistrationProperties = &azureActiveDirectoryRegistrationProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - aadr.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - aadr.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - aadr.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - aadr.Type = &typeVar - } - } - } - - return nil -} - -// AzureActiveDirectoryRegistrationProperties azureActiveDirectoryRegistration resource specific properties -type AzureActiveDirectoryRegistrationProperties struct { - // OpenIDIssuer - The OpenID Connect Issuer URI that represents the entity which issues access tokens for this application. - // When using Azure Active Directory, this value is the URI of the directory tenant, e.g. https://login.microsoftonline.com/v2.0/{tenant-guid}/. - // This URI is a case-sensitive identifier for the token issuer. - // More information on OpenID Connect Discovery: http://openid.net/specs/openid-connect-discovery-1_0.html - OpenIDIssuer *string `json:"openIdIssuer,omitempty"` - // ClientID - The Client ID of this relying party application, known as the client_id. - // This setting is required for enabling OpenID Connection authentication with Azure Active Directory or - // other 3rd party OpenID Connect providers. - // More information on OpenID Connect: http://openid.net/specs/openid-connect-core-1_0.html - ClientID *string `json:"clientId,omitempty"` - // ClientSecretSettingName - The app setting name that contains the client secret of the relying party application. - ClientSecretSettingName *string `json:"clientSecretSettingName,omitempty"` - // ClientSecretCertificateThumbprint - An alternative to the client secret, that is the thumbprint of a certificate used for signing purposes. This property acts as - // a replacement for the Client Secret. It is also optional. - ClientSecretCertificateThumbprint *string `json:"clientSecretCertificateThumbprint,omitempty"` +// AzureTableStorageApplicationLogsConfig application logs to Azure table storage configuration. +type AzureTableStorageApplicationLogsConfig struct { + // Level - Log level. Possible values include: 'Off', 'Verbose', 'Information', 'Warning', 'Error' + Level LogLevel `json:"level,omitempty"` + // SasURL - SAS URL to an Azure table with add/query/delete permissions. + SasURL *string `json:"sasUrl,omitempty"` } -// AzureActiveDirectoryValidation the configuration settings of the Azure Active Directory token validation -// flow. -type AzureActiveDirectoryValidation struct { - // AzureActiveDirectoryValidationProperties - AzureActiveDirectoryValidation resource specific properties - *AzureActiveDirectoryValidationProperties `json:"properties,omitempty"` +// BackupItem backup description. +type BackupItem struct { + autorest.Response `json:"-"` + // BackupItemProperties - BackupItem resource specific properties + *BackupItemProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. @@ -6473,20 +5912,20 @@ type AzureActiveDirectoryValidation struct { Type *string `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for AzureActiveDirectoryValidation. -func (aadv AzureActiveDirectoryValidation) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for BackupItem. +func (bi BackupItem) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if aadv.AzureActiveDirectoryValidationProperties != nil { - objectMap["properties"] = aadv.AzureActiveDirectoryValidationProperties + if bi.BackupItemProperties != nil { + objectMap["properties"] = bi.BackupItemProperties } - if aadv.Kind != nil { - objectMap["kind"] = aadv.Kind + if bi.Kind != nil { + objectMap["kind"] = bi.Kind } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for AzureActiveDirectoryValidation struct. -func (aadv *AzureActiveDirectoryValidation) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for BackupItem struct. +func (bi *BackupItem) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -6496,12 +5935,12 @@ func (aadv *AzureActiveDirectoryValidation) UnmarshalJSON(body []byte) error { switch k { case "properties": if v != nil { - var azureActiveDirectoryValidationProperties AzureActiveDirectoryValidationProperties - err = json.Unmarshal(*v, &azureActiveDirectoryValidationProperties) + var backupItemProperties BackupItemProperties + err = json.Unmarshal(*v, &backupItemProperties) if err != nil { return err } - aadv.AzureActiveDirectoryValidationProperties = &azureActiveDirectoryValidationProperties + bi.BackupItemProperties = &backupItemProperties } case "id": if v != nil { @@ -6510,7 +5949,7 @@ func (aadv *AzureActiveDirectoryValidation) UnmarshalJSON(body []byte) error { if err != nil { return err } - aadv.ID = &ID + bi.ID = &ID } case "name": if v != nil { @@ -6519,7 +5958,7 @@ func (aadv *AzureActiveDirectoryValidation) UnmarshalJSON(body []byte) error { if err != nil { return err } - aadv.Name = &name + bi.Name = &name } case "kind": if v != nil { @@ -6528,7 +5967,7 @@ func (aadv *AzureActiveDirectoryValidation) UnmarshalJSON(body []byte) error { if err != nil { return err } - aadv.Kind = &kind + bi.Kind = &kind } case "type": if v != nil { @@ -6537,7 +5976,7 @@ func (aadv *AzureActiveDirectoryValidation) UnmarshalJSON(body []byte) error { if err != nil { return err } - aadv.Type = &typeVar + bi.Type = &typeVar } } } @@ -6545,42 +5984,217 @@ func (aadv *AzureActiveDirectoryValidation) UnmarshalJSON(body []byte) error { return nil } -// AzureActiveDirectoryValidationProperties azureActiveDirectoryValidation resource specific properties -type AzureActiveDirectoryValidationProperties struct { - // JwtClaimChecks - The configuration settings of the checks that should be made while validating the JWT Claims. - JwtClaimChecks *JwtClaimChecks `json:"jwtClaimChecks,omitempty"` - // AllowedAudiences - The list of audiences that can make successful authentication/authorization requests. - AllowedAudiences *[]string `json:"allowedAudiences,omitempty"` -} - -// AzureBlobStorageApplicationLogsConfig application logs azure blob storage configuration. -type AzureBlobStorageApplicationLogsConfig struct { - // Level - Log level. Possible values include: 'Off', 'Verbose', 'Information', 'Warning', 'Error' - Level LogLevel `json:"level,omitempty"` - // SasURL - SAS url to a azure blob container with read/write/list/delete permissions. - SasURL *string `json:"sasUrl,omitempty"` - // RetentionInDays - Retention in days. - // Remove blobs older than X days. - // 0 or lower means no retention. - RetentionInDays *int32 `json:"retentionInDays,omitempty"` +// BackupItemCollection collection of backup items. +type BackupItemCollection struct { + autorest.Response `json:"-"` + // Value - Collection of resources. + Value *[]BackupItem `json:"value,omitempty"` + // NextLink - READ-ONLY; Link to next page of resources. + NextLink *string `json:"nextLink,omitempty"` } -// AzureBlobStorageHTTPLogsConfig http logs to azure blob storage configuration. -type AzureBlobStorageHTTPLogsConfig struct { - // SasURL - SAS url to a azure blob container with read/write/list/delete permissions. - SasURL *string `json:"sasUrl,omitempty"` - // RetentionInDays - Retention in days. - // Remove blobs older than X days. - // 0 or lower means no retention. - RetentionInDays *int32 `json:"retentionInDays,omitempty"` - // Enabled - True if configuration is enabled, false if it is disabled and null if configuration is not set. - Enabled *bool `json:"enabled,omitempty"` +// MarshalJSON is the custom marshaler for BackupItemCollection. +func (bic BackupItemCollection) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if bic.Value != nil { + objectMap["value"] = bic.Value + } + return json.Marshal(objectMap) } -// AzureStaticWebApps the configuration settings of the Azure Static Web Apps provider. -type AzureStaticWebApps struct { - // AzureStaticWebAppsProperties - AzureStaticWebApps resource specific properties - *AzureStaticWebAppsProperties `json:"properties,omitempty"` +// BackupItemCollectionIterator provides access to a complete listing of BackupItem values. +type BackupItemCollectionIterator struct { + i int + page BackupItemCollectionPage +} + +// NextWithContext advances to the next value. If there was an error making +// the request the iterator does not advance and the error is returned. +func (iter *BackupItemCollectionIterator) NextWithContext(ctx context.Context) (err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/BackupItemCollectionIterator.NextWithContext") + defer func() { + sc := -1 + if iter.Response().Response.Response != nil { + sc = iter.Response().Response.Response.StatusCode + } + tracing.EndSpan(ctx, sc, err) + }() + } + iter.i++ + if iter.i < len(iter.page.Values()) { + return nil + } + err = iter.page.NextWithContext(ctx) + if err != nil { + iter.i-- + return err + } + iter.i = 0 + return nil +} + +// Next advances to the next value. If there was an error making +// the request the iterator does not advance and the error is returned. +// Deprecated: Use NextWithContext() instead. +func (iter *BackupItemCollectionIterator) Next() error { + return iter.NextWithContext(context.Background()) +} + +// NotDone returns true if the enumeration should be started or is not yet complete. +func (iter BackupItemCollectionIterator) NotDone() bool { + return iter.page.NotDone() && iter.i < len(iter.page.Values()) +} + +// Response returns the raw server response from the last page request. +func (iter BackupItemCollectionIterator) Response() BackupItemCollection { + return iter.page.Response() +} + +// Value returns the current value or a zero-initialized value if the +// iterator has advanced beyond the end of the collection. +func (iter BackupItemCollectionIterator) Value() BackupItem { + if !iter.page.NotDone() { + return BackupItem{} + } + return iter.page.Values()[iter.i] +} + +// Creates a new instance of the BackupItemCollectionIterator type. +func NewBackupItemCollectionIterator(page BackupItemCollectionPage) BackupItemCollectionIterator { + return BackupItemCollectionIterator{page: page} +} + +// IsEmpty returns true if the ListResult contains no values. +func (bic BackupItemCollection) IsEmpty() bool { + return bic.Value == nil || len(*bic.Value) == 0 +} + +// hasNextLink returns true if the NextLink is not empty. +func (bic BackupItemCollection) hasNextLink() bool { + return bic.NextLink != nil && len(*bic.NextLink) != 0 +} + +// backupItemCollectionPreparer prepares a request to retrieve the next set of results. +// It returns nil if no more results exist. +func (bic BackupItemCollection) backupItemCollectionPreparer(ctx context.Context) (*http.Request, error) { + if !bic.hasNextLink() { + return nil, nil + } + return autorest.Prepare((&http.Request{}).WithContext(ctx), + autorest.AsJSON(), + autorest.AsGet(), + autorest.WithBaseURL(to.String(bic.NextLink))) +} + +// BackupItemCollectionPage contains a page of BackupItem values. +type BackupItemCollectionPage struct { + fn func(context.Context, BackupItemCollection) (BackupItemCollection, error) + bic BackupItemCollection +} + +// NextWithContext advances to the next page of values. If there was an error making +// the request the page does not advance and the error is returned. +func (page *BackupItemCollectionPage) NextWithContext(ctx context.Context) (err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/BackupItemCollectionPage.NextWithContext") + defer func() { + sc := -1 + if page.Response().Response.Response != nil { + sc = page.Response().Response.Response.StatusCode + } + tracing.EndSpan(ctx, sc, err) + }() + } + for { + next, err := page.fn(ctx, page.bic) + if err != nil { + return err + } + page.bic = next + if !next.hasNextLink() || !next.IsEmpty() { + break + } + } + return nil +} + +// Next advances to the next page of values. If there was an error making +// the request the page does not advance and the error is returned. +// Deprecated: Use NextWithContext() instead. +func (page *BackupItemCollectionPage) Next() error { + return page.NextWithContext(context.Background()) +} + +// NotDone returns true if the page enumeration should be started or is not yet complete. +func (page BackupItemCollectionPage) NotDone() bool { + return !page.bic.IsEmpty() +} + +// Response returns the raw server response from the last page request. +func (page BackupItemCollectionPage) Response() BackupItemCollection { + return page.bic +} + +// Values returns the slice of values for the current page or nil if there are no values. +func (page BackupItemCollectionPage) Values() []BackupItem { + if page.bic.IsEmpty() { + return nil + } + return *page.bic.Value +} + +// Creates a new instance of the BackupItemCollectionPage type. +func NewBackupItemCollectionPage(cur BackupItemCollection, getNextPage func(context.Context, BackupItemCollection) (BackupItemCollection, error)) BackupItemCollectionPage { + return BackupItemCollectionPage{ + fn: getNextPage, + bic: cur, + } +} + +// BackupItemProperties backupItem resource specific properties +type BackupItemProperties struct { + // BackupID - READ-ONLY; Id of the backup. + BackupID *int32 `json:"id,omitempty"` + // StorageAccountURL - READ-ONLY; SAS URL for the storage account container which contains this backup. + StorageAccountURL *string `json:"storageAccountUrl,omitempty"` + // BlobName - READ-ONLY; Name of the blob which contains data for this backup. + BlobName *string `json:"blobName,omitempty"` + // Name - READ-ONLY; Name of this backup. + Name *string `json:"name,omitempty"` + // Status - READ-ONLY; Backup status. Possible values include: 'InProgress', 'Failed', 'Succeeded', 'TimedOut', 'Created', 'Skipped', 'PartiallySucceeded', 'DeleteInProgress', 'DeleteFailed', 'Deleted' + Status BackupItemStatus `json:"status,omitempty"` + // SizeInBytes - READ-ONLY; Size of the backup in bytes. + SizeInBytes *int64 `json:"sizeInBytes,omitempty"` + // Created - READ-ONLY; Timestamp of the backup creation. + Created *date.Time `json:"created,omitempty"` + // Log - READ-ONLY; Details regarding this backup. Might contain an error message. + Log *string `json:"log,omitempty"` + // Databases - READ-ONLY; List of databases included in the backup. + Databases *[]DatabaseBackupSetting `json:"databases,omitempty"` + // Scheduled - READ-ONLY; True if this backup has been created due to a schedule being triggered. + Scheduled *bool `json:"scheduled,omitempty"` + // LastRestoreTimeStamp - READ-ONLY; Timestamp of a last restore operation which used this backup. + LastRestoreTimeStamp *date.Time `json:"lastRestoreTimeStamp,omitempty"` + // FinishedTimeStamp - READ-ONLY; Timestamp when this backup finished. + FinishedTimeStamp *date.Time `json:"finishedTimeStamp,omitempty"` + // CorrelationID - READ-ONLY; Unique correlation identifier. Please use this along with the timestamp while communicating with Azure support. + CorrelationID *string `json:"correlationId,omitempty"` + // WebsiteSizeInBytes - READ-ONLY; Size of the original web app which has been backed up. + WebsiteSizeInBytes *int64 `json:"websiteSizeInBytes,omitempty"` +} + +// MarshalJSON is the custom marshaler for BackupItemProperties. +func (bi BackupItemProperties) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + return json.Marshal(objectMap) +} + +// BackupRequest description of a backup which will be performed. +type BackupRequest struct { + autorest.Response `json:"-"` + // BackupRequestProperties - BackupRequest resource specific properties + *BackupRequestProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. @@ -6591,20 +6205,20 @@ type AzureStaticWebApps struct { Type *string `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for AzureStaticWebApps. -func (aswa AzureStaticWebApps) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for BackupRequest. +func (br BackupRequest) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if aswa.AzureStaticWebAppsProperties != nil { - objectMap["properties"] = aswa.AzureStaticWebAppsProperties + if br.BackupRequestProperties != nil { + objectMap["properties"] = br.BackupRequestProperties } - if aswa.Kind != nil { - objectMap["kind"] = aswa.Kind + if br.Kind != nil { + objectMap["kind"] = br.Kind } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for AzureStaticWebApps struct. -func (aswa *AzureStaticWebApps) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for BackupRequest struct. +func (br *BackupRequest) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -6614,12 +6228,12 @@ func (aswa *AzureStaticWebApps) UnmarshalJSON(body []byte) error { switch k { case "properties": if v != nil { - var azureStaticWebAppsProperties AzureStaticWebAppsProperties - err = json.Unmarshal(*v, &azureStaticWebAppsProperties) + var backupRequestProperties BackupRequestProperties + err = json.Unmarshal(*v, &backupRequestProperties) if err != nil { return err } - aswa.AzureStaticWebAppsProperties = &azureStaticWebAppsProperties + br.BackupRequestProperties = &backupRequestProperties } case "id": if v != nil { @@ -6628,7 +6242,7 @@ func (aswa *AzureStaticWebApps) UnmarshalJSON(body []byte) error { if err != nil { return err } - aswa.ID = &ID + br.ID = &ID } case "name": if v != nil { @@ -6637,7 +6251,7 @@ func (aswa *AzureStaticWebApps) UnmarshalJSON(body []byte) error { if err != nil { return err } - aswa.Name = &name + br.Name = &name } case "kind": if v != nil { @@ -6646,7 +6260,7 @@ func (aswa *AzureStaticWebApps) UnmarshalJSON(body []byte) error { if err != nil { return err } - aswa.Kind = &kind + br.Kind = &kind } case "type": if v != nil { @@ -6655,7 +6269,7 @@ func (aswa *AzureStaticWebApps) UnmarshalJSON(body []byte) error { if err != nil { return err } - aswa.Type = &typeVar + br.Type = &typeVar } } } @@ -6663,184 +6277,63 @@ func (aswa *AzureStaticWebApps) UnmarshalJSON(body []byte) error { return nil } -// AzureStaticWebAppsProperties azureStaticWebApps resource specific properties -type AzureStaticWebAppsProperties struct { - // Enabled - false if the Azure Static Web Apps provider should not be enabled despite the set registration; otherwise, true. +// BackupRequestProperties backupRequest resource specific properties +type BackupRequestProperties struct { + // BackupName - Name of the backup. + BackupName *string `json:"backupName,omitempty"` + // Enabled - True if the backup schedule is enabled (must be included in that case), false if the backup schedule should be disabled. Enabled *bool `json:"enabled,omitempty"` - // Registration - The configuration settings of the Azure Static Web Apps registration. - Registration *AzureStaticWebAppsRegistration `json:"registration,omitempty"` -} - -// AzureStaticWebAppsRegistration the configuration settings of the registration for the Azure Static Web -// Apps provider -type AzureStaticWebAppsRegistration struct { - // AzureStaticWebAppsRegistrationProperties - AzureStaticWebAppsRegistration resource specific properties - *AzureStaticWebAppsRegistrationProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` + // StorageAccountURL - SAS URL to the container. + StorageAccountURL *string `json:"storageAccountUrl,omitempty"` + // BackupSchedule - Schedule for the backup if it is executed periodically. + BackupSchedule *BackupSchedule `json:"backupSchedule,omitempty"` + // Databases - Databases included in the backup. + Databases *[]DatabaseBackupSetting `json:"databases,omitempty"` } -// MarshalJSON is the custom marshaler for AzureStaticWebAppsRegistration. -func (aswar AzureStaticWebAppsRegistration) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if aswar.AzureStaticWebAppsRegistrationProperties != nil { - objectMap["properties"] = aswar.AzureStaticWebAppsRegistrationProperties - } - if aswar.Kind != nil { - objectMap["kind"] = aswar.Kind - } - return json.Marshal(objectMap) -} - -// UnmarshalJSON is the custom unmarshaler for AzureStaticWebAppsRegistration struct. -func (aswar *AzureStaticWebAppsRegistration) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var azureStaticWebAppsRegistrationProperties AzureStaticWebAppsRegistrationProperties - err = json.Unmarshal(*v, &azureStaticWebAppsRegistrationProperties) - if err != nil { - return err - } - aswar.AzureStaticWebAppsRegistrationProperties = &azureStaticWebAppsRegistrationProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - aswar.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - aswar.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - aswar.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - aswar.Type = &typeVar - } - } - } - - return nil -} - -// AzureStaticWebAppsRegistrationProperties azureStaticWebAppsRegistration resource specific properties -type AzureStaticWebAppsRegistrationProperties struct { - // ClientID - The Client ID of the app used for login. - ClientID *string `json:"clientId,omitempty"` -} - -// AzureStorageInfoValue azure Files or Blob Storage access information value for dictionary storage. -type AzureStorageInfoValue struct { - // Type - Type of storage. Possible values include: 'AzureFiles', 'AzureBlob' - Type AzureStorageType `json:"type,omitempty"` - // AccountName - Name of the storage account. - AccountName *string `json:"accountName,omitempty"` - // ShareName - Name of the file share (container name, for Blob storage). - ShareName *string `json:"shareName,omitempty"` - // AccessKey - Access key for the storage account. - AccessKey *string `json:"accessKey,omitempty"` - // MountPath - Path to mount the storage within the site's runtime environment. - MountPath *string `json:"mountPath,omitempty"` - // State - READ-ONLY; State of the storage account. Possible values include: 'Ok', 'InvalidCredentials', 'InvalidShare', 'NotValidated' - State AzureStorageState `json:"state,omitempty"` +// BackupSchedule description of a backup schedule. Describes how often should be the backup performed and +// what should be the retention policy. +type BackupSchedule struct { + // FrequencyInterval - How often the backup should be executed (e.g. for weekly backup, this should be set to 7 and FrequencyUnit should be set to Day) + FrequencyInterval *int32 `json:"frequencyInterval,omitempty"` + // FrequencyUnit - The unit of time for how often the backup should be executed (e.g. for weekly backup, this should be set to Day and FrequencyInterval should be set to 7). Possible values include: 'Day', 'Hour' + FrequencyUnit FrequencyUnit `json:"frequencyUnit,omitempty"` + // KeepAtLeastOneBackup - True if the retention policy should always keep at least one backup in the storage account, regardless how old it is; false otherwise. + KeepAtLeastOneBackup *bool `json:"keepAtLeastOneBackup,omitempty"` + // RetentionPeriodInDays - After how many days backups should be deleted. + RetentionPeriodInDays *int32 `json:"retentionPeriodInDays,omitempty"` + // StartTime - When the schedule should start working. + StartTime *date.Time `json:"startTime,omitempty"` + // LastExecutionTime - READ-ONLY; Last time when this schedule was triggered. + LastExecutionTime *date.Time `json:"lastExecutionTime,omitempty"` } -// MarshalJSON is the custom marshaler for AzureStorageInfoValue. -func (asiv AzureStorageInfoValue) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for BackupSchedule. +func (bs BackupSchedule) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if asiv.Type != "" { - objectMap["type"] = asiv.Type - } - if asiv.AccountName != nil { - objectMap["accountName"] = asiv.AccountName - } - if asiv.ShareName != nil { - objectMap["shareName"] = asiv.ShareName + if bs.FrequencyInterval != nil { + objectMap["frequencyInterval"] = bs.FrequencyInterval } - if asiv.AccessKey != nil { - objectMap["accessKey"] = asiv.AccessKey + if bs.FrequencyUnit != "" { + objectMap["frequencyUnit"] = bs.FrequencyUnit } - if asiv.MountPath != nil { - objectMap["mountPath"] = asiv.MountPath + if bs.KeepAtLeastOneBackup != nil { + objectMap["keepAtLeastOneBackup"] = bs.KeepAtLeastOneBackup } - return json.Marshal(objectMap) -} - -// AzureStoragePropertyDictionaryResource azureStorageInfo dictionary resource. -type AzureStoragePropertyDictionaryResource struct { - autorest.Response `json:"-"` - // Properties - Azure storage accounts. - Properties map[string]*AzureStorageInfoValue `json:"properties"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for AzureStoragePropertyDictionaryResource. -func (aspdr AzureStoragePropertyDictionaryResource) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if aspdr.Properties != nil { - objectMap["properties"] = aspdr.Properties + if bs.RetentionPeriodInDays != nil { + objectMap["retentionPeriodInDays"] = bs.RetentionPeriodInDays } - if aspdr.Kind != nil { - objectMap["kind"] = aspdr.Kind + if bs.StartTime != nil { + objectMap["startTime"] = bs.StartTime } return json.Marshal(objectMap) } -// AzureTableStorageApplicationLogsConfig application logs to Azure table storage configuration. -type AzureTableStorageApplicationLogsConfig struct { - // Level - Log level. Possible values include: 'Off', 'Verbose', 'Information', 'Warning', 'Error' - Level LogLevel `json:"level,omitempty"` - // SasURL - SAS URL to an Azure table with add/query/delete permissions. - SasURL *string `json:"sasUrl,omitempty"` -} - -// BackupItem backup description. -type BackupItem struct { - autorest.Response `json:"-"` - // BackupItemProperties - BackupItem resource specific properties - *BackupItemProperties `json:"properties,omitempty"` +// BillingMeter app Service billing entity that contains information about meter which the Azure billing +// system utilizes to charge users for services. +type BillingMeter struct { + // BillingMeterProperties - BillingMeter resource specific properties + *BillingMeterProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. @@ -6851,20 +6344,20 @@ type BackupItem struct { Type *string `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for BackupItem. -func (bi BackupItem) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for BillingMeter. +func (bm BillingMeter) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if bi.BackupItemProperties != nil { - objectMap["properties"] = bi.BackupItemProperties + if bm.BillingMeterProperties != nil { + objectMap["properties"] = bm.BillingMeterProperties } - if bi.Kind != nil { - objectMap["kind"] = bi.Kind + if bm.Kind != nil { + objectMap["kind"] = bm.Kind } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for BackupItem struct. -func (bi *BackupItem) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for BillingMeter struct. +func (bm *BillingMeter) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -6874,12 +6367,12 @@ func (bi *BackupItem) UnmarshalJSON(body []byte) error { switch k { case "properties": if v != nil { - var backupItemProperties BackupItemProperties - err = json.Unmarshal(*v, &backupItemProperties) + var billingMeterProperties BillingMeterProperties + err = json.Unmarshal(*v, &billingMeterProperties) if err != nil { return err } - bi.BackupItemProperties = &backupItemProperties + bm.BillingMeterProperties = &billingMeterProperties } case "id": if v != nil { @@ -6888,7 +6381,7 @@ func (bi *BackupItem) UnmarshalJSON(body []byte) error { if err != nil { return err } - bi.ID = &ID + bm.ID = &ID } case "name": if v != nil { @@ -6897,7 +6390,7 @@ func (bi *BackupItem) UnmarshalJSON(body []byte) error { if err != nil { return err } - bi.Name = &name + bm.Name = &name } case "kind": if v != nil { @@ -6906,7 +6399,7 @@ func (bi *BackupItem) UnmarshalJSON(body []byte) error { if err != nil { return err } - bi.Kind = &kind + bm.Kind = &kind } case "type": if v != nil { @@ -6915,7 +6408,7 @@ func (bi *BackupItem) UnmarshalJSON(body []byte) error { if err != nil { return err } - bi.Type = &typeVar + bm.Type = &typeVar } } } @@ -6923,35 +6416,35 @@ func (bi *BackupItem) UnmarshalJSON(body []byte) error { return nil } -// BackupItemCollection collection of backup items. -type BackupItemCollection struct { +// BillingMeterCollection collection of Billing Meters +type BillingMeterCollection struct { autorest.Response `json:"-"` // Value - Collection of resources. - Value *[]BackupItem `json:"value,omitempty"` + Value *[]BillingMeter `json:"value,omitempty"` // NextLink - READ-ONLY; Link to next page of resources. NextLink *string `json:"nextLink,omitempty"` } -// MarshalJSON is the custom marshaler for BackupItemCollection. -func (bic BackupItemCollection) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for BillingMeterCollection. +func (bmc BillingMeterCollection) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if bic.Value != nil { - objectMap["value"] = bic.Value + if bmc.Value != nil { + objectMap["value"] = bmc.Value } return json.Marshal(objectMap) } -// BackupItemCollectionIterator provides access to a complete listing of BackupItem values. -type BackupItemCollectionIterator struct { +// BillingMeterCollectionIterator provides access to a complete listing of BillingMeter values. +type BillingMeterCollectionIterator struct { i int - page BackupItemCollectionPage + page BillingMeterCollectionPage } // NextWithContext advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. -func (iter *BackupItemCollectionIterator) NextWithContext(ctx context.Context) (err error) { +func (iter *BillingMeterCollectionIterator) NextWithContext(ctx context.Context) (err error) { if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/BackupItemCollectionIterator.NextWithContext") + ctx = tracing.StartSpan(ctx, fqdn+"/BillingMeterCollectionIterator.NextWithContext") defer func() { sc := -1 if iter.Response().Response.Response != nil { @@ -6976,67 +6469,67 @@ func (iter *BackupItemCollectionIterator) NextWithContext(ctx context.Context) ( // Next advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. // Deprecated: Use NextWithContext() instead. -func (iter *BackupItemCollectionIterator) Next() error { +func (iter *BillingMeterCollectionIterator) Next() error { return iter.NextWithContext(context.Background()) } // NotDone returns true if the enumeration should be started or is not yet complete. -func (iter BackupItemCollectionIterator) NotDone() bool { +func (iter BillingMeterCollectionIterator) NotDone() bool { return iter.page.NotDone() && iter.i < len(iter.page.Values()) } // Response returns the raw server response from the last page request. -func (iter BackupItemCollectionIterator) Response() BackupItemCollection { +func (iter BillingMeterCollectionIterator) Response() BillingMeterCollection { return iter.page.Response() } // Value returns the current value or a zero-initialized value if the // iterator has advanced beyond the end of the collection. -func (iter BackupItemCollectionIterator) Value() BackupItem { +func (iter BillingMeterCollectionIterator) Value() BillingMeter { if !iter.page.NotDone() { - return BackupItem{} + return BillingMeter{} } return iter.page.Values()[iter.i] } -// Creates a new instance of the BackupItemCollectionIterator type. -func NewBackupItemCollectionIterator(page BackupItemCollectionPage) BackupItemCollectionIterator { - return BackupItemCollectionIterator{page: page} +// Creates a new instance of the BillingMeterCollectionIterator type. +func NewBillingMeterCollectionIterator(page BillingMeterCollectionPage) BillingMeterCollectionIterator { + return BillingMeterCollectionIterator{page: page} } // IsEmpty returns true if the ListResult contains no values. -func (bic BackupItemCollection) IsEmpty() bool { - return bic.Value == nil || len(*bic.Value) == 0 +func (bmc BillingMeterCollection) IsEmpty() bool { + return bmc.Value == nil || len(*bmc.Value) == 0 } // hasNextLink returns true if the NextLink is not empty. -func (bic BackupItemCollection) hasNextLink() bool { - return bic.NextLink != nil && len(*bic.NextLink) != 0 +func (bmc BillingMeterCollection) hasNextLink() bool { + return bmc.NextLink != nil && len(*bmc.NextLink) != 0 } -// backupItemCollectionPreparer prepares a request to retrieve the next set of results. +// billingMeterCollectionPreparer prepares a request to retrieve the next set of results. // It returns nil if no more results exist. -func (bic BackupItemCollection) backupItemCollectionPreparer(ctx context.Context) (*http.Request, error) { - if !bic.hasNextLink() { +func (bmc BillingMeterCollection) billingMeterCollectionPreparer(ctx context.Context) (*http.Request, error) { + if !bmc.hasNextLink() { return nil, nil } return autorest.Prepare((&http.Request{}).WithContext(ctx), autorest.AsJSON(), autorest.AsGet(), - autorest.WithBaseURL(to.String(bic.NextLink))) + autorest.WithBaseURL(to.String(bmc.NextLink))) } -// BackupItemCollectionPage contains a page of BackupItem values. -type BackupItemCollectionPage struct { - fn func(context.Context, BackupItemCollection) (BackupItemCollection, error) - bic BackupItemCollection +// BillingMeterCollectionPage contains a page of BillingMeter values. +type BillingMeterCollectionPage struct { + fn func(context.Context, BillingMeterCollection) (BillingMeterCollection, error) + bmc BillingMeterCollection } // NextWithContext advances to the next page of values. If there was an error making // the request the page does not advance and the error is returned. -func (page *BackupItemCollectionPage) NextWithContext(ctx context.Context) (err error) { +func (page *BillingMeterCollectionPage) NextWithContext(ctx context.Context) (err error) { if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/BackupItemCollectionPage.NextWithContext") + ctx = tracing.StartSpan(ctx, fqdn+"/BillingMeterCollectionPage.NextWithContext") defer func() { sc := -1 if page.Response().Response.Response != nil { @@ -7046,11 +6539,11 @@ func (page *BackupItemCollectionPage) NextWithContext(ctx context.Context) (err }() } for { - next, err := page.fn(ctx, page.bic) + next, err := page.fn(ctx, page.bmc) if err != nil { return err } - page.bic = next + page.bmc = next if !next.hasNextLink() || !next.IsEmpty() { break } @@ -7061,103 +6554,109 @@ func (page *BackupItemCollectionPage) NextWithContext(ctx context.Context) (err // Next advances to the next page of values. If there was an error making // the request the page does not advance and the error is returned. // Deprecated: Use NextWithContext() instead. -func (page *BackupItemCollectionPage) Next() error { +func (page *BillingMeterCollectionPage) Next() error { return page.NextWithContext(context.Background()) } // NotDone returns true if the page enumeration should be started or is not yet complete. -func (page BackupItemCollectionPage) NotDone() bool { - return !page.bic.IsEmpty() +func (page BillingMeterCollectionPage) NotDone() bool { + return !page.bmc.IsEmpty() } // Response returns the raw server response from the last page request. -func (page BackupItemCollectionPage) Response() BackupItemCollection { - return page.bic +func (page BillingMeterCollectionPage) Response() BillingMeterCollection { + return page.bmc } // Values returns the slice of values for the current page or nil if there are no values. -func (page BackupItemCollectionPage) Values() []BackupItem { - if page.bic.IsEmpty() { +func (page BillingMeterCollectionPage) Values() []BillingMeter { + if page.bmc.IsEmpty() { return nil } - return *page.bic.Value + return *page.bmc.Value } -// Creates a new instance of the BackupItemCollectionPage type. -func NewBackupItemCollectionPage(cur BackupItemCollection, getNextPage func(context.Context, BackupItemCollection) (BackupItemCollection, error)) BackupItemCollectionPage { - return BackupItemCollectionPage{ +// Creates a new instance of the BillingMeterCollectionPage type. +func NewBillingMeterCollectionPage(cur BillingMeterCollection, getNextPage func(context.Context, BillingMeterCollection) (BillingMeterCollection, error)) BillingMeterCollectionPage { + return BillingMeterCollectionPage{ fn: getNextPage, - bic: cur, + bmc: cur, } } -// BackupItemProperties backupItem resource specific properties -type BackupItemProperties struct { - // BackupID - READ-ONLY; Id of the backup. - BackupID *int32 `json:"id,omitempty"` - // StorageAccountURL - READ-ONLY; SAS URL for the storage account container which contains this backup. - StorageAccountURL *string `json:"storageAccountUrl,omitempty"` - // BlobName - READ-ONLY; Name of the blob which contains data for this backup. - BlobName *string `json:"blobName,omitempty"` - // Name - READ-ONLY; Name of this backup. - Name *string `json:"name,omitempty"` - // Status - READ-ONLY; Backup status. Possible values include: 'InProgress', 'Failed', 'Succeeded', 'TimedOut', 'Created', 'Skipped', 'PartiallySucceeded', 'DeleteInProgress', 'DeleteFailed', 'Deleted' - Status BackupItemStatus `json:"status,omitempty"` - // SizeInBytes - READ-ONLY; Size of the backup in bytes. - SizeInBytes *int64 `json:"sizeInBytes,omitempty"` - // Created - READ-ONLY; Timestamp of the backup creation. - Created *date.Time `json:"created,omitempty"` - // Log - READ-ONLY; Details regarding this backup. Might contain an error message. - Log *string `json:"log,omitempty"` - // Databases - READ-ONLY; List of databases included in the backup. - Databases *[]DatabaseBackupSetting `json:"databases,omitempty"` - // Scheduled - READ-ONLY; True if this backup has been created due to a schedule being triggered. - Scheduled *bool `json:"scheduled,omitempty"` - // LastRestoreTimeStamp - READ-ONLY; Timestamp of a last restore operation which used this backup. - LastRestoreTimeStamp *date.Time `json:"lastRestoreTimeStamp,omitempty"` - // FinishedTimeStamp - READ-ONLY; Timestamp when this backup finished. - FinishedTimeStamp *date.Time `json:"finishedTimeStamp,omitempty"` - // CorrelationID - READ-ONLY; Unique correlation identifier. Please use this along with the timestamp while communicating with Azure support. - CorrelationID *string `json:"correlationId,omitempty"` - // WebsiteSizeInBytes - READ-ONLY; Size of the original web app which has been backed up. - WebsiteSizeInBytes *int64 `json:"websiteSizeInBytes,omitempty"` +// BillingMeterProperties billingMeter resource specific properties +type BillingMeterProperties struct { + // MeterID - Meter GUID onboarded in Commerce + MeterID *string `json:"meterId,omitempty"` + // BillingLocation - Azure Location of billable resource + BillingLocation *string `json:"billingLocation,omitempty"` + // ShortName - Short Name from App Service Azure pricing Page + ShortName *string `json:"shortName,omitempty"` + // FriendlyName - Friendly name of the meter + FriendlyName *string `json:"friendlyName,omitempty"` + // ResourceType - App Service ResourceType meter used for + ResourceType *string `json:"resourceType,omitempty"` + // OsType - App Service OS type meter used for + OsType *string `json:"osType,omitempty"` + // Multiplier - Meter Multiplier + Multiplier *float64 `json:"multiplier,omitempty"` } -// MarshalJSON is the custom marshaler for BackupItemProperties. -func (bi BackupItemProperties) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - return json.Marshal(objectMap) +// BlobStorageTokenStore the configuration settings of the storage of the tokens if blob storage is used. +type BlobStorageTokenStore struct { + // SasURLSettingName - The name of the app setting containing the SAS URL of the blob storage containing the tokens. + SasURLSettingName *string `json:"sasUrlSettingName,omitempty"` } -// BackupRequest description of a backup which will be performed. -type BackupRequest struct { +// Capability describes the capabilities/features allowed for a specific SKU. +type Capability struct { + // Name - Name of the SKU capability. + Name *string `json:"name,omitempty"` + // Value - Value of the SKU capability. + Value *string `json:"value,omitempty"` + // Reason - Reason of the SKU capability. + Reason *string `json:"reason,omitempty"` +} + +// Certificate SSL certificate for an app. +type Certificate struct { autorest.Response `json:"-"` - // BackupRequestProperties - BackupRequest resource specific properties - *BackupRequestProperties `json:"properties,omitempty"` + // CertificateProperties - Certificate resource specific properties + *CertificateProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` + // Location - Resource Location. + Location *string `json:"location,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` + // Tags - Resource tags. + Tags map[string]*string `json:"tags"` } -// MarshalJSON is the custom marshaler for BackupRequest. -func (br BackupRequest) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for Certificate. +func (c Certificate) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if br.BackupRequestProperties != nil { - objectMap["properties"] = br.BackupRequestProperties + if c.CertificateProperties != nil { + objectMap["properties"] = c.CertificateProperties } - if br.Kind != nil { - objectMap["kind"] = br.Kind + if c.Kind != nil { + objectMap["kind"] = c.Kind + } + if c.Location != nil { + objectMap["location"] = c.Location + } + if c.Tags != nil { + objectMap["tags"] = c.Tags } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for BackupRequest struct. -func (br *BackupRequest) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for Certificate struct. +func (c *Certificate) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -7167,12 +6666,12 @@ func (br *BackupRequest) UnmarshalJSON(body []byte) error { switch k { case "properties": if v != nil { - var backupRequestProperties BackupRequestProperties - err = json.Unmarshal(*v, &backupRequestProperties) + var certificateProperties CertificateProperties + err = json.Unmarshal(*v, &certificateProperties) if err != nil { return err } - br.BackupRequestProperties = &backupRequestProperties + c.CertificateProperties = &certificateProperties } case "id": if v != nil { @@ -7181,7 +6680,7 @@ func (br *BackupRequest) UnmarshalJSON(body []byte) error { if err != nil { return err } - br.ID = &ID + c.ID = &ID } case "name": if v != nil { @@ -7190,7 +6689,7 @@ func (br *BackupRequest) UnmarshalJSON(body []byte) error { if err != nil { return err } - br.Name = &name + c.Name = &name } case "kind": if v != nil { @@ -7199,7 +6698,16 @@ func (br *BackupRequest) UnmarshalJSON(body []byte) error { if err != nil { return err } - br.Kind = &kind + c.Kind = &kind + } + case "location": + if v != nil { + var location string + err = json.Unmarshal(*v, &location) + if err != nil { + return err + } + c.Location = &location } case "type": if v != nil { @@ -7208,7 +6716,16 @@ func (br *BackupRequest) UnmarshalJSON(body []byte) error { if err != nil { return err } - br.Type = &typeVar + c.Type = &typeVar + } + case "tags": + if v != nil { + var tags map[string]*string + err = json.Unmarshal(*v, &tags) + if err != nil { + return err + } + c.Tags = tags } } } @@ -7216,185 +6733,46 @@ func (br *BackupRequest) UnmarshalJSON(body []byte) error { return nil } -// BackupRequestProperties backupRequest resource specific properties -type BackupRequestProperties struct { - // BackupName - Name of the backup. - BackupName *string `json:"backupName,omitempty"` - // Enabled - True if the backup schedule is enabled (must be included in that case), false if the backup schedule should be disabled. - Enabled *bool `json:"enabled,omitempty"` - // StorageAccountURL - SAS URL to the container. - StorageAccountURL *string `json:"storageAccountUrl,omitempty"` - // BackupSchedule - Schedule for the backup if it is executed periodically. - BackupSchedule *BackupSchedule `json:"backupSchedule,omitempty"` - // Databases - Databases included in the backup. - Databases *[]DatabaseBackupSetting `json:"databases,omitempty"` -} - -// BackupSchedule description of a backup schedule. Describes how often should be the backup performed and -// what should be the retention policy. -type BackupSchedule struct { - // FrequencyInterval - How often the backup should be executed (e.g. for weekly backup, this should be set to 7 and FrequencyUnit should be set to Day) - FrequencyInterval *int32 `json:"frequencyInterval,omitempty"` - // FrequencyUnit - The unit of time for how often the backup should be executed (e.g. for weekly backup, this should be set to Day and FrequencyInterval should be set to 7). Possible values include: 'Day', 'Hour' - FrequencyUnit FrequencyUnit `json:"frequencyUnit,omitempty"` - // KeepAtLeastOneBackup - True if the retention policy should always keep at least one backup in the storage account, regardless how old it is; false otherwise. - KeepAtLeastOneBackup *bool `json:"keepAtLeastOneBackup,omitempty"` - // RetentionPeriodInDays - After how many days backups should be deleted. - RetentionPeriodInDays *int32 `json:"retentionPeriodInDays,omitempty"` - // StartTime - When the schedule should start working. - StartTime *date.Time `json:"startTime,omitempty"` - // LastExecutionTime - READ-ONLY; Last time when this schedule was triggered. - LastExecutionTime *date.Time `json:"lastExecutionTime,omitempty"` +// CertificateCollection collection of certificates. +type CertificateCollection struct { + autorest.Response `json:"-"` + // Value - Collection of resources. + Value *[]Certificate `json:"value,omitempty"` + // NextLink - READ-ONLY; Link to next page of resources. + NextLink *string `json:"nextLink,omitempty"` } -// MarshalJSON is the custom marshaler for BackupSchedule. -func (bs BackupSchedule) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for CertificateCollection. +func (cc CertificateCollection) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if bs.FrequencyInterval != nil { - objectMap["frequencyInterval"] = bs.FrequencyInterval - } - if bs.FrequencyUnit != "" { - objectMap["frequencyUnit"] = bs.FrequencyUnit - } - if bs.KeepAtLeastOneBackup != nil { - objectMap["keepAtLeastOneBackup"] = bs.KeepAtLeastOneBackup - } - if bs.RetentionPeriodInDays != nil { - objectMap["retentionPeriodInDays"] = bs.RetentionPeriodInDays - } - if bs.StartTime != nil { - objectMap["startTime"] = bs.StartTime + if cc.Value != nil { + objectMap["value"] = cc.Value } return json.Marshal(objectMap) } -// BillingMeter app Service billing entity that contains information about meter which the Azure billing -// system utilizes to charge users for services. -type BillingMeter struct { - // BillingMeterProperties - BillingMeter resource specific properties - *BillingMeterProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` +// CertificateCollectionIterator provides access to a complete listing of Certificate values. +type CertificateCollectionIterator struct { + i int + page CertificateCollectionPage } -// MarshalJSON is the custom marshaler for BillingMeter. -func (bm BillingMeter) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if bm.BillingMeterProperties != nil { - objectMap["properties"] = bm.BillingMeterProperties +// NextWithContext advances to the next value. If there was an error making +// the request the iterator does not advance and the error is returned. +func (iter *CertificateCollectionIterator) NextWithContext(ctx context.Context) (err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/CertificateCollectionIterator.NextWithContext") + defer func() { + sc := -1 + if iter.Response().Response.Response != nil { + sc = iter.Response().Response.Response.StatusCode + } + tracing.EndSpan(ctx, sc, err) + }() } - if bm.Kind != nil { - objectMap["kind"] = bm.Kind - } - return json.Marshal(objectMap) -} - -// UnmarshalJSON is the custom unmarshaler for BillingMeter struct. -func (bm *BillingMeter) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var billingMeterProperties BillingMeterProperties - err = json.Unmarshal(*v, &billingMeterProperties) - if err != nil { - return err - } - bm.BillingMeterProperties = &billingMeterProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - bm.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - bm.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - bm.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - bm.Type = &typeVar - } - } - } - - return nil -} - -// BillingMeterCollection collection of Billing Meters -type BillingMeterCollection struct { - autorest.Response `json:"-"` - // Value - Collection of resources. - Value *[]BillingMeter `json:"value,omitempty"` - // NextLink - READ-ONLY; Link to next page of resources. - NextLink *string `json:"nextLink,omitempty"` -} - -// MarshalJSON is the custom marshaler for BillingMeterCollection. -func (bmc BillingMeterCollection) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if bmc.Value != nil { - objectMap["value"] = bmc.Value - } - return json.Marshal(objectMap) -} - -// BillingMeterCollectionIterator provides access to a complete listing of BillingMeter values. -type BillingMeterCollectionIterator struct { - i int - page BillingMeterCollectionPage -} - -// NextWithContext advances to the next value. If there was an error making -// the request the iterator does not advance and the error is returned. -func (iter *BillingMeterCollectionIterator) NextWithContext(ctx context.Context) (err error) { - if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/BillingMeterCollectionIterator.NextWithContext") - defer func() { - sc := -1 - if iter.Response().Response.Response != nil { - sc = iter.Response().Response.Response.StatusCode - } - tracing.EndSpan(ctx, sc, err) - }() - } - iter.i++ - if iter.i < len(iter.page.Values()) { - return nil + iter.i++ + if iter.i < len(iter.page.Values()) { + return nil } err = iter.page.NextWithContext(ctx) if err != nil { @@ -7408,67 +6786,67 @@ func (iter *BillingMeterCollectionIterator) NextWithContext(ctx context.Context) // Next advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. // Deprecated: Use NextWithContext() instead. -func (iter *BillingMeterCollectionIterator) Next() error { +func (iter *CertificateCollectionIterator) Next() error { return iter.NextWithContext(context.Background()) } // NotDone returns true if the enumeration should be started or is not yet complete. -func (iter BillingMeterCollectionIterator) NotDone() bool { +func (iter CertificateCollectionIterator) NotDone() bool { return iter.page.NotDone() && iter.i < len(iter.page.Values()) } // Response returns the raw server response from the last page request. -func (iter BillingMeterCollectionIterator) Response() BillingMeterCollection { +func (iter CertificateCollectionIterator) Response() CertificateCollection { return iter.page.Response() } // Value returns the current value or a zero-initialized value if the // iterator has advanced beyond the end of the collection. -func (iter BillingMeterCollectionIterator) Value() BillingMeter { +func (iter CertificateCollectionIterator) Value() Certificate { if !iter.page.NotDone() { - return BillingMeter{} + return Certificate{} } return iter.page.Values()[iter.i] } -// Creates a new instance of the BillingMeterCollectionIterator type. -func NewBillingMeterCollectionIterator(page BillingMeterCollectionPage) BillingMeterCollectionIterator { - return BillingMeterCollectionIterator{page: page} +// Creates a new instance of the CertificateCollectionIterator type. +func NewCertificateCollectionIterator(page CertificateCollectionPage) CertificateCollectionIterator { + return CertificateCollectionIterator{page: page} } // IsEmpty returns true if the ListResult contains no values. -func (bmc BillingMeterCollection) IsEmpty() bool { - return bmc.Value == nil || len(*bmc.Value) == 0 +func (cc CertificateCollection) IsEmpty() bool { + return cc.Value == nil || len(*cc.Value) == 0 } // hasNextLink returns true if the NextLink is not empty. -func (bmc BillingMeterCollection) hasNextLink() bool { - return bmc.NextLink != nil && len(*bmc.NextLink) != 0 +func (cc CertificateCollection) hasNextLink() bool { + return cc.NextLink != nil && len(*cc.NextLink) != 0 } -// billingMeterCollectionPreparer prepares a request to retrieve the next set of results. +// certificateCollectionPreparer prepares a request to retrieve the next set of results. // It returns nil if no more results exist. -func (bmc BillingMeterCollection) billingMeterCollectionPreparer(ctx context.Context) (*http.Request, error) { - if !bmc.hasNextLink() { +func (cc CertificateCollection) certificateCollectionPreparer(ctx context.Context) (*http.Request, error) { + if !cc.hasNextLink() { return nil, nil } return autorest.Prepare((&http.Request{}).WithContext(ctx), autorest.AsJSON(), autorest.AsGet(), - autorest.WithBaseURL(to.String(bmc.NextLink))) + autorest.WithBaseURL(to.String(cc.NextLink))) } -// BillingMeterCollectionPage contains a page of BillingMeter values. -type BillingMeterCollectionPage struct { - fn func(context.Context, BillingMeterCollection) (BillingMeterCollection, error) - bmc BillingMeterCollection +// CertificateCollectionPage contains a page of Certificate values. +type CertificateCollectionPage struct { + fn func(context.Context, CertificateCollection) (CertificateCollection, error) + cc CertificateCollection } // NextWithContext advances to the next page of values. If there was an error making // the request the page does not advance and the error is returned. -func (page *BillingMeterCollectionPage) NextWithContext(ctx context.Context) (err error) { +func (page *CertificateCollectionPage) NextWithContext(ctx context.Context) (err error) { if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/BillingMeterCollectionPage.NextWithContext") + ctx = tracing.StartSpan(ctx, fqdn+"/CertificateCollectionPage.NextWithContext") defer func() { sc := -1 if page.Response().Response.Response != nil { @@ -7478,11 +6856,11 @@ func (page *BillingMeterCollectionPage) NextWithContext(ctx context.Context) (er }() } for { - next, err := page.fn(ctx, page.bmc) + next, err := page.fn(ctx, page.cc) if err != nil { return err } - page.bmc = next + page.cc = next if !next.hasNextLink() || !next.IsEmpty() { break } @@ -7493,58 +6871,68 @@ func (page *BillingMeterCollectionPage) NextWithContext(ctx context.Context) (er // Next advances to the next page of values. If there was an error making // the request the page does not advance and the error is returned. // Deprecated: Use NextWithContext() instead. -func (page *BillingMeterCollectionPage) Next() error { +func (page *CertificateCollectionPage) Next() error { return page.NextWithContext(context.Background()) } // NotDone returns true if the page enumeration should be started or is not yet complete. -func (page BillingMeterCollectionPage) NotDone() bool { - return !page.bmc.IsEmpty() +func (page CertificateCollectionPage) NotDone() bool { + return !page.cc.IsEmpty() } // Response returns the raw server response from the last page request. -func (page BillingMeterCollectionPage) Response() BillingMeterCollection { - return page.bmc +func (page CertificateCollectionPage) Response() CertificateCollection { + return page.cc } // Values returns the slice of values for the current page or nil if there are no values. -func (page BillingMeterCollectionPage) Values() []BillingMeter { - if page.bmc.IsEmpty() { +func (page CertificateCollectionPage) Values() []Certificate { + if page.cc.IsEmpty() { return nil } - return *page.bmc.Value + return *page.cc.Value } -// Creates a new instance of the BillingMeterCollectionPage type. -func NewBillingMeterCollectionPage(cur BillingMeterCollection, getNextPage func(context.Context, BillingMeterCollection) (BillingMeterCollection, error)) BillingMeterCollectionPage { - return BillingMeterCollectionPage{ - fn: getNextPage, - bmc: cur, +// Creates a new instance of the CertificateCollectionPage type. +func NewCertificateCollectionPage(cur CertificateCollection, getNextPage func(context.Context, CertificateCollection) (CertificateCollection, error)) CertificateCollectionPage { + return CertificateCollectionPage{ + fn: getNextPage, + cc: cur, } } -// BillingMeterProperties billingMeter resource specific properties -type BillingMeterProperties struct { - // MeterID - Meter GUID onboarded in Commerce - MeterID *string `json:"meterId,omitempty"` - // BillingLocation - Azure Location of billable resource - BillingLocation *string `json:"billingLocation,omitempty"` - // ShortName - Short Name from App Service Azure pricing Page - ShortName *string `json:"shortName,omitempty"` - // FriendlyName - Friendly name of the meter - FriendlyName *string `json:"friendlyName,omitempty"` - // ResourceType - App Service ResourceType meter used for - ResourceType *string `json:"resourceType,omitempty"` - // OsType - App Service OS type meter used for - OsType *string `json:"osType,omitempty"` - // Multiplier - Meter Multiplier - Multiplier *float64 `json:"multiplier,omitempty"` +// CertificateDetails SSL certificate details. +type CertificateDetails struct { + // Version - READ-ONLY; Certificate Version. + Version *int32 `json:"version,omitempty"` + // SerialNumber - READ-ONLY; Certificate Serial Number. + SerialNumber *string `json:"serialNumber,omitempty"` + // Thumbprint - READ-ONLY; Certificate Thumbprint. + Thumbprint *string `json:"thumbprint,omitempty"` + // Subject - READ-ONLY; Certificate Subject. + Subject *string `json:"subject,omitempty"` + // NotBefore - READ-ONLY; Date Certificate is valid from. + NotBefore *date.Time `json:"notBefore,omitempty"` + // NotAfter - READ-ONLY; Date Certificate is valid to. + NotAfter *date.Time `json:"notAfter,omitempty"` + // SignatureAlgorithm - READ-ONLY; Certificate Signature algorithm. + SignatureAlgorithm *string `json:"signatureAlgorithm,omitempty"` + // Issuer - READ-ONLY; Certificate Issuer. + Issuer *string `json:"issuer,omitempty"` + // RawData - READ-ONLY; Raw certificate data. + RawData *string `json:"rawData,omitempty"` } -// BlobStorageTokenStore the configuration settings of the storage of the tokens if blob storage is used. -type BlobStorageTokenStore struct { - // BlobStorageTokenStoreProperties - BlobStorageTokenStore resource specific properties - *BlobStorageTokenStoreProperties `json:"properties,omitempty"` +// MarshalJSON is the custom marshaler for CertificateDetails. +func (cd CertificateDetails) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + return json.Marshal(objectMap) +} + +// CertificateEmail SSL certificate email. +type CertificateEmail struct { + // CertificateEmailProperties - CertificateEmail resource specific properties + *CertificateEmailProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. @@ -7555,20 +6943,20 @@ type BlobStorageTokenStore struct { Type *string `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for BlobStorageTokenStore. -func (bsts BlobStorageTokenStore) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for CertificateEmail. +func (ce CertificateEmail) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if bsts.BlobStorageTokenStoreProperties != nil { - objectMap["properties"] = bsts.BlobStorageTokenStoreProperties + if ce.CertificateEmailProperties != nil { + objectMap["properties"] = ce.CertificateEmailProperties } - if bsts.Kind != nil { - objectMap["kind"] = bsts.Kind + if ce.Kind != nil { + objectMap["kind"] = ce.Kind } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for BlobStorageTokenStore struct. -func (bsts *BlobStorageTokenStore) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for CertificateEmail struct. +func (ce *CertificateEmail) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -7578,12 +6966,12 @@ func (bsts *BlobStorageTokenStore) UnmarshalJSON(body []byte) error { switch k { case "properties": if v != nil { - var blobStorageTokenStoreProperties BlobStorageTokenStoreProperties - err = json.Unmarshal(*v, &blobStorageTokenStoreProperties) + var certificateEmailProperties CertificateEmailProperties + err = json.Unmarshal(*v, &certificateEmailProperties) if err != nil { return err } - bsts.BlobStorageTokenStoreProperties = &blobStorageTokenStoreProperties + ce.CertificateEmailProperties = &certificateEmailProperties } case "id": if v != nil { @@ -7592,7 +6980,7 @@ func (bsts *BlobStorageTokenStore) UnmarshalJSON(body []byte) error { if err != nil { return err } - bsts.ID = &ID + ce.ID = &ID } case "name": if v != nil { @@ -7601,7 +6989,7 @@ func (bsts *BlobStorageTokenStore) UnmarshalJSON(body []byte) error { if err != nil { return err } - bsts.Name = &name + ce.Name = &name } case "kind": if v != nil { @@ -7610,7 +6998,7 @@ func (bsts *BlobStorageTokenStore) UnmarshalJSON(body []byte) error { if err != nil { return err } - bsts.Kind = &kind + ce.Kind = &kind } case "type": if v != nil { @@ -7619,7 +7007,7 @@ func (bsts *BlobStorageTokenStore) UnmarshalJSON(body []byte) error { if err != nil { return err } - bsts.Type = &typeVar + ce.Type = &typeVar } } } @@ -7627,61 +7015,42 @@ func (bsts *BlobStorageTokenStore) UnmarshalJSON(body []byte) error { return nil } -// BlobStorageTokenStoreProperties blobStorageTokenStore resource specific properties -type BlobStorageTokenStoreProperties struct { - // SasURLSettingName - The name of the app setting containing the SAS URL of the blob storage containing the tokens. - SasURLSettingName *string `json:"sasUrlSettingName,omitempty"` +// CertificateEmailProperties certificateEmail resource specific properties +type CertificateEmailProperties struct { + // EmailID - Email id. + EmailID *string `json:"emailId,omitempty"` + // TimeStamp - Time stamp. + TimeStamp *date.Time `json:"timeStamp,omitempty"` } -// Capability describes the capabilities/features allowed for a specific SKU. -type Capability struct { - // Name - Name of the SKU capability. - Name *string `json:"name,omitempty"` - // Value - Value of the SKU capability. - Value *string `json:"value,omitempty"` - // Reason - Reason of the SKU capability. - Reason *string `json:"reason,omitempty"` -} - -// Certificate SSL certificate for an app. -type Certificate struct { - autorest.Response `json:"-"` - // CertificateProperties - Certificate resource specific properties - *CertificateProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. +// CertificateOrderAction certificate order action. +type CertificateOrderAction struct { + // CertificateOrderActionProperties - CertificateOrderAction resource specific properties + *CertificateOrderActionProperties `json:"properties,omitempty"` + // ID - READ-ONLY; Resource Id. + ID *string `json:"id,omitempty"` + // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` - // Location - Resource Location. - Location *string `json:"location,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` - // Tags - Resource tags. - Tags map[string]*string `json:"tags"` } -// MarshalJSON is the custom marshaler for Certificate. -func (c Certificate) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for CertificateOrderAction. +func (coa CertificateOrderAction) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if c.CertificateProperties != nil { - objectMap["properties"] = c.CertificateProperties - } - if c.Kind != nil { - objectMap["kind"] = c.Kind - } - if c.Location != nil { - objectMap["location"] = c.Location + if coa.CertificateOrderActionProperties != nil { + objectMap["properties"] = coa.CertificateOrderActionProperties } - if c.Tags != nil { - objectMap["tags"] = c.Tags + if coa.Kind != nil { + objectMap["kind"] = coa.Kind } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for Certificate struct. -func (c *Certificate) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for CertificateOrderAction struct. +func (coa *CertificateOrderAction) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -7691,12 +7060,12 @@ func (c *Certificate) UnmarshalJSON(body []byte) error { switch k { case "properties": if v != nil { - var certificateProperties CertificateProperties - err = json.Unmarshal(*v, &certificateProperties) + var certificateOrderActionProperties CertificateOrderActionProperties + err = json.Unmarshal(*v, &certificateOrderActionProperties) if err != nil { return err } - c.CertificateProperties = &certificateProperties + coa.CertificateOrderActionProperties = &certificateOrderActionProperties } case "id": if v != nil { @@ -7705,7 +7074,7 @@ func (c *Certificate) UnmarshalJSON(body []byte) error { if err != nil { return err } - c.ID = &ID + coa.ID = &ID } case "name": if v != nil { @@ -7714,7 +7083,7 @@ func (c *Certificate) UnmarshalJSON(body []byte) error { if err != nil { return err } - c.Name = &name + coa.Name = &name } case "kind": if v != nil { @@ -7723,16 +7092,7 @@ func (c *Certificate) UnmarshalJSON(body []byte) error { if err != nil { return err } - c.Kind = &kind - } - case "location": - if v != nil { - var location string - err = json.Unmarshal(*v, &location) - if err != nil { - return err - } - c.Location = &location + coa.Kind = &kind } case "type": if v != nil { @@ -7741,16 +7101,7 @@ func (c *Certificate) UnmarshalJSON(body []byte) error { if err != nil { return err } - c.Type = &typeVar - } - case "tags": - if v != nil { - var tags map[string]*string - err = json.Unmarshal(*v, &tags) - if err != nil { - return err - } - c.Tags = tags + coa.Type = &typeVar } } } @@ -7758,2968 +7109,350 @@ func (c *Certificate) UnmarshalJSON(body []byte) error { return nil } -// CertificateCollection collection of certificates. -type CertificateCollection struct { - autorest.Response `json:"-"` - // Value - Collection of resources. - Value *[]Certificate `json:"value,omitempty"` - // NextLink - READ-ONLY; Link to next page of resources. - NextLink *string `json:"nextLink,omitempty"` +// CertificateOrderActionProperties certificateOrderAction resource specific properties +type CertificateOrderActionProperties struct { + // ActionType - READ-ONLY; Action type. Possible values include: 'CertificateIssued', 'CertificateOrderCanceled', 'CertificateOrderCreated', 'CertificateRevoked', 'DomainValidationComplete', 'FraudDetected', 'OrgNameChange', 'OrgValidationComplete', 'SanDrop', 'FraudCleared', 'CertificateExpired', 'CertificateExpirationWarning', 'FraudDocumentationRequired', 'Unknown' + ActionType CertificateOrderActionType `json:"actionType,omitempty"` + // CreatedAt - READ-ONLY; Time at which the certificate action was performed. + CreatedAt *date.Time `json:"createdAt,omitempty"` } -// MarshalJSON is the custom marshaler for CertificateCollection. -func (cc CertificateCollection) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for CertificateOrderActionProperties. +func (coa CertificateOrderActionProperties) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if cc.Value != nil { - objectMap["value"] = cc.Value - } return json.Marshal(objectMap) } -// CertificateCollectionIterator provides access to a complete listing of Certificate values. -type CertificateCollectionIterator struct { - i int - page CertificateCollectionPage +// CertificateOrderContact ... +type CertificateOrderContact struct { + Email *string `json:"email,omitempty"` + NameFirst *string `json:"nameFirst,omitempty"` + NameLast *string `json:"nameLast,omitempty"` + Phone *string `json:"phone,omitempty"` } -// NextWithContext advances to the next value. If there was an error making -// the request the iterator does not advance and the error is returned. -func (iter *CertificateCollectionIterator) NextWithContext(ctx context.Context) (err error) { - if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/CertificateCollectionIterator.NextWithContext") - defer func() { - sc := -1 - if iter.Response().Response.Response != nil { - sc = iter.Response().Response.Response.StatusCode - } - tracing.EndSpan(ctx, sc, err) - }() +// CertificatePatchResource ARM resource for a certificate. +type CertificatePatchResource struct { + // CertificatePatchResourceProperties - CertificatePatchResource resource specific properties + *CertificatePatchResourceProperties `json:"properties,omitempty"` + // ID - READ-ONLY; Resource Id. + ID *string `json:"id,omitempty"` + // Name - READ-ONLY; Resource Name. + Name *string `json:"name,omitempty"` + // Kind - Kind of resource. + Kind *string `json:"kind,omitempty"` + // Type - READ-ONLY; Resource type. + Type *string `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for CertificatePatchResource. +func (cpr CertificatePatchResource) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if cpr.CertificatePatchResourceProperties != nil { + objectMap["properties"] = cpr.CertificatePatchResourceProperties } - iter.i++ - if iter.i < len(iter.page.Values()) { - return nil + if cpr.Kind != nil { + objectMap["kind"] = cpr.Kind } - err = iter.page.NextWithContext(ctx) + return json.Marshal(objectMap) +} + +// UnmarshalJSON is the custom unmarshaler for CertificatePatchResource struct. +func (cpr *CertificatePatchResource) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) if err != nil { - iter.i-- return err } - iter.i = 0 - return nil -} - -// Next advances to the next value. If there was an error making -// the request the iterator does not advance and the error is returned. -// Deprecated: Use NextWithContext() instead. -func (iter *CertificateCollectionIterator) Next() error { - return iter.NextWithContext(context.Background()) -} + for k, v := range m { + switch k { + case "properties": + if v != nil { + var certificatePatchResourceProperties CertificatePatchResourceProperties + err = json.Unmarshal(*v, &certificatePatchResourceProperties) + if err != nil { + return err + } + cpr.CertificatePatchResourceProperties = &certificatePatchResourceProperties + } + case "id": + if v != nil { + var ID string + err = json.Unmarshal(*v, &ID) + if err != nil { + return err + } + cpr.ID = &ID + } + case "name": + if v != nil { + var name string + err = json.Unmarshal(*v, &name) + if err != nil { + return err + } + cpr.Name = &name + } + case "kind": + if v != nil { + var kind string + err = json.Unmarshal(*v, &kind) + if err != nil { + return err + } + cpr.Kind = &kind + } + case "type": + if v != nil { + var typeVar string + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + cpr.Type = &typeVar + } + } + } -// NotDone returns true if the enumeration should be started or is not yet complete. -func (iter CertificateCollectionIterator) NotDone() bool { - return iter.page.NotDone() && iter.i < len(iter.page.Values()) + return nil } -// Response returns the raw server response from the last page request. -func (iter CertificateCollectionIterator) Response() CertificateCollection { - return iter.page.Response() +// CertificatePatchResourceProperties certificatePatchResource resource specific properties +type CertificatePatchResourceProperties struct { + // Password - Certificate password. + Password *string `json:"password,omitempty"` + // FriendlyName - READ-ONLY; Friendly name of the certificate. + FriendlyName *string `json:"friendlyName,omitempty"` + // SubjectName - READ-ONLY; Subject name of the certificate. + SubjectName *string `json:"subjectName,omitempty"` + // HostNames - Host names the certificate applies to. + HostNames *[]string `json:"hostNames,omitempty"` + // PfxBlob - Pfx blob. + PfxBlob *[]byte `json:"pfxBlob,omitempty"` + // SiteName - READ-ONLY; App name. + SiteName *string `json:"siteName,omitempty"` + // SelfLink - READ-ONLY; Self link. + SelfLink *string `json:"selfLink,omitempty"` + // Issuer - READ-ONLY; Certificate issuer. + Issuer *string `json:"issuer,omitempty"` + // IssueDate - READ-ONLY; Certificate issue Date. + IssueDate *date.Time `json:"issueDate,omitempty"` + // ExpirationDate - READ-ONLY; Certificate expiration date. + ExpirationDate *date.Time `json:"expirationDate,omitempty"` + // Thumbprint - READ-ONLY; Certificate thumbprint. + Thumbprint *string `json:"thumbprint,omitempty"` + // Valid - READ-ONLY; Is the certificate valid?. + Valid *bool `json:"valid,omitempty"` + // CerBlob - READ-ONLY; Raw bytes of .cer file + CerBlob *[]byte `json:"cerBlob,omitempty"` + // PublicKeyHash - READ-ONLY; Public key hash. + PublicKeyHash *string `json:"publicKeyHash,omitempty"` + // HostingEnvironmentProfile - READ-ONLY; Specification for the App Service Environment to use for the certificate. + HostingEnvironmentProfile *HostingEnvironmentProfile `json:"hostingEnvironmentProfile,omitempty"` + // KeyVaultID - Key Vault Csm resource Id. + KeyVaultID *string `json:"keyVaultId,omitempty"` + // KeyVaultSecretName - Key Vault secret name. + KeyVaultSecretName *string `json:"keyVaultSecretName,omitempty"` + // KeyVaultSecretStatus - READ-ONLY; Status of the Key Vault secret. Possible values include: 'KeyVaultSecretStatusInitialized', 'KeyVaultSecretStatusWaitingOnCertificateOrder', 'KeyVaultSecretStatusSucceeded', 'KeyVaultSecretStatusCertificateOrderFailed', 'KeyVaultSecretStatusOperationNotPermittedOnKeyVault', 'KeyVaultSecretStatusAzureServiceUnauthorizedToAccessKeyVault', 'KeyVaultSecretStatusKeyVaultDoesNotExist', 'KeyVaultSecretStatusKeyVaultSecretDoesNotExist', 'KeyVaultSecretStatusUnknownError', 'KeyVaultSecretStatusExternalPrivateKey', 'KeyVaultSecretStatusUnknown' + KeyVaultSecretStatus KeyVaultSecretStatus `json:"keyVaultSecretStatus,omitempty"` + // ServerFarmID - Resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}". + ServerFarmID *string `json:"serverFarmId,omitempty"` + // CanonicalName - CNAME of the certificate to be issued via free certificate + CanonicalName *string `json:"canonicalName,omitempty"` + // DomainValidationMethod - Method of domain validation for free cert + DomainValidationMethod *string `json:"domainValidationMethod,omitempty"` } -// Value returns the current value or a zero-initialized value if the -// iterator has advanced beyond the end of the collection. -func (iter CertificateCollectionIterator) Value() Certificate { - if !iter.page.NotDone() { - return Certificate{} - } - return iter.page.Values()[iter.i] -} - -// Creates a new instance of the CertificateCollectionIterator type. -func NewCertificateCollectionIterator(page CertificateCollectionPage) CertificateCollectionIterator { - return CertificateCollectionIterator{page: page} -} - -// IsEmpty returns true if the ListResult contains no values. -func (cc CertificateCollection) IsEmpty() bool { - return cc.Value == nil || len(*cc.Value) == 0 -} - -// hasNextLink returns true if the NextLink is not empty. -func (cc CertificateCollection) hasNextLink() bool { - return cc.NextLink != nil && len(*cc.NextLink) != 0 -} - -// certificateCollectionPreparer prepares a request to retrieve the next set of results. -// It returns nil if no more results exist. -func (cc CertificateCollection) certificateCollectionPreparer(ctx context.Context) (*http.Request, error) { - if !cc.hasNextLink() { - return nil, nil - } - return autorest.Prepare((&http.Request{}).WithContext(ctx), - autorest.AsJSON(), - autorest.AsGet(), - autorest.WithBaseURL(to.String(cc.NextLink))) -} - -// CertificateCollectionPage contains a page of Certificate values. -type CertificateCollectionPage struct { - fn func(context.Context, CertificateCollection) (CertificateCollection, error) - cc CertificateCollection -} - -// NextWithContext advances to the next page of values. If there was an error making -// the request the page does not advance and the error is returned. -func (page *CertificateCollectionPage) NextWithContext(ctx context.Context) (err error) { - if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/CertificateCollectionPage.NextWithContext") - defer func() { - sc := -1 - if page.Response().Response.Response != nil { - sc = page.Response().Response.Response.StatusCode - } - tracing.EndSpan(ctx, sc, err) - }() - } - for { - next, err := page.fn(ctx, page.cc) - if err != nil { - return err - } - page.cc = next - if !next.hasNextLink() || !next.IsEmpty() { - break - } - } - return nil -} - -// Next advances to the next page of values. If there was an error making -// the request the page does not advance and the error is returned. -// Deprecated: Use NextWithContext() instead. -func (page *CertificateCollectionPage) Next() error { - return page.NextWithContext(context.Background()) -} - -// NotDone returns true if the page enumeration should be started or is not yet complete. -func (page CertificateCollectionPage) NotDone() bool { - return !page.cc.IsEmpty() -} - -// Response returns the raw server response from the last page request. -func (page CertificateCollectionPage) Response() CertificateCollection { - return page.cc -} - -// Values returns the slice of values for the current page or nil if there are no values. -func (page CertificateCollectionPage) Values() []Certificate { - if page.cc.IsEmpty() { - return nil - } - return *page.cc.Value -} - -// Creates a new instance of the CertificateCollectionPage type. -func NewCertificateCollectionPage(cur CertificateCollection, getNextPage func(context.Context, CertificateCollection) (CertificateCollection, error)) CertificateCollectionPage { - return CertificateCollectionPage{ - fn: getNextPage, - cc: cur, - } -} - -// CertificateDetails SSL certificate details. -type CertificateDetails struct { - // Version - READ-ONLY; Certificate Version. - Version *int32 `json:"version,omitempty"` - // SerialNumber - READ-ONLY; Certificate Serial Number. - SerialNumber *string `json:"serialNumber,omitempty"` - // Thumbprint - READ-ONLY; Certificate Thumbprint. - Thumbprint *string `json:"thumbprint,omitempty"` - // Subject - READ-ONLY; Certificate Subject. - Subject *string `json:"subject,omitempty"` - // NotBefore - READ-ONLY; Date Certificate is valid from. - NotBefore *date.Time `json:"notBefore,omitempty"` - // NotAfter - READ-ONLY; Date Certificate is valid to. - NotAfter *date.Time `json:"notAfter,omitempty"` - // SignatureAlgorithm - READ-ONLY; Certificate Signature algorithm. - SignatureAlgorithm *string `json:"signatureAlgorithm,omitempty"` - // Issuer - READ-ONLY; Certificate Issuer. - Issuer *string `json:"issuer,omitempty"` - // RawData - READ-ONLY; Raw certificate data. - RawData *string `json:"rawData,omitempty"` -} - -// MarshalJSON is the custom marshaler for CertificateDetails. -func (cd CertificateDetails) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - return json.Marshal(objectMap) -} - -// CertificateEmail SSL certificate email. -type CertificateEmail struct { - // CertificateEmailProperties - CertificateEmail resource specific properties - *CertificateEmailProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for CertificateEmail. -func (ce CertificateEmail) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if ce.CertificateEmailProperties != nil { - objectMap["properties"] = ce.CertificateEmailProperties - } - if ce.Kind != nil { - objectMap["kind"] = ce.Kind - } - return json.Marshal(objectMap) -} - -// UnmarshalJSON is the custom unmarshaler for CertificateEmail struct. -func (ce *CertificateEmail) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var certificateEmailProperties CertificateEmailProperties - err = json.Unmarshal(*v, &certificateEmailProperties) - if err != nil { - return err - } - ce.CertificateEmailProperties = &certificateEmailProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - ce.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - ce.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - ce.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - ce.Type = &typeVar - } - } - } - - return nil -} - -// CertificateEmailProperties certificateEmail resource specific properties -type CertificateEmailProperties struct { - // EmailID - Email id. - EmailID *string `json:"emailId,omitempty"` - // TimeStamp - Time stamp. - TimeStamp *date.Time `json:"timeStamp,omitempty"` -} - -// CertificateOrderAction certificate order action. -type CertificateOrderAction struct { - // CertificateOrderActionProperties - CertificateOrderAction resource specific properties - *CertificateOrderActionProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for CertificateOrderAction. -func (coa CertificateOrderAction) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if coa.CertificateOrderActionProperties != nil { - objectMap["properties"] = coa.CertificateOrderActionProperties - } - if coa.Kind != nil { - objectMap["kind"] = coa.Kind - } - return json.Marshal(objectMap) -} - -// UnmarshalJSON is the custom unmarshaler for CertificateOrderAction struct. -func (coa *CertificateOrderAction) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var certificateOrderActionProperties CertificateOrderActionProperties - err = json.Unmarshal(*v, &certificateOrderActionProperties) - if err != nil { - return err - } - coa.CertificateOrderActionProperties = &certificateOrderActionProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - coa.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - coa.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - coa.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - coa.Type = &typeVar - } - } - } - - return nil -} - -// CertificateOrderActionProperties certificateOrderAction resource specific properties -type CertificateOrderActionProperties struct { - // ActionType - READ-ONLY; Action type. Possible values include: 'CertificateIssued', 'CertificateOrderCanceled', 'CertificateOrderCreated', 'CertificateRevoked', 'DomainValidationComplete', 'FraudDetected', 'OrgNameChange', 'OrgValidationComplete', 'SanDrop', 'FraudCleared', 'CertificateExpired', 'CertificateExpirationWarning', 'FraudDocumentationRequired', 'Unknown' - ActionType CertificateOrderActionType `json:"actionType,omitempty"` - // CreatedAt - READ-ONLY; Time at which the certificate action was performed. - CreatedAt *date.Time `json:"createdAt,omitempty"` -} - -// MarshalJSON is the custom marshaler for CertificateOrderActionProperties. -func (coa CertificateOrderActionProperties) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - return json.Marshal(objectMap) -} - -// CertificateOrderContact ... -type CertificateOrderContact struct { - Email *string `json:"email,omitempty"` - NameFirst *string `json:"nameFirst,omitempty"` - NameLast *string `json:"nameLast,omitempty"` - Phone *string `json:"phone,omitempty"` -} - -// CertificatePatchResource ARM resource for a certificate. -type CertificatePatchResource struct { - // CertificatePatchResourceProperties - CertificatePatchResource resource specific properties - *CertificatePatchResourceProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for CertificatePatchResource. -func (cpr CertificatePatchResource) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if cpr.CertificatePatchResourceProperties != nil { - objectMap["properties"] = cpr.CertificatePatchResourceProperties - } - if cpr.Kind != nil { - objectMap["kind"] = cpr.Kind - } - return json.Marshal(objectMap) -} - -// UnmarshalJSON is the custom unmarshaler for CertificatePatchResource struct. -func (cpr *CertificatePatchResource) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var certificatePatchResourceProperties CertificatePatchResourceProperties - err = json.Unmarshal(*v, &certificatePatchResourceProperties) - if err != nil { - return err - } - cpr.CertificatePatchResourceProperties = &certificatePatchResourceProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - cpr.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - cpr.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - cpr.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - cpr.Type = &typeVar - } - } - } - - return nil -} - -// CertificatePatchResourceProperties certificatePatchResource resource specific properties -type CertificatePatchResourceProperties struct { - // Password - Certificate password. - Password *string `json:"password,omitempty"` - // FriendlyName - READ-ONLY; Friendly name of the certificate. - FriendlyName *string `json:"friendlyName,omitempty"` - // SubjectName - READ-ONLY; Subject name of the certificate. - SubjectName *string `json:"subjectName,omitempty"` - // HostNames - Host names the certificate applies to. - HostNames *[]string `json:"hostNames,omitempty"` - // PfxBlob - Pfx blob. - PfxBlob *[]byte `json:"pfxBlob,omitempty"` - // SiteName - READ-ONLY; App name. - SiteName *string `json:"siteName,omitempty"` - // SelfLink - READ-ONLY; Self link. - SelfLink *string `json:"selfLink,omitempty"` - // Issuer - READ-ONLY; Certificate issuer. - Issuer *string `json:"issuer,omitempty"` - // IssueDate - READ-ONLY; Certificate issue Date. - IssueDate *date.Time `json:"issueDate,omitempty"` - // ExpirationDate - READ-ONLY; Certificate expiration date. - ExpirationDate *date.Time `json:"expirationDate,omitempty"` - // Thumbprint - READ-ONLY; Certificate thumbprint. - Thumbprint *string `json:"thumbprint,omitempty"` - // Valid - READ-ONLY; Is the certificate valid?. - Valid *bool `json:"valid,omitempty"` - // CerBlob - READ-ONLY; Raw bytes of .cer file - CerBlob *[]byte `json:"cerBlob,omitempty"` - // PublicKeyHash - READ-ONLY; Public key hash. - PublicKeyHash *string `json:"publicKeyHash,omitempty"` - // HostingEnvironmentProfile - READ-ONLY; Specification for the App Service Environment to use for the certificate. - HostingEnvironmentProfile *HostingEnvironmentProfile `json:"hostingEnvironmentProfile,omitempty"` - // KeyVaultID - Key Vault Csm resource Id. - KeyVaultID *string `json:"keyVaultId,omitempty"` - // KeyVaultSecretName - Key Vault secret name. - KeyVaultSecretName *string `json:"keyVaultSecretName,omitempty"` - // KeyVaultSecretStatus - READ-ONLY; Status of the Key Vault secret. Possible values include: 'KeyVaultSecretStatusInitialized', 'KeyVaultSecretStatusWaitingOnCertificateOrder', 'KeyVaultSecretStatusSucceeded', 'KeyVaultSecretStatusCertificateOrderFailed', 'KeyVaultSecretStatusOperationNotPermittedOnKeyVault', 'KeyVaultSecretStatusAzureServiceUnauthorizedToAccessKeyVault', 'KeyVaultSecretStatusKeyVaultDoesNotExist', 'KeyVaultSecretStatusKeyVaultSecretDoesNotExist', 'KeyVaultSecretStatusUnknownError', 'KeyVaultSecretStatusExternalPrivateKey', 'KeyVaultSecretStatusUnknown' - KeyVaultSecretStatus KeyVaultSecretStatus `json:"keyVaultSecretStatus,omitempty"` - // ServerFarmID - Resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}". - ServerFarmID *string `json:"serverFarmId,omitempty"` - // CanonicalName - CNAME of the certificate to be issued via free certificate - CanonicalName *string `json:"canonicalName,omitempty"` - // DomainValidationMethod - Method of domain validation for free cert - DomainValidationMethod *string `json:"domainValidationMethod,omitempty"` -} - -// MarshalJSON is the custom marshaler for CertificatePatchResourceProperties. -func (cpr CertificatePatchResourceProperties) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if cpr.Password != nil { - objectMap["password"] = cpr.Password - } - if cpr.HostNames != nil { - objectMap["hostNames"] = cpr.HostNames - } - if cpr.PfxBlob != nil { - objectMap["pfxBlob"] = cpr.PfxBlob - } - if cpr.KeyVaultID != nil { - objectMap["keyVaultId"] = cpr.KeyVaultID - } - if cpr.KeyVaultSecretName != nil { - objectMap["keyVaultSecretName"] = cpr.KeyVaultSecretName - } - if cpr.ServerFarmID != nil { - objectMap["serverFarmId"] = cpr.ServerFarmID - } - if cpr.CanonicalName != nil { - objectMap["canonicalName"] = cpr.CanonicalName - } - if cpr.DomainValidationMethod != nil { - objectMap["domainValidationMethod"] = cpr.DomainValidationMethod - } - return json.Marshal(objectMap) -} - -// CertificateProperties certificate resource specific properties -type CertificateProperties struct { - // Password - Certificate password. - Password *string `json:"password,omitempty"` - // FriendlyName - READ-ONLY; Friendly name of the certificate. - FriendlyName *string `json:"friendlyName,omitempty"` - // SubjectName - READ-ONLY; Subject name of the certificate. - SubjectName *string `json:"subjectName,omitempty"` - // HostNames - Host names the certificate applies to. - HostNames *[]string `json:"hostNames,omitempty"` - // PfxBlob - Pfx blob. - PfxBlob *[]byte `json:"pfxBlob,omitempty"` - // SiteName - READ-ONLY; App name. - SiteName *string `json:"siteName,omitempty"` - // SelfLink - READ-ONLY; Self link. - SelfLink *string `json:"selfLink,omitempty"` - // Issuer - READ-ONLY; Certificate issuer. - Issuer *string `json:"issuer,omitempty"` - // IssueDate - READ-ONLY; Certificate issue Date. - IssueDate *date.Time `json:"issueDate,omitempty"` - // ExpirationDate - READ-ONLY; Certificate expiration date. - ExpirationDate *date.Time `json:"expirationDate,omitempty"` - // Thumbprint - READ-ONLY; Certificate thumbprint. - Thumbprint *string `json:"thumbprint,omitempty"` - // Valid - READ-ONLY; Is the certificate valid?. - Valid *bool `json:"valid,omitempty"` - // CerBlob - READ-ONLY; Raw bytes of .cer file - CerBlob *[]byte `json:"cerBlob,omitempty"` - // PublicKeyHash - READ-ONLY; Public key hash. - PublicKeyHash *string `json:"publicKeyHash,omitempty"` - // HostingEnvironmentProfile - READ-ONLY; Specification for the App Service Environment to use for the certificate. - HostingEnvironmentProfile *HostingEnvironmentProfile `json:"hostingEnvironmentProfile,omitempty"` - // KeyVaultID - Key Vault Csm resource Id. - KeyVaultID *string `json:"keyVaultId,omitempty"` - // KeyVaultSecretName - Key Vault secret name. - KeyVaultSecretName *string `json:"keyVaultSecretName,omitempty"` - // KeyVaultSecretStatus - READ-ONLY; Status of the Key Vault secret. Possible values include: 'KeyVaultSecretStatusInitialized', 'KeyVaultSecretStatusWaitingOnCertificateOrder', 'KeyVaultSecretStatusSucceeded', 'KeyVaultSecretStatusCertificateOrderFailed', 'KeyVaultSecretStatusOperationNotPermittedOnKeyVault', 'KeyVaultSecretStatusAzureServiceUnauthorizedToAccessKeyVault', 'KeyVaultSecretStatusKeyVaultDoesNotExist', 'KeyVaultSecretStatusKeyVaultSecretDoesNotExist', 'KeyVaultSecretStatusUnknownError', 'KeyVaultSecretStatusExternalPrivateKey', 'KeyVaultSecretStatusUnknown' - KeyVaultSecretStatus KeyVaultSecretStatus `json:"keyVaultSecretStatus,omitempty"` - // ServerFarmID - Resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}". - ServerFarmID *string `json:"serverFarmId,omitempty"` - // CanonicalName - CNAME of the certificate to be issued via free certificate - CanonicalName *string `json:"canonicalName,omitempty"` - // DomainValidationMethod - Method of domain validation for free cert - DomainValidationMethod *string `json:"domainValidationMethod,omitempty"` -} - -// MarshalJSON is the custom marshaler for CertificateProperties. -func (c CertificateProperties) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if c.Password != nil { - objectMap["password"] = c.Password - } - if c.HostNames != nil { - objectMap["hostNames"] = c.HostNames - } - if c.PfxBlob != nil { - objectMap["pfxBlob"] = c.PfxBlob - } - if c.KeyVaultID != nil { - objectMap["keyVaultId"] = c.KeyVaultID - } - if c.KeyVaultSecretName != nil { - objectMap["keyVaultSecretName"] = c.KeyVaultSecretName - } - if c.ServerFarmID != nil { - objectMap["serverFarmId"] = c.ServerFarmID - } - if c.CanonicalName != nil { - objectMap["canonicalName"] = c.CanonicalName - } - if c.DomainValidationMethod != nil { - objectMap["domainValidationMethod"] = c.DomainValidationMethod - } - return json.Marshal(objectMap) -} - -// ClientRegistration the configuration settings of the app registration for providers that have client ids -// and client secrets -type ClientRegistration struct { - // ClientRegistrationProperties - ClientRegistration resource specific properties - *ClientRegistrationProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for ClientRegistration. -func (cr ClientRegistration) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if cr.ClientRegistrationProperties != nil { - objectMap["properties"] = cr.ClientRegistrationProperties - } - if cr.Kind != nil { - objectMap["kind"] = cr.Kind - } - return json.Marshal(objectMap) -} - -// UnmarshalJSON is the custom unmarshaler for ClientRegistration struct. -func (cr *ClientRegistration) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var clientRegistrationProperties ClientRegistrationProperties - err = json.Unmarshal(*v, &clientRegistrationProperties) - if err != nil { - return err - } - cr.ClientRegistrationProperties = &clientRegistrationProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - cr.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - cr.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - cr.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - cr.Type = &typeVar - } - } - } - - return nil -} - -// ClientRegistrationProperties clientRegistration resource specific properties -type ClientRegistrationProperties struct { - // ClientID - The Client ID of the app used for login. - ClientID *string `json:"clientId,omitempty"` - // ClientSecretSettingName - The app setting name that contains the client secret. - ClientSecretSettingName *string `json:"clientSecretSettingName,omitempty"` -} - -// CloningInfo information needed for cloning operation. -type CloningInfo struct { - // CorrelationID - Correlation ID of cloning operation. This ID ties multiple cloning operations - // together to use the same snapshot. - CorrelationID *uuid.UUID `json:"correlationId,omitempty"` - // Overwrite - true to overwrite destination app; otherwise, false. - Overwrite *bool `json:"overwrite,omitempty"` - // CloneCustomHostNames - true to clone custom hostnames from source app; otherwise, false. - CloneCustomHostNames *bool `json:"cloneCustomHostNames,omitempty"` - // CloneSourceControl - true to clone source control from source app; otherwise, false. - CloneSourceControl *bool `json:"cloneSourceControl,omitempty"` - // SourceWebAppID - ARM resource ID of the source app. App resource ID is of the form - // /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and - // /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots. - SourceWebAppID *string `json:"sourceWebAppId,omitempty"` - // SourceWebAppLocation - Location of source app ex: West US or North Europe - SourceWebAppLocation *string `json:"sourceWebAppLocation,omitempty"` - // HostingEnvironment - App Service Environment. - HostingEnvironment *string `json:"hostingEnvironment,omitempty"` - // AppSettingsOverrides - Application setting overrides for cloned app. If specified, these settings override the settings cloned - // from source app. Otherwise, application settings from source app are retained. - AppSettingsOverrides map[string]*string `json:"appSettingsOverrides"` - // ConfigureLoadBalancing - true to configure load balancing for source and destination app. - ConfigureLoadBalancing *bool `json:"configureLoadBalancing,omitempty"` - // TrafficManagerProfileID - ARM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form - // /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}. - TrafficManagerProfileID *string `json:"trafficManagerProfileId,omitempty"` - // TrafficManagerProfileName - Name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist. - TrafficManagerProfileName *string `json:"trafficManagerProfileName,omitempty"` -} - -// MarshalJSON is the custom marshaler for CloningInfo. -func (ci CloningInfo) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if ci.CorrelationID != nil { - objectMap["correlationId"] = ci.CorrelationID - } - if ci.Overwrite != nil { - objectMap["overwrite"] = ci.Overwrite - } - if ci.CloneCustomHostNames != nil { - objectMap["cloneCustomHostNames"] = ci.CloneCustomHostNames - } - if ci.CloneSourceControl != nil { - objectMap["cloneSourceControl"] = ci.CloneSourceControl - } - if ci.SourceWebAppID != nil { - objectMap["sourceWebAppId"] = ci.SourceWebAppID - } - if ci.SourceWebAppLocation != nil { - objectMap["sourceWebAppLocation"] = ci.SourceWebAppLocation - } - if ci.HostingEnvironment != nil { - objectMap["hostingEnvironment"] = ci.HostingEnvironment - } - if ci.AppSettingsOverrides != nil { - objectMap["appSettingsOverrides"] = ci.AppSettingsOverrides - } - if ci.ConfigureLoadBalancing != nil { - objectMap["configureLoadBalancing"] = ci.ConfigureLoadBalancing - } - if ci.TrafficManagerProfileID != nil { - objectMap["trafficManagerProfileId"] = ci.TrafficManagerProfileID - } - if ci.TrafficManagerProfileName != nil { - objectMap["trafficManagerProfileName"] = ci.TrafficManagerProfileName - } - return json.Marshal(objectMap) -} - -// ConnectionStringDictionary string dictionary resource. -type ConnectionStringDictionary struct { - autorest.Response `json:"-"` - // Properties - Connection strings. - Properties map[string]*ConnStringValueTypePair `json:"properties"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for ConnectionStringDictionary. -func (csd ConnectionStringDictionary) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if csd.Properties != nil { - objectMap["properties"] = csd.Properties - } - if csd.Kind != nil { - objectMap["kind"] = csd.Kind - } - return json.Marshal(objectMap) -} - -// ConnStringInfo database connection string information. -type ConnStringInfo struct { - // Name - Name of connection string. - Name *string `json:"name,omitempty"` - // ConnectionString - Connection string value. - ConnectionString *string `json:"connectionString,omitempty"` - // Type - Type of database. Possible values include: 'MySQL', 'SQLServer', 'SQLAzure', 'Custom', 'NotificationHub', 'ServiceBus', 'EventHub', 'APIHub', 'DocDb', 'RedisCache', 'PostgreSQL' - Type ConnectionStringType `json:"type,omitempty"` -} - -// ConnStringValueTypePair database connection string value to type pair. -type ConnStringValueTypePair struct { - // Value - Value of pair. - Value *string `json:"value,omitempty"` - // Type - Type of database. Possible values include: 'MySQL', 'SQLServer', 'SQLAzure', 'Custom', 'NotificationHub', 'ServiceBus', 'EventHub', 'APIHub', 'DocDb', 'RedisCache', 'PostgreSQL' - Type ConnectionStringType `json:"type,omitempty"` -} - -// Contact contact information for domain registration. If 'Domain Privacy' option is not selected then the -// contact information is made publicly available through the Whois -// directories as per ICANN requirements. -type Contact struct { - // AddressMailing - Mailing address. - AddressMailing *Address `json:"addressMailing,omitempty"` - // Email - Email address. - Email *string `json:"email,omitempty"` - // Fax - Fax number. - Fax *string `json:"fax,omitempty"` - // JobTitle - Job title. - JobTitle *string `json:"jobTitle,omitempty"` - // NameFirst - First name. - NameFirst *string `json:"nameFirst,omitempty"` - // NameLast - Last name. - NameLast *string `json:"nameLast,omitempty"` - // NameMiddle - Middle name. - NameMiddle *string `json:"nameMiddle,omitempty"` - // Organization - Organization contact belongs to. - Organization *string `json:"organization,omitempty"` - // Phone - Phone number. - Phone *string `json:"phone,omitempty"` -} - -// ContainerCPUStatistics ... -type ContainerCPUStatistics struct { - CPUUsage *ContainerCPUUsage `json:"cpuUsage,omitempty"` - SystemCPUUsage *int64 `json:"systemCpuUsage,omitempty"` - OnlineCPUCount *int32 `json:"onlineCpuCount,omitempty"` - ThrottlingData *ContainerThrottlingData `json:"throttlingData,omitempty"` -} - -// ContainerCPUUsage ... -type ContainerCPUUsage struct { - TotalUsage *int64 `json:"totalUsage,omitempty"` - PerCPUUsage *[]int64 `json:"perCpuUsage,omitempty"` - KernelModeUsage *int64 `json:"kernelModeUsage,omitempty"` - UserModeUsage *int64 `json:"userModeUsage,omitempty"` -} - -// ContainerInfo ... -type ContainerInfo struct { - CurrentTimeStamp *date.Time `json:"currentTimeStamp,omitempty"` - PreviousTimeStamp *date.Time `json:"previousTimeStamp,omitempty"` - CurrentCPUStats *ContainerCPUStatistics `json:"currentCpuStats,omitempty"` - PreviousCPUStats *ContainerCPUStatistics `json:"previousCpuStats,omitempty"` - MemoryStats *ContainerMemoryStatistics `json:"memoryStats,omitempty"` - Name *string `json:"name,omitempty"` - ID *string `json:"id,omitempty"` - Eth0 *ContainerNetworkInterfaceStatistics `json:"eth0,omitempty"` -} - -// ContainerMemoryStatistics ... -type ContainerMemoryStatistics struct { - Usage *int64 `json:"usage,omitempty"` - MaxUsage *int64 `json:"maxUsage,omitempty"` - Limit *int64 `json:"limit,omitempty"` -} - -// ContainerNetworkInterfaceStatistics ... -type ContainerNetworkInterfaceStatistics struct { - RxBytes *int64 `json:"rxBytes,omitempty"` - RxPackets *int64 `json:"rxPackets,omitempty"` - RxErrors *int64 `json:"rxErrors,omitempty"` - RxDropped *int64 `json:"rxDropped,omitempty"` - TxBytes *int64 `json:"txBytes,omitempty"` - TxPackets *int64 `json:"txPackets,omitempty"` - TxErrors *int64 `json:"txErrors,omitempty"` - TxDropped *int64 `json:"txDropped,omitempty"` -} - -// ContainerThrottlingData ... -type ContainerThrottlingData struct { - Periods *int32 `json:"periods,omitempty"` - ThrottledPeriods *int32 `json:"throttledPeriods,omitempty"` - ThrottledTime *int32 `json:"throttledTime,omitempty"` -} - -// ContinuousWebJob continuous Web Job Information. -type ContinuousWebJob struct { - autorest.Response `json:"-"` - // ContinuousWebJobProperties - ContinuousWebJob resource specific properties - *ContinuousWebJobProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for ContinuousWebJob. -func (cwj ContinuousWebJob) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if cwj.ContinuousWebJobProperties != nil { - objectMap["properties"] = cwj.ContinuousWebJobProperties - } - if cwj.Kind != nil { - objectMap["kind"] = cwj.Kind - } - return json.Marshal(objectMap) -} - -// UnmarshalJSON is the custom unmarshaler for ContinuousWebJob struct. -func (cwj *ContinuousWebJob) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var continuousWebJobProperties ContinuousWebJobProperties - err = json.Unmarshal(*v, &continuousWebJobProperties) - if err != nil { - return err - } - cwj.ContinuousWebJobProperties = &continuousWebJobProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - cwj.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - cwj.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - cwj.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - cwj.Type = &typeVar - } - } - } - - return nil -} - -// ContinuousWebJobCollection collection of Kudu continuous web job information elements. -type ContinuousWebJobCollection struct { - autorest.Response `json:"-"` - // Value - Collection of resources. - Value *[]ContinuousWebJob `json:"value,omitempty"` - // NextLink - READ-ONLY; Link to next page of resources. - NextLink *string `json:"nextLink,omitempty"` -} - -// MarshalJSON is the custom marshaler for ContinuousWebJobCollection. -func (cwjc ContinuousWebJobCollection) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if cwjc.Value != nil { - objectMap["value"] = cwjc.Value - } - return json.Marshal(objectMap) -} - -// ContinuousWebJobCollectionIterator provides access to a complete listing of ContinuousWebJob values. -type ContinuousWebJobCollectionIterator struct { - i int - page ContinuousWebJobCollectionPage -} - -// NextWithContext advances to the next value. If there was an error making -// the request the iterator does not advance and the error is returned. -func (iter *ContinuousWebJobCollectionIterator) NextWithContext(ctx context.Context) (err error) { - if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/ContinuousWebJobCollectionIterator.NextWithContext") - defer func() { - sc := -1 - if iter.Response().Response.Response != nil { - sc = iter.Response().Response.Response.StatusCode - } - tracing.EndSpan(ctx, sc, err) - }() - } - iter.i++ - if iter.i < len(iter.page.Values()) { - return nil - } - err = iter.page.NextWithContext(ctx) - if err != nil { - iter.i-- - return err - } - iter.i = 0 - return nil -} - -// Next advances to the next value. If there was an error making -// the request the iterator does not advance and the error is returned. -// Deprecated: Use NextWithContext() instead. -func (iter *ContinuousWebJobCollectionIterator) Next() error { - return iter.NextWithContext(context.Background()) -} - -// NotDone returns true if the enumeration should be started or is not yet complete. -func (iter ContinuousWebJobCollectionIterator) NotDone() bool { - return iter.page.NotDone() && iter.i < len(iter.page.Values()) -} - -// Response returns the raw server response from the last page request. -func (iter ContinuousWebJobCollectionIterator) Response() ContinuousWebJobCollection { - return iter.page.Response() -} - -// Value returns the current value or a zero-initialized value if the -// iterator has advanced beyond the end of the collection. -func (iter ContinuousWebJobCollectionIterator) Value() ContinuousWebJob { - if !iter.page.NotDone() { - return ContinuousWebJob{} - } - return iter.page.Values()[iter.i] -} - -// Creates a new instance of the ContinuousWebJobCollectionIterator type. -func NewContinuousWebJobCollectionIterator(page ContinuousWebJobCollectionPage) ContinuousWebJobCollectionIterator { - return ContinuousWebJobCollectionIterator{page: page} -} - -// IsEmpty returns true if the ListResult contains no values. -func (cwjc ContinuousWebJobCollection) IsEmpty() bool { - return cwjc.Value == nil || len(*cwjc.Value) == 0 -} - -// hasNextLink returns true if the NextLink is not empty. -func (cwjc ContinuousWebJobCollection) hasNextLink() bool { - return cwjc.NextLink != nil && len(*cwjc.NextLink) != 0 -} - -// continuousWebJobCollectionPreparer prepares a request to retrieve the next set of results. -// It returns nil if no more results exist. -func (cwjc ContinuousWebJobCollection) continuousWebJobCollectionPreparer(ctx context.Context) (*http.Request, error) { - if !cwjc.hasNextLink() { - return nil, nil - } - return autorest.Prepare((&http.Request{}).WithContext(ctx), - autorest.AsJSON(), - autorest.AsGet(), - autorest.WithBaseURL(to.String(cwjc.NextLink))) -} - -// ContinuousWebJobCollectionPage contains a page of ContinuousWebJob values. -type ContinuousWebJobCollectionPage struct { - fn func(context.Context, ContinuousWebJobCollection) (ContinuousWebJobCollection, error) - cwjc ContinuousWebJobCollection -} - -// NextWithContext advances to the next page of values. If there was an error making -// the request the page does not advance and the error is returned. -func (page *ContinuousWebJobCollectionPage) NextWithContext(ctx context.Context) (err error) { - if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/ContinuousWebJobCollectionPage.NextWithContext") - defer func() { - sc := -1 - if page.Response().Response.Response != nil { - sc = page.Response().Response.Response.StatusCode - } - tracing.EndSpan(ctx, sc, err) - }() - } - for { - next, err := page.fn(ctx, page.cwjc) - if err != nil { - return err - } - page.cwjc = next - if !next.hasNextLink() || !next.IsEmpty() { - break - } - } - return nil -} - -// Next advances to the next page of values. If there was an error making -// the request the page does not advance and the error is returned. -// Deprecated: Use NextWithContext() instead. -func (page *ContinuousWebJobCollectionPage) Next() error { - return page.NextWithContext(context.Background()) -} - -// NotDone returns true if the page enumeration should be started or is not yet complete. -func (page ContinuousWebJobCollectionPage) NotDone() bool { - return !page.cwjc.IsEmpty() -} - -// Response returns the raw server response from the last page request. -func (page ContinuousWebJobCollectionPage) Response() ContinuousWebJobCollection { - return page.cwjc -} - -// Values returns the slice of values for the current page or nil if there are no values. -func (page ContinuousWebJobCollectionPage) Values() []ContinuousWebJob { - if page.cwjc.IsEmpty() { - return nil - } - return *page.cwjc.Value -} - -// Creates a new instance of the ContinuousWebJobCollectionPage type. -func NewContinuousWebJobCollectionPage(cur ContinuousWebJobCollection, getNextPage func(context.Context, ContinuousWebJobCollection) (ContinuousWebJobCollection, error)) ContinuousWebJobCollectionPage { - return ContinuousWebJobCollectionPage{ - fn: getNextPage, - cwjc: cur, - } -} - -// ContinuousWebJobProperties continuousWebJob resource specific properties -type ContinuousWebJobProperties struct { - // Status - Job status. Possible values include: 'Initializing', 'Starting', 'Running', 'PendingRestart', 'Stopped' - Status ContinuousWebJobStatus `json:"status,omitempty"` - // DetailedStatus - Detailed status. - DetailedStatus *string `json:"detailed_status,omitempty"` - // LogURL - Log URL. - LogURL *string `json:"log_url,omitempty"` - // RunCommand - Run command. - RunCommand *string `json:"run_command,omitempty"` - // URL - Job URL. - URL *string `json:"url,omitempty"` - // ExtraInfoURL - Extra Info URL. - ExtraInfoURL *string `json:"extra_info_url,omitempty"` - // WebJobType - Job type. Possible values include: 'Continuous', 'Triggered' - WebJobType JobType `json:"web_job_type,omitempty"` - // Error - Error information. - Error *string `json:"error,omitempty"` - // UsingSdk - Using SDK? - UsingSdk *bool `json:"using_sdk,omitempty"` - // Settings - Job settings. - Settings map[string]interface{} `json:"settings"` -} - -// MarshalJSON is the custom marshaler for ContinuousWebJobProperties. -func (cwj ContinuousWebJobProperties) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if cwj.Status != "" { - objectMap["status"] = cwj.Status - } - if cwj.DetailedStatus != nil { - objectMap["detailed_status"] = cwj.DetailedStatus - } - if cwj.LogURL != nil { - objectMap["log_url"] = cwj.LogURL - } - if cwj.RunCommand != nil { - objectMap["run_command"] = cwj.RunCommand - } - if cwj.URL != nil { - objectMap["url"] = cwj.URL - } - if cwj.ExtraInfoURL != nil { - objectMap["extra_info_url"] = cwj.ExtraInfoURL - } - if cwj.WebJobType != "" { - objectMap["web_job_type"] = cwj.WebJobType - } - if cwj.Error != nil { - objectMap["error"] = cwj.Error - } - if cwj.UsingSdk != nil { - objectMap["using_sdk"] = cwj.UsingSdk - } - if cwj.Settings != nil { - objectMap["settings"] = cwj.Settings - } - return json.Marshal(objectMap) -} - -// CookieExpiration the configuration settings of the session cookie's expiration. -type CookieExpiration struct { - // CookieExpirationProperties - CookieExpiration resource specific properties - *CookieExpirationProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for CookieExpiration. -func (ce CookieExpiration) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if ce.CookieExpirationProperties != nil { - objectMap["properties"] = ce.CookieExpirationProperties - } - if ce.Kind != nil { - objectMap["kind"] = ce.Kind - } - return json.Marshal(objectMap) -} - -// UnmarshalJSON is the custom unmarshaler for CookieExpiration struct. -func (ce *CookieExpiration) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var cookieExpirationProperties CookieExpirationProperties - err = json.Unmarshal(*v, &cookieExpirationProperties) - if err != nil { - return err - } - ce.CookieExpirationProperties = &cookieExpirationProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - ce.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - ce.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - ce.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - ce.Type = &typeVar - } - } - } - - return nil -} - -// CookieExpirationProperties cookieExpiration resource specific properties -type CookieExpirationProperties struct { - // Convention - The convention used when determining the session cookie's expiration. Possible values include: 'FixedTime', 'IdentityProviderDerived' - Convention CookieExpirationConvention `json:"convention,omitempty"` - // TimeToExpiration - The time after the request is made when the session cookie should expire. - TimeToExpiration *string `json:"timeToExpiration,omitempty"` -} - -// CorsSettings cross-Origin Resource Sharing (CORS) settings for the app. -type CorsSettings struct { - // AllowedOrigins - Gets or sets the list of origins that should be allowed to make cross-origin - // calls (for example: http://example.com:12345). Use "*" to allow all. - AllowedOrigins *[]string `json:"allowedOrigins,omitempty"` - // SupportCredentials - Gets or sets whether CORS requests with credentials are allowed. See - // https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#Requests_with_credentials - // for more details. - SupportCredentials *bool `json:"supportCredentials,omitempty"` -} - -// CsmMoveResourceEnvelope object with a list of the resources that need to be moved and the resource group -// they should be moved to. -type CsmMoveResourceEnvelope struct { - TargetResourceGroup *string `json:"targetResourceGroup,omitempty"` - Resources *[]string `json:"resources,omitempty"` -} - -// CsmOperationCollection collection of Azure resource manager operation metadata. -type CsmOperationCollection struct { - autorest.Response `json:"-"` - // Value - Collection of resources. - Value *[]CsmOperationDescription `json:"value,omitempty"` - // NextLink - READ-ONLY; Link to next page of resources. - NextLink *string `json:"nextLink,omitempty"` -} - -// MarshalJSON is the custom marshaler for CsmOperationCollection. -func (coc CsmOperationCollection) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if coc.Value != nil { - objectMap["value"] = coc.Value - } - return json.Marshal(objectMap) -} - -// CsmOperationCollectionIterator provides access to a complete listing of CsmOperationDescription values. -type CsmOperationCollectionIterator struct { - i int - page CsmOperationCollectionPage -} - -// NextWithContext advances to the next value. If there was an error making -// the request the iterator does not advance and the error is returned. -func (iter *CsmOperationCollectionIterator) NextWithContext(ctx context.Context) (err error) { - if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/CsmOperationCollectionIterator.NextWithContext") - defer func() { - sc := -1 - if iter.Response().Response.Response != nil { - sc = iter.Response().Response.Response.StatusCode - } - tracing.EndSpan(ctx, sc, err) - }() - } - iter.i++ - if iter.i < len(iter.page.Values()) { - return nil - } - err = iter.page.NextWithContext(ctx) - if err != nil { - iter.i-- - return err - } - iter.i = 0 - return nil -} - -// Next advances to the next value. If there was an error making -// the request the iterator does not advance and the error is returned. -// Deprecated: Use NextWithContext() instead. -func (iter *CsmOperationCollectionIterator) Next() error { - return iter.NextWithContext(context.Background()) -} - -// NotDone returns true if the enumeration should be started or is not yet complete. -func (iter CsmOperationCollectionIterator) NotDone() bool { - return iter.page.NotDone() && iter.i < len(iter.page.Values()) -} - -// Response returns the raw server response from the last page request. -func (iter CsmOperationCollectionIterator) Response() CsmOperationCollection { - return iter.page.Response() -} - -// Value returns the current value or a zero-initialized value if the -// iterator has advanced beyond the end of the collection. -func (iter CsmOperationCollectionIterator) Value() CsmOperationDescription { - if !iter.page.NotDone() { - return CsmOperationDescription{} - } - return iter.page.Values()[iter.i] -} - -// Creates a new instance of the CsmOperationCollectionIterator type. -func NewCsmOperationCollectionIterator(page CsmOperationCollectionPage) CsmOperationCollectionIterator { - return CsmOperationCollectionIterator{page: page} -} - -// IsEmpty returns true if the ListResult contains no values. -func (coc CsmOperationCollection) IsEmpty() bool { - return coc.Value == nil || len(*coc.Value) == 0 -} - -// hasNextLink returns true if the NextLink is not empty. -func (coc CsmOperationCollection) hasNextLink() bool { - return coc.NextLink != nil && len(*coc.NextLink) != 0 -} - -// csmOperationCollectionPreparer prepares a request to retrieve the next set of results. -// It returns nil if no more results exist. -func (coc CsmOperationCollection) csmOperationCollectionPreparer(ctx context.Context) (*http.Request, error) { - if !coc.hasNextLink() { - return nil, nil - } - return autorest.Prepare((&http.Request{}).WithContext(ctx), - autorest.AsJSON(), - autorest.AsGet(), - autorest.WithBaseURL(to.String(coc.NextLink))) -} - -// CsmOperationCollectionPage contains a page of CsmOperationDescription values. -type CsmOperationCollectionPage struct { - fn func(context.Context, CsmOperationCollection) (CsmOperationCollection, error) - coc CsmOperationCollection -} - -// NextWithContext advances to the next page of values. If there was an error making -// the request the page does not advance and the error is returned. -func (page *CsmOperationCollectionPage) NextWithContext(ctx context.Context) (err error) { - if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/CsmOperationCollectionPage.NextWithContext") - defer func() { - sc := -1 - if page.Response().Response.Response != nil { - sc = page.Response().Response.Response.StatusCode - } - tracing.EndSpan(ctx, sc, err) - }() - } - for { - next, err := page.fn(ctx, page.coc) - if err != nil { - return err - } - page.coc = next - if !next.hasNextLink() || !next.IsEmpty() { - break - } - } - return nil -} - -// Next advances to the next page of values. If there was an error making -// the request the page does not advance and the error is returned. -// Deprecated: Use NextWithContext() instead. -func (page *CsmOperationCollectionPage) Next() error { - return page.NextWithContext(context.Background()) -} - -// NotDone returns true if the page enumeration should be started or is not yet complete. -func (page CsmOperationCollectionPage) NotDone() bool { - return !page.coc.IsEmpty() -} - -// Response returns the raw server response from the last page request. -func (page CsmOperationCollectionPage) Response() CsmOperationCollection { - return page.coc -} - -// Values returns the slice of values for the current page or nil if there are no values. -func (page CsmOperationCollectionPage) Values() []CsmOperationDescription { - if page.coc.IsEmpty() { - return nil - } - return *page.coc.Value -} - -// Creates a new instance of the CsmOperationCollectionPage type. -func NewCsmOperationCollectionPage(cur CsmOperationCollection, getNextPage func(context.Context, CsmOperationCollection) (CsmOperationCollection, error)) CsmOperationCollectionPage { - return CsmOperationCollectionPage{ - fn: getNextPage, - coc: cur, - } -} - -// CsmOperationDescription description of an operation available for Microsoft.Web resource provider. -type CsmOperationDescription struct { - Name *string `json:"name,omitempty"` - Display *CsmOperationDisplay `json:"display,omitempty"` - Origin *string `json:"origin,omitempty"` - Properties *CsmOperationDescriptionProperties `json:"properties,omitempty"` -} - -// CsmOperationDescriptionProperties properties available for a Microsoft.Web resource provider operation. -type CsmOperationDescriptionProperties struct { - ServiceSpecification *ServiceSpecification `json:"serviceSpecification,omitempty"` -} - -// CsmOperationDisplay meta data about operation used for display in portal. -type CsmOperationDisplay struct { - Provider *string `json:"provider,omitempty"` - Resource *string `json:"resource,omitempty"` - Operation *string `json:"operation,omitempty"` - Description *string `json:"description,omitempty"` -} - -// CsmPublishingCredentialsPoliciesCollection publishing Credentials Policies collection. -type CsmPublishingCredentialsPoliciesCollection struct { - autorest.Response `json:"-"` - // CsmPublishingCredentialsPoliciesCollectionProperties - CsmPublishingCredentialsPoliciesCollection resource specific properties - *CsmPublishingCredentialsPoliciesCollectionProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for CsmPublishingCredentialsPoliciesCollection. -func (cpcpc CsmPublishingCredentialsPoliciesCollection) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if cpcpc.CsmPublishingCredentialsPoliciesCollectionProperties != nil { - objectMap["properties"] = cpcpc.CsmPublishingCredentialsPoliciesCollectionProperties - } - if cpcpc.Kind != nil { - objectMap["kind"] = cpcpc.Kind - } - return json.Marshal(objectMap) -} - -// UnmarshalJSON is the custom unmarshaler for CsmPublishingCredentialsPoliciesCollection struct. -func (cpcpc *CsmPublishingCredentialsPoliciesCollection) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var csmPublishingCredentialsPoliciesCollectionProperties CsmPublishingCredentialsPoliciesCollectionProperties - err = json.Unmarshal(*v, &csmPublishingCredentialsPoliciesCollectionProperties) - if err != nil { - return err - } - cpcpc.CsmPublishingCredentialsPoliciesCollectionProperties = &csmPublishingCredentialsPoliciesCollectionProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - cpcpc.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - cpcpc.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - cpcpc.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - cpcpc.Type = &typeVar - } - } - } - - return nil -} - -// CsmPublishingCredentialsPoliciesCollectionProperties csmPublishingCredentialsPoliciesCollection resource -// specific properties -type CsmPublishingCredentialsPoliciesCollectionProperties struct { - // Ftp - Whether FTP is allowed. - Ftp *CsmPublishingCredentialsPoliciesEntity `json:"ftp,omitempty"` - // Scm - Whether Scm Basic Auth is allowed. - Scm *CsmPublishingCredentialsPoliciesEntity `json:"scm,omitempty"` -} - -// CsmPublishingCredentialsPoliciesEntity publishing Credentials Policies parameters. -type CsmPublishingCredentialsPoliciesEntity struct { - autorest.Response `json:"-"` - // CsmPublishingCredentialsPoliciesEntityProperties - CsmPublishingCredentialsPoliciesEntity resource specific properties - *CsmPublishingCredentialsPoliciesEntityProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for CsmPublishingCredentialsPoliciesEntity. -func (cpcpe CsmPublishingCredentialsPoliciesEntity) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if cpcpe.CsmPublishingCredentialsPoliciesEntityProperties != nil { - objectMap["properties"] = cpcpe.CsmPublishingCredentialsPoliciesEntityProperties - } - if cpcpe.Kind != nil { - objectMap["kind"] = cpcpe.Kind - } - return json.Marshal(objectMap) -} - -// UnmarshalJSON is the custom unmarshaler for CsmPublishingCredentialsPoliciesEntity struct. -func (cpcpe *CsmPublishingCredentialsPoliciesEntity) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var csmPublishingCredentialsPoliciesEntityProperties CsmPublishingCredentialsPoliciesEntityProperties - err = json.Unmarshal(*v, &csmPublishingCredentialsPoliciesEntityProperties) - if err != nil { - return err - } - cpcpe.CsmPublishingCredentialsPoliciesEntityProperties = &csmPublishingCredentialsPoliciesEntityProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - cpcpe.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - cpcpe.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - cpcpe.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - cpcpe.Type = &typeVar - } - } - } - - return nil -} - -// CsmPublishingCredentialsPoliciesEntityProperties csmPublishingCredentialsPoliciesEntity resource -// specific properties -type CsmPublishingCredentialsPoliciesEntityProperties struct { - // Allow - true to allow access to a publishing method; otherwise, false. - Allow *bool `json:"allow,omitempty"` -} - -// CsmPublishingProfileOptions publishing options for requested profile. -type CsmPublishingProfileOptions struct { - // Format - Name of the format. Valid values are: - // FileZilla3 - // WebDeploy -- default - // Ftp. Possible values include: 'FileZilla3', 'WebDeploy', 'Ftp' - Format PublishingProfileFormat `json:"format,omitempty"` - // IncludeDisasterRecoveryEndpoints - Include the DisasterRecover endpoint if true - IncludeDisasterRecoveryEndpoints *bool `json:"includeDisasterRecoveryEndpoints,omitempty"` -} - -// CsmSlotEntity deployment slot parameters. -type CsmSlotEntity struct { - // TargetSlot - Destination deployment slot during swap operation. - TargetSlot *string `json:"targetSlot,omitempty"` - // PreserveVnet - true to preserve Virtual Network to the slot during swap; otherwise, false. - PreserveVnet *bool `json:"preserveVnet,omitempty"` -} - -// CsmUsageQuota usage of the quota resource. -type CsmUsageQuota struct { - // Unit - Units of measurement for the quota resource. - Unit *string `json:"unit,omitempty"` - // NextResetTime - Next reset time for the resource counter. - NextResetTime *date.Time `json:"nextResetTime,omitempty"` - // CurrentValue - The current value of the resource counter. - CurrentValue *int64 `json:"currentValue,omitempty"` - // Limit - The resource limit. - Limit *int64 `json:"limit,omitempty"` - // Name - Quota name. - Name *LocalizableString `json:"name,omitempty"` -} - -// CsmUsageQuotaCollection collection of CSM usage quotas. -type CsmUsageQuotaCollection struct { - autorest.Response `json:"-"` - // Value - Collection of resources. - Value *[]CsmUsageQuota `json:"value,omitempty"` - // NextLink - READ-ONLY; Link to next page of resources. - NextLink *string `json:"nextLink,omitempty"` -} - -// MarshalJSON is the custom marshaler for CsmUsageQuotaCollection. -func (cuqc CsmUsageQuotaCollection) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if cuqc.Value != nil { - objectMap["value"] = cuqc.Value - } - return json.Marshal(objectMap) -} - -// CsmUsageQuotaCollectionIterator provides access to a complete listing of CsmUsageQuota values. -type CsmUsageQuotaCollectionIterator struct { - i int - page CsmUsageQuotaCollectionPage -} - -// NextWithContext advances to the next value. If there was an error making -// the request the iterator does not advance and the error is returned. -func (iter *CsmUsageQuotaCollectionIterator) NextWithContext(ctx context.Context) (err error) { - if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/CsmUsageQuotaCollectionIterator.NextWithContext") - defer func() { - sc := -1 - if iter.Response().Response.Response != nil { - sc = iter.Response().Response.Response.StatusCode - } - tracing.EndSpan(ctx, sc, err) - }() - } - iter.i++ - if iter.i < len(iter.page.Values()) { - return nil - } - err = iter.page.NextWithContext(ctx) - if err != nil { - iter.i-- - return err - } - iter.i = 0 - return nil -} - -// Next advances to the next value. If there was an error making -// the request the iterator does not advance and the error is returned. -// Deprecated: Use NextWithContext() instead. -func (iter *CsmUsageQuotaCollectionIterator) Next() error { - return iter.NextWithContext(context.Background()) -} - -// NotDone returns true if the enumeration should be started or is not yet complete. -func (iter CsmUsageQuotaCollectionIterator) NotDone() bool { - return iter.page.NotDone() && iter.i < len(iter.page.Values()) -} - -// Response returns the raw server response from the last page request. -func (iter CsmUsageQuotaCollectionIterator) Response() CsmUsageQuotaCollection { - return iter.page.Response() -} - -// Value returns the current value or a zero-initialized value if the -// iterator has advanced beyond the end of the collection. -func (iter CsmUsageQuotaCollectionIterator) Value() CsmUsageQuota { - if !iter.page.NotDone() { - return CsmUsageQuota{} - } - return iter.page.Values()[iter.i] -} - -// Creates a new instance of the CsmUsageQuotaCollectionIterator type. -func NewCsmUsageQuotaCollectionIterator(page CsmUsageQuotaCollectionPage) CsmUsageQuotaCollectionIterator { - return CsmUsageQuotaCollectionIterator{page: page} -} - -// IsEmpty returns true if the ListResult contains no values. -func (cuqc CsmUsageQuotaCollection) IsEmpty() bool { - return cuqc.Value == nil || len(*cuqc.Value) == 0 -} - -// hasNextLink returns true if the NextLink is not empty. -func (cuqc CsmUsageQuotaCollection) hasNextLink() bool { - return cuqc.NextLink != nil && len(*cuqc.NextLink) != 0 -} - -// csmUsageQuotaCollectionPreparer prepares a request to retrieve the next set of results. -// It returns nil if no more results exist. -func (cuqc CsmUsageQuotaCollection) csmUsageQuotaCollectionPreparer(ctx context.Context) (*http.Request, error) { - if !cuqc.hasNextLink() { - return nil, nil - } - return autorest.Prepare((&http.Request{}).WithContext(ctx), - autorest.AsJSON(), - autorest.AsGet(), - autorest.WithBaseURL(to.String(cuqc.NextLink))) -} - -// CsmUsageQuotaCollectionPage contains a page of CsmUsageQuota values. -type CsmUsageQuotaCollectionPage struct { - fn func(context.Context, CsmUsageQuotaCollection) (CsmUsageQuotaCollection, error) - cuqc CsmUsageQuotaCollection -} - -// NextWithContext advances to the next page of values. If there was an error making -// the request the page does not advance and the error is returned. -func (page *CsmUsageQuotaCollectionPage) NextWithContext(ctx context.Context) (err error) { - if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/CsmUsageQuotaCollectionPage.NextWithContext") - defer func() { - sc := -1 - if page.Response().Response.Response != nil { - sc = page.Response().Response.Response.StatusCode - } - tracing.EndSpan(ctx, sc, err) - }() - } - for { - next, err := page.fn(ctx, page.cuqc) - if err != nil { - return err - } - page.cuqc = next - if !next.hasNextLink() || !next.IsEmpty() { - break - } - } - return nil -} - -// Next advances to the next page of values. If there was an error making -// the request the page does not advance and the error is returned. -// Deprecated: Use NextWithContext() instead. -func (page *CsmUsageQuotaCollectionPage) Next() error { - return page.NextWithContext(context.Background()) -} - -// NotDone returns true if the page enumeration should be started or is not yet complete. -func (page CsmUsageQuotaCollectionPage) NotDone() bool { - return !page.cuqc.IsEmpty() -} - -// Response returns the raw server response from the last page request. -func (page CsmUsageQuotaCollectionPage) Response() CsmUsageQuotaCollection { - return page.cuqc -} - -// Values returns the slice of values for the current page or nil if there are no values. -func (page CsmUsageQuotaCollectionPage) Values() []CsmUsageQuota { - if page.cuqc.IsEmpty() { - return nil - } - return *page.cuqc.Value -} - -// Creates a new instance of the CsmUsageQuotaCollectionPage type. -func NewCsmUsageQuotaCollectionPage(cur CsmUsageQuotaCollection, getNextPage func(context.Context, CsmUsageQuotaCollection) (CsmUsageQuotaCollection, error)) CsmUsageQuotaCollectionPage { - return CsmUsageQuotaCollectionPage{ - fn: getNextPage, - cuqc: cur, - } -} - -// CustomHostnameAnalysisResult custom domain analysis. -type CustomHostnameAnalysisResult struct { - autorest.Response `json:"-"` - // CustomHostnameAnalysisResultProperties - CustomHostnameAnalysisResult resource specific properties - *CustomHostnameAnalysisResultProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for CustomHostnameAnalysisResult. -func (char CustomHostnameAnalysisResult) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if char.CustomHostnameAnalysisResultProperties != nil { - objectMap["properties"] = char.CustomHostnameAnalysisResultProperties - } - if char.Kind != nil { - objectMap["kind"] = char.Kind - } - return json.Marshal(objectMap) -} - -// UnmarshalJSON is the custom unmarshaler for CustomHostnameAnalysisResult struct. -func (char *CustomHostnameAnalysisResult) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var customHostnameAnalysisResultProperties CustomHostnameAnalysisResultProperties - err = json.Unmarshal(*v, &customHostnameAnalysisResultProperties) - if err != nil { - return err - } - char.CustomHostnameAnalysisResultProperties = &customHostnameAnalysisResultProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - char.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - char.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - char.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - char.Type = &typeVar - } - } - } - - return nil -} - -// CustomHostnameAnalysisResultProperties customHostnameAnalysisResult resource specific properties -type CustomHostnameAnalysisResultProperties struct { - // IsHostnameAlreadyVerified - READ-ONLY; true if hostname is already verified; otherwise, false. - IsHostnameAlreadyVerified *bool `json:"isHostnameAlreadyVerified,omitempty"` - // CustomDomainVerificationTest - READ-ONLY; DNS verification test result. Possible values include: 'DNSVerificationTestResultPassed', 'DNSVerificationTestResultFailed', 'DNSVerificationTestResultSkipped' - CustomDomainVerificationTest DNSVerificationTestResult `json:"customDomainVerificationTest,omitempty"` - // CustomDomainVerificationFailureInfo - READ-ONLY; Raw failure information if DNS verification fails. - CustomDomainVerificationFailureInfo *ErrorEntity `json:"customDomainVerificationFailureInfo,omitempty"` - // HasConflictOnScaleUnit - READ-ONLY; true if there is a conflict on a scale unit; otherwise, false. - HasConflictOnScaleUnit *bool `json:"hasConflictOnScaleUnit,omitempty"` - // HasConflictAcrossSubscription - READ-ONLY; true if there is a conflict across subscriptions; otherwise, false. - HasConflictAcrossSubscription *bool `json:"hasConflictAcrossSubscription,omitempty"` - // ConflictingAppResourceID - READ-ONLY; Name of the conflicting app on scale unit if it's within the same subscription. - ConflictingAppResourceID *string `json:"conflictingAppResourceId,omitempty"` - // CNameRecords - CName records controller can see for this hostname. - CNameRecords *[]string `json:"cNameRecords,omitempty"` - // TxtRecords - TXT records controller can see for this hostname. - TxtRecords *[]string `json:"txtRecords,omitempty"` - // ARecords - A records controller can see for this hostname. - ARecords *[]string `json:"aRecords,omitempty"` - // AlternateCNameRecords - Alternate CName records controller can see for this hostname. - AlternateCNameRecords *[]string `json:"alternateCNameRecords,omitempty"` - // AlternateTxtRecords - Alternate TXT records controller can see for this hostname. - AlternateTxtRecords *[]string `json:"alternateTxtRecords,omitempty"` -} - -// MarshalJSON is the custom marshaler for CustomHostnameAnalysisResultProperties. -func (char CustomHostnameAnalysisResultProperties) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if char.CNameRecords != nil { - objectMap["cNameRecords"] = char.CNameRecords - } - if char.TxtRecords != nil { - objectMap["txtRecords"] = char.TxtRecords - } - if char.ARecords != nil { - objectMap["aRecords"] = char.ARecords - } - if char.AlternateCNameRecords != nil { - objectMap["alternateCNameRecords"] = char.AlternateCNameRecords - } - if char.AlternateTxtRecords != nil { - objectMap["alternateTxtRecords"] = char.AlternateTxtRecords - } - return json.Marshal(objectMap) -} - -// CustomOpenIDConnectProvider the configuration settings of the custom Open ID Connect provider. -type CustomOpenIDConnectProvider struct { - // CustomOpenIDConnectProviderProperties - CustomOpenIdConnectProvider resource specific properties - *CustomOpenIDConnectProviderProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for CustomOpenIDConnectProvider. -func (coicp CustomOpenIDConnectProvider) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if coicp.CustomOpenIDConnectProviderProperties != nil { - objectMap["properties"] = coicp.CustomOpenIDConnectProviderProperties - } - if coicp.Kind != nil { - objectMap["kind"] = coicp.Kind - } - return json.Marshal(objectMap) -} - -// UnmarshalJSON is the custom unmarshaler for CustomOpenIDConnectProvider struct. -func (coicp *CustomOpenIDConnectProvider) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var customOpenIDConnectProviderProperties CustomOpenIDConnectProviderProperties - err = json.Unmarshal(*v, &customOpenIDConnectProviderProperties) - if err != nil { - return err - } - coicp.CustomOpenIDConnectProviderProperties = &customOpenIDConnectProviderProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - coicp.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - coicp.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - coicp.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - coicp.Type = &typeVar - } - } - } - - return nil -} - -// CustomOpenIDConnectProviderProperties customOpenIdConnectProvider resource specific properties -type CustomOpenIDConnectProviderProperties struct { - // Enabled - false if the custom Open ID provider provider should not be enabled; otherwise, true. - Enabled *bool `json:"enabled,omitempty"` - // Registration - The configuration settings of the app registration for the custom Open ID Connect provider. - Registration *OpenIDConnectRegistration `json:"registration,omitempty"` - // Login - The configuration settings of the login flow of the custom Open ID Connect provider. - Login *OpenIDConnectLogin `json:"login,omitempty"` -} - -// DatabaseBackupSetting database backup settings. -type DatabaseBackupSetting struct { - // DatabaseType - Database type (e.g. SqlAzure / MySql). Possible values include: 'DatabaseTypeSQLAzure', 'DatabaseTypeMySQL', 'DatabaseTypeLocalMySQL', 'DatabaseTypePostgreSQL' - DatabaseType DatabaseType `json:"databaseType,omitempty"` - Name *string `json:"name,omitempty"` - // ConnectionStringName - Contains a connection string name that is linked to the SiteConfig.ConnectionStrings. - // This is used during restore with overwrite connection strings options. - ConnectionStringName *string `json:"connectionStringName,omitempty"` - // ConnectionString - Contains a connection string to a database which is being backed up or restored. If the restore should happen to a new database, the database name inside is the new one. - ConnectionString *string `json:"connectionString,omitempty"` -} - -// DataProviderMetadata additional configuration for a data providers -type DataProviderMetadata struct { - ProviderName *string `json:"providerName,omitempty"` - // PropertyBag - READ-ONLY; Settings for the data provider - PropertyBag *[]KeyValuePairStringObject `json:"propertyBag,omitempty"` -} - -// MarshalJSON is the custom marshaler for DataProviderMetadata. -func (dpm DataProviderMetadata) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if dpm.ProviderName != nil { - objectMap["providerName"] = dpm.ProviderName - } - return json.Marshal(objectMap) -} - -// DataSource class representing data source used by the detectors -type DataSource struct { - // Instructions - Instructions if any for the data source - Instructions *[]string `json:"instructions,omitempty"` - // DataSourceURI - Datasource Uri Links - DataSourceURI *[]NameValuePair `json:"dataSourceUri,omitempty"` -} - -// DataTableResponseColumn column definition -type DataTableResponseColumn struct { - // ColumnName - Name of the column - ColumnName *string `json:"columnName,omitempty"` - // DataType - Data type which looks like 'String' or 'Int32'. - DataType *string `json:"dataType,omitempty"` - // ColumnType - Column Type - ColumnType *string `json:"columnType,omitempty"` -} - -// DataTableResponseObject data Table which defines columns and raw row values -type DataTableResponseObject struct { - // TableName - Name of the table - TableName *string `json:"tableName,omitempty"` - // Columns - List of columns with data types - Columns *[]DataTableResponseColumn `json:"columns,omitempty"` - // Rows - Raw row values - Rows *[][]string `json:"rows,omitempty"` -} - -// DefaultErrorResponse app Service error response. -type DefaultErrorResponse struct { - // Error - READ-ONLY; Error model. - Error *DefaultErrorResponseError `json:"error,omitempty"` -} - -// MarshalJSON is the custom marshaler for DefaultErrorResponse. -func (der DefaultErrorResponse) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - return json.Marshal(objectMap) -} - -// DefaultErrorResponseError error model. -type DefaultErrorResponseError struct { - // Code - READ-ONLY; Standardized string to programmatically identify the error. - Code *string `json:"code,omitempty"` - // Message - READ-ONLY; Detailed error description and debugging information. - Message *string `json:"message,omitempty"` - // Target - READ-ONLY; Detailed error description and debugging information. - Target *string `json:"target,omitempty"` - Details *[]DefaultErrorResponseErrorDetailsItem `json:"details,omitempty"` - // Innererror - READ-ONLY; More information to debug error. - Innererror *string `json:"innererror,omitempty"` -} - -// MarshalJSON is the custom marshaler for DefaultErrorResponseError. -func (der DefaultErrorResponseError) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if der.Details != nil { - objectMap["details"] = der.Details - } - return json.Marshal(objectMap) -} - -// DefaultErrorResponseErrorDetailsItem detailed errors. -type DefaultErrorResponseErrorDetailsItem struct { - // Code - READ-ONLY; Standardized string to programmatically identify the error. - Code *string `json:"code,omitempty"` - // Message - READ-ONLY; Detailed error description and debugging information. - Message *string `json:"message,omitempty"` - // Target - READ-ONLY; Detailed error description and debugging information. - Target *string `json:"target,omitempty"` -} - -// MarshalJSON is the custom marshaler for DefaultErrorResponseErrorDetailsItem. -func (derI DefaultErrorResponseErrorDetailsItem) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - return json.Marshal(objectMap) -} - -// DeletedAppRestoreRequest details about restoring a deleted app. -type DeletedAppRestoreRequest struct { - // DeletedAppRestoreRequestProperties - DeletedAppRestoreRequest resource specific properties - *DeletedAppRestoreRequestProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for DeletedAppRestoreRequest. -func (darr DeletedAppRestoreRequest) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if darr.DeletedAppRestoreRequestProperties != nil { - objectMap["properties"] = darr.DeletedAppRestoreRequestProperties - } - if darr.Kind != nil { - objectMap["kind"] = darr.Kind - } - return json.Marshal(objectMap) -} - -// UnmarshalJSON is the custom unmarshaler for DeletedAppRestoreRequest struct. -func (darr *DeletedAppRestoreRequest) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var deletedAppRestoreRequestProperties DeletedAppRestoreRequestProperties - err = json.Unmarshal(*v, &deletedAppRestoreRequestProperties) - if err != nil { - return err - } - darr.DeletedAppRestoreRequestProperties = &deletedAppRestoreRequestProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - darr.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - darr.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - darr.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - darr.Type = &typeVar - } - } - } - - return nil -} - -// DeletedAppRestoreRequestProperties deletedAppRestoreRequest resource specific properties -type DeletedAppRestoreRequestProperties struct { - // DeletedSiteID - ARM resource ID of the deleted app. Example: - // /subscriptions/{subId}/providers/Microsoft.Web/deletedSites/{deletedSiteId} - DeletedSiteID *string `json:"deletedSiteId,omitempty"` - // RecoverConfiguration - If true, deleted site configuration, in addition to content, will be restored. - RecoverConfiguration *bool `json:"recoverConfiguration,omitempty"` - // SnapshotTime - Point in time to restore the deleted app from, formatted as a DateTime string. - // If unspecified, default value is the time that the app was deleted. - SnapshotTime *string `json:"snapshotTime,omitempty"` - // UseDRSecondary - If true, the snapshot is retrieved from DRSecondary endpoint. - UseDRSecondary *bool `json:"useDRSecondary,omitempty"` -} - -// DeletedSite a deleted app. -type DeletedSite struct { - autorest.Response `json:"-"` - // DeletedSiteProperties - DeletedSite resource specific properties - *DeletedSiteProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for DeletedSite. -func (ds DeletedSite) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if ds.DeletedSiteProperties != nil { - objectMap["properties"] = ds.DeletedSiteProperties - } - if ds.Kind != nil { - objectMap["kind"] = ds.Kind - } - return json.Marshal(objectMap) -} - -// UnmarshalJSON is the custom unmarshaler for DeletedSite struct. -func (ds *DeletedSite) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var deletedSiteProperties DeletedSiteProperties - err = json.Unmarshal(*v, &deletedSiteProperties) - if err != nil { - return err - } - ds.DeletedSiteProperties = &deletedSiteProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - ds.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - ds.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - ds.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - ds.Type = &typeVar - } - } - } - - return nil -} - -// DeletedSiteProperties deletedSite resource specific properties -type DeletedSiteProperties struct { - // DeletedSiteID - READ-ONLY; Numeric id for the deleted site - DeletedSiteID *int32 `json:"deletedSiteId,omitempty"` - // DeletedTimestamp - READ-ONLY; Time in UTC when the app was deleted. - DeletedTimestamp *string `json:"deletedTimestamp,omitempty"` - // Subscription - READ-ONLY; Subscription containing the deleted site - Subscription *string `json:"subscription,omitempty"` - // ResourceGroup - READ-ONLY; ResourceGroup that contained the deleted site - ResourceGroup *string `json:"resourceGroup,omitempty"` - // DeletedSiteName - READ-ONLY; Name of the deleted site - DeletedSiteName *string `json:"deletedSiteName,omitempty"` - // Slot - READ-ONLY; Slot of the deleted site - Slot *string `json:"slot,omitempty"` - // Kind - READ-ONLY; Kind of site that was deleted - Kind *string `json:"kind,omitempty"` - // GeoRegionName - READ-ONLY; Geo Region of the deleted site - GeoRegionName *string `json:"geoRegionName,omitempty"` -} - -// MarshalJSON is the custom marshaler for DeletedSiteProperties. -func (ds DeletedSiteProperties) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - return json.Marshal(objectMap) -} - -// DeletedWebAppCollection collection of deleted apps. -type DeletedWebAppCollection struct { - autorest.Response `json:"-"` - // Value - Collection of resources. - Value *[]DeletedSite `json:"value,omitempty"` - // NextLink - READ-ONLY; Link to next page of resources. - NextLink *string `json:"nextLink,omitempty"` -} - -// MarshalJSON is the custom marshaler for DeletedWebAppCollection. -func (dwac DeletedWebAppCollection) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if dwac.Value != nil { - objectMap["value"] = dwac.Value - } - return json.Marshal(objectMap) -} - -// DeletedWebAppCollectionIterator provides access to a complete listing of DeletedSite values. -type DeletedWebAppCollectionIterator struct { - i int - page DeletedWebAppCollectionPage -} - -// NextWithContext advances to the next value. If there was an error making -// the request the iterator does not advance and the error is returned. -func (iter *DeletedWebAppCollectionIterator) NextWithContext(ctx context.Context) (err error) { - if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/DeletedWebAppCollectionIterator.NextWithContext") - defer func() { - sc := -1 - if iter.Response().Response.Response != nil { - sc = iter.Response().Response.Response.StatusCode - } - tracing.EndSpan(ctx, sc, err) - }() - } - iter.i++ - if iter.i < len(iter.page.Values()) { - return nil - } - err = iter.page.NextWithContext(ctx) - if err != nil { - iter.i-- - return err - } - iter.i = 0 - return nil -} - -// Next advances to the next value. If there was an error making -// the request the iterator does not advance and the error is returned. -// Deprecated: Use NextWithContext() instead. -func (iter *DeletedWebAppCollectionIterator) Next() error { - return iter.NextWithContext(context.Background()) -} - -// NotDone returns true if the enumeration should be started or is not yet complete. -func (iter DeletedWebAppCollectionIterator) NotDone() bool { - return iter.page.NotDone() && iter.i < len(iter.page.Values()) -} - -// Response returns the raw server response from the last page request. -func (iter DeletedWebAppCollectionIterator) Response() DeletedWebAppCollection { - return iter.page.Response() -} - -// Value returns the current value or a zero-initialized value if the -// iterator has advanced beyond the end of the collection. -func (iter DeletedWebAppCollectionIterator) Value() DeletedSite { - if !iter.page.NotDone() { - return DeletedSite{} - } - return iter.page.Values()[iter.i] -} - -// Creates a new instance of the DeletedWebAppCollectionIterator type. -func NewDeletedWebAppCollectionIterator(page DeletedWebAppCollectionPage) DeletedWebAppCollectionIterator { - return DeletedWebAppCollectionIterator{page: page} -} - -// IsEmpty returns true if the ListResult contains no values. -func (dwac DeletedWebAppCollection) IsEmpty() bool { - return dwac.Value == nil || len(*dwac.Value) == 0 -} - -// hasNextLink returns true if the NextLink is not empty. -func (dwac DeletedWebAppCollection) hasNextLink() bool { - return dwac.NextLink != nil && len(*dwac.NextLink) != 0 -} - -// deletedWebAppCollectionPreparer prepares a request to retrieve the next set of results. -// It returns nil if no more results exist. -func (dwac DeletedWebAppCollection) deletedWebAppCollectionPreparer(ctx context.Context) (*http.Request, error) { - if !dwac.hasNextLink() { - return nil, nil - } - return autorest.Prepare((&http.Request{}).WithContext(ctx), - autorest.AsJSON(), - autorest.AsGet(), - autorest.WithBaseURL(to.String(dwac.NextLink))) -} - -// DeletedWebAppCollectionPage contains a page of DeletedSite values. -type DeletedWebAppCollectionPage struct { - fn func(context.Context, DeletedWebAppCollection) (DeletedWebAppCollection, error) - dwac DeletedWebAppCollection -} - -// NextWithContext advances to the next page of values. If there was an error making -// the request the page does not advance and the error is returned. -func (page *DeletedWebAppCollectionPage) NextWithContext(ctx context.Context) (err error) { - if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/DeletedWebAppCollectionPage.NextWithContext") - defer func() { - sc := -1 - if page.Response().Response.Response != nil { - sc = page.Response().Response.Response.StatusCode - } - tracing.EndSpan(ctx, sc, err) - }() - } - for { - next, err := page.fn(ctx, page.dwac) - if err != nil { - return err - } - page.dwac = next - if !next.hasNextLink() || !next.IsEmpty() { - break - } +// MarshalJSON is the custom marshaler for CertificatePatchResourceProperties. +func (cpr CertificatePatchResourceProperties) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if cpr.Password != nil { + objectMap["password"] = cpr.Password } - return nil -} - -// Next advances to the next page of values. If there was an error making -// the request the page does not advance and the error is returned. -// Deprecated: Use NextWithContext() instead. -func (page *DeletedWebAppCollectionPage) Next() error { - return page.NextWithContext(context.Background()) -} - -// NotDone returns true if the page enumeration should be started or is not yet complete. -func (page DeletedWebAppCollectionPage) NotDone() bool { - return !page.dwac.IsEmpty() -} - -// Response returns the raw server response from the last page request. -func (page DeletedWebAppCollectionPage) Response() DeletedWebAppCollection { - return page.dwac -} - -// Values returns the slice of values for the current page or nil if there are no values. -func (page DeletedWebAppCollectionPage) Values() []DeletedSite { - if page.dwac.IsEmpty() { - return nil + if cpr.HostNames != nil { + objectMap["hostNames"] = cpr.HostNames } - return *page.dwac.Value -} - -// Creates a new instance of the DeletedWebAppCollectionPage type. -func NewDeletedWebAppCollectionPage(cur DeletedWebAppCollection, getNextPage func(context.Context, DeletedWebAppCollection) (DeletedWebAppCollection, error)) DeletedWebAppCollectionPage { - return DeletedWebAppCollectionPage{ - fn: getNextPage, - dwac: cur, + if cpr.PfxBlob != nil { + objectMap["pfxBlob"] = cpr.PfxBlob } -} - -// Deployment user credentials used for publishing activity. -type Deployment struct { - autorest.Response `json:"-"` - // DeploymentProperties - Deployment resource specific properties - *DeploymentProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for Deployment. -func (d Deployment) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if d.DeploymentProperties != nil { - objectMap["properties"] = d.DeploymentProperties + if cpr.KeyVaultID != nil { + objectMap["keyVaultId"] = cpr.KeyVaultID } - if d.Kind != nil { - objectMap["kind"] = d.Kind + if cpr.KeyVaultSecretName != nil { + objectMap["keyVaultSecretName"] = cpr.KeyVaultSecretName } - return json.Marshal(objectMap) -} - -// UnmarshalJSON is the custom unmarshaler for Deployment struct. -func (d *Deployment) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err + if cpr.ServerFarmID != nil { + objectMap["serverFarmId"] = cpr.ServerFarmID } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var deploymentProperties DeploymentProperties - err = json.Unmarshal(*v, &deploymentProperties) - if err != nil { - return err - } - d.DeploymentProperties = &deploymentProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - d.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - d.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - d.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - d.Type = &typeVar - } - } + if cpr.CanonicalName != nil { + objectMap["canonicalName"] = cpr.CanonicalName } - - return nil -} - -// DeploymentCollection collection of app deployments. -type DeploymentCollection struct { - autorest.Response `json:"-"` - // Value - Collection of resources. - Value *[]Deployment `json:"value,omitempty"` - // NextLink - READ-ONLY; Link to next page of resources. - NextLink *string `json:"nextLink,omitempty"` -} - -// MarshalJSON is the custom marshaler for DeploymentCollection. -func (dc DeploymentCollection) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if dc.Value != nil { - objectMap["value"] = dc.Value + if cpr.DomainValidationMethod != nil { + objectMap["domainValidationMethod"] = cpr.DomainValidationMethod } return json.Marshal(objectMap) } -// DeploymentCollectionIterator provides access to a complete listing of Deployment values. -type DeploymentCollectionIterator struct { - i int - page DeploymentCollectionPage +// CertificateProperties certificate resource specific properties +type CertificateProperties struct { + // Password - Certificate password. + Password *string `json:"password,omitempty"` + // FriendlyName - READ-ONLY; Friendly name of the certificate. + FriendlyName *string `json:"friendlyName,omitempty"` + // SubjectName - READ-ONLY; Subject name of the certificate. + SubjectName *string `json:"subjectName,omitempty"` + // HostNames - Host names the certificate applies to. + HostNames *[]string `json:"hostNames,omitempty"` + // PfxBlob - Pfx blob. + PfxBlob *[]byte `json:"pfxBlob,omitempty"` + // SiteName - READ-ONLY; App name. + SiteName *string `json:"siteName,omitempty"` + // SelfLink - READ-ONLY; Self link. + SelfLink *string `json:"selfLink,omitempty"` + // Issuer - READ-ONLY; Certificate issuer. + Issuer *string `json:"issuer,omitempty"` + // IssueDate - READ-ONLY; Certificate issue Date. + IssueDate *date.Time `json:"issueDate,omitempty"` + // ExpirationDate - READ-ONLY; Certificate expiration date. + ExpirationDate *date.Time `json:"expirationDate,omitempty"` + // Thumbprint - READ-ONLY; Certificate thumbprint. + Thumbprint *string `json:"thumbprint,omitempty"` + // Valid - READ-ONLY; Is the certificate valid?. + Valid *bool `json:"valid,omitempty"` + // CerBlob - READ-ONLY; Raw bytes of .cer file + CerBlob *[]byte `json:"cerBlob,omitempty"` + // PublicKeyHash - READ-ONLY; Public key hash. + PublicKeyHash *string `json:"publicKeyHash,omitempty"` + // HostingEnvironmentProfile - READ-ONLY; Specification for the App Service Environment to use for the certificate. + HostingEnvironmentProfile *HostingEnvironmentProfile `json:"hostingEnvironmentProfile,omitempty"` + // KeyVaultID - Key Vault Csm resource Id. + KeyVaultID *string `json:"keyVaultId,omitempty"` + // KeyVaultSecretName - Key Vault secret name. + KeyVaultSecretName *string `json:"keyVaultSecretName,omitempty"` + // KeyVaultSecretStatus - READ-ONLY; Status of the Key Vault secret. Possible values include: 'KeyVaultSecretStatusInitialized', 'KeyVaultSecretStatusWaitingOnCertificateOrder', 'KeyVaultSecretStatusSucceeded', 'KeyVaultSecretStatusCertificateOrderFailed', 'KeyVaultSecretStatusOperationNotPermittedOnKeyVault', 'KeyVaultSecretStatusAzureServiceUnauthorizedToAccessKeyVault', 'KeyVaultSecretStatusKeyVaultDoesNotExist', 'KeyVaultSecretStatusKeyVaultSecretDoesNotExist', 'KeyVaultSecretStatusUnknownError', 'KeyVaultSecretStatusExternalPrivateKey', 'KeyVaultSecretStatusUnknown' + KeyVaultSecretStatus KeyVaultSecretStatus `json:"keyVaultSecretStatus,omitempty"` + // ServerFarmID - Resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}". + ServerFarmID *string `json:"serverFarmId,omitempty"` + // CanonicalName - CNAME of the certificate to be issued via free certificate + CanonicalName *string `json:"canonicalName,omitempty"` + // DomainValidationMethod - Method of domain validation for free cert + DomainValidationMethod *string `json:"domainValidationMethod,omitempty"` } -// NextWithContext advances to the next value. If there was an error making -// the request the iterator does not advance and the error is returned. -func (iter *DeploymentCollectionIterator) NextWithContext(ctx context.Context) (err error) { - if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/DeploymentCollectionIterator.NextWithContext") - defer func() { - sc := -1 - if iter.Response().Response.Response != nil { - sc = iter.Response().Response.Response.StatusCode - } - tracing.EndSpan(ctx, sc, err) - }() +// MarshalJSON is the custom marshaler for CertificateProperties. +func (c CertificateProperties) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if c.Password != nil { + objectMap["password"] = c.Password } - iter.i++ - if iter.i < len(iter.page.Values()) { - return nil + if c.HostNames != nil { + objectMap["hostNames"] = c.HostNames } - err = iter.page.NextWithContext(ctx) - if err != nil { - iter.i-- - return err + if c.PfxBlob != nil { + objectMap["pfxBlob"] = c.PfxBlob } - iter.i = 0 - return nil -} - -// Next advances to the next value. If there was an error making -// the request the iterator does not advance and the error is returned. -// Deprecated: Use NextWithContext() instead. -func (iter *DeploymentCollectionIterator) Next() error { - return iter.NextWithContext(context.Background()) -} - -// NotDone returns true if the enumeration should be started or is not yet complete. -func (iter DeploymentCollectionIterator) NotDone() bool { - return iter.page.NotDone() && iter.i < len(iter.page.Values()) -} - -// Response returns the raw server response from the last page request. -func (iter DeploymentCollectionIterator) Response() DeploymentCollection { - return iter.page.Response() -} - -// Value returns the current value or a zero-initialized value if the -// iterator has advanced beyond the end of the collection. -func (iter DeploymentCollectionIterator) Value() Deployment { - if !iter.page.NotDone() { - return Deployment{} + if c.KeyVaultID != nil { + objectMap["keyVaultId"] = c.KeyVaultID } - return iter.page.Values()[iter.i] -} - -// Creates a new instance of the DeploymentCollectionIterator type. -func NewDeploymentCollectionIterator(page DeploymentCollectionPage) DeploymentCollectionIterator { - return DeploymentCollectionIterator{page: page} -} - -// IsEmpty returns true if the ListResult contains no values. -func (dc DeploymentCollection) IsEmpty() bool { - return dc.Value == nil || len(*dc.Value) == 0 -} - -// hasNextLink returns true if the NextLink is not empty. -func (dc DeploymentCollection) hasNextLink() bool { - return dc.NextLink != nil && len(*dc.NextLink) != 0 -} - -// deploymentCollectionPreparer prepares a request to retrieve the next set of results. -// It returns nil if no more results exist. -func (dc DeploymentCollection) deploymentCollectionPreparer(ctx context.Context) (*http.Request, error) { - if !dc.hasNextLink() { - return nil, nil + if c.KeyVaultSecretName != nil { + objectMap["keyVaultSecretName"] = c.KeyVaultSecretName } - return autorest.Prepare((&http.Request{}).WithContext(ctx), - autorest.AsJSON(), - autorest.AsGet(), - autorest.WithBaseURL(to.String(dc.NextLink))) -} - -// DeploymentCollectionPage contains a page of Deployment values. -type DeploymentCollectionPage struct { - fn func(context.Context, DeploymentCollection) (DeploymentCollection, error) - dc DeploymentCollection -} - -// NextWithContext advances to the next page of values. If there was an error making -// the request the page does not advance and the error is returned. -func (page *DeploymentCollectionPage) NextWithContext(ctx context.Context) (err error) { - if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/DeploymentCollectionPage.NextWithContext") - defer func() { - sc := -1 - if page.Response().Response.Response != nil { - sc = page.Response().Response.Response.StatusCode - } - tracing.EndSpan(ctx, sc, err) - }() + if c.ServerFarmID != nil { + objectMap["serverFarmId"] = c.ServerFarmID } - for { - next, err := page.fn(ctx, page.dc) - if err != nil { - return err - } - page.dc = next - if !next.hasNextLink() || !next.IsEmpty() { - break - } + if c.CanonicalName != nil { + objectMap["canonicalName"] = c.CanonicalName } - return nil -} - -// Next advances to the next page of values. If there was an error making -// the request the page does not advance and the error is returned. -// Deprecated: Use NextWithContext() instead. -func (page *DeploymentCollectionPage) Next() error { - return page.NextWithContext(context.Background()) + if c.DomainValidationMethod != nil { + objectMap["domainValidationMethod"] = c.DomainValidationMethod + } + return json.Marshal(objectMap) } -// NotDone returns true if the page enumeration should be started or is not yet complete. -func (page DeploymentCollectionPage) NotDone() bool { - return !page.dc.IsEmpty() +// ClientRegistration the configuration settings of the app registration for providers that have client ids +// and client secrets +type ClientRegistration struct { + // ClientID - The Client ID of the app used for login. + ClientID *string `json:"clientId,omitempty"` + // ClientSecretSettingName - The app setting name that contains the client secret. + ClientSecretSettingName *string `json:"clientSecretSettingName,omitempty"` } -// Response returns the raw server response from the last page request. -func (page DeploymentCollectionPage) Response() DeploymentCollection { - return page.dc +// CloningInfo information needed for cloning operation. +type CloningInfo struct { + // CorrelationID - Correlation ID of cloning operation. This ID ties multiple cloning operations + // together to use the same snapshot. + CorrelationID *uuid.UUID `json:"correlationId,omitempty"` + // Overwrite - true to overwrite destination app; otherwise, false. + Overwrite *bool `json:"overwrite,omitempty"` + // CloneCustomHostNames - true to clone custom hostnames from source app; otherwise, false. + CloneCustomHostNames *bool `json:"cloneCustomHostNames,omitempty"` + // CloneSourceControl - true to clone source control from source app; otherwise, false. + CloneSourceControl *bool `json:"cloneSourceControl,omitempty"` + // SourceWebAppID - ARM resource ID of the source app. App resource ID is of the form + // /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and + // /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots. + SourceWebAppID *string `json:"sourceWebAppId,omitempty"` + // SourceWebAppLocation - Location of source app ex: West US or North Europe + SourceWebAppLocation *string `json:"sourceWebAppLocation,omitempty"` + // HostingEnvironment - App Service Environment. + HostingEnvironment *string `json:"hostingEnvironment,omitempty"` + // AppSettingsOverrides - Application setting overrides for cloned app. If specified, these settings override the settings cloned + // from source app. Otherwise, application settings from source app are retained. + AppSettingsOverrides map[string]*string `json:"appSettingsOverrides"` + // ConfigureLoadBalancing - true to configure load balancing for source and destination app. + ConfigureLoadBalancing *bool `json:"configureLoadBalancing,omitempty"` + // TrafficManagerProfileID - ARM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form + // /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}. + TrafficManagerProfileID *string `json:"trafficManagerProfileId,omitempty"` + // TrafficManagerProfileName - Name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist. + TrafficManagerProfileName *string `json:"trafficManagerProfileName,omitempty"` } -// Values returns the slice of values for the current page or nil if there are no values. -func (page DeploymentCollectionPage) Values() []Deployment { - if page.dc.IsEmpty() { - return nil +// MarshalJSON is the custom marshaler for CloningInfo. +func (ci CloningInfo) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if ci.CorrelationID != nil { + objectMap["correlationId"] = ci.CorrelationID } - return *page.dc.Value -} - -// Creates a new instance of the DeploymentCollectionPage type. -func NewDeploymentCollectionPage(cur DeploymentCollection, getNextPage func(context.Context, DeploymentCollection) (DeploymentCollection, error)) DeploymentCollectionPage { - return DeploymentCollectionPage{ - fn: getNextPage, - dc: cur, + if ci.Overwrite != nil { + objectMap["overwrite"] = ci.Overwrite } + if ci.CloneCustomHostNames != nil { + objectMap["cloneCustomHostNames"] = ci.CloneCustomHostNames + } + if ci.CloneSourceControl != nil { + objectMap["cloneSourceControl"] = ci.CloneSourceControl + } + if ci.SourceWebAppID != nil { + objectMap["sourceWebAppId"] = ci.SourceWebAppID + } + if ci.SourceWebAppLocation != nil { + objectMap["sourceWebAppLocation"] = ci.SourceWebAppLocation + } + if ci.HostingEnvironment != nil { + objectMap["hostingEnvironment"] = ci.HostingEnvironment + } + if ci.AppSettingsOverrides != nil { + objectMap["appSettingsOverrides"] = ci.AppSettingsOverrides + } + if ci.ConfigureLoadBalancing != nil { + objectMap["configureLoadBalancing"] = ci.ConfigureLoadBalancing + } + if ci.TrafficManagerProfileID != nil { + objectMap["trafficManagerProfileId"] = ci.TrafficManagerProfileID + } + if ci.TrafficManagerProfileName != nil { + objectMap["trafficManagerProfileName"] = ci.TrafficManagerProfileName + } + return json.Marshal(objectMap) } -// DeploymentLocations list of available locations (regions or App Service Environments) for -// deployment of App Service resources. -type DeploymentLocations struct { - autorest.Response `json:"-"` - // Locations - Available regions. - Locations *[]GeoRegion `json:"locations,omitempty"` - // HostingEnvironments - Available App Service Environments with full descriptions of the environments. - HostingEnvironments *[]AppServiceEnvironment `json:"hostingEnvironments,omitempty"` - // HostingEnvironmentDeploymentInfos - Available App Service Environments with basic information. - HostingEnvironmentDeploymentInfos *[]HostingEnvironmentDeploymentInfo `json:"hostingEnvironmentDeploymentInfos,omitempty"` -} - -// DeploymentProperties deployment resource specific properties -type DeploymentProperties struct { - // Status - Deployment status. - Status *int32 `json:"status,omitempty"` - // Message - Details about deployment status. - Message *string `json:"message,omitempty"` - // Author - Who authored the deployment. - Author *string `json:"author,omitempty"` - // Deployer - Who performed the deployment. - Deployer *string `json:"deployer,omitempty"` - // AuthorEmail - Author email. - AuthorEmail *string `json:"author_email,omitempty"` - // StartTime - Start time. - StartTime *date.Time `json:"start_time,omitempty"` - // EndTime - End time. - EndTime *date.Time `json:"end_time,omitempty"` - // Active - True if deployment is currently active, false if completed and null if not started. - Active *bool `json:"active,omitempty"` - // Details - Details on deployment. - Details *string `json:"details,omitempty"` -} - -// DetectorAbnormalTimePeriod class representing Abnormal Time Period detected. -type DetectorAbnormalTimePeriod struct { - // StartTime - Start time of the correlated event - StartTime *date.Time `json:"startTime,omitempty"` - // EndTime - End time of the correlated event - EndTime *date.Time `json:"endTime,omitempty"` - // Message - Message describing the event - Message *string `json:"message,omitempty"` - // Source - Represents the name of the Detector - Source *string `json:"source,omitempty"` - // Priority - Represents the rank of the Detector - Priority *float64 `json:"priority,omitempty"` - // MetaData - Downtime metadata - MetaData *[][]NameValuePair `json:"metaData,omitempty"` - // Type - Represents the type of the Detector. Possible values include: 'ServiceIncident', 'AppDeployment', 'AppCrash', 'RuntimeIssueDetected', 'AseDeployment', 'UserIssue', 'PlatformIssue', 'Other' - Type IssueType `json:"type,omitempty"` - // Solutions - List of proposed solutions - Solutions *[]Solution `json:"solutions,omitempty"` -} - -// DetectorDefinition class representing detector definition -type DetectorDefinition struct { +// ConnectionStringDictionary string dictionary resource. +type ConnectionStringDictionary struct { autorest.Response `json:"-"` - // DetectorDefinitionProperties - DetectorDefinition resource specific properties - *DetectorDefinitionProperties `json:"properties,omitempty"` + // Properties - Connection strings. + Properties map[string]*ConnStringValueTypePair `json:"properties"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. @@ -10730,129 +7463,119 @@ type DetectorDefinition struct { Type *string `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for DetectorDefinition. -func (dd DetectorDefinition) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for ConnectionStringDictionary. +func (csd ConnectionStringDictionary) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if dd.DetectorDefinitionProperties != nil { - objectMap["properties"] = dd.DetectorDefinitionProperties + if csd.Properties != nil { + objectMap["properties"] = csd.Properties } - if dd.Kind != nil { - objectMap["kind"] = dd.Kind + if csd.Kind != nil { + objectMap["kind"] = csd.Kind } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for DetectorDefinition struct. -func (dd *DetectorDefinition) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var detectorDefinitionProperties DetectorDefinitionProperties - err = json.Unmarshal(*v, &detectorDefinitionProperties) - if err != nil { - return err - } - dd.DetectorDefinitionProperties = &detectorDefinitionProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - dd.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - dd.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - dd.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - dd.Type = &typeVar - } - } - } +// ConnStringInfo database connection string information. +type ConnStringInfo struct { + // Name - Name of connection string. + Name *string `json:"name,omitempty"` + // ConnectionString - Connection string value. + ConnectionString *string `json:"connectionString,omitempty"` + // Type - Type of database. Possible values include: 'MySQL', 'SQLServer', 'SQLAzure', 'Custom', 'NotificationHub', 'ServiceBus', 'EventHub', 'APIHub', 'DocDb', 'RedisCache', 'PostgreSQL' + Type ConnectionStringType `json:"type,omitempty"` +} - return nil +// ConnStringValueTypePair database connection string value to type pair. +type ConnStringValueTypePair struct { + // Value - Value of pair. + Value *string `json:"value,omitempty"` + // Type - Type of database. Possible values include: 'MySQL', 'SQLServer', 'SQLAzure', 'Custom', 'NotificationHub', 'ServiceBus', 'EventHub', 'APIHub', 'DocDb', 'RedisCache', 'PostgreSQL' + Type ConnectionStringType `json:"type,omitempty"` } -// DetectorDefinitionProperties detectorDefinition resource specific properties -type DetectorDefinitionProperties struct { - // DisplayName - READ-ONLY; Display name of the detector - DisplayName *string `json:"displayName,omitempty"` - // Description - READ-ONLY; Description of the detector - Description *string `json:"description,omitempty"` - // Rank - READ-ONLY; Detector Rank - Rank *float64 `json:"rank,omitempty"` - // IsEnabled - READ-ONLY; Flag representing whether detector is enabled or not. - IsEnabled *bool `json:"isEnabled,omitempty"` +// Contact contact information for domain registration. If 'Domain Privacy' option is not selected then the +// contact information is made publicly available through the Whois +// directories as per ICANN requirements. +type Contact struct { + // AddressMailing - Mailing address. + AddressMailing *Address `json:"addressMailing,omitempty"` + // Email - Email address. + Email *string `json:"email,omitempty"` + // Fax - Fax number. + Fax *string `json:"fax,omitempty"` + // JobTitle - Job title. + JobTitle *string `json:"jobTitle,omitempty"` + // NameFirst - First name. + NameFirst *string `json:"nameFirst,omitempty"` + // NameLast - Last name. + NameLast *string `json:"nameLast,omitempty"` + // NameMiddle - Middle name. + NameMiddle *string `json:"nameMiddle,omitempty"` + // Organization - Organization contact belongs to. + Organization *string `json:"organization,omitempty"` + // Phone - Phone number. + Phone *string `json:"phone,omitempty"` } -// MarshalJSON is the custom marshaler for DetectorDefinitionProperties. -func (dd DetectorDefinitionProperties) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - return json.Marshal(objectMap) +// ContainerCPUStatistics ... +type ContainerCPUStatistics struct { + CPUUsage *ContainerCPUUsage `json:"cpuUsage,omitempty"` + SystemCPUUsage *int64 `json:"systemCpuUsage,omitempty"` + OnlineCPUCount *int32 `json:"onlineCpuCount,omitempty"` + ThrottlingData *ContainerThrottlingData `json:"throttlingData,omitempty"` } -// DetectorInfo definition of Detector -type DetectorInfo struct { - // ID - READ-ONLY; Id of detector - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Name of detector - Name *string `json:"name,omitempty"` - // Description - READ-ONLY; Short description of the detector and its purpose. - Description *string `json:"description,omitempty"` - // Author - READ-ONLY; Author of the detector. - Author *string `json:"author,omitempty"` - // Category - READ-ONLY; Problem category. This serves for organizing group for detectors. - Category *string `json:"category,omitempty"` - // SupportTopicList - READ-ONLY; List of Support Topics for which this detector is enabled. - SupportTopicList *[]SupportTopic `json:"supportTopicList,omitempty"` - // AnalysisType - READ-ONLY; Analysis Types for which this detector should apply to. - AnalysisType *[]string `json:"analysisType,omitempty"` - // Type - READ-ONLY; Whether this detector is an Analysis Detector or not. Possible values include: 'Detector', 'Analysis', 'CategoryOverview' - Type DetectorType `json:"type,omitempty"` - // Score - READ-ONLY; Defines score of a detector to power ML based matching. - Score *float64 `json:"score,omitempty"` +// ContainerCPUUsage ... +type ContainerCPUUsage struct { + TotalUsage *int64 `json:"totalUsage,omitempty"` + PerCPUUsage *[]int64 `json:"perCpuUsage,omitempty"` + KernelModeUsage *int64 `json:"kernelModeUsage,omitempty"` + UserModeUsage *int64 `json:"userModeUsage,omitempty"` } -// MarshalJSON is the custom marshaler for DetectorInfo. -func (di DetectorInfo) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - return json.Marshal(objectMap) +// ContainerInfo ... +type ContainerInfo struct { + CurrentTimeStamp *date.Time `json:"currentTimeStamp,omitempty"` + PreviousTimeStamp *date.Time `json:"previousTimeStamp,omitempty"` + CurrentCPUStats *ContainerCPUStatistics `json:"currentCpuStats,omitempty"` + PreviousCPUStats *ContainerCPUStatistics `json:"previousCpuStats,omitempty"` + MemoryStats *ContainerMemoryStatistics `json:"memoryStats,omitempty"` + Name *string `json:"name,omitempty"` + ID *string `json:"id,omitempty"` + Eth0 *ContainerNetworkInterfaceStatistics `json:"eth0,omitempty"` } -// DetectorResponse class representing Response from Detector -type DetectorResponse struct { +// ContainerMemoryStatistics ... +type ContainerMemoryStatistics struct { + Usage *int64 `json:"usage,omitempty"` + MaxUsage *int64 `json:"maxUsage,omitempty"` + Limit *int64 `json:"limit,omitempty"` +} + +// ContainerNetworkInterfaceStatistics ... +type ContainerNetworkInterfaceStatistics struct { + RxBytes *int64 `json:"rxBytes,omitempty"` + RxPackets *int64 `json:"rxPackets,omitempty"` + RxErrors *int64 `json:"rxErrors,omitempty"` + RxDropped *int64 `json:"rxDropped,omitempty"` + TxBytes *int64 `json:"txBytes,omitempty"` + TxPackets *int64 `json:"txPackets,omitempty"` + TxErrors *int64 `json:"txErrors,omitempty"` + TxDropped *int64 `json:"txDropped,omitempty"` +} + +// ContainerThrottlingData ... +type ContainerThrottlingData struct { + Periods *int32 `json:"periods,omitempty"` + ThrottledPeriods *int32 `json:"throttledPeriods,omitempty"` + ThrottledTime *int32 `json:"throttledTime,omitempty"` +} + +// ContinuousWebJob continuous Web Job Information. +type ContinuousWebJob struct { autorest.Response `json:"-"` - // DetectorResponseProperties - DetectorResponse resource specific properties - *DetectorResponseProperties `json:"properties,omitempty"` + // ContinuousWebJobProperties - ContinuousWebJob resource specific properties + *ContinuousWebJobProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. @@ -10863,20 +7586,20 @@ type DetectorResponse struct { Type *string `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for DetectorResponse. -func (dr DetectorResponse) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for ContinuousWebJob. +func (cwj ContinuousWebJob) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if dr.DetectorResponseProperties != nil { - objectMap["properties"] = dr.DetectorResponseProperties + if cwj.ContinuousWebJobProperties != nil { + objectMap["properties"] = cwj.ContinuousWebJobProperties } - if dr.Kind != nil { - objectMap["kind"] = dr.Kind + if cwj.Kind != nil { + objectMap["kind"] = cwj.Kind } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for DetectorResponse struct. -func (dr *DetectorResponse) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for ContinuousWebJob struct. +func (cwj *ContinuousWebJob) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -10886,12 +7609,12 @@ func (dr *DetectorResponse) UnmarshalJSON(body []byte) error { switch k { case "properties": if v != nil { - var detectorResponseProperties DetectorResponseProperties - err = json.Unmarshal(*v, &detectorResponseProperties) + var continuousWebJobProperties ContinuousWebJobProperties + err = json.Unmarshal(*v, &continuousWebJobProperties) if err != nil { return err } - dr.DetectorResponseProperties = &detectorResponseProperties + cwj.ContinuousWebJobProperties = &continuousWebJobProperties } case "id": if v != nil { @@ -10900,7 +7623,7 @@ func (dr *DetectorResponse) UnmarshalJSON(body []byte) error { if err != nil { return err } - dr.ID = &ID + cwj.ID = &ID } case "name": if v != nil { @@ -10909,7 +7632,7 @@ func (dr *DetectorResponse) UnmarshalJSON(body []byte) error { if err != nil { return err } - dr.Name = &name + cwj.Name = &name } case "kind": if v != nil { @@ -10918,7 +7641,7 @@ func (dr *DetectorResponse) UnmarshalJSON(body []byte) error { if err != nil { return err } - dr.Kind = &kind + cwj.Kind = &kind } case "type": if v != nil { @@ -10927,7 +7650,7 @@ func (dr *DetectorResponse) UnmarshalJSON(body []byte) error { if err != nil { return err } - dr.Type = &typeVar + cwj.Type = &typeVar } } } @@ -10935,35 +7658,35 @@ func (dr *DetectorResponse) UnmarshalJSON(body []byte) error { return nil } -// DetectorResponseCollection collection of detector responses -type DetectorResponseCollection struct { +// ContinuousWebJobCollection collection of Kudu continuous web job information elements. +type ContinuousWebJobCollection struct { autorest.Response `json:"-"` // Value - Collection of resources. - Value *[]DetectorResponse `json:"value,omitempty"` + Value *[]ContinuousWebJob `json:"value,omitempty"` // NextLink - READ-ONLY; Link to next page of resources. NextLink *string `json:"nextLink,omitempty"` } -// MarshalJSON is the custom marshaler for DetectorResponseCollection. -func (drc DetectorResponseCollection) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for ContinuousWebJobCollection. +func (cwjc ContinuousWebJobCollection) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if drc.Value != nil { - objectMap["value"] = drc.Value + if cwjc.Value != nil { + objectMap["value"] = cwjc.Value } return json.Marshal(objectMap) } -// DetectorResponseCollectionIterator provides access to a complete listing of DetectorResponse values. -type DetectorResponseCollectionIterator struct { +// ContinuousWebJobCollectionIterator provides access to a complete listing of ContinuousWebJob values. +type ContinuousWebJobCollectionIterator struct { i int - page DetectorResponseCollectionPage + page ContinuousWebJobCollectionPage } // NextWithContext advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. -func (iter *DetectorResponseCollectionIterator) NextWithContext(ctx context.Context) (err error) { +func (iter *ContinuousWebJobCollectionIterator) NextWithContext(ctx context.Context) (err error) { if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/DetectorResponseCollectionIterator.NextWithContext") + ctx = tracing.StartSpan(ctx, fqdn+"/ContinuousWebJobCollectionIterator.NextWithContext") defer func() { sc := -1 if iter.Response().Response.Response != nil { @@ -10988,67 +7711,67 @@ func (iter *DetectorResponseCollectionIterator) NextWithContext(ctx context.Cont // Next advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. // Deprecated: Use NextWithContext() instead. -func (iter *DetectorResponseCollectionIterator) Next() error { +func (iter *ContinuousWebJobCollectionIterator) Next() error { return iter.NextWithContext(context.Background()) } // NotDone returns true if the enumeration should be started or is not yet complete. -func (iter DetectorResponseCollectionIterator) NotDone() bool { +func (iter ContinuousWebJobCollectionIterator) NotDone() bool { return iter.page.NotDone() && iter.i < len(iter.page.Values()) } // Response returns the raw server response from the last page request. -func (iter DetectorResponseCollectionIterator) Response() DetectorResponseCollection { +func (iter ContinuousWebJobCollectionIterator) Response() ContinuousWebJobCollection { return iter.page.Response() } // Value returns the current value or a zero-initialized value if the // iterator has advanced beyond the end of the collection. -func (iter DetectorResponseCollectionIterator) Value() DetectorResponse { +func (iter ContinuousWebJobCollectionIterator) Value() ContinuousWebJob { if !iter.page.NotDone() { - return DetectorResponse{} + return ContinuousWebJob{} } return iter.page.Values()[iter.i] } -// Creates a new instance of the DetectorResponseCollectionIterator type. -func NewDetectorResponseCollectionIterator(page DetectorResponseCollectionPage) DetectorResponseCollectionIterator { - return DetectorResponseCollectionIterator{page: page} +// Creates a new instance of the ContinuousWebJobCollectionIterator type. +func NewContinuousWebJobCollectionIterator(page ContinuousWebJobCollectionPage) ContinuousWebJobCollectionIterator { + return ContinuousWebJobCollectionIterator{page: page} } // IsEmpty returns true if the ListResult contains no values. -func (drc DetectorResponseCollection) IsEmpty() bool { - return drc.Value == nil || len(*drc.Value) == 0 +func (cwjc ContinuousWebJobCollection) IsEmpty() bool { + return cwjc.Value == nil || len(*cwjc.Value) == 0 } // hasNextLink returns true if the NextLink is not empty. -func (drc DetectorResponseCollection) hasNextLink() bool { - return drc.NextLink != nil && len(*drc.NextLink) != 0 +func (cwjc ContinuousWebJobCollection) hasNextLink() bool { + return cwjc.NextLink != nil && len(*cwjc.NextLink) != 0 } -// detectorResponseCollectionPreparer prepares a request to retrieve the next set of results. +// continuousWebJobCollectionPreparer prepares a request to retrieve the next set of results. // It returns nil if no more results exist. -func (drc DetectorResponseCollection) detectorResponseCollectionPreparer(ctx context.Context) (*http.Request, error) { - if !drc.hasNextLink() { +func (cwjc ContinuousWebJobCollection) continuousWebJobCollectionPreparer(ctx context.Context) (*http.Request, error) { + if !cwjc.hasNextLink() { return nil, nil } return autorest.Prepare((&http.Request{}).WithContext(ctx), autorest.AsJSON(), autorest.AsGet(), - autorest.WithBaseURL(to.String(drc.NextLink))) + autorest.WithBaseURL(to.String(cwjc.NextLink))) } -// DetectorResponseCollectionPage contains a page of DetectorResponse values. -type DetectorResponseCollectionPage struct { - fn func(context.Context, DetectorResponseCollection) (DetectorResponseCollection, error) - drc DetectorResponseCollection +// ContinuousWebJobCollectionPage contains a page of ContinuousWebJob values. +type ContinuousWebJobCollectionPage struct { + fn func(context.Context, ContinuousWebJobCollection) (ContinuousWebJobCollection, error) + cwjc ContinuousWebJobCollection } // NextWithContext advances to the next page of values. If there was an error making // the request the page does not advance and the error is returned. -func (page *DetectorResponseCollectionPage) NextWithContext(ctx context.Context) (err error) { +func (page *ContinuousWebJobCollectionPage) NextWithContext(ctx context.Context) (err error) { if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/DetectorResponseCollectionPage.NextWithContext") + ctx = tracing.StartSpan(ctx, fqdn+"/ContinuousWebJobCollectionPage.NextWithContext") defer func() { sc := -1 if page.Response().Response.Response != nil { @@ -11058,11 +7781,11 @@ func (page *DetectorResponseCollectionPage) NextWithContext(ctx context.Context) }() } for { - next, err := page.fn(ctx, page.drc) + next, err := page.fn(ctx, page.cwjc) if err != nil { return err } - page.drc = next + page.cwjc = next if !next.hasNextLink() || !next.IsEmpty() { break } @@ -11073,166 +7796,151 @@ func (page *DetectorResponseCollectionPage) NextWithContext(ctx context.Context) // Next advances to the next page of values. If there was an error making // the request the page does not advance and the error is returned. // Deprecated: Use NextWithContext() instead. -func (page *DetectorResponseCollectionPage) Next() error { +func (page *ContinuousWebJobCollectionPage) Next() error { return page.NextWithContext(context.Background()) } // NotDone returns true if the page enumeration should be started or is not yet complete. -func (page DetectorResponseCollectionPage) NotDone() bool { - return !page.drc.IsEmpty() +func (page ContinuousWebJobCollectionPage) NotDone() bool { + return !page.cwjc.IsEmpty() } // Response returns the raw server response from the last page request. -func (page DetectorResponseCollectionPage) Response() DetectorResponseCollection { - return page.drc +func (page ContinuousWebJobCollectionPage) Response() ContinuousWebJobCollection { + return page.cwjc } // Values returns the slice of values for the current page or nil if there are no values. -func (page DetectorResponseCollectionPage) Values() []DetectorResponse { - if page.drc.IsEmpty() { +func (page ContinuousWebJobCollectionPage) Values() []ContinuousWebJob { + if page.cwjc.IsEmpty() { return nil } - return *page.drc.Value + return *page.cwjc.Value } -// Creates a new instance of the DetectorResponseCollectionPage type. -func NewDetectorResponseCollectionPage(cur DetectorResponseCollection, getNextPage func(context.Context, DetectorResponseCollection) (DetectorResponseCollection, error)) DetectorResponseCollectionPage { - return DetectorResponseCollectionPage{ - fn: getNextPage, - drc: cur, +// Creates a new instance of the ContinuousWebJobCollectionPage type. +func NewContinuousWebJobCollectionPage(cur ContinuousWebJobCollection, getNextPage func(context.Context, ContinuousWebJobCollection) (ContinuousWebJobCollection, error)) ContinuousWebJobCollectionPage { + return ContinuousWebJobCollectionPage{ + fn: getNextPage, + cwjc: cur, } } -// DetectorResponseProperties detectorResponse resource specific properties -type DetectorResponseProperties struct { - // Metadata - metadata for the detector - Metadata *DetectorInfo `json:"metadata,omitempty"` - // Dataset - Data Set - Dataset *[]DiagnosticData `json:"dataset,omitempty"` - // Status - Indicates status of the most severe insight. - Status *Status `json:"status,omitempty"` - // DataProvidersMetadata - Additional configuration for different data providers to be used by the UI - DataProvidersMetadata *[]DataProviderMetadata `json:"dataProvidersMetadata,omitempty"` - // SuggestedUtterances - Suggested utterances where the detector can be applicable. - SuggestedUtterances *QueryUtterancesResults `json:"suggestedUtterances,omitempty"` -} - -// DiagnosticAnalysis class representing a diagnostic analysis done on an application -type DiagnosticAnalysis struct { - autorest.Response `json:"-"` - // DiagnosticAnalysisProperties - DiagnosticAnalysis resource specific properties - *DiagnosticAnalysisProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` +// ContinuousWebJobProperties continuousWebJob resource specific properties +type ContinuousWebJobProperties struct { + // Status - Job status. Possible values include: 'Initializing', 'Starting', 'Running', 'PendingRestart', 'Stopped' + Status ContinuousWebJobStatus `json:"status,omitempty"` + // DetailedStatus - Detailed status. + DetailedStatus *string `json:"detailed_status,omitempty"` + // LogURL - Log URL. + LogURL *string `json:"log_url,omitempty"` + // RunCommand - Run command. + RunCommand *string `json:"run_command,omitempty"` + // URL - Job URL. + URL *string `json:"url,omitempty"` + // ExtraInfoURL - Extra Info URL. + ExtraInfoURL *string `json:"extra_info_url,omitempty"` + // WebJobType - Job type. Possible values include: 'Continuous', 'Triggered' + WebJobType JobType `json:"web_job_type,omitempty"` + // Error - Error information. + Error *string `json:"error,omitempty"` + // UsingSdk - Using SDK? + UsingSdk *bool `json:"using_sdk,omitempty"` + // Settings - Job settings. + Settings map[string]interface{} `json:"settings"` } -// MarshalJSON is the custom marshaler for DiagnosticAnalysis. -func (da DiagnosticAnalysis) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for ContinuousWebJobProperties. +func (cwj ContinuousWebJobProperties) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if da.DiagnosticAnalysisProperties != nil { - objectMap["properties"] = da.DiagnosticAnalysisProperties + if cwj.Status != "" { + objectMap["status"] = cwj.Status } - if da.Kind != nil { - objectMap["kind"] = da.Kind + if cwj.DetailedStatus != nil { + objectMap["detailed_status"] = cwj.DetailedStatus + } + if cwj.LogURL != nil { + objectMap["log_url"] = cwj.LogURL + } + if cwj.RunCommand != nil { + objectMap["run_command"] = cwj.RunCommand + } + if cwj.URL != nil { + objectMap["url"] = cwj.URL + } + if cwj.ExtraInfoURL != nil { + objectMap["extra_info_url"] = cwj.ExtraInfoURL + } + if cwj.WebJobType != "" { + objectMap["web_job_type"] = cwj.WebJobType + } + if cwj.Error != nil { + objectMap["error"] = cwj.Error + } + if cwj.UsingSdk != nil { + objectMap["using_sdk"] = cwj.UsingSdk + } + if cwj.Settings != nil { + objectMap["settings"] = cwj.Settings } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for DiagnosticAnalysis struct. -func (da *DiagnosticAnalysis) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var diagnosticAnalysisProperties DiagnosticAnalysisProperties - err = json.Unmarshal(*v, &diagnosticAnalysisProperties) - if err != nil { - return err - } - da.DiagnosticAnalysisProperties = &diagnosticAnalysisProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - da.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - da.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - da.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - da.Type = &typeVar - } - } - } +// CookieExpiration the configuration settings of the session cookie's expiration. +type CookieExpiration struct { + // Convention - The convention used when determining the session cookie's expiration. Possible values include: 'FixedTime', 'IdentityProviderDerived' + Convention CookieExpirationConvention `json:"convention,omitempty"` + // TimeToExpiration - The time after the request is made when the session cookie should expire. + TimeToExpiration *string `json:"timeToExpiration,omitempty"` +} + +// CorsSettings cross-Origin Resource Sharing (CORS) settings for the app. +type CorsSettings struct { + // AllowedOrigins - Gets or sets the list of origins that should be allowed to make cross-origin + // calls (for example: http://example.com:12345). Use "*" to allow all. + AllowedOrigins *[]string `json:"allowedOrigins,omitempty"` + // SupportCredentials - Gets or sets whether CORS requests with credentials are allowed. See + // https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#Requests_with_credentials + // for more details. + SupportCredentials *bool `json:"supportCredentials,omitempty"` +} - return nil +// CsmMoveResourceEnvelope object with a list of the resources that need to be moved and the resource group +// they should be moved to. +type CsmMoveResourceEnvelope struct { + TargetResourceGroup *string `json:"targetResourceGroup,omitempty"` + Resources *[]string `json:"resources,omitempty"` } -// DiagnosticAnalysisCollection collection of Diagnostic Analyses -type DiagnosticAnalysisCollection struct { +// CsmOperationCollection collection of Azure resource manager operation metadata. +type CsmOperationCollection struct { autorest.Response `json:"-"` // Value - Collection of resources. - Value *[]AnalysisDefinition `json:"value,omitempty"` + Value *[]CsmOperationDescription `json:"value,omitempty"` // NextLink - READ-ONLY; Link to next page of resources. NextLink *string `json:"nextLink,omitempty"` } -// MarshalJSON is the custom marshaler for DiagnosticAnalysisCollection. -func (dac DiagnosticAnalysisCollection) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for CsmOperationCollection. +func (coc CsmOperationCollection) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if dac.Value != nil { - objectMap["value"] = dac.Value + if coc.Value != nil { + objectMap["value"] = coc.Value } return json.Marshal(objectMap) } -// DiagnosticAnalysisCollectionIterator provides access to a complete listing of AnalysisDefinition values. -type DiagnosticAnalysisCollectionIterator struct { +// CsmOperationCollectionIterator provides access to a complete listing of CsmOperationDescription values. +type CsmOperationCollectionIterator struct { i int - page DiagnosticAnalysisCollectionPage + page CsmOperationCollectionPage } // NextWithContext advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. -func (iter *DiagnosticAnalysisCollectionIterator) NextWithContext(ctx context.Context) (err error) { +func (iter *CsmOperationCollectionIterator) NextWithContext(ctx context.Context) (err error) { if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/DiagnosticAnalysisCollectionIterator.NextWithContext") + ctx = tracing.StartSpan(ctx, fqdn+"/CsmOperationCollectionIterator.NextWithContext") defer func() { sc := -1 if iter.Response().Response.Response != nil { @@ -11257,67 +7965,67 @@ func (iter *DiagnosticAnalysisCollectionIterator) NextWithContext(ctx context.Co // Next advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. // Deprecated: Use NextWithContext() instead. -func (iter *DiagnosticAnalysisCollectionIterator) Next() error { +func (iter *CsmOperationCollectionIterator) Next() error { return iter.NextWithContext(context.Background()) } // NotDone returns true if the enumeration should be started or is not yet complete. -func (iter DiagnosticAnalysisCollectionIterator) NotDone() bool { +func (iter CsmOperationCollectionIterator) NotDone() bool { return iter.page.NotDone() && iter.i < len(iter.page.Values()) } // Response returns the raw server response from the last page request. -func (iter DiagnosticAnalysisCollectionIterator) Response() DiagnosticAnalysisCollection { +func (iter CsmOperationCollectionIterator) Response() CsmOperationCollection { return iter.page.Response() } // Value returns the current value or a zero-initialized value if the // iterator has advanced beyond the end of the collection. -func (iter DiagnosticAnalysisCollectionIterator) Value() AnalysisDefinition { +func (iter CsmOperationCollectionIterator) Value() CsmOperationDescription { if !iter.page.NotDone() { - return AnalysisDefinition{} + return CsmOperationDescription{} } return iter.page.Values()[iter.i] } -// Creates a new instance of the DiagnosticAnalysisCollectionIterator type. -func NewDiagnosticAnalysisCollectionIterator(page DiagnosticAnalysisCollectionPage) DiagnosticAnalysisCollectionIterator { - return DiagnosticAnalysisCollectionIterator{page: page} +// Creates a new instance of the CsmOperationCollectionIterator type. +func NewCsmOperationCollectionIterator(page CsmOperationCollectionPage) CsmOperationCollectionIterator { + return CsmOperationCollectionIterator{page: page} } // IsEmpty returns true if the ListResult contains no values. -func (dac DiagnosticAnalysisCollection) IsEmpty() bool { - return dac.Value == nil || len(*dac.Value) == 0 +func (coc CsmOperationCollection) IsEmpty() bool { + return coc.Value == nil || len(*coc.Value) == 0 } // hasNextLink returns true if the NextLink is not empty. -func (dac DiagnosticAnalysisCollection) hasNextLink() bool { - return dac.NextLink != nil && len(*dac.NextLink) != 0 +func (coc CsmOperationCollection) hasNextLink() bool { + return coc.NextLink != nil && len(*coc.NextLink) != 0 } -// diagnosticAnalysisCollectionPreparer prepares a request to retrieve the next set of results. +// csmOperationCollectionPreparer prepares a request to retrieve the next set of results. // It returns nil if no more results exist. -func (dac DiagnosticAnalysisCollection) diagnosticAnalysisCollectionPreparer(ctx context.Context) (*http.Request, error) { - if !dac.hasNextLink() { +func (coc CsmOperationCollection) csmOperationCollectionPreparer(ctx context.Context) (*http.Request, error) { + if !coc.hasNextLink() { return nil, nil } return autorest.Prepare((&http.Request{}).WithContext(ctx), autorest.AsJSON(), autorest.AsGet(), - autorest.WithBaseURL(to.String(dac.NextLink))) + autorest.WithBaseURL(to.String(coc.NextLink))) } -// DiagnosticAnalysisCollectionPage contains a page of AnalysisDefinition values. -type DiagnosticAnalysisCollectionPage struct { - fn func(context.Context, DiagnosticAnalysisCollection) (DiagnosticAnalysisCollection, error) - dac DiagnosticAnalysisCollection +// CsmOperationCollectionPage contains a page of CsmOperationDescription values. +type CsmOperationCollectionPage struct { + fn func(context.Context, CsmOperationCollection) (CsmOperationCollection, error) + coc CsmOperationCollection } // NextWithContext advances to the next page of values. If there was an error making // the request the page does not advance and the error is returned. -func (page *DiagnosticAnalysisCollectionPage) NextWithContext(ctx context.Context) (err error) { +func (page *CsmOperationCollectionPage) NextWithContext(ctx context.Context) (err error) { if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/DiagnosticAnalysisCollectionPage.NextWithContext") + ctx = tracing.StartSpan(ctx, fqdn+"/CsmOperationCollectionPage.NextWithContext") defer func() { sc := -1 if page.Response().Response.Response != nil { @@ -11327,11 +8035,11 @@ func (page *DiagnosticAnalysisCollectionPage) NextWithContext(ctx context.Contex }() } for { - next, err := page.fn(ctx, page.dac) + next, err := page.fn(ctx, page.coc) if err != nil { return err } - page.dac = next + page.coc = next if !next.hasNextLink() || !next.IsEmpty() { break } @@ -11342,55 +8050,62 @@ func (page *DiagnosticAnalysisCollectionPage) NextWithContext(ctx context.Contex // Next advances to the next page of values. If there was an error making // the request the page does not advance and the error is returned. // Deprecated: Use NextWithContext() instead. -func (page *DiagnosticAnalysisCollectionPage) Next() error { +func (page *CsmOperationCollectionPage) Next() error { return page.NextWithContext(context.Background()) } // NotDone returns true if the page enumeration should be started or is not yet complete. -func (page DiagnosticAnalysisCollectionPage) NotDone() bool { - return !page.dac.IsEmpty() +func (page CsmOperationCollectionPage) NotDone() bool { + return !page.coc.IsEmpty() } // Response returns the raw server response from the last page request. -func (page DiagnosticAnalysisCollectionPage) Response() DiagnosticAnalysisCollection { - return page.dac +func (page CsmOperationCollectionPage) Response() CsmOperationCollection { + return page.coc } // Values returns the slice of values for the current page or nil if there are no values. -func (page DiagnosticAnalysisCollectionPage) Values() []AnalysisDefinition { - if page.dac.IsEmpty() { +func (page CsmOperationCollectionPage) Values() []CsmOperationDescription { + if page.coc.IsEmpty() { return nil } - return *page.dac.Value + return *page.coc.Value } -// Creates a new instance of the DiagnosticAnalysisCollectionPage type. -func NewDiagnosticAnalysisCollectionPage(cur DiagnosticAnalysisCollection, getNextPage func(context.Context, DiagnosticAnalysisCollection) (DiagnosticAnalysisCollection, error)) DiagnosticAnalysisCollectionPage { - return DiagnosticAnalysisCollectionPage{ +// Creates a new instance of the CsmOperationCollectionPage type. +func NewCsmOperationCollectionPage(cur CsmOperationCollection, getNextPage func(context.Context, CsmOperationCollection) (CsmOperationCollection, error)) CsmOperationCollectionPage { + return CsmOperationCollectionPage{ fn: getNextPage, - dac: cur, + coc: cur, } } -// DiagnosticAnalysisProperties diagnosticAnalysis resource specific properties -type DiagnosticAnalysisProperties struct { - // StartTime - Start time of the period - StartTime *date.Time `json:"startTime,omitempty"` - // EndTime - End time of the period - EndTime *date.Time `json:"endTime,omitempty"` - // AbnormalTimePeriods - List of time periods. - AbnormalTimePeriods *[]AbnormalTimePeriod `json:"abnormalTimePeriods,omitempty"` - // Payload - Data by each detector - Payload *[]AnalysisData `json:"payload,omitempty"` - // NonCorrelatedDetectors - Data by each detector for detectors that did not corelate - NonCorrelatedDetectors *[]DetectorDefinition `json:"nonCorrelatedDetectors,omitempty"` +// CsmOperationDescription description of an operation available for Microsoft.Web resource provider. +type CsmOperationDescription struct { + Name *string `json:"name,omitempty"` + Display *CsmOperationDisplay `json:"display,omitempty"` + Origin *string `json:"origin,omitempty"` + Properties *CsmOperationDescriptionProperties `json:"properties,omitempty"` } -// DiagnosticCategory class representing detector definition -type DiagnosticCategory struct { +// CsmOperationDescriptionProperties properties available for a Microsoft.Web resource provider operation. +type CsmOperationDescriptionProperties struct { + ServiceSpecification *ServiceSpecification `json:"serviceSpecification,omitempty"` +} + +// CsmOperationDisplay meta data about operation used for display in portal. +type CsmOperationDisplay struct { + Provider *string `json:"provider,omitempty"` + Resource *string `json:"resource,omitempty"` + Operation *string `json:"operation,omitempty"` + Description *string `json:"description,omitempty"` +} + +// CsmPublishingCredentialsPoliciesCollection publishing Credentials Policies collection. +type CsmPublishingCredentialsPoliciesCollection struct { autorest.Response `json:"-"` - // DiagnosticCategoryProperties - DiagnosticCategory resource specific properties - *DiagnosticCategoryProperties `json:"properties,omitempty"` + // CsmPublishingCredentialsPoliciesCollectionProperties - CsmPublishingCredentialsPoliciesCollection resource specific properties + *CsmPublishingCredentialsPoliciesCollectionProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. @@ -11401,20 +8116,20 @@ type DiagnosticCategory struct { Type *string `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for DiagnosticCategory. -func (dc DiagnosticCategory) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for CsmPublishingCredentialsPoliciesCollection. +func (cpcpc CsmPublishingCredentialsPoliciesCollection) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if dc.DiagnosticCategoryProperties != nil { - objectMap["properties"] = dc.DiagnosticCategoryProperties + if cpcpc.CsmPublishingCredentialsPoliciesCollectionProperties != nil { + objectMap["properties"] = cpcpc.CsmPublishingCredentialsPoliciesCollectionProperties } - if dc.Kind != nil { - objectMap["kind"] = dc.Kind + if cpcpc.Kind != nil { + objectMap["kind"] = cpcpc.Kind } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for DiagnosticCategory struct. -func (dc *DiagnosticCategory) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for CsmPublishingCredentialsPoliciesCollection struct. +func (cpcpc *CsmPublishingCredentialsPoliciesCollection) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -11424,12 +8139,12 @@ func (dc *DiagnosticCategory) UnmarshalJSON(body []byte) error { switch k { case "properties": if v != nil { - var diagnosticCategoryProperties DiagnosticCategoryProperties - err = json.Unmarshal(*v, &diagnosticCategoryProperties) + var csmPublishingCredentialsPoliciesCollectionProperties CsmPublishingCredentialsPoliciesCollectionProperties + err = json.Unmarshal(*v, &csmPublishingCredentialsPoliciesCollectionProperties) if err != nil { return err } - dc.DiagnosticCategoryProperties = &diagnosticCategoryProperties + cpcpc.CsmPublishingCredentialsPoliciesCollectionProperties = &csmPublishingCredentialsPoliciesCollectionProperties } case "id": if v != nil { @@ -11438,7 +8153,7 @@ func (dc *DiagnosticCategory) UnmarshalJSON(body []byte) error { if err != nil { return err } - dc.ID = &ID + cpcpc.ID = &ID } case "name": if v != nil { @@ -11447,7 +8162,7 @@ func (dc *DiagnosticCategory) UnmarshalJSON(body []byte) error { if err != nil { return err } - dc.Name = &name + cpcpc.Name = &name } case "kind": if v != nil { @@ -11456,7 +8171,7 @@ func (dc *DiagnosticCategory) UnmarshalJSON(body []byte) error { if err != nil { return err } - dc.Kind = &kind + cpcpc.Kind = &kind } case "type": if v != nil { @@ -11465,231 +8180,179 @@ func (dc *DiagnosticCategory) UnmarshalJSON(body []byte) error { if err != nil { return err } - dc.Type = &typeVar - } - } - } - - return nil -} - -// DiagnosticCategoryCollection collection of Diagnostic Categories -type DiagnosticCategoryCollection struct { - autorest.Response `json:"-"` - // Value - Collection of resources. - Value *[]DiagnosticCategory `json:"value,omitempty"` - // NextLink - READ-ONLY; Link to next page of resources. - NextLink *string `json:"nextLink,omitempty"` -} - -// MarshalJSON is the custom marshaler for DiagnosticCategoryCollection. -func (dcc DiagnosticCategoryCollection) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if dcc.Value != nil { - objectMap["value"] = dcc.Value - } - return json.Marshal(objectMap) -} - -// DiagnosticCategoryCollectionIterator provides access to a complete listing of DiagnosticCategory values. -type DiagnosticCategoryCollectionIterator struct { - i int - page DiagnosticCategoryCollectionPage -} - -// NextWithContext advances to the next value. If there was an error making -// the request the iterator does not advance and the error is returned. -func (iter *DiagnosticCategoryCollectionIterator) NextWithContext(ctx context.Context) (err error) { - if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/DiagnosticCategoryCollectionIterator.NextWithContext") - defer func() { - sc := -1 - if iter.Response().Response.Response != nil { - sc = iter.Response().Response.Response.StatusCode + cpcpc.Type = &typeVar } - tracing.EndSpan(ctx, sc, err) - }() - } - iter.i++ - if iter.i < len(iter.page.Values()) { - return nil - } - err = iter.page.NextWithContext(ctx) - if err != nil { - iter.i-- - return err - } - iter.i = 0 - return nil -} - -// Next advances to the next value. If there was an error making -// the request the iterator does not advance and the error is returned. -// Deprecated: Use NextWithContext() instead. -func (iter *DiagnosticCategoryCollectionIterator) Next() error { - return iter.NextWithContext(context.Background()) -} - -// NotDone returns true if the enumeration should be started or is not yet complete. -func (iter DiagnosticCategoryCollectionIterator) NotDone() bool { - return iter.page.NotDone() && iter.i < len(iter.page.Values()) -} - -// Response returns the raw server response from the last page request. -func (iter DiagnosticCategoryCollectionIterator) Response() DiagnosticCategoryCollection { - return iter.page.Response() -} - -// Value returns the current value or a zero-initialized value if the -// iterator has advanced beyond the end of the collection. -func (iter DiagnosticCategoryCollectionIterator) Value() DiagnosticCategory { - if !iter.page.NotDone() { - return DiagnosticCategory{} + } } - return iter.page.Values()[iter.i] -} -// Creates a new instance of the DiagnosticCategoryCollectionIterator type. -func NewDiagnosticCategoryCollectionIterator(page DiagnosticCategoryCollectionPage) DiagnosticCategoryCollectionIterator { - return DiagnosticCategoryCollectionIterator{page: page} + return nil } -// IsEmpty returns true if the ListResult contains no values. -func (dcc DiagnosticCategoryCollection) IsEmpty() bool { - return dcc.Value == nil || len(*dcc.Value) == 0 +// CsmPublishingCredentialsPoliciesCollectionProperties csmPublishingCredentialsPoliciesCollection resource +// specific properties +type CsmPublishingCredentialsPoliciesCollectionProperties struct { + // Ftp - Whether FTP is allowed. + Ftp *CsmPublishingCredentialsPoliciesEntity `json:"ftp,omitempty"` + // Scm - Whether Scm Basic Auth is allowed. + Scm *CsmPublishingCredentialsPoliciesEntity `json:"scm,omitempty"` } -// hasNextLink returns true if the NextLink is not empty. -func (dcc DiagnosticCategoryCollection) hasNextLink() bool { - return dcc.NextLink != nil && len(*dcc.NextLink) != 0 +// CsmPublishingCredentialsPoliciesEntity publishing Credentials Policies parameters. +type CsmPublishingCredentialsPoliciesEntity struct { + autorest.Response `json:"-"` + // CsmPublishingCredentialsPoliciesEntityProperties - CsmPublishingCredentialsPoliciesEntity resource specific properties + *CsmPublishingCredentialsPoliciesEntityProperties `json:"properties,omitempty"` + // ID - READ-ONLY; Resource Id. + ID *string `json:"id,omitempty"` + // Name - READ-ONLY; Resource Name. + Name *string `json:"name,omitempty"` + // Kind - Kind of resource. + Kind *string `json:"kind,omitempty"` + // Type - READ-ONLY; Resource type. + Type *string `json:"type,omitempty"` } -// diagnosticCategoryCollectionPreparer prepares a request to retrieve the next set of results. -// It returns nil if no more results exist. -func (dcc DiagnosticCategoryCollection) diagnosticCategoryCollectionPreparer(ctx context.Context) (*http.Request, error) { - if !dcc.hasNextLink() { - return nil, nil +// MarshalJSON is the custom marshaler for CsmPublishingCredentialsPoliciesEntity. +func (cpcpe CsmPublishingCredentialsPoliciesEntity) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if cpcpe.CsmPublishingCredentialsPoliciesEntityProperties != nil { + objectMap["properties"] = cpcpe.CsmPublishingCredentialsPoliciesEntityProperties } - return autorest.Prepare((&http.Request{}).WithContext(ctx), - autorest.AsJSON(), - autorest.AsGet(), - autorest.WithBaseURL(to.String(dcc.NextLink))) -} - -// DiagnosticCategoryCollectionPage contains a page of DiagnosticCategory values. -type DiagnosticCategoryCollectionPage struct { - fn func(context.Context, DiagnosticCategoryCollection) (DiagnosticCategoryCollection, error) - dcc DiagnosticCategoryCollection + if cpcpe.Kind != nil { + objectMap["kind"] = cpcpe.Kind + } + return json.Marshal(objectMap) } -// NextWithContext advances to the next page of values. If there was an error making -// the request the page does not advance and the error is returned. -func (page *DiagnosticCategoryCollectionPage) NextWithContext(ctx context.Context) (err error) { - if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/DiagnosticCategoryCollectionPage.NextWithContext") - defer func() { - sc := -1 - if page.Response().Response.Response != nil { - sc = page.Response().Response.Response.StatusCode - } - tracing.EndSpan(ctx, sc, err) - }() +// UnmarshalJSON is the custom unmarshaler for CsmPublishingCredentialsPoliciesEntity struct. +func (cpcpe *CsmPublishingCredentialsPoliciesEntity) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err } - for { - next, err := page.fn(ctx, page.dcc) - if err != nil { - return err - } - page.dcc = next - if !next.hasNextLink() || !next.IsEmpty() { - break + for k, v := range m { + switch k { + case "properties": + if v != nil { + var csmPublishingCredentialsPoliciesEntityProperties CsmPublishingCredentialsPoliciesEntityProperties + err = json.Unmarshal(*v, &csmPublishingCredentialsPoliciesEntityProperties) + if err != nil { + return err + } + cpcpe.CsmPublishingCredentialsPoliciesEntityProperties = &csmPublishingCredentialsPoliciesEntityProperties + } + case "id": + if v != nil { + var ID string + err = json.Unmarshal(*v, &ID) + if err != nil { + return err + } + cpcpe.ID = &ID + } + case "name": + if v != nil { + var name string + err = json.Unmarshal(*v, &name) + if err != nil { + return err + } + cpcpe.Name = &name + } + case "kind": + if v != nil { + var kind string + err = json.Unmarshal(*v, &kind) + if err != nil { + return err + } + cpcpe.Kind = &kind + } + case "type": + if v != nil { + var typeVar string + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + cpcpe.Type = &typeVar + } } } - return nil -} - -// Next advances to the next page of values. If there was an error making -// the request the page does not advance and the error is returned. -// Deprecated: Use NextWithContext() instead. -func (page *DiagnosticCategoryCollectionPage) Next() error { - return page.NextWithContext(context.Background()) -} - -// NotDone returns true if the page enumeration should be started or is not yet complete. -func (page DiagnosticCategoryCollectionPage) NotDone() bool { - return !page.dcc.IsEmpty() -} -// Response returns the raw server response from the last page request. -func (page DiagnosticCategoryCollectionPage) Response() DiagnosticCategoryCollection { - return page.dcc -} - -// Values returns the slice of values for the current page or nil if there are no values. -func (page DiagnosticCategoryCollectionPage) Values() []DiagnosticCategory { - if page.dcc.IsEmpty() { - return nil - } - return *page.dcc.Value + return nil } -// Creates a new instance of the DiagnosticCategoryCollectionPage type. -func NewDiagnosticCategoryCollectionPage(cur DiagnosticCategoryCollection, getNextPage func(context.Context, DiagnosticCategoryCollection) (DiagnosticCategoryCollection, error)) DiagnosticCategoryCollectionPage { - return DiagnosticCategoryCollectionPage{ - fn: getNextPage, - dcc: cur, - } +// CsmPublishingCredentialsPoliciesEntityProperties csmPublishingCredentialsPoliciesEntity resource +// specific properties +type CsmPublishingCredentialsPoliciesEntityProperties struct { + // Allow - true to allow access to a publishing method; otherwise, false. + Allow *bool `json:"allow,omitempty"` } -// DiagnosticCategoryProperties diagnosticCategory resource specific properties -type DiagnosticCategoryProperties struct { - // Description - READ-ONLY; Description of the diagnostic category - Description *string `json:"description,omitempty"` +// CsmPublishingProfileOptions publishing options for requested profile. +type CsmPublishingProfileOptions struct { + // Format - Name of the format. Valid values are: + // FileZilla3 + // WebDeploy -- default + // Ftp. Possible values include: 'FileZilla3', 'WebDeploy', 'Ftp' + Format PublishingProfileFormat `json:"format,omitempty"` + // IncludeDisasterRecoveryEndpoints - Include the DisasterRecover endpoint if true + IncludeDisasterRecoveryEndpoints *bool `json:"includeDisasterRecoveryEndpoints,omitempty"` } -// MarshalJSON is the custom marshaler for DiagnosticCategoryProperties. -func (dc DiagnosticCategoryProperties) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - return json.Marshal(objectMap) +// CsmSlotEntity deployment slot parameters. +type CsmSlotEntity struct { + // TargetSlot - Destination deployment slot during swap operation. + TargetSlot *string `json:"targetSlot,omitempty"` + // PreserveVnet - true to preserve Virtual Network to the slot during swap; otherwise, false. + PreserveVnet *bool `json:"preserveVnet,omitempty"` } -// DiagnosticData set of data with rendering instructions -type DiagnosticData struct { - // Table - Data in table form - Table *DataTableResponseObject `json:"table,omitempty"` - // RenderingProperties - Properties that describe how the table should be rendered - RenderingProperties *Rendering `json:"renderingProperties,omitempty"` +// CsmUsageQuota usage of the quota resource. +type CsmUsageQuota struct { + // Unit - Units of measurement for the quota resource. + Unit *string `json:"unit,omitempty"` + // NextResetTime - Next reset time for the resource counter. + NextResetTime *date.Time `json:"nextResetTime,omitempty"` + // CurrentValue - The current value of the resource counter. + CurrentValue *int64 `json:"currentValue,omitempty"` + // Limit - The resource limit. + Limit *int64 `json:"limit,omitempty"` + // Name - Quota name. + Name *LocalizableString `json:"name,omitempty"` } -// DiagnosticDetectorCollection collection of Diagnostic Detectors -type DiagnosticDetectorCollection struct { +// CsmUsageQuotaCollection collection of CSM usage quotas. +type CsmUsageQuotaCollection struct { autorest.Response `json:"-"` // Value - Collection of resources. - Value *[]DetectorDefinition `json:"value,omitempty"` + Value *[]CsmUsageQuota `json:"value,omitempty"` // NextLink - READ-ONLY; Link to next page of resources. NextLink *string `json:"nextLink,omitempty"` } -// MarshalJSON is the custom marshaler for DiagnosticDetectorCollection. -func (ddc DiagnosticDetectorCollection) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for CsmUsageQuotaCollection. +func (cuqc CsmUsageQuotaCollection) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if ddc.Value != nil { - objectMap["value"] = ddc.Value + if cuqc.Value != nil { + objectMap["value"] = cuqc.Value } return json.Marshal(objectMap) } -// DiagnosticDetectorCollectionIterator provides access to a complete listing of DetectorDefinition values. -type DiagnosticDetectorCollectionIterator struct { +// CsmUsageQuotaCollectionIterator provides access to a complete listing of CsmUsageQuota values. +type CsmUsageQuotaCollectionIterator struct { i int - page DiagnosticDetectorCollectionPage + page CsmUsageQuotaCollectionPage } // NextWithContext advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. -func (iter *DiagnosticDetectorCollectionIterator) NextWithContext(ctx context.Context) (err error) { +func (iter *CsmUsageQuotaCollectionIterator) NextWithContext(ctx context.Context) (err error) { if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/DiagnosticDetectorCollectionIterator.NextWithContext") + ctx = tracing.StartSpan(ctx, fqdn+"/CsmUsageQuotaCollectionIterator.NextWithContext") defer func() { sc := -1 if iter.Response().Response.Response != nil { @@ -11714,67 +8377,67 @@ func (iter *DiagnosticDetectorCollectionIterator) NextWithContext(ctx context.Co // Next advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. // Deprecated: Use NextWithContext() instead. -func (iter *DiagnosticDetectorCollectionIterator) Next() error { +func (iter *CsmUsageQuotaCollectionIterator) Next() error { return iter.NextWithContext(context.Background()) } // NotDone returns true if the enumeration should be started or is not yet complete. -func (iter DiagnosticDetectorCollectionIterator) NotDone() bool { +func (iter CsmUsageQuotaCollectionIterator) NotDone() bool { return iter.page.NotDone() && iter.i < len(iter.page.Values()) } // Response returns the raw server response from the last page request. -func (iter DiagnosticDetectorCollectionIterator) Response() DiagnosticDetectorCollection { +func (iter CsmUsageQuotaCollectionIterator) Response() CsmUsageQuotaCollection { return iter.page.Response() } // Value returns the current value or a zero-initialized value if the // iterator has advanced beyond the end of the collection. -func (iter DiagnosticDetectorCollectionIterator) Value() DetectorDefinition { +func (iter CsmUsageQuotaCollectionIterator) Value() CsmUsageQuota { if !iter.page.NotDone() { - return DetectorDefinition{} + return CsmUsageQuota{} } return iter.page.Values()[iter.i] } -// Creates a new instance of the DiagnosticDetectorCollectionIterator type. -func NewDiagnosticDetectorCollectionIterator(page DiagnosticDetectorCollectionPage) DiagnosticDetectorCollectionIterator { - return DiagnosticDetectorCollectionIterator{page: page} +// Creates a new instance of the CsmUsageQuotaCollectionIterator type. +func NewCsmUsageQuotaCollectionIterator(page CsmUsageQuotaCollectionPage) CsmUsageQuotaCollectionIterator { + return CsmUsageQuotaCollectionIterator{page: page} } // IsEmpty returns true if the ListResult contains no values. -func (ddc DiagnosticDetectorCollection) IsEmpty() bool { - return ddc.Value == nil || len(*ddc.Value) == 0 +func (cuqc CsmUsageQuotaCollection) IsEmpty() bool { + return cuqc.Value == nil || len(*cuqc.Value) == 0 } // hasNextLink returns true if the NextLink is not empty. -func (ddc DiagnosticDetectorCollection) hasNextLink() bool { - return ddc.NextLink != nil && len(*ddc.NextLink) != 0 +func (cuqc CsmUsageQuotaCollection) hasNextLink() bool { + return cuqc.NextLink != nil && len(*cuqc.NextLink) != 0 } -// diagnosticDetectorCollectionPreparer prepares a request to retrieve the next set of results. +// csmUsageQuotaCollectionPreparer prepares a request to retrieve the next set of results. // It returns nil if no more results exist. -func (ddc DiagnosticDetectorCollection) diagnosticDetectorCollectionPreparer(ctx context.Context) (*http.Request, error) { - if !ddc.hasNextLink() { +func (cuqc CsmUsageQuotaCollection) csmUsageQuotaCollectionPreparer(ctx context.Context) (*http.Request, error) { + if !cuqc.hasNextLink() { return nil, nil } return autorest.Prepare((&http.Request{}).WithContext(ctx), autorest.AsJSON(), autorest.AsGet(), - autorest.WithBaseURL(to.String(ddc.NextLink))) + autorest.WithBaseURL(to.String(cuqc.NextLink))) } -// DiagnosticDetectorCollectionPage contains a page of DetectorDefinition values. -type DiagnosticDetectorCollectionPage struct { - fn func(context.Context, DiagnosticDetectorCollection) (DiagnosticDetectorCollection, error) - ddc DiagnosticDetectorCollection +// CsmUsageQuotaCollectionPage contains a page of CsmUsageQuota values. +type CsmUsageQuotaCollectionPage struct { + fn func(context.Context, CsmUsageQuotaCollection) (CsmUsageQuotaCollection, error) + cuqc CsmUsageQuotaCollection } // NextWithContext advances to the next page of values. If there was an error making // the request the page does not advance and the error is returned. -func (page *DiagnosticDetectorCollectionPage) NextWithContext(ctx context.Context) (err error) { +func (page *CsmUsageQuotaCollectionPage) NextWithContext(ctx context.Context) (err error) { if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/DiagnosticDetectorCollectionPage.NextWithContext") + ctx = tracing.StartSpan(ctx, fqdn+"/CsmUsageQuotaCollectionPage.NextWithContext") defer func() { sc := -1 if page.Response().Response.Response != nil { @@ -11784,11 +8447,11 @@ func (page *DiagnosticDetectorCollectionPage) NextWithContext(ctx context.Contex }() } for { - next, err := page.fn(ctx, page.ddc) + next, err := page.fn(ctx, page.cuqc) if err != nil { return err } - page.ddc = next + page.cuqc = next if !next.hasNextLink() || !next.IsEmpty() { break } @@ -11796,44 +8459,293 @@ func (page *DiagnosticDetectorCollectionPage) NextWithContext(ctx context.Contex return nil } -// Next advances to the next page of values. If there was an error making -// the request the page does not advance and the error is returned. -// Deprecated: Use NextWithContext() instead. -func (page *DiagnosticDetectorCollectionPage) Next() error { - return page.NextWithContext(context.Background()) +// Next advances to the next page of values. If there was an error making +// the request the page does not advance and the error is returned. +// Deprecated: Use NextWithContext() instead. +func (page *CsmUsageQuotaCollectionPage) Next() error { + return page.NextWithContext(context.Background()) +} + +// NotDone returns true if the page enumeration should be started or is not yet complete. +func (page CsmUsageQuotaCollectionPage) NotDone() bool { + return !page.cuqc.IsEmpty() +} + +// Response returns the raw server response from the last page request. +func (page CsmUsageQuotaCollectionPage) Response() CsmUsageQuotaCollection { + return page.cuqc +} + +// Values returns the slice of values for the current page or nil if there are no values. +func (page CsmUsageQuotaCollectionPage) Values() []CsmUsageQuota { + if page.cuqc.IsEmpty() { + return nil + } + return *page.cuqc.Value +} + +// Creates a new instance of the CsmUsageQuotaCollectionPage type. +func NewCsmUsageQuotaCollectionPage(cur CsmUsageQuotaCollection, getNextPage func(context.Context, CsmUsageQuotaCollection) (CsmUsageQuotaCollection, error)) CsmUsageQuotaCollectionPage { + return CsmUsageQuotaCollectionPage{ + fn: getNextPage, + cuqc: cur, + } +} + +// CustomHostnameAnalysisResult custom domain analysis. +type CustomHostnameAnalysisResult struct { + autorest.Response `json:"-"` + // CustomHostnameAnalysisResultProperties - CustomHostnameAnalysisResult resource specific properties + *CustomHostnameAnalysisResultProperties `json:"properties,omitempty"` + // ID - READ-ONLY; Resource Id. + ID *string `json:"id,omitempty"` + // Name - READ-ONLY; Resource Name. + Name *string `json:"name,omitempty"` + // Kind - Kind of resource. + Kind *string `json:"kind,omitempty"` + // Type - READ-ONLY; Resource type. + Type *string `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for CustomHostnameAnalysisResult. +func (char CustomHostnameAnalysisResult) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if char.CustomHostnameAnalysisResultProperties != nil { + objectMap["properties"] = char.CustomHostnameAnalysisResultProperties + } + if char.Kind != nil { + objectMap["kind"] = char.Kind + } + return json.Marshal(objectMap) +} + +// UnmarshalJSON is the custom unmarshaler for CustomHostnameAnalysisResult struct. +func (char *CustomHostnameAnalysisResult) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "properties": + if v != nil { + var customHostnameAnalysisResultProperties CustomHostnameAnalysisResultProperties + err = json.Unmarshal(*v, &customHostnameAnalysisResultProperties) + if err != nil { + return err + } + char.CustomHostnameAnalysisResultProperties = &customHostnameAnalysisResultProperties + } + case "id": + if v != nil { + var ID string + err = json.Unmarshal(*v, &ID) + if err != nil { + return err + } + char.ID = &ID + } + case "name": + if v != nil { + var name string + err = json.Unmarshal(*v, &name) + if err != nil { + return err + } + char.Name = &name + } + case "kind": + if v != nil { + var kind string + err = json.Unmarshal(*v, &kind) + if err != nil { + return err + } + char.Kind = &kind + } + case "type": + if v != nil { + var typeVar string + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + char.Type = &typeVar + } + } + } + + return nil +} + +// CustomHostnameAnalysisResultProperties customHostnameAnalysisResult resource specific properties +type CustomHostnameAnalysisResultProperties struct { + // IsHostnameAlreadyVerified - READ-ONLY; true if hostname is already verified; otherwise, false. + IsHostnameAlreadyVerified *bool `json:"isHostnameAlreadyVerified,omitempty"` + // CustomDomainVerificationTest - READ-ONLY; DNS verification test result. Possible values include: 'DNSVerificationTestResultPassed', 'DNSVerificationTestResultFailed', 'DNSVerificationTestResultSkipped' + CustomDomainVerificationTest DNSVerificationTestResult `json:"customDomainVerificationTest,omitempty"` + // CustomDomainVerificationFailureInfo - READ-ONLY; Raw failure information if DNS verification fails. + CustomDomainVerificationFailureInfo *ErrorEntity `json:"customDomainVerificationFailureInfo,omitempty"` + // HasConflictOnScaleUnit - READ-ONLY; true if there is a conflict on a scale unit; otherwise, false. + HasConflictOnScaleUnit *bool `json:"hasConflictOnScaleUnit,omitempty"` + // HasConflictAcrossSubscription - READ-ONLY; true if there is a conflict across subscriptions; otherwise, false. + HasConflictAcrossSubscription *bool `json:"hasConflictAcrossSubscription,omitempty"` + // ConflictingAppResourceID - READ-ONLY; Name of the conflicting app on scale unit if it's within the same subscription. + ConflictingAppResourceID *string `json:"conflictingAppResourceId,omitempty"` + // CNameRecords - CName records controller can see for this hostname. + CNameRecords *[]string `json:"cNameRecords,omitempty"` + // TxtRecords - TXT records controller can see for this hostname. + TxtRecords *[]string `json:"txtRecords,omitempty"` + // ARecords - A records controller can see for this hostname. + ARecords *[]string `json:"aRecords,omitempty"` + // AlternateCNameRecords - Alternate CName records controller can see for this hostname. + AlternateCNameRecords *[]string `json:"alternateCNameRecords,omitempty"` + // AlternateTxtRecords - Alternate TXT records controller can see for this hostname. + AlternateTxtRecords *[]string `json:"alternateTxtRecords,omitempty"` +} + +// MarshalJSON is the custom marshaler for CustomHostnameAnalysisResultProperties. +func (char CustomHostnameAnalysisResultProperties) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if char.CNameRecords != nil { + objectMap["cNameRecords"] = char.CNameRecords + } + if char.TxtRecords != nil { + objectMap["txtRecords"] = char.TxtRecords + } + if char.ARecords != nil { + objectMap["aRecords"] = char.ARecords + } + if char.AlternateCNameRecords != nil { + objectMap["alternateCNameRecords"] = char.AlternateCNameRecords + } + if char.AlternateTxtRecords != nil { + objectMap["alternateTxtRecords"] = char.AlternateTxtRecords + } + return json.Marshal(objectMap) +} + +// CustomOpenIDConnectProvider the configuration settings of the custom Open ID Connect provider. +type CustomOpenIDConnectProvider struct { + // Enabled - false if the custom Open ID provider provider should not be enabled; otherwise, true. + Enabled *bool `json:"enabled,omitempty"` + // Registration - The configuration settings of the app registration for the custom Open ID Connect provider. + Registration *OpenIDConnectRegistration `json:"registration,omitempty"` + // Login - The configuration settings of the login flow of the custom Open ID Connect provider. + Login *OpenIDConnectLogin `json:"login,omitempty"` +} + +// DatabaseBackupSetting database backup settings. +type DatabaseBackupSetting struct { + // DatabaseType - Database type (e.g. SqlAzure / MySql). Possible values include: 'DatabaseTypeSQLAzure', 'DatabaseTypeMySQL', 'DatabaseTypeLocalMySQL', 'DatabaseTypePostgreSQL' + DatabaseType DatabaseType `json:"databaseType,omitempty"` + Name *string `json:"name,omitempty"` + // ConnectionStringName - Contains a connection string name that is linked to the SiteConfig.ConnectionStrings. + // This is used during restore with overwrite connection strings options. + ConnectionStringName *string `json:"connectionStringName,omitempty"` + // ConnectionString - Contains a connection string to a database which is being backed up or restored. If the restore should happen to a new database, the database name inside is the new one. + ConnectionString *string `json:"connectionString,omitempty"` +} + +// DataProviderMetadata additional configuration for a data providers +type DataProviderMetadata struct { + ProviderName *string `json:"providerName,omitempty"` + // PropertyBag - READ-ONLY; Settings for the data provider + PropertyBag *[]KeyValuePairStringObject `json:"propertyBag,omitempty"` +} + +// MarshalJSON is the custom marshaler for DataProviderMetadata. +func (dpm DataProviderMetadata) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if dpm.ProviderName != nil { + objectMap["providerName"] = dpm.ProviderName + } + return json.Marshal(objectMap) +} + +// DataSource class representing data source used by the detectors +type DataSource struct { + // Instructions - Instructions if any for the data source + Instructions *[]string `json:"instructions,omitempty"` + // DataSourceURI - Datasource Uri Links + DataSourceURI *[]NameValuePair `json:"dataSourceUri,omitempty"` +} + +// DataTableResponseColumn column definition +type DataTableResponseColumn struct { + // ColumnName - Name of the column + ColumnName *string `json:"columnName,omitempty"` + // DataType - Data type which looks like 'String' or 'Int32'. + DataType *string `json:"dataType,omitempty"` + // ColumnType - Column Type + ColumnType *string `json:"columnType,omitempty"` +} + +// DataTableResponseObject data Table which defines columns and raw row values +type DataTableResponseObject struct { + // TableName - Name of the table + TableName *string `json:"tableName,omitempty"` + // Columns - List of columns with data types + Columns *[]DataTableResponseColumn `json:"columns,omitempty"` + // Rows - Raw row values + Rows *[][]string `json:"rows,omitempty"` +} + +// DefaultErrorResponse app Service error response. +type DefaultErrorResponse struct { + // Error - READ-ONLY; Error model. + Error *DefaultErrorResponseError `json:"error,omitempty"` } -// NotDone returns true if the page enumeration should be started or is not yet complete. -func (page DiagnosticDetectorCollectionPage) NotDone() bool { - return !page.ddc.IsEmpty() +// MarshalJSON is the custom marshaler for DefaultErrorResponse. +func (der DefaultErrorResponse) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + return json.Marshal(objectMap) } -// Response returns the raw server response from the last page request. -func (page DiagnosticDetectorCollectionPage) Response() DiagnosticDetectorCollection { - return page.ddc +// DefaultErrorResponseError error model. +type DefaultErrorResponseError struct { + // Code - READ-ONLY; Standardized string to programmatically identify the error. + Code *string `json:"code,omitempty"` + // Message - READ-ONLY; Detailed error description and debugging information. + Message *string `json:"message,omitempty"` + // Target - READ-ONLY; Detailed error description and debugging information. + Target *string `json:"target,omitempty"` + Details *[]DefaultErrorResponseErrorDetailsItem `json:"details,omitempty"` + // Innererror - READ-ONLY; More information to debug error. + Innererror *string `json:"innererror,omitempty"` } -// Values returns the slice of values for the current page or nil if there are no values. -func (page DiagnosticDetectorCollectionPage) Values() []DetectorDefinition { - if page.ddc.IsEmpty() { - return nil +// MarshalJSON is the custom marshaler for DefaultErrorResponseError. +func (der DefaultErrorResponseError) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if der.Details != nil { + objectMap["details"] = der.Details } - return *page.ddc.Value + return json.Marshal(objectMap) } -// Creates a new instance of the DiagnosticDetectorCollectionPage type. -func NewDiagnosticDetectorCollectionPage(cur DiagnosticDetectorCollection, getNextPage func(context.Context, DiagnosticDetectorCollection) (DiagnosticDetectorCollection, error)) DiagnosticDetectorCollectionPage { - return DiagnosticDetectorCollectionPage{ - fn: getNextPage, - ddc: cur, - } +// DefaultErrorResponseErrorDetailsItem detailed errors. +type DefaultErrorResponseErrorDetailsItem struct { + // Code - READ-ONLY; Standardized string to programmatically identify the error. + Code *string `json:"code,omitempty"` + // Message - READ-ONLY; Detailed error description and debugging information. + Message *string `json:"message,omitempty"` + // Target - READ-ONLY; Detailed error description and debugging information. + Target *string `json:"target,omitempty"` } -// DiagnosticDetectorResponse class representing Response from Diagnostic Detectors -type DiagnosticDetectorResponse struct { - autorest.Response `json:"-"` - // DiagnosticDetectorResponseProperties - DiagnosticDetectorResponse resource specific properties - *DiagnosticDetectorResponseProperties `json:"properties,omitempty"` +// MarshalJSON is the custom marshaler for DefaultErrorResponseErrorDetailsItem. +func (derI DefaultErrorResponseErrorDetailsItem) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + return json.Marshal(objectMap) +} + +// DeletedAppRestoreRequest details about restoring a deleted app. +type DeletedAppRestoreRequest struct { + // DeletedAppRestoreRequestProperties - DeletedAppRestoreRequest resource specific properties + *DeletedAppRestoreRequestProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. @@ -11844,20 +8756,20 @@ type DiagnosticDetectorResponse struct { Type *string `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for DiagnosticDetectorResponse. -func (ddr DiagnosticDetectorResponse) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for DeletedAppRestoreRequest. +func (darr DeletedAppRestoreRequest) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if ddr.DiagnosticDetectorResponseProperties != nil { - objectMap["properties"] = ddr.DiagnosticDetectorResponseProperties + if darr.DeletedAppRestoreRequestProperties != nil { + objectMap["properties"] = darr.DeletedAppRestoreRequestProperties } - if ddr.Kind != nil { - objectMap["kind"] = ddr.Kind + if darr.Kind != nil { + objectMap["kind"] = darr.Kind } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for DiagnosticDetectorResponse struct. -func (ddr *DiagnosticDetectorResponse) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for DeletedAppRestoreRequest struct. +func (darr *DeletedAppRestoreRequest) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -11867,12 +8779,12 @@ func (ddr *DiagnosticDetectorResponse) UnmarshalJSON(body []byte) error { switch k { case "properties": if v != nil { - var diagnosticDetectorResponseProperties DiagnosticDetectorResponseProperties - err = json.Unmarshal(*v, &diagnosticDetectorResponseProperties) + var deletedAppRestoreRequestProperties DeletedAppRestoreRequestProperties + err = json.Unmarshal(*v, &deletedAppRestoreRequestProperties) if err != nil { return err } - ddr.DiagnosticDetectorResponseProperties = &diagnosticDetectorResponseProperties + darr.DeletedAppRestoreRequestProperties = &deletedAppRestoreRequestProperties } case "id": if v != nil { @@ -11881,7 +8793,7 @@ func (ddr *DiagnosticDetectorResponse) UnmarshalJSON(body []byte) error { if err != nil { return err } - ddr.ID = &ID + darr.ID = &ID } case "name": if v != nil { @@ -11890,7 +8802,7 @@ func (ddr *DiagnosticDetectorResponse) UnmarshalJSON(body []byte) error { if err != nil { return err } - ddr.Name = &name + darr.Name = &name } case "kind": if v != nil { @@ -11899,7 +8811,7 @@ func (ddr *DiagnosticDetectorResponse) UnmarshalJSON(body []byte) error { if err != nil { return err } - ddr.Kind = &kind + darr.Kind = &kind } case "type": if v != nil { @@ -11908,7 +8820,7 @@ func (ddr *DiagnosticDetectorResponse) UnmarshalJSON(body []byte) error { if err != nil { return err } - ddr.Type = &typeVar + darr.Type = &typeVar } } } @@ -11916,109 +8828,49 @@ func (ddr *DiagnosticDetectorResponse) UnmarshalJSON(body []byte) error { return nil } -// DiagnosticDetectorResponseProperties diagnosticDetectorResponse resource specific properties -type DiagnosticDetectorResponseProperties struct { - // StartTime - Start time of the period - StartTime *date.Time `json:"startTime,omitempty"` - // EndTime - End time of the period - EndTime *date.Time `json:"endTime,omitempty"` - // IssueDetected - Flag representing Issue was detected. - IssueDetected *bool `json:"issueDetected,omitempty"` - // DetectorDefinition - Detector's definition - DetectorDefinition *DetectorDefinition `json:"detectorDefinition,omitempty"` - // Metrics - Metrics provided by the detector - Metrics *[]DiagnosticMetricSet `json:"metrics,omitempty"` - // AbnormalTimePeriods - List of Correlated events found by the detector - AbnormalTimePeriods *[]DetectorAbnormalTimePeriod `json:"abnormalTimePeriods,omitempty"` - // Data - Additional Data that detector wants to send. - Data *[][]NameValuePair `json:"data,omitempty"` - // ResponseMetaData - Meta Data - ResponseMetaData *ResponseMetaData `json:"responseMetaData,omitempty"` -} - -// DiagnosticMetricSample class representing Diagnostic Metric -type DiagnosticMetricSample struct { - // Timestamp - Time at which metric is measured - Timestamp *date.Time `json:"timestamp,omitempty"` - // RoleInstance - Role Instance. Null if this counter is not per instance - // This is returned and should be whichever instance name we desire to be returned - // i.e. CPU and Memory return RDWORKERNAME (LargeDed..._IN_0) - // where RDWORKERNAME is Machine name below and RoleInstance name in parenthesis - RoleInstance *string `json:"roleInstance,omitempty"` - // Total - Total value of the metric. If multiple measurements are made this will have sum of all. - Total *float64 `json:"total,omitempty"` - // Maximum - Maximum of the metric sampled during the time period - Maximum *float64 `json:"maximum,omitempty"` - // Minimum - Minimum of the metric sampled during the time period - Minimum *float64 `json:"minimum,omitempty"` - // IsAggregated - Whether the values are aggregates across all workers or not - IsAggregated *bool `json:"isAggregated,omitempty"` -} - -// DiagnosticMetricSet class representing Diagnostic Metric information -type DiagnosticMetricSet struct { - // Name - Name of the metric - Name *string `json:"name,omitempty"` - // Unit - Metric's unit - Unit *string `json:"unit,omitempty"` - // StartTime - Start time of the period - StartTime *date.Time `json:"startTime,omitempty"` - // EndTime - End time of the period - EndTime *date.Time `json:"endTime,omitempty"` - // TimeGrain - Presented time grain. Supported grains at the moment are PT1M, PT1H, P1D - TimeGrain *string `json:"timeGrain,omitempty"` - // Values - Collection of metric values for the selected period based on the {Microsoft.Web.Hosting.Administration.DiagnosticMetricSet.TimeGrain} - Values *[]DiagnosticMetricSample `json:"values,omitempty"` -} - -// Dimension dimension of a resource metric. For e.g. instance specific HTTP requests for a web app, -// where instance name is dimension of the metric HTTP request -type Dimension struct { - Name *string `json:"name,omitempty"` - DisplayName *string `json:"displayName,omitempty"` - InternalName *string `json:"internalName,omitempty"` - ToBeExportedForShoebox *bool `json:"toBeExportedForShoebox,omitempty"` +// DeletedAppRestoreRequestProperties deletedAppRestoreRequest resource specific properties +type DeletedAppRestoreRequestProperties struct { + // DeletedSiteID - ARM resource ID of the deleted app. Example: + // /subscriptions/{subId}/providers/Microsoft.Web/deletedSites/{deletedSiteId} + DeletedSiteID *string `json:"deletedSiteId,omitempty"` + // RecoverConfiguration - If true, deleted site configuration, in addition to content, will be restored. + RecoverConfiguration *bool `json:"recoverConfiguration,omitempty"` + // SnapshotTime - Point in time to restore the deleted app from, formatted as a DateTime string. + // If unspecified, default value is the time that the app was deleted. + SnapshotTime *string `json:"snapshotTime,omitempty"` + // UseDRSecondary - If true, the snapshot is retrieved from DRSecondary endpoint. + UseDRSecondary *bool `json:"useDRSecondary,omitempty"` } -// Domain information about a domain. -type Domain struct { +// DeletedSite a deleted app. +type DeletedSite struct { autorest.Response `json:"-"` - // DomainProperties - Domain resource specific properties - *DomainProperties `json:"properties,omitempty"` + // DeletedSiteProperties - DeletedSite resource specific properties + *DeletedSiteProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` - // Location - Resource Location. - Location *string `json:"location,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` - // Tags - Resource tags. - Tags map[string]*string `json:"tags"` } -// MarshalJSON is the custom marshaler for Domain. -func (d Domain) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for DeletedSite. +func (ds DeletedSite) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if d.DomainProperties != nil { - objectMap["properties"] = d.DomainProperties - } - if d.Kind != nil { - objectMap["kind"] = d.Kind - } - if d.Location != nil { - objectMap["location"] = d.Location + if ds.DeletedSiteProperties != nil { + objectMap["properties"] = ds.DeletedSiteProperties } - if d.Tags != nil { - objectMap["tags"] = d.Tags + if ds.Kind != nil { + objectMap["kind"] = ds.Kind } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for Domain struct. -func (d *Domain) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for DeletedSite struct. +func (ds *DeletedSite) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -12028,12 +8880,12 @@ func (d *Domain) UnmarshalJSON(body []byte) error { switch k { case "properties": if v != nil { - var domainProperties DomainProperties - err = json.Unmarshal(*v, &domainProperties) + var deletedSiteProperties DeletedSiteProperties + err = json.Unmarshal(*v, &deletedSiteProperties) if err != nil { return err } - d.DomainProperties = &domainProperties + ds.DeletedSiteProperties = &deletedSiteProperties } case "id": if v != nil { @@ -12042,7 +8894,7 @@ func (d *Domain) UnmarshalJSON(body []byte) error { if err != nil { return err } - d.ID = &ID + ds.ID = &ID } case "name": if v != nil { @@ -12051,7 +8903,7 @@ func (d *Domain) UnmarshalJSON(body []byte) error { if err != nil { return err } - d.Name = &name + ds.Name = &name } case "kind": if v != nil { @@ -12060,16 +8912,7 @@ func (d *Domain) UnmarshalJSON(body []byte) error { if err != nil { return err } - d.Kind = &kind - } - case "location": - if v != nil { - var location string - err = json.Unmarshal(*v, &location) - if err != nil { - return err - } - d.Location = &location + ds.Kind = &kind } case "type": if v != nil { @@ -12078,16 +8921,7 @@ func (d *Domain) UnmarshalJSON(body []byte) error { if err != nil { return err } - d.Type = &typeVar - } - case "tags": - if v != nil { - var tags map[string]*string - err = json.Unmarshal(*v, &tags) - if err != nil { - return err - } - d.Tags = tags + ds.Type = &typeVar } } } @@ -12095,46 +8929,61 @@ func (d *Domain) UnmarshalJSON(body []byte) error { return nil } -// DomainAvailabilityCheckResult domain availability check result. -type DomainAvailabilityCheckResult struct { - autorest.Response `json:"-"` - // Name - Name of the domain. - Name *string `json:"name,omitempty"` - // Available - true if domain can be purchased using CreateDomain API; otherwise, false. - Available *bool `json:"available,omitempty"` - // DomainType - Valid values are Regular domain: Azure will charge the full price of domain registration, SoftDeleted: Purchasing this domain will simply restore it and this operation will not cost anything. Possible values include: 'Regular', 'SoftDeleted' - DomainType DomainType `json:"domainType,omitempty"` +// DeletedSiteProperties deletedSite resource specific properties +type DeletedSiteProperties struct { + // DeletedSiteID - READ-ONLY; Numeric id for the deleted site + DeletedSiteID *int32 `json:"deletedSiteId,omitempty"` + // DeletedTimestamp - READ-ONLY; Time in UTC when the app was deleted. + DeletedTimestamp *string `json:"deletedTimestamp,omitempty"` + // Subscription - READ-ONLY; Subscription containing the deleted site + Subscription *string `json:"subscription,omitempty"` + // ResourceGroup - READ-ONLY; ResourceGroup that contained the deleted site + ResourceGroup *string `json:"resourceGroup,omitempty"` + // DeletedSiteName - READ-ONLY; Name of the deleted site + DeletedSiteName *string `json:"deletedSiteName,omitempty"` + // Slot - READ-ONLY; Slot of the deleted site + Slot *string `json:"slot,omitempty"` + // Kind - READ-ONLY; Kind of site that was deleted + Kind *string `json:"kind,omitempty"` + // GeoRegionName - READ-ONLY; Geo Region of the deleted site + GeoRegionName *string `json:"geoRegionName,omitempty"` +} + +// MarshalJSON is the custom marshaler for DeletedSiteProperties. +func (ds DeletedSiteProperties) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + return json.Marshal(objectMap) } -// DomainCollection collection of domains. -type DomainCollection struct { +// DeletedWebAppCollection collection of deleted apps. +type DeletedWebAppCollection struct { autorest.Response `json:"-"` // Value - Collection of resources. - Value *[]Domain `json:"value,omitempty"` + Value *[]DeletedSite `json:"value,omitempty"` // NextLink - READ-ONLY; Link to next page of resources. NextLink *string `json:"nextLink,omitempty"` } -// MarshalJSON is the custom marshaler for DomainCollection. -func (dc DomainCollection) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for DeletedWebAppCollection. +func (dwac DeletedWebAppCollection) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if dc.Value != nil { - objectMap["value"] = dc.Value + if dwac.Value != nil { + objectMap["value"] = dwac.Value } return json.Marshal(objectMap) } -// DomainCollectionIterator provides access to a complete listing of Domain values. -type DomainCollectionIterator struct { +// DeletedWebAppCollectionIterator provides access to a complete listing of DeletedSite values. +type DeletedWebAppCollectionIterator struct { i int - page DomainCollectionPage + page DeletedWebAppCollectionPage } // NextWithContext advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. -func (iter *DomainCollectionIterator) NextWithContext(ctx context.Context) (err error) { +func (iter *DeletedWebAppCollectionIterator) NextWithContext(ctx context.Context) (err error) { if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/DomainCollectionIterator.NextWithContext") + ctx = tracing.StartSpan(ctx, fqdn+"/DeletedWebAppCollectionIterator.NextWithContext") defer func() { sc := -1 if iter.Response().Response.Response != nil { @@ -12159,67 +9008,67 @@ func (iter *DomainCollectionIterator) NextWithContext(ctx context.Context) (err // Next advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. // Deprecated: Use NextWithContext() instead. -func (iter *DomainCollectionIterator) Next() error { +func (iter *DeletedWebAppCollectionIterator) Next() error { return iter.NextWithContext(context.Background()) } // NotDone returns true if the enumeration should be started or is not yet complete. -func (iter DomainCollectionIterator) NotDone() bool { +func (iter DeletedWebAppCollectionIterator) NotDone() bool { return iter.page.NotDone() && iter.i < len(iter.page.Values()) } // Response returns the raw server response from the last page request. -func (iter DomainCollectionIterator) Response() DomainCollection { +func (iter DeletedWebAppCollectionIterator) Response() DeletedWebAppCollection { return iter.page.Response() } // Value returns the current value or a zero-initialized value if the // iterator has advanced beyond the end of the collection. -func (iter DomainCollectionIterator) Value() Domain { +func (iter DeletedWebAppCollectionIterator) Value() DeletedSite { if !iter.page.NotDone() { - return Domain{} + return DeletedSite{} } return iter.page.Values()[iter.i] } -// Creates a new instance of the DomainCollectionIterator type. -func NewDomainCollectionIterator(page DomainCollectionPage) DomainCollectionIterator { - return DomainCollectionIterator{page: page} +// Creates a new instance of the DeletedWebAppCollectionIterator type. +func NewDeletedWebAppCollectionIterator(page DeletedWebAppCollectionPage) DeletedWebAppCollectionIterator { + return DeletedWebAppCollectionIterator{page: page} } // IsEmpty returns true if the ListResult contains no values. -func (dc DomainCollection) IsEmpty() bool { - return dc.Value == nil || len(*dc.Value) == 0 +func (dwac DeletedWebAppCollection) IsEmpty() bool { + return dwac.Value == nil || len(*dwac.Value) == 0 } // hasNextLink returns true if the NextLink is not empty. -func (dc DomainCollection) hasNextLink() bool { - return dc.NextLink != nil && len(*dc.NextLink) != 0 +func (dwac DeletedWebAppCollection) hasNextLink() bool { + return dwac.NextLink != nil && len(*dwac.NextLink) != 0 } -// domainCollectionPreparer prepares a request to retrieve the next set of results. +// deletedWebAppCollectionPreparer prepares a request to retrieve the next set of results. // It returns nil if no more results exist. -func (dc DomainCollection) domainCollectionPreparer(ctx context.Context) (*http.Request, error) { - if !dc.hasNextLink() { +func (dwac DeletedWebAppCollection) deletedWebAppCollectionPreparer(ctx context.Context) (*http.Request, error) { + if !dwac.hasNextLink() { return nil, nil } return autorest.Prepare((&http.Request{}).WithContext(ctx), autorest.AsJSON(), autorest.AsGet(), - autorest.WithBaseURL(to.String(dc.NextLink))) + autorest.WithBaseURL(to.String(dwac.NextLink))) } -// DomainCollectionPage contains a page of Domain values. -type DomainCollectionPage struct { - fn func(context.Context, DomainCollection) (DomainCollection, error) - dc DomainCollection +// DeletedWebAppCollectionPage contains a page of DeletedSite values. +type DeletedWebAppCollectionPage struct { + fn func(context.Context, DeletedWebAppCollection) (DeletedWebAppCollection, error) + dwac DeletedWebAppCollection } // NextWithContext advances to the next page of values. If there was an error making // the request the page does not advance and the error is returned. -func (page *DomainCollectionPage) NextWithContext(ctx context.Context) (err error) { +func (page *DeletedWebAppCollectionPage) NextWithContext(ctx context.Context) (err error) { if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/DomainCollectionPage.NextWithContext") + ctx = tracing.StartSpan(ctx, fqdn+"/DeletedWebAppCollectionPage.NextWithContext") defer func() { sc := -1 if page.Response().Response.Response != nil { @@ -12229,11 +9078,11 @@ func (page *DomainCollectionPage) NextWithContext(ctx context.Context) (err erro }() } for { - next, err := page.fn(ctx, page.dc) + next, err := page.fn(ctx, page.dwac) if err != nil { return err } - page.dc = next + page.dwac = next if !next.hasNextLink() || !next.IsEmpty() { break } @@ -12244,58 +9093,41 @@ func (page *DomainCollectionPage) NextWithContext(ctx context.Context) (err erro // Next advances to the next page of values. If there was an error making // the request the page does not advance and the error is returned. // Deprecated: Use NextWithContext() instead. -func (page *DomainCollectionPage) Next() error { +func (page *DeletedWebAppCollectionPage) Next() error { return page.NextWithContext(context.Background()) } // NotDone returns true if the page enumeration should be started or is not yet complete. -func (page DomainCollectionPage) NotDone() bool { - return !page.dc.IsEmpty() +func (page DeletedWebAppCollectionPage) NotDone() bool { + return !page.dwac.IsEmpty() } // Response returns the raw server response from the last page request. -func (page DomainCollectionPage) Response() DomainCollection { - return page.dc +func (page DeletedWebAppCollectionPage) Response() DeletedWebAppCollection { + return page.dwac } // Values returns the slice of values for the current page or nil if there are no values. -func (page DomainCollectionPage) Values() []Domain { - if page.dc.IsEmpty() { +func (page DeletedWebAppCollectionPage) Values() []DeletedSite { + if page.dwac.IsEmpty() { return nil } - return *page.dc.Value + return *page.dwac.Value } -// Creates a new instance of the DomainCollectionPage type. -func NewDomainCollectionPage(cur DomainCollection, getNextPage func(context.Context, DomainCollection) (DomainCollection, error)) DomainCollectionPage { - return DomainCollectionPage{ - fn: getNextPage, - dc: cur, +// Creates a new instance of the DeletedWebAppCollectionPage type. +func NewDeletedWebAppCollectionPage(cur DeletedWebAppCollection, getNextPage func(context.Context, DeletedWebAppCollection) (DeletedWebAppCollection, error)) DeletedWebAppCollectionPage { + return DeletedWebAppCollectionPage{ + fn: getNextPage, + dwac: cur, } } -// DomainControlCenterSsoRequest single sign-on request information for domain management. -type DomainControlCenterSsoRequest struct { - autorest.Response `json:"-"` - // URL - READ-ONLY; URL where the single sign-on request is to be made. - URL *string `json:"url,omitempty"` - // PostParameterKey - READ-ONLY; Post parameter key. - PostParameterKey *string `json:"postParameterKey,omitempty"` - // PostParameterValue - READ-ONLY; Post parameter value. Client should use 'application/x-www-form-urlencoded' encoding for this value. - PostParameterValue *string `json:"postParameterValue,omitempty"` -} - -// MarshalJSON is the custom marshaler for DomainControlCenterSsoRequest. -func (dccsr DomainControlCenterSsoRequest) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - return json.Marshal(objectMap) -} - -// DomainOwnershipIdentifier domain ownership Identifier. -type DomainOwnershipIdentifier struct { +// Deployment user credentials used for publishing activity. +type Deployment struct { autorest.Response `json:"-"` - // DomainOwnershipIdentifierProperties - DomainOwnershipIdentifier resource specific properties - *DomainOwnershipIdentifierProperties `json:"properties,omitempty"` + // DeploymentProperties - Deployment resource specific properties + *DeploymentProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. @@ -12306,20 +9138,20 @@ type DomainOwnershipIdentifier struct { Type *string `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for DomainOwnershipIdentifier. -func (doi DomainOwnershipIdentifier) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for Deployment. +func (d Deployment) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if doi.DomainOwnershipIdentifierProperties != nil { - objectMap["properties"] = doi.DomainOwnershipIdentifierProperties + if d.DeploymentProperties != nil { + objectMap["properties"] = d.DeploymentProperties } - if doi.Kind != nil { - objectMap["kind"] = doi.Kind + if d.Kind != nil { + objectMap["kind"] = d.Kind } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for DomainOwnershipIdentifier struct. -func (doi *DomainOwnershipIdentifier) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for Deployment struct. +func (d *Deployment) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -12329,12 +9161,12 @@ func (doi *DomainOwnershipIdentifier) UnmarshalJSON(body []byte) error { switch k { case "properties": if v != nil { - var domainOwnershipIdentifierProperties DomainOwnershipIdentifierProperties - err = json.Unmarshal(*v, &domainOwnershipIdentifierProperties) + var deploymentProperties DeploymentProperties + err = json.Unmarshal(*v, &deploymentProperties) if err != nil { return err } - doi.DomainOwnershipIdentifierProperties = &domainOwnershipIdentifierProperties + d.DeploymentProperties = &deploymentProperties } case "id": if v != nil { @@ -12343,7 +9175,7 @@ func (doi *DomainOwnershipIdentifier) UnmarshalJSON(body []byte) error { if err != nil { return err } - doi.ID = &ID + d.ID = &ID } case "name": if v != nil { @@ -12352,7 +9184,7 @@ func (doi *DomainOwnershipIdentifier) UnmarshalJSON(body []byte) error { if err != nil { return err } - doi.Name = &name + d.Name = &name } case "kind": if v != nil { @@ -12361,7 +9193,7 @@ func (doi *DomainOwnershipIdentifier) UnmarshalJSON(body []byte) error { if err != nil { return err } - doi.Kind = &kind + d.Kind = &kind } case "type": if v != nil { @@ -12370,7 +9202,7 @@ func (doi *DomainOwnershipIdentifier) UnmarshalJSON(body []byte) error { if err != nil { return err } - doi.Type = &typeVar + d.Type = &typeVar } } } @@ -12378,36 +9210,35 @@ func (doi *DomainOwnershipIdentifier) UnmarshalJSON(body []byte) error { return nil } -// DomainOwnershipIdentifierCollection collection of domain ownership identifiers. -type DomainOwnershipIdentifierCollection struct { +// DeploymentCollection collection of app deployments. +type DeploymentCollection struct { autorest.Response `json:"-"` // Value - Collection of resources. - Value *[]DomainOwnershipIdentifier `json:"value,omitempty"` + Value *[]Deployment `json:"value,omitempty"` // NextLink - READ-ONLY; Link to next page of resources. NextLink *string `json:"nextLink,omitempty"` } -// MarshalJSON is the custom marshaler for DomainOwnershipIdentifierCollection. -func (doic DomainOwnershipIdentifierCollection) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for DeploymentCollection. +func (dc DeploymentCollection) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if doic.Value != nil { - objectMap["value"] = doic.Value + if dc.Value != nil { + objectMap["value"] = dc.Value } return json.Marshal(objectMap) } -// DomainOwnershipIdentifierCollectionIterator provides access to a complete listing of -// DomainOwnershipIdentifier values. -type DomainOwnershipIdentifierCollectionIterator struct { +// DeploymentCollectionIterator provides access to a complete listing of Deployment values. +type DeploymentCollectionIterator struct { i int - page DomainOwnershipIdentifierCollectionPage + page DeploymentCollectionPage } // NextWithContext advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. -func (iter *DomainOwnershipIdentifierCollectionIterator) NextWithContext(ctx context.Context) (err error) { +func (iter *DeploymentCollectionIterator) NextWithContext(ctx context.Context) (err error) { if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/DomainOwnershipIdentifierCollectionIterator.NextWithContext") + ctx = tracing.StartSpan(ctx, fqdn+"/DeploymentCollectionIterator.NextWithContext") defer func() { sc := -1 if iter.Response().Response.Response != nil { @@ -12432,67 +9263,67 @@ func (iter *DomainOwnershipIdentifierCollectionIterator) NextWithContext(ctx con // Next advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. // Deprecated: Use NextWithContext() instead. -func (iter *DomainOwnershipIdentifierCollectionIterator) Next() error { +func (iter *DeploymentCollectionIterator) Next() error { return iter.NextWithContext(context.Background()) } // NotDone returns true if the enumeration should be started or is not yet complete. -func (iter DomainOwnershipIdentifierCollectionIterator) NotDone() bool { +func (iter DeploymentCollectionIterator) NotDone() bool { return iter.page.NotDone() && iter.i < len(iter.page.Values()) } // Response returns the raw server response from the last page request. -func (iter DomainOwnershipIdentifierCollectionIterator) Response() DomainOwnershipIdentifierCollection { +func (iter DeploymentCollectionIterator) Response() DeploymentCollection { return iter.page.Response() } // Value returns the current value or a zero-initialized value if the // iterator has advanced beyond the end of the collection. -func (iter DomainOwnershipIdentifierCollectionIterator) Value() DomainOwnershipIdentifier { +func (iter DeploymentCollectionIterator) Value() Deployment { if !iter.page.NotDone() { - return DomainOwnershipIdentifier{} + return Deployment{} } return iter.page.Values()[iter.i] } -// Creates a new instance of the DomainOwnershipIdentifierCollectionIterator type. -func NewDomainOwnershipIdentifierCollectionIterator(page DomainOwnershipIdentifierCollectionPage) DomainOwnershipIdentifierCollectionIterator { - return DomainOwnershipIdentifierCollectionIterator{page: page} +// Creates a new instance of the DeploymentCollectionIterator type. +func NewDeploymentCollectionIterator(page DeploymentCollectionPage) DeploymentCollectionIterator { + return DeploymentCollectionIterator{page: page} } // IsEmpty returns true if the ListResult contains no values. -func (doic DomainOwnershipIdentifierCollection) IsEmpty() bool { - return doic.Value == nil || len(*doic.Value) == 0 +func (dc DeploymentCollection) IsEmpty() bool { + return dc.Value == nil || len(*dc.Value) == 0 } // hasNextLink returns true if the NextLink is not empty. -func (doic DomainOwnershipIdentifierCollection) hasNextLink() bool { - return doic.NextLink != nil && len(*doic.NextLink) != 0 +func (dc DeploymentCollection) hasNextLink() bool { + return dc.NextLink != nil && len(*dc.NextLink) != 0 } -// domainOwnershipIdentifierCollectionPreparer prepares a request to retrieve the next set of results. +// deploymentCollectionPreparer prepares a request to retrieve the next set of results. // It returns nil if no more results exist. -func (doic DomainOwnershipIdentifierCollection) domainOwnershipIdentifierCollectionPreparer(ctx context.Context) (*http.Request, error) { - if !doic.hasNextLink() { +func (dc DeploymentCollection) deploymentCollectionPreparer(ctx context.Context) (*http.Request, error) { + if !dc.hasNextLink() { return nil, nil } return autorest.Prepare((&http.Request{}).WithContext(ctx), autorest.AsJSON(), autorest.AsGet(), - autorest.WithBaseURL(to.String(doic.NextLink))) + autorest.WithBaseURL(to.String(dc.NextLink))) } -// DomainOwnershipIdentifierCollectionPage contains a page of DomainOwnershipIdentifier values. -type DomainOwnershipIdentifierCollectionPage struct { - fn func(context.Context, DomainOwnershipIdentifierCollection) (DomainOwnershipIdentifierCollection, error) - doic DomainOwnershipIdentifierCollection +// DeploymentCollectionPage contains a page of Deployment values. +type DeploymentCollectionPage struct { + fn func(context.Context, DeploymentCollection) (DeploymentCollection, error) + dc DeploymentCollection } // NextWithContext advances to the next page of values. If there was an error making // the request the page does not advance and the error is returned. -func (page *DomainOwnershipIdentifierCollectionPage) NextWithContext(ctx context.Context) (err error) { +func (page *DeploymentCollectionPage) NextWithContext(ctx context.Context) (err error) { if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/DomainOwnershipIdentifierCollectionPage.NextWithContext") + ctx = tracing.StartSpan(ctx, fqdn+"/DeploymentCollectionPage.NextWithContext") defer func() { sc := -1 if page.Response().Response.Response != nil { @@ -12502,11 +9333,11 @@ func (page *DomainOwnershipIdentifierCollectionPage) NextWithContext(ctx context }() } for { - next, err := page.fn(ctx, page.doic) + next, err := page.fn(ctx, page.dc) if err != nil { return err } - page.doic = next + page.dc = next if !next.hasNextLink() || !next.IsEmpty() { break } @@ -12517,46 +9348,95 @@ func (page *DomainOwnershipIdentifierCollectionPage) NextWithContext(ctx context // Next advances to the next page of values. If there was an error making // the request the page does not advance and the error is returned. // Deprecated: Use NextWithContext() instead. -func (page *DomainOwnershipIdentifierCollectionPage) Next() error { +func (page *DeploymentCollectionPage) Next() error { return page.NextWithContext(context.Background()) } // NotDone returns true if the page enumeration should be started or is not yet complete. -func (page DomainOwnershipIdentifierCollectionPage) NotDone() bool { - return !page.doic.IsEmpty() +func (page DeploymentCollectionPage) NotDone() bool { + return !page.dc.IsEmpty() } // Response returns the raw server response from the last page request. -func (page DomainOwnershipIdentifierCollectionPage) Response() DomainOwnershipIdentifierCollection { - return page.doic +func (page DeploymentCollectionPage) Response() DeploymentCollection { + return page.dc } // Values returns the slice of values for the current page or nil if there are no values. -func (page DomainOwnershipIdentifierCollectionPage) Values() []DomainOwnershipIdentifier { - if page.doic.IsEmpty() { +func (page DeploymentCollectionPage) Values() []Deployment { + if page.dc.IsEmpty() { return nil } - return *page.doic.Value + return *page.dc.Value } -// Creates a new instance of the DomainOwnershipIdentifierCollectionPage type. -func NewDomainOwnershipIdentifierCollectionPage(cur DomainOwnershipIdentifierCollection, getNextPage func(context.Context, DomainOwnershipIdentifierCollection) (DomainOwnershipIdentifierCollection, error)) DomainOwnershipIdentifierCollectionPage { - return DomainOwnershipIdentifierCollectionPage{ - fn: getNextPage, - doic: cur, +// Creates a new instance of the DeploymentCollectionPage type. +func NewDeploymentCollectionPage(cur DeploymentCollection, getNextPage func(context.Context, DeploymentCollection) (DeploymentCollection, error)) DeploymentCollectionPage { + return DeploymentCollectionPage{ + fn: getNextPage, + dc: cur, } } -// DomainOwnershipIdentifierProperties domainOwnershipIdentifier resource specific properties -type DomainOwnershipIdentifierProperties struct { - // OwnershipID - Ownership Id. - OwnershipID *string `json:"ownershipId,omitempty"` +// DeploymentLocations list of available locations (regions or App Service Environments) for +// deployment of App Service resources. +type DeploymentLocations struct { + autorest.Response `json:"-"` + // Locations - Available regions. + Locations *[]GeoRegion `json:"locations,omitempty"` + // HostingEnvironments - Available App Service Environments with full descriptions of the environments. + HostingEnvironments *[]AppServiceEnvironment `json:"hostingEnvironments,omitempty"` + // HostingEnvironmentDeploymentInfos - Available App Service Environments with basic information. + HostingEnvironmentDeploymentInfos *[]HostingEnvironmentDeploymentInfo `json:"hostingEnvironmentDeploymentInfos,omitempty"` } -// DomainPatchResource ARM resource for a domain. -type DomainPatchResource struct { - // DomainPatchResourceProperties - DomainPatchResource resource specific properties - *DomainPatchResourceProperties `json:"properties,omitempty"` +// DeploymentProperties deployment resource specific properties +type DeploymentProperties struct { + // Status - Deployment status. + Status *int32 `json:"status,omitempty"` + // Message - Details about deployment status. + Message *string `json:"message,omitempty"` + // Author - Who authored the deployment. + Author *string `json:"author,omitempty"` + // Deployer - Who performed the deployment. + Deployer *string `json:"deployer,omitempty"` + // AuthorEmail - Author email. + AuthorEmail *string `json:"author_email,omitempty"` + // StartTime - Start time. + StartTime *date.Time `json:"start_time,omitempty"` + // EndTime - End time. + EndTime *date.Time `json:"end_time,omitempty"` + // Active - True if deployment is currently active, false if completed and null if not started. + Active *bool `json:"active,omitempty"` + // Details - Details on deployment. + Details *string `json:"details,omitempty"` +} + +// DetectorAbnormalTimePeriod class representing Abnormal Time Period detected. +type DetectorAbnormalTimePeriod struct { + // StartTime - Start time of the correlated event + StartTime *date.Time `json:"startTime,omitempty"` + // EndTime - End time of the correlated event + EndTime *date.Time `json:"endTime,omitempty"` + // Message - Message describing the event + Message *string `json:"message,omitempty"` + // Source - Represents the name of the Detector + Source *string `json:"source,omitempty"` + // Priority - Represents the rank of the Detector + Priority *float64 `json:"priority,omitempty"` + // MetaData - Downtime metadata + MetaData *[][]NameValuePair `json:"metaData,omitempty"` + // Type - Represents the type of the Detector. Possible values include: 'ServiceIncident', 'AppDeployment', 'AppCrash', 'RuntimeIssueDetected', 'AseDeployment', 'UserIssue', 'PlatformIssue', 'Other' + Type IssueType `json:"type,omitempty"` + // Solutions - List of proposed solutions + Solutions *[]Solution `json:"solutions,omitempty"` +} + +// DetectorDefinition class representing detector definition +type DetectorDefinition struct { + autorest.Response `json:"-"` + // DetectorDefinitionProperties - DetectorDefinition resource specific properties + *DetectorDefinitionProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. @@ -12567,20 +9447,20 @@ type DomainPatchResource struct { Type *string `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for DomainPatchResource. -func (dpr DomainPatchResource) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for DetectorDefinition. +func (dd DetectorDefinition) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if dpr.DomainPatchResourceProperties != nil { - objectMap["properties"] = dpr.DomainPatchResourceProperties + if dd.DetectorDefinitionProperties != nil { + objectMap["properties"] = dd.DetectorDefinitionProperties } - if dpr.Kind != nil { - objectMap["kind"] = dpr.Kind + if dd.Kind != nil { + objectMap["kind"] = dd.Kind } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for DomainPatchResource struct. -func (dpr *DomainPatchResource) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for DetectorDefinition struct. +func (dd *DetectorDefinition) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -12590,12 +9470,12 @@ func (dpr *DomainPatchResource) UnmarshalJSON(body []byte) error { switch k { case "properties": if v != nil { - var domainPatchResourceProperties DomainPatchResourceProperties - err = json.Unmarshal(*v, &domainPatchResourceProperties) + var detectorDefinitionProperties DetectorDefinitionProperties + err = json.Unmarshal(*v, &detectorDefinitionProperties) if err != nil { return err } - dpr.DomainPatchResourceProperties = &domainPatchResourceProperties + dd.DetectorDefinitionProperties = &detectorDefinitionProperties } case "id": if v != nil { @@ -12604,7 +9484,7 @@ func (dpr *DomainPatchResource) UnmarshalJSON(body []byte) error { if err != nil { return err } - dpr.ID = &ID + dd.ID = &ID } case "name": if v != nil { @@ -12613,7 +9493,7 @@ func (dpr *DomainPatchResource) UnmarshalJSON(body []byte) error { if err != nil { return err } - dpr.Name = &name + dd.Name = &name } case "kind": if v != nil { @@ -12622,7 +9502,7 @@ func (dpr *DomainPatchResource) UnmarshalJSON(body []byte) error { if err != nil { return err } - dpr.Kind = &kind + dd.Kind = &kind } case "type": if v != nil { @@ -12631,7 +9511,7 @@ func (dpr *DomainPatchResource) UnmarshalJSON(body []byte) error { if err != nil { return err } - dpr.Type = &typeVar + dd.Type = &typeVar } } } @@ -12639,288 +9519,326 @@ func (dpr *DomainPatchResource) UnmarshalJSON(body []byte) error { return nil } -// DomainPatchResourceProperties domainPatchResource resource specific properties -type DomainPatchResourceProperties struct { - // ContactAdmin - Administrative contact. - ContactAdmin *Contact `json:"contactAdmin,omitempty"` - // ContactBilling - Billing contact. - ContactBilling *Contact `json:"contactBilling,omitempty"` - // ContactRegistrant - Registrant contact. - ContactRegistrant *Contact `json:"contactRegistrant,omitempty"` - // ContactTech - Technical contact. - ContactTech *Contact `json:"contactTech,omitempty"` - // RegistrationStatus - READ-ONLY; Domain registration status. Possible values include: 'DomainStatusActive', 'DomainStatusAwaiting', 'DomainStatusCancelled', 'DomainStatusConfiscated', 'DomainStatusDisabled', 'DomainStatusExcluded', 'DomainStatusExpired', 'DomainStatusFailed', 'DomainStatusHeld', 'DomainStatusLocked', 'DomainStatusParked', 'DomainStatusPending', 'DomainStatusReserved', 'DomainStatusReverted', 'DomainStatusSuspended', 'DomainStatusTransferred', 'DomainStatusUnknown', 'DomainStatusUnlocked', 'DomainStatusUnparked', 'DomainStatusUpdated', 'DomainStatusJSONConverterFailed' - RegistrationStatus DomainStatus `json:"registrationStatus,omitempty"` - // ProvisioningState - READ-ONLY; Domain provisioning state. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateFailed', 'ProvisioningStateCanceled', 'ProvisioningStateInProgress', 'ProvisioningStateDeleting' - ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` - // NameServers - READ-ONLY; Name servers. - NameServers *[]string `json:"nameServers,omitempty"` - // Privacy - true if domain privacy is enabled for this domain; otherwise, false. - Privacy *bool `json:"privacy,omitempty"` - // CreatedTime - READ-ONLY; Domain creation timestamp. - CreatedTime *date.Time `json:"createdTime,omitempty"` - // ExpirationTime - READ-ONLY; Domain expiration timestamp. - ExpirationTime *date.Time `json:"expirationTime,omitempty"` - // LastRenewedTime - READ-ONLY; Timestamp when the domain was renewed last time. - LastRenewedTime *date.Time `json:"lastRenewedTime,omitempty"` - // AutoRenew - true if the domain should be automatically renewed; otherwise, false. - AutoRenew *bool `json:"autoRenew,omitempty"` - // ReadyForDNSRecordManagement - READ-ONLY; true if Azure can assign this domain to App Service apps; otherwise, false. This value will be true if domain registration status is active and - // it is hosted on name servers Azure has programmatic access to. - ReadyForDNSRecordManagement *bool `json:"readyForDnsRecordManagement,omitempty"` - // ManagedHostNames - READ-ONLY; All hostnames derived from the domain and assigned to Azure resources. - ManagedHostNames *[]HostName `json:"managedHostNames,omitempty"` - // Consent - Legal agreement consent. - Consent *DomainPurchaseConsent `json:"consent,omitempty"` - // DomainNotRenewableReasons - READ-ONLY; Reasons why domain is not renewable. - DomainNotRenewableReasons *[]string `json:"domainNotRenewableReasons,omitempty"` - // DNSType - Current DNS type. Possible values include: 'AzureDNS', 'DefaultDomainRegistrarDNS' - DNSType DNSType `json:"dnsType,omitempty"` - // DNSZoneID - Azure DNS Zone to use - DNSZoneID *string `json:"dnsZoneId,omitempty"` - // TargetDNSType - Target DNS type (would be used for migration). Possible values include: 'AzureDNS', 'DefaultDomainRegistrarDNS' - TargetDNSType DNSType `json:"targetDnsType,omitempty"` - AuthCode *string `json:"authCode,omitempty"` +// DetectorDefinitionProperties detectorDefinition resource specific properties +type DetectorDefinitionProperties struct { + // DisplayName - READ-ONLY; Display name of the detector + DisplayName *string `json:"displayName,omitempty"` + // Description - READ-ONLY; Description of the detector + Description *string `json:"description,omitempty"` + // Rank - READ-ONLY; Detector Rank + Rank *float64 `json:"rank,omitempty"` + // IsEnabled - READ-ONLY; Flag representing whether detector is enabled or not. + IsEnabled *bool `json:"isEnabled,omitempty"` +} + +// MarshalJSON is the custom marshaler for DetectorDefinitionProperties. +func (dd DetectorDefinitionProperties) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + return json.Marshal(objectMap) +} + +// DetectorInfo definition of Detector +type DetectorInfo struct { + // ID - READ-ONLY; Id of detector + ID *string `json:"id,omitempty"` + // Name - READ-ONLY; Name of detector + Name *string `json:"name,omitempty"` + // Description - READ-ONLY; Short description of the detector and its purpose. + Description *string `json:"description,omitempty"` + // Author - READ-ONLY; Author of the detector. + Author *string `json:"author,omitempty"` + // Category - READ-ONLY; Problem category. This serves for organizing group for detectors. + Category *string `json:"category,omitempty"` + // SupportTopicList - READ-ONLY; List of Support Topics for which this detector is enabled. + SupportTopicList *[]SupportTopic `json:"supportTopicList,omitempty"` + // AnalysisType - READ-ONLY; Analysis Types for which this detector should apply to. + AnalysisType *[]string `json:"analysisType,omitempty"` + // Type - READ-ONLY; Whether this detector is an Analysis Detector or not. Possible values include: 'Detector', 'Analysis', 'CategoryOverview' + Type DetectorType `json:"type,omitempty"` + // Score - READ-ONLY; Defines score of a detector to power ML based matching. + Score *float64 `json:"score,omitempty"` +} + +// MarshalJSON is the custom marshaler for DetectorInfo. +func (di DetectorInfo) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + return json.Marshal(objectMap) +} + +// DetectorResponse class representing Response from Detector +type DetectorResponse struct { + autorest.Response `json:"-"` + // DetectorResponseProperties - DetectorResponse resource specific properties + *DetectorResponseProperties `json:"properties,omitempty"` + // ID - READ-ONLY; Resource Id. + ID *string `json:"id,omitempty"` + // Name - READ-ONLY; Resource Name. + Name *string `json:"name,omitempty"` + // Kind - Kind of resource. + Kind *string `json:"kind,omitempty"` + // Type - READ-ONLY; Resource type. + Type *string `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for DetectorResponse. +func (dr DetectorResponse) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if dr.DetectorResponseProperties != nil { + objectMap["properties"] = dr.DetectorResponseProperties + } + if dr.Kind != nil { + objectMap["kind"] = dr.Kind + } + return json.Marshal(objectMap) +} + +// UnmarshalJSON is the custom unmarshaler for DetectorResponse struct. +func (dr *DetectorResponse) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "properties": + if v != nil { + var detectorResponseProperties DetectorResponseProperties + err = json.Unmarshal(*v, &detectorResponseProperties) + if err != nil { + return err + } + dr.DetectorResponseProperties = &detectorResponseProperties + } + case "id": + if v != nil { + var ID string + err = json.Unmarshal(*v, &ID) + if err != nil { + return err + } + dr.ID = &ID + } + case "name": + if v != nil { + var name string + err = json.Unmarshal(*v, &name) + if err != nil { + return err + } + dr.Name = &name + } + case "kind": + if v != nil { + var kind string + err = json.Unmarshal(*v, &kind) + if err != nil { + return err + } + dr.Kind = &kind + } + case "type": + if v != nil { + var typeVar string + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + dr.Type = &typeVar + } + } + } + + return nil } -// MarshalJSON is the custom marshaler for DomainPatchResourceProperties. -func (dpr DomainPatchResourceProperties) MarshalJSON() ([]byte, error) { +// DetectorResponseCollection collection of detector responses +type DetectorResponseCollection struct { + autorest.Response `json:"-"` + // Value - Collection of resources. + Value *[]DetectorResponse `json:"value,omitempty"` + // NextLink - READ-ONLY; Link to next page of resources. + NextLink *string `json:"nextLink,omitempty"` +} + +// MarshalJSON is the custom marshaler for DetectorResponseCollection. +func (drc DetectorResponseCollection) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if dpr.ContactAdmin != nil { - objectMap["contactAdmin"] = dpr.ContactAdmin - } - if dpr.ContactBilling != nil { - objectMap["contactBilling"] = dpr.ContactBilling - } - if dpr.ContactRegistrant != nil { - objectMap["contactRegistrant"] = dpr.ContactRegistrant - } - if dpr.ContactTech != nil { - objectMap["contactTech"] = dpr.ContactTech - } - if dpr.Privacy != nil { - objectMap["privacy"] = dpr.Privacy - } - if dpr.AutoRenew != nil { - objectMap["autoRenew"] = dpr.AutoRenew - } - if dpr.Consent != nil { - objectMap["consent"] = dpr.Consent - } - if dpr.DNSType != "" { - objectMap["dnsType"] = dpr.DNSType - } - if dpr.DNSZoneID != nil { - objectMap["dnsZoneId"] = dpr.DNSZoneID - } - if dpr.TargetDNSType != "" { - objectMap["targetDnsType"] = dpr.TargetDNSType - } - if dpr.AuthCode != nil { - objectMap["authCode"] = dpr.AuthCode + if drc.Value != nil { + objectMap["value"] = drc.Value } return json.Marshal(objectMap) } -// DomainProperties domain resource specific properties -type DomainProperties struct { - // ContactAdmin - Administrative contact. - ContactAdmin *Contact `json:"contactAdmin,omitempty"` - // ContactBilling - Billing contact. - ContactBilling *Contact `json:"contactBilling,omitempty"` - // ContactRegistrant - Registrant contact. - ContactRegistrant *Contact `json:"contactRegistrant,omitempty"` - // ContactTech - Technical contact. - ContactTech *Contact `json:"contactTech,omitempty"` - // RegistrationStatus - READ-ONLY; Domain registration status. Possible values include: 'DomainStatusActive', 'DomainStatusAwaiting', 'DomainStatusCancelled', 'DomainStatusConfiscated', 'DomainStatusDisabled', 'DomainStatusExcluded', 'DomainStatusExpired', 'DomainStatusFailed', 'DomainStatusHeld', 'DomainStatusLocked', 'DomainStatusParked', 'DomainStatusPending', 'DomainStatusReserved', 'DomainStatusReverted', 'DomainStatusSuspended', 'DomainStatusTransferred', 'DomainStatusUnknown', 'DomainStatusUnlocked', 'DomainStatusUnparked', 'DomainStatusUpdated', 'DomainStatusJSONConverterFailed' - RegistrationStatus DomainStatus `json:"registrationStatus,omitempty"` - // ProvisioningState - READ-ONLY; Domain provisioning state. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateFailed', 'ProvisioningStateCanceled', 'ProvisioningStateInProgress', 'ProvisioningStateDeleting' - ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` - // NameServers - READ-ONLY; Name servers. - NameServers *[]string `json:"nameServers,omitempty"` - // Privacy - true if domain privacy is enabled for this domain; otherwise, false. - Privacy *bool `json:"privacy,omitempty"` - // CreatedTime - READ-ONLY; Domain creation timestamp. - CreatedTime *date.Time `json:"createdTime,omitempty"` - // ExpirationTime - READ-ONLY; Domain expiration timestamp. - ExpirationTime *date.Time `json:"expirationTime,omitempty"` - // LastRenewedTime - READ-ONLY; Timestamp when the domain was renewed last time. - LastRenewedTime *date.Time `json:"lastRenewedTime,omitempty"` - // AutoRenew - true if the domain should be automatically renewed; otherwise, false. - AutoRenew *bool `json:"autoRenew,omitempty"` - // ReadyForDNSRecordManagement - READ-ONLY; true if Azure can assign this domain to App Service apps; otherwise, false. This value will be true if domain registration status is active and - // it is hosted on name servers Azure has programmatic access to. - ReadyForDNSRecordManagement *bool `json:"readyForDnsRecordManagement,omitempty"` - // ManagedHostNames - READ-ONLY; All hostnames derived from the domain and assigned to Azure resources. - ManagedHostNames *[]HostName `json:"managedHostNames,omitempty"` - // Consent - Legal agreement consent. - Consent *DomainPurchaseConsent `json:"consent,omitempty"` - // DomainNotRenewableReasons - READ-ONLY; Reasons why domain is not renewable. - DomainNotRenewableReasons *[]string `json:"domainNotRenewableReasons,omitempty"` - // DNSType - Current DNS type. Possible values include: 'AzureDNS', 'DefaultDomainRegistrarDNS' - DNSType DNSType `json:"dnsType,omitempty"` - // DNSZoneID - Azure DNS Zone to use - DNSZoneID *string `json:"dnsZoneId,omitempty"` - // TargetDNSType - Target DNS type (would be used for migration). Possible values include: 'AzureDNS', 'DefaultDomainRegistrarDNS' - TargetDNSType DNSType `json:"targetDnsType,omitempty"` - AuthCode *string `json:"authCode,omitempty"` +// DetectorResponseCollectionIterator provides access to a complete listing of DetectorResponse values. +type DetectorResponseCollectionIterator struct { + i int + page DetectorResponseCollectionPage } -// MarshalJSON is the custom marshaler for DomainProperties. -func (d DomainProperties) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if d.ContactAdmin != nil { - objectMap["contactAdmin"] = d.ContactAdmin - } - if d.ContactBilling != nil { - objectMap["contactBilling"] = d.ContactBilling - } - if d.ContactRegistrant != nil { - objectMap["contactRegistrant"] = d.ContactRegistrant - } - if d.ContactTech != nil { - objectMap["contactTech"] = d.ContactTech - } - if d.Privacy != nil { - objectMap["privacy"] = d.Privacy - } - if d.AutoRenew != nil { - objectMap["autoRenew"] = d.AutoRenew - } - if d.Consent != nil { - objectMap["consent"] = d.Consent - } - if d.DNSType != "" { - objectMap["dnsType"] = d.DNSType - } - if d.DNSZoneID != nil { - objectMap["dnsZoneId"] = d.DNSZoneID +// NextWithContext advances to the next value. If there was an error making +// the request the iterator does not advance and the error is returned. +func (iter *DetectorResponseCollectionIterator) NextWithContext(ctx context.Context) (err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/DetectorResponseCollectionIterator.NextWithContext") + defer func() { + sc := -1 + if iter.Response().Response.Response != nil { + sc = iter.Response().Response.Response.StatusCode + } + tracing.EndSpan(ctx, sc, err) + }() } - if d.TargetDNSType != "" { - objectMap["targetDnsType"] = d.TargetDNSType + iter.i++ + if iter.i < len(iter.page.Values()) { + return nil } - if d.AuthCode != nil { - objectMap["authCode"] = d.AuthCode + err = iter.page.NextWithContext(ctx) + if err != nil { + iter.i-- + return err } - return json.Marshal(objectMap) + iter.i = 0 + return nil } -// DomainPurchaseConsent domain purchase consent object, representing acceptance of applicable legal -// agreements. -type DomainPurchaseConsent struct { - // AgreementKeys - List of applicable legal agreement keys. This list can be retrieved using ListLegalAgreements API under TopLevelDomain resource. - AgreementKeys *[]string `json:"agreementKeys,omitempty"` - // AgreedBy - Client IP address. - AgreedBy *string `json:"agreedBy,omitempty"` - // AgreedAt - Timestamp when the agreements were accepted. - AgreedAt *date.Time `json:"agreedAt,omitempty"` +// Next advances to the next value. If there was an error making +// the request the iterator does not advance and the error is returned. +// Deprecated: Use NextWithContext() instead. +func (iter *DetectorResponseCollectionIterator) Next() error { + return iter.NextWithContext(context.Background()) } -// DomainRecommendationSearchParameters domain recommendation search parameters. -type DomainRecommendationSearchParameters struct { - // Keywords - Keywords to be used for generating domain recommendations. - Keywords *string `json:"keywords,omitempty"` - // MaxDomainRecommendations - Maximum number of recommendations. - MaxDomainRecommendations *int32 `json:"maxDomainRecommendations,omitempty"` +// NotDone returns true if the enumeration should be started or is not yet complete. +func (iter DetectorResponseCollectionIterator) NotDone() bool { + return iter.page.NotDone() && iter.i < len(iter.page.Values()) } -// DomainsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running -// operation. -type DomainsCreateOrUpdateFuture struct { - azure.FutureAPI - // Result returns the result of the asynchronous operation. - // If the operation has not completed it will return an error. - Result func(DomainsClient) (Domain, error) +// Response returns the raw server response from the last page request. +func (iter DetectorResponseCollectionIterator) Response() DetectorResponseCollection { + return iter.page.Response() } -// UnmarshalJSON is the custom unmarshaller for CreateFuture. -func (future *DomainsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error { - var azFuture azure.Future - if err := json.Unmarshal(body, &azFuture); err != nil { - return err +// Value returns the current value or a zero-initialized value if the +// iterator has advanced beyond the end of the collection. +func (iter DetectorResponseCollectionIterator) Value() DetectorResponse { + if !iter.page.NotDone() { + return DetectorResponse{} } - future.FutureAPI = &azFuture - future.Result = future.result - return nil + return iter.page.Values()[iter.i] } -// result is the default implementation for DomainsCreateOrUpdateFuture.Result. -func (future *DomainsCreateOrUpdateFuture) result(client DomainsClient) (d Domain, err error) { - var done bool - done, err = future.DoneWithContext(context.Background(), client) - if err != nil { - err = autorest.NewErrorWithError(err, "web.DomainsCreateOrUpdateFuture", "Result", future.Response(), "Polling failure") - return +// Creates a new instance of the DetectorResponseCollectionIterator type. +func NewDetectorResponseCollectionIterator(page DetectorResponseCollectionPage) DetectorResponseCollectionIterator { + return DetectorResponseCollectionIterator{page: page} +} + +// IsEmpty returns true if the ListResult contains no values. +func (drc DetectorResponseCollection) IsEmpty() bool { + return drc.Value == nil || len(*drc.Value) == 0 +} + +// hasNextLink returns true if the NextLink is not empty. +func (drc DetectorResponseCollection) hasNextLink() bool { + return drc.NextLink != nil && len(*drc.NextLink) != 0 +} + +// detectorResponseCollectionPreparer prepares a request to retrieve the next set of results. +// It returns nil if no more results exist. +func (drc DetectorResponseCollection) detectorResponseCollectionPreparer(ctx context.Context) (*http.Request, error) { + if !drc.hasNextLink() { + return nil, nil } - if !done { - d.Response.Response = future.Response() - err = azure.NewAsyncOpIncompleteError("web.DomainsCreateOrUpdateFuture") - return + return autorest.Prepare((&http.Request{}).WithContext(ctx), + autorest.AsJSON(), + autorest.AsGet(), + autorest.WithBaseURL(to.String(drc.NextLink))) +} + +// DetectorResponseCollectionPage contains a page of DetectorResponse values. +type DetectorResponseCollectionPage struct { + fn func(context.Context, DetectorResponseCollection) (DetectorResponseCollection, error) + drc DetectorResponseCollection +} + +// NextWithContext advances to the next page of values. If there was an error making +// the request the page does not advance and the error is returned. +func (page *DetectorResponseCollectionPage) NextWithContext(ctx context.Context) (err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/DetectorResponseCollectionPage.NextWithContext") + defer func() { + sc := -1 + if page.Response().Response.Response != nil { + sc = page.Response().Response.Response.StatusCode + } + tracing.EndSpan(ctx, sc, err) + }() } - sender := autorest.DecorateSender(client, autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...)) - if d.Response.Response, err = future.GetResult(sender); err == nil && d.Response.Response.StatusCode != http.StatusNoContent { - d, err = client.CreateOrUpdateResponder(d.Response.Response) + for { + next, err := page.fn(ctx, page.drc) if err != nil { - err = autorest.NewErrorWithError(err, "web.DomainsCreateOrUpdateFuture", "Result", d.Response.Response, "Failure responding to request") + return err + } + page.drc = next + if !next.hasNextLink() || !next.IsEmpty() { + break } } - return + return nil } -// EnabledConfig enabled configuration. -type EnabledConfig struct { - // Enabled - True if configuration is enabled, false if it is disabled and null if configuration is not set. - Enabled *bool `json:"enabled,omitempty"` +// Next advances to the next page of values. If there was an error making +// the request the page does not advance and the error is returned. +// Deprecated: Use NextWithContext() instead. +func (page *DetectorResponseCollectionPage) Next() error { + return page.NextWithContext(context.Background()) } -// EndpointDependency a domain name that a service is reached at, including details of the current -// connection status. -type EndpointDependency struct { - // DomainName - The domain name of the dependency. - DomainName *string `json:"domainName,omitempty"` - // EndpointDetails - The IP Addresses and Ports used when connecting to DomainName. - EndpointDetails *[]EndpointDetail `json:"endpointDetails,omitempty"` +// NotDone returns true if the page enumeration should be started or is not yet complete. +func (page DetectorResponseCollectionPage) NotDone() bool { + return !page.drc.IsEmpty() } -// EndpointDetail current TCP connectivity information from the App Service Environment to a single -// endpoint. -type EndpointDetail struct { - // IPAddress - An IP Address that Domain Name currently resolves to. - IPAddress *string `json:"ipAddress,omitempty"` - // Port - The port an endpoint is connected to. - Port *int32 `json:"port,omitempty"` - // Latency - The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. - Latency *float64 `json:"latency,omitempty"` - // IsAccessible - Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. - IsAccessible *bool `json:"isAccessible,omitempty"` +// Response returns the raw server response from the last page request. +func (page DetectorResponseCollectionPage) Response() DetectorResponseCollection { + return page.drc } -// ErrorEntity body of the error response returned from the API. -type ErrorEntity struct { - // ExtendedCode - Type of error. - ExtendedCode *string `json:"extendedCode,omitempty"` - // MessageTemplate - Message template. - MessageTemplate *string `json:"messageTemplate,omitempty"` - // Parameters - Parameters for the template. - Parameters *[]string `json:"parameters,omitempty"` - // InnerErrors - Inner errors. - InnerErrors *[]ErrorEntity `json:"innerErrors,omitempty"` - // Code - Basic error code. - Code *string `json:"code,omitempty"` - // Message - Any details of the error. - Message *string `json:"message,omitempty"` +// Values returns the slice of values for the current page or nil if there are no values. +func (page DetectorResponseCollectionPage) Values() []DetectorResponse { + if page.drc.IsEmpty() { + return nil + } + return *page.drc.Value } -// Experiments routing rules in production experiments. -type Experiments struct { - // RampUpRules - List of ramp-up rules. - RampUpRules *[]RampUpRule `json:"rampUpRules,omitempty"` +// Creates a new instance of the DetectorResponseCollectionPage type. +func NewDetectorResponseCollectionPage(cur DetectorResponseCollection, getNextPage func(context.Context, DetectorResponseCollection) (DetectorResponseCollection, error)) DetectorResponseCollectionPage { + return DetectorResponseCollectionPage{ + fn: getNextPage, + drc: cur, + } } -// Facebook the configuration settings of the Facebook provider. -type Facebook struct { - // FacebookProperties - Facebook resource specific properties - *FacebookProperties `json:"properties,omitempty"` +// DetectorResponseProperties detectorResponse resource specific properties +type DetectorResponseProperties struct { + // Metadata - metadata for the detector + Metadata *DetectorInfo `json:"metadata,omitempty"` + // Dataset - Data Set + Dataset *[]DiagnosticData `json:"dataset,omitempty"` + // Status - Indicates status of the most severe insight. + Status *Status `json:"status,omitempty"` + // DataProvidersMetadata - Additional configuration for different data providers to be used by the UI + DataProvidersMetadata *[]DataProviderMetadata `json:"dataProvidersMetadata,omitempty"` + // SuggestedUtterances - Suggested utterances where the detector can be applicable. + SuggestedUtterances *QueryUtterancesResults `json:"suggestedUtterances,omitempty"` +} + +// DiagnosticAnalysis class representing a diagnostic analysis done on an application +type DiagnosticAnalysis struct { + autorest.Response `json:"-"` + // DiagnosticAnalysisProperties - DiagnosticAnalysis resource specific properties + *DiagnosticAnalysisProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. @@ -12931,20 +9849,20 @@ type Facebook struct { Type *string `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for Facebook. -func (f Facebook) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for DiagnosticAnalysis. +func (da DiagnosticAnalysis) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if f.FacebookProperties != nil { - objectMap["properties"] = f.FacebookProperties + if da.DiagnosticAnalysisProperties != nil { + objectMap["properties"] = da.DiagnosticAnalysisProperties } - if f.Kind != nil { - objectMap["kind"] = f.Kind + if da.Kind != nil { + objectMap["kind"] = da.Kind } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for Facebook struct. -func (f *Facebook) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for DiagnosticAnalysis struct. +func (da *DiagnosticAnalysis) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -12954,12 +9872,12 @@ func (f *Facebook) UnmarshalJSON(body []byte) error { switch k { case "properties": if v != nil { - var facebookProperties FacebookProperties - err = json.Unmarshal(*v, &facebookProperties) + var diagnosticAnalysisProperties DiagnosticAnalysisProperties + err = json.Unmarshal(*v, &diagnosticAnalysisProperties) if err != nil { return err } - f.FacebookProperties = &facebookProperties + da.DiagnosticAnalysisProperties = &diagnosticAnalysisProperties } case "id": if v != nil { @@ -12968,7 +9886,7 @@ func (f *Facebook) UnmarshalJSON(body []byte) error { if err != nil { return err } - f.ID = &ID + da.ID = &ID } case "name": if v != nil { @@ -12977,7 +9895,7 @@ func (f *Facebook) UnmarshalJSON(body []byte) error { if err != nil { return err } - f.Name = &name + da.Name = &name } case "kind": if v != nil { @@ -12986,7 +9904,7 @@ func (f *Facebook) UnmarshalJSON(body []byte) error { if err != nil { return err } - f.Kind = &kind + da.Kind = &kind } case "type": if v != nil { @@ -12995,7 +9913,7 @@ func (f *Facebook) UnmarshalJSON(body []byte) error { if err != nil { return err } - f.Type = &typeVar + da.Type = &typeVar } } } @@ -13003,316 +9921,193 @@ func (f *Facebook) UnmarshalJSON(body []byte) error { return nil } -// FacebookProperties facebook resource specific properties -type FacebookProperties struct { - // Enabled - false if the Facebook provider should not be enabled despite the set registration; otherwise, true. - Enabled *bool `json:"enabled,omitempty"` - // Registration - The configuration settings of the app registration for the Facebook provider. - Registration *AppRegistration `json:"registration,omitempty"` - // GraphAPIVersion - The version of the Facebook api to be used while logging in. - GraphAPIVersion *string `json:"graphApiVersion,omitempty"` - // Login - The configuration settings of the login flow. - Login *LoginScopes `json:"login,omitempty"` -} - -// FileSystemApplicationLogsConfig application logs to file system configuration. -type FileSystemApplicationLogsConfig struct { - // Level - Log level. Possible values include: 'Off', 'Verbose', 'Information', 'Warning', 'Error' - Level LogLevel `json:"level,omitempty"` +// DiagnosticAnalysisCollection collection of Diagnostic Analyses +type DiagnosticAnalysisCollection struct { + autorest.Response `json:"-"` + // Value - Collection of resources. + Value *[]AnalysisDefinition `json:"value,omitempty"` + // NextLink - READ-ONLY; Link to next page of resources. + NextLink *string `json:"nextLink,omitempty"` } -// FileSystemHTTPLogsConfig http logs to file system configuration. -type FileSystemHTTPLogsConfig struct { - // RetentionInMb - Maximum size in megabytes that http log files can use. - // When reached old log files will be removed to make space for new ones. - // Value can range between 25 and 100. - RetentionInMb *int32 `json:"retentionInMb,omitempty"` - // RetentionInDays - Retention in days. - // Remove files older than X days. - // 0 or lower means no retention. - RetentionInDays *int32 `json:"retentionInDays,omitempty"` - // Enabled - True if configuration is enabled, false if it is disabled and null if configuration is not set. - Enabled *bool `json:"enabled,omitempty"` +// MarshalJSON is the custom marshaler for DiagnosticAnalysisCollection. +func (dac DiagnosticAnalysisCollection) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if dac.Value != nil { + objectMap["value"] = dac.Value + } + return json.Marshal(objectMap) } -// FileSystemTokenStore the configuration settings of the storage of the tokens if a file system is used. -type FileSystemTokenStore struct { - // FileSystemTokenStoreProperties - FileSystemTokenStore resource specific properties - *FileSystemTokenStoreProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` +// DiagnosticAnalysisCollectionIterator provides access to a complete listing of AnalysisDefinition values. +type DiagnosticAnalysisCollectionIterator struct { + i int + page DiagnosticAnalysisCollectionPage } -// MarshalJSON is the custom marshaler for FileSystemTokenStore. -func (fsts FileSystemTokenStore) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if fsts.FileSystemTokenStoreProperties != nil { - objectMap["properties"] = fsts.FileSystemTokenStoreProperties +// NextWithContext advances to the next value. If there was an error making +// the request the iterator does not advance and the error is returned. +func (iter *DiagnosticAnalysisCollectionIterator) NextWithContext(ctx context.Context) (err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/DiagnosticAnalysisCollectionIterator.NextWithContext") + defer func() { + sc := -1 + if iter.Response().Response.Response != nil { + sc = iter.Response().Response.Response.StatusCode + } + tracing.EndSpan(ctx, sc, err) + }() } - if fsts.Kind != nil { - objectMap["kind"] = fsts.Kind + iter.i++ + if iter.i < len(iter.page.Values()) { + return nil } - return json.Marshal(objectMap) -} - -// UnmarshalJSON is the custom unmarshaler for FileSystemTokenStore struct. -func (fsts *FileSystemTokenStore) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) + err = iter.page.NextWithContext(ctx) if err != nil { + iter.i-- return err } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var fileSystemTokenStoreProperties FileSystemTokenStoreProperties - err = json.Unmarshal(*v, &fileSystemTokenStoreProperties) - if err != nil { - return err - } - fsts.FileSystemTokenStoreProperties = &fileSystemTokenStoreProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - fsts.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - fsts.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - fsts.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - fsts.Type = &typeVar - } - } - } - + iter.i = 0 return nil } -// FileSystemTokenStoreProperties fileSystemTokenStore resource specific properties -type FileSystemTokenStoreProperties struct { - // Directory - The directory in which the tokens will be stored. - Directory *string `json:"directory,omitempty"` +// Next advances to the next value. If there was an error making +// the request the iterator does not advance and the error is returned. +// Deprecated: Use NextWithContext() instead. +func (iter *DiagnosticAnalysisCollectionIterator) Next() error { + return iter.NextWithContext(context.Background()) +} + +// NotDone returns true if the enumeration should be started or is not yet complete. +func (iter DiagnosticAnalysisCollectionIterator) NotDone() bool { + return iter.page.NotDone() && iter.i < len(iter.page.Values()) } -// ForwardProxy the configuration settings of a forward proxy used to make the requests. -type ForwardProxy struct { - // ForwardProxyProperties - ForwardProxy resource specific properties - *ForwardProxyProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` +// Response returns the raw server response from the last page request. +func (iter DiagnosticAnalysisCollectionIterator) Response() DiagnosticAnalysisCollection { + return iter.page.Response() } -// MarshalJSON is the custom marshaler for ForwardProxy. -func (fp ForwardProxy) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if fp.ForwardProxyProperties != nil { - objectMap["properties"] = fp.ForwardProxyProperties - } - if fp.Kind != nil { - objectMap["kind"] = fp.Kind +// Value returns the current value or a zero-initialized value if the +// iterator has advanced beyond the end of the collection. +func (iter DiagnosticAnalysisCollectionIterator) Value() AnalysisDefinition { + if !iter.page.NotDone() { + return AnalysisDefinition{} } - return json.Marshal(objectMap) + return iter.page.Values()[iter.i] } -// UnmarshalJSON is the custom unmarshaler for ForwardProxy struct. -func (fp *ForwardProxy) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var forwardProxyProperties ForwardProxyProperties - err = json.Unmarshal(*v, &forwardProxyProperties) - if err != nil { - return err - } - fp.ForwardProxyProperties = &forwardProxyProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - fp.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - fp.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - fp.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - fp.Type = &typeVar - } - } - } +// Creates a new instance of the DiagnosticAnalysisCollectionIterator type. +func NewDiagnosticAnalysisCollectionIterator(page DiagnosticAnalysisCollectionPage) DiagnosticAnalysisCollectionIterator { + return DiagnosticAnalysisCollectionIterator{page: page} +} - return nil +// IsEmpty returns true if the ListResult contains no values. +func (dac DiagnosticAnalysisCollection) IsEmpty() bool { + return dac.Value == nil || len(*dac.Value) == 0 } -// ForwardProxyProperties forwardProxy resource specific properties -type ForwardProxyProperties struct { - // Convention - The convention used to determine the url of the request made. Possible values include: 'ForwardProxyConventionNoProxy', 'ForwardProxyConventionStandard', 'ForwardProxyConventionCustom' - Convention ForwardProxyConvention `json:"convention,omitempty"` - // CustomHostHeaderName - The name of the header containing the host of the request. - CustomHostHeaderName *string `json:"customHostHeaderName,omitempty"` - // CustomProtoHeaderName - The name of the header containing the scheme of the request. - CustomProtoHeaderName *string `json:"customProtoHeaderName,omitempty"` +// hasNextLink returns true if the NextLink is not empty. +func (dac DiagnosticAnalysisCollection) hasNextLink() bool { + return dac.NextLink != nil && len(*dac.NextLink) != 0 } -// FunctionAppMajorVersion function App stack major version. -type FunctionAppMajorVersion struct { - // DisplayText - READ-ONLY; Function App stack major version (display only). - DisplayText *string `json:"displayText,omitempty"` - // Value - READ-ONLY; Function App stack major version name. - Value *string `json:"value,omitempty"` - // MinorVersions - READ-ONLY; Minor versions associated with the major version. - MinorVersions *[]FunctionAppMinorVersion `json:"minorVersions,omitempty"` +// diagnosticAnalysisCollectionPreparer prepares a request to retrieve the next set of results. +// It returns nil if no more results exist. +func (dac DiagnosticAnalysisCollection) diagnosticAnalysisCollectionPreparer(ctx context.Context) (*http.Request, error) { + if !dac.hasNextLink() { + return nil, nil + } + return autorest.Prepare((&http.Request{}).WithContext(ctx), + autorest.AsJSON(), + autorest.AsGet(), + autorest.WithBaseURL(to.String(dac.NextLink))) } -// MarshalJSON is the custom marshaler for FunctionAppMajorVersion. -func (famv FunctionAppMajorVersion) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - return json.Marshal(objectMap) +// DiagnosticAnalysisCollectionPage contains a page of AnalysisDefinition values. +type DiagnosticAnalysisCollectionPage struct { + fn func(context.Context, DiagnosticAnalysisCollection) (DiagnosticAnalysisCollection, error) + dac DiagnosticAnalysisCollection } -// FunctionAppMinorVersion function App stack minor version. -type FunctionAppMinorVersion struct { - // DisplayText - READ-ONLY; Function App stack (display only). - DisplayText *string `json:"displayText,omitempty"` - // Value - READ-ONLY; Function App stack name. - Value *string `json:"value,omitempty"` - // StackSettings - READ-ONLY; Settings associated with the minor version. - StackSettings *FunctionAppRuntimes `json:"stackSettings,omitempty"` +// NextWithContext advances to the next page of values. If there was an error making +// the request the page does not advance and the error is returned. +func (page *DiagnosticAnalysisCollectionPage) NextWithContext(ctx context.Context) (err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/DiagnosticAnalysisCollectionPage.NextWithContext") + defer func() { + sc := -1 + if page.Response().Response.Response != nil { + sc = page.Response().Response.Response.StatusCode + } + tracing.EndSpan(ctx, sc, err) + }() + } + for { + next, err := page.fn(ctx, page.dac) + if err != nil { + return err + } + page.dac = next + if !next.hasNextLink() || !next.IsEmpty() { + break + } + } + return nil } -// MarshalJSON is the custom marshaler for FunctionAppMinorVersion. -func (famv FunctionAppMinorVersion) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - return json.Marshal(objectMap) +// Next advances to the next page of values. If there was an error making +// the request the page does not advance and the error is returned. +// Deprecated: Use NextWithContext() instead. +func (page *DiagnosticAnalysisCollectionPage) Next() error { + return page.NextWithContext(context.Background()) } -// FunctionAppRuntimes function App stack runtimes. -type FunctionAppRuntimes struct { - // LinuxRuntimeSettings - READ-ONLY; Linux-specific settings associated with the minor version. - LinuxRuntimeSettings *FunctionAppRuntimeSettings `json:"linuxRuntimeSettings,omitempty"` - // WindowsRuntimeSettings - READ-ONLY; Windows-specific settings associated with the minor version. - WindowsRuntimeSettings *FunctionAppRuntimeSettings `json:"windowsRuntimeSettings,omitempty"` +// NotDone returns true if the page enumeration should be started or is not yet complete. +func (page DiagnosticAnalysisCollectionPage) NotDone() bool { + return !page.dac.IsEmpty() } -// MarshalJSON is the custom marshaler for FunctionAppRuntimes. -func (far FunctionAppRuntimes) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - return json.Marshal(objectMap) +// Response returns the raw server response from the last page request. +func (page DiagnosticAnalysisCollectionPage) Response() DiagnosticAnalysisCollection { + return page.dac } -// FunctionAppRuntimeSettings function App runtime settings. -type FunctionAppRuntimeSettings struct { - // RuntimeVersion - READ-ONLY; Function App stack minor version (runtime only). - RuntimeVersion *string `json:"runtimeVersion,omitempty"` - // RemoteDebuggingSupported - READ-ONLY; true if remote debugging is supported for the stack; otherwise, false. - RemoteDebuggingSupported *bool `json:"remoteDebuggingSupported,omitempty"` - // AppInsightsSettings - READ-ONLY; Application Insights settings associated with the minor version. - AppInsightsSettings *AppInsightsWebAppStackSettings `json:"appInsightsSettings,omitempty"` - // GitHubActionSettings - READ-ONLY; GitHub Actions settings associated with the minor version. - GitHubActionSettings *GitHubActionWebAppStackSettings `json:"gitHubActionSettings,omitempty"` - // AppSettingsDictionary - READ-ONLY; Application settings associated with the minor version. - AppSettingsDictionary map[string]*string `json:"appSettingsDictionary"` - // SiteConfigPropertiesDictionary - READ-ONLY; Configuration settings associated with the minor version. - SiteConfigPropertiesDictionary *SiteConfigPropertiesDictionary `json:"siteConfigPropertiesDictionary,omitempty"` - // SupportedFunctionsExtensionVersions - READ-ONLY; List of supported Functions extension versions. - SupportedFunctionsExtensionVersions *[]string `json:"supportedFunctionsExtensionVersions,omitempty"` - // IsPreview - READ-ONLY; true if the stack is in preview; otherwise, false. - IsPreview *bool `json:"isPreview,omitempty"` - // IsDeprecated - READ-ONLY; true if the stack is deprecated; otherwise, false. - IsDeprecated *bool `json:"isDeprecated,omitempty"` - // IsHidden - READ-ONLY; true if the stack should be hidden; otherwise, false. - IsHidden *bool `json:"isHidden,omitempty"` - // EndOfLifeDate - READ-ONLY; End-of-life date for the minor version. - EndOfLifeDate *date.Time `json:"endOfLifeDate,omitempty"` - // IsAutoUpdate - READ-ONLY; true if the stack version is auto-updated; otherwise, false. - IsAutoUpdate *bool `json:"isAutoUpdate,omitempty"` - // IsEarlyAccess - READ-ONLY; true if the minor version is early-access; otherwise, false. - IsEarlyAccess *bool `json:"isEarlyAccess,omitempty"` - // IsDefault - READ-ONLY; true if the minor version the default; otherwise, false. - IsDefault *bool `json:"isDefault,omitempty"` +// Values returns the slice of values for the current page or nil if there are no values. +func (page DiagnosticAnalysisCollectionPage) Values() []AnalysisDefinition { + if page.dac.IsEmpty() { + return nil + } + return *page.dac.Value } -// MarshalJSON is the custom marshaler for FunctionAppRuntimeSettings. -func (fars FunctionAppRuntimeSettings) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - return json.Marshal(objectMap) +// Creates a new instance of the DiagnosticAnalysisCollectionPage type. +func NewDiagnosticAnalysisCollectionPage(cur DiagnosticAnalysisCollection, getNextPage func(context.Context, DiagnosticAnalysisCollection) (DiagnosticAnalysisCollection, error)) DiagnosticAnalysisCollectionPage { + return DiagnosticAnalysisCollectionPage{ + fn: getNextPage, + dac: cur, + } } -// FunctionAppStack function App Stack. -type FunctionAppStack struct { - // Location - READ-ONLY; Function App stack location. - Location *string `json:"location,omitempty"` - // FunctionAppStackProperties - FunctionAppStack resource specific properties - *FunctionAppStackProperties `json:"properties,omitempty"` +// DiagnosticAnalysisProperties diagnosticAnalysis resource specific properties +type DiagnosticAnalysisProperties struct { + // StartTime - Start time of the period + StartTime *date.Time `json:"startTime,omitempty"` + // EndTime - End time of the period + EndTime *date.Time `json:"endTime,omitempty"` + // AbnormalTimePeriods - List of time periods. + AbnormalTimePeriods *[]AbnormalTimePeriod `json:"abnormalTimePeriods,omitempty"` + // Payload - Data by each detector + Payload *[]AnalysisData `json:"payload,omitempty"` + // NonCorrelatedDetectors - Data by each detector for detectors that did not corelate + NonCorrelatedDetectors *[]DetectorDefinition `json:"nonCorrelatedDetectors,omitempty"` +} + +// DiagnosticCategory class representing detector definition +type DiagnosticCategory struct { + autorest.Response `json:"-"` + // DiagnosticCategoryProperties - DiagnosticCategory resource specific properties + *DiagnosticCategoryProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. @@ -13323,20 +10118,20 @@ type FunctionAppStack struct { Type *string `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for FunctionAppStack. -func (fas FunctionAppStack) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for DiagnosticCategory. +func (dc DiagnosticCategory) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if fas.FunctionAppStackProperties != nil { - objectMap["properties"] = fas.FunctionAppStackProperties + if dc.DiagnosticCategoryProperties != nil { + objectMap["properties"] = dc.DiagnosticCategoryProperties } - if fas.Kind != nil { - objectMap["kind"] = fas.Kind + if dc.Kind != nil { + objectMap["kind"] = dc.Kind } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for FunctionAppStack struct. -func (fas *FunctionAppStack) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for DiagnosticCategory struct. +func (dc *DiagnosticCategory) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -13344,23 +10139,14 @@ func (fas *FunctionAppStack) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "location": - if v != nil { - var location string - err = json.Unmarshal(*v, &location) - if err != nil { - return err - } - fas.Location = &location - } case "properties": if v != nil { - var functionAppStackProperties FunctionAppStackProperties - err = json.Unmarshal(*v, &functionAppStackProperties) + var diagnosticCategoryProperties DiagnosticCategoryProperties + err = json.Unmarshal(*v, &diagnosticCategoryProperties) if err != nil { return err } - fas.FunctionAppStackProperties = &functionAppStackProperties + dc.DiagnosticCategoryProperties = &diagnosticCategoryProperties } case "id": if v != nil { @@ -13369,7 +10155,7 @@ func (fas *FunctionAppStack) UnmarshalJSON(body []byte) error { if err != nil { return err } - fas.ID = &ID + dc.ID = &ID } case "name": if v != nil { @@ -13378,7 +10164,7 @@ func (fas *FunctionAppStack) UnmarshalJSON(body []byte) error { if err != nil { return err } - fas.Name = &name + dc.Name = &name } case "kind": if v != nil { @@ -13387,7 +10173,7 @@ func (fas *FunctionAppStack) UnmarshalJSON(body []byte) error { if err != nil { return err } - fas.Kind = &kind + dc.Kind = &kind } case "type": if v != nil { @@ -13396,7 +10182,7 @@ func (fas *FunctionAppStack) UnmarshalJSON(body []byte) error { if err != nil { return err } - fas.Type = &typeVar + dc.Type = &typeVar } } } @@ -13404,35 +10190,35 @@ func (fas *FunctionAppStack) UnmarshalJSON(body []byte) error { return nil } -// FunctionAppStackCollection collection of Function app Stacks -type FunctionAppStackCollection struct { +// DiagnosticCategoryCollection collection of Diagnostic Categories +type DiagnosticCategoryCollection struct { autorest.Response `json:"-"` // Value - Collection of resources. - Value *[]FunctionAppStack `json:"value,omitempty"` + Value *[]DiagnosticCategory `json:"value,omitempty"` // NextLink - READ-ONLY; Link to next page of resources. NextLink *string `json:"nextLink,omitempty"` } -// MarshalJSON is the custom marshaler for FunctionAppStackCollection. -func (fasc FunctionAppStackCollection) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for DiagnosticCategoryCollection. +func (dcc DiagnosticCategoryCollection) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if fasc.Value != nil { - objectMap["value"] = fasc.Value + if dcc.Value != nil { + objectMap["value"] = dcc.Value } return json.Marshal(objectMap) } -// FunctionAppStackCollectionIterator provides access to a complete listing of FunctionAppStack values. -type FunctionAppStackCollectionIterator struct { +// DiagnosticCategoryCollectionIterator provides access to a complete listing of DiagnosticCategory values. +type DiagnosticCategoryCollectionIterator struct { i int - page FunctionAppStackCollectionPage + page DiagnosticCategoryCollectionPage } // NextWithContext advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. -func (iter *FunctionAppStackCollectionIterator) NextWithContext(ctx context.Context) (err error) { +func (iter *DiagnosticCategoryCollectionIterator) NextWithContext(ctx context.Context) (err error) { if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/FunctionAppStackCollectionIterator.NextWithContext") + ctx = tracing.StartSpan(ctx, fqdn+"/DiagnosticCategoryCollectionIterator.NextWithContext") defer func() { sc := -1 if iter.Response().Response.Response != nil { @@ -13457,67 +10243,255 @@ func (iter *FunctionAppStackCollectionIterator) NextWithContext(ctx context.Cont // Next advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. // Deprecated: Use NextWithContext() instead. -func (iter *FunctionAppStackCollectionIterator) Next() error { +func (iter *DiagnosticCategoryCollectionIterator) Next() error { return iter.NextWithContext(context.Background()) } // NotDone returns true if the enumeration should be started or is not yet complete. -func (iter FunctionAppStackCollectionIterator) NotDone() bool { +func (iter DiagnosticCategoryCollectionIterator) NotDone() bool { return iter.page.NotDone() && iter.i < len(iter.page.Values()) } // Response returns the raw server response from the last page request. -func (iter FunctionAppStackCollectionIterator) Response() FunctionAppStackCollection { +func (iter DiagnosticCategoryCollectionIterator) Response() DiagnosticCategoryCollection { return iter.page.Response() } // Value returns the current value or a zero-initialized value if the // iterator has advanced beyond the end of the collection. -func (iter FunctionAppStackCollectionIterator) Value() FunctionAppStack { +func (iter DiagnosticCategoryCollectionIterator) Value() DiagnosticCategory { if !iter.page.NotDone() { - return FunctionAppStack{} + return DiagnosticCategory{} } return iter.page.Values()[iter.i] } -// Creates a new instance of the FunctionAppStackCollectionIterator type. -func NewFunctionAppStackCollectionIterator(page FunctionAppStackCollectionPage) FunctionAppStackCollectionIterator { - return FunctionAppStackCollectionIterator{page: page} +// Creates a new instance of the DiagnosticCategoryCollectionIterator type. +func NewDiagnosticCategoryCollectionIterator(page DiagnosticCategoryCollectionPage) DiagnosticCategoryCollectionIterator { + return DiagnosticCategoryCollectionIterator{page: page} +} + +// IsEmpty returns true if the ListResult contains no values. +func (dcc DiagnosticCategoryCollection) IsEmpty() bool { + return dcc.Value == nil || len(*dcc.Value) == 0 +} + +// hasNextLink returns true if the NextLink is not empty. +func (dcc DiagnosticCategoryCollection) hasNextLink() bool { + return dcc.NextLink != nil && len(*dcc.NextLink) != 0 +} + +// diagnosticCategoryCollectionPreparer prepares a request to retrieve the next set of results. +// It returns nil if no more results exist. +func (dcc DiagnosticCategoryCollection) diagnosticCategoryCollectionPreparer(ctx context.Context) (*http.Request, error) { + if !dcc.hasNextLink() { + return nil, nil + } + return autorest.Prepare((&http.Request{}).WithContext(ctx), + autorest.AsJSON(), + autorest.AsGet(), + autorest.WithBaseURL(to.String(dcc.NextLink))) +} + +// DiagnosticCategoryCollectionPage contains a page of DiagnosticCategory values. +type DiagnosticCategoryCollectionPage struct { + fn func(context.Context, DiagnosticCategoryCollection) (DiagnosticCategoryCollection, error) + dcc DiagnosticCategoryCollection +} + +// NextWithContext advances to the next page of values. If there was an error making +// the request the page does not advance and the error is returned. +func (page *DiagnosticCategoryCollectionPage) NextWithContext(ctx context.Context) (err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/DiagnosticCategoryCollectionPage.NextWithContext") + defer func() { + sc := -1 + if page.Response().Response.Response != nil { + sc = page.Response().Response.Response.StatusCode + } + tracing.EndSpan(ctx, sc, err) + }() + } + for { + next, err := page.fn(ctx, page.dcc) + if err != nil { + return err + } + page.dcc = next + if !next.hasNextLink() || !next.IsEmpty() { + break + } + } + return nil +} + +// Next advances to the next page of values. If there was an error making +// the request the page does not advance and the error is returned. +// Deprecated: Use NextWithContext() instead. +func (page *DiagnosticCategoryCollectionPage) Next() error { + return page.NextWithContext(context.Background()) +} + +// NotDone returns true if the page enumeration should be started or is not yet complete. +func (page DiagnosticCategoryCollectionPage) NotDone() bool { + return !page.dcc.IsEmpty() +} + +// Response returns the raw server response from the last page request. +func (page DiagnosticCategoryCollectionPage) Response() DiagnosticCategoryCollection { + return page.dcc +} + +// Values returns the slice of values for the current page or nil if there are no values. +func (page DiagnosticCategoryCollectionPage) Values() []DiagnosticCategory { + if page.dcc.IsEmpty() { + return nil + } + return *page.dcc.Value +} + +// Creates a new instance of the DiagnosticCategoryCollectionPage type. +func NewDiagnosticCategoryCollectionPage(cur DiagnosticCategoryCollection, getNextPage func(context.Context, DiagnosticCategoryCollection) (DiagnosticCategoryCollection, error)) DiagnosticCategoryCollectionPage { + return DiagnosticCategoryCollectionPage{ + fn: getNextPage, + dcc: cur, + } +} + +// DiagnosticCategoryProperties diagnosticCategory resource specific properties +type DiagnosticCategoryProperties struct { + // Description - READ-ONLY; Description of the diagnostic category + Description *string `json:"description,omitempty"` +} + +// MarshalJSON is the custom marshaler for DiagnosticCategoryProperties. +func (dc DiagnosticCategoryProperties) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + return json.Marshal(objectMap) +} + +// DiagnosticData set of data with rendering instructions +type DiagnosticData struct { + // Table - Data in table form + Table *DataTableResponseObject `json:"table,omitempty"` + // RenderingProperties - Properties that describe how the table should be rendered + RenderingProperties *Rendering `json:"renderingProperties,omitempty"` +} + +// DiagnosticDetectorCollection collection of Diagnostic Detectors +type DiagnosticDetectorCollection struct { + autorest.Response `json:"-"` + // Value - Collection of resources. + Value *[]DetectorDefinition `json:"value,omitempty"` + // NextLink - READ-ONLY; Link to next page of resources. + NextLink *string `json:"nextLink,omitempty"` +} + +// MarshalJSON is the custom marshaler for DiagnosticDetectorCollection. +func (ddc DiagnosticDetectorCollection) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if ddc.Value != nil { + objectMap["value"] = ddc.Value + } + return json.Marshal(objectMap) +} + +// DiagnosticDetectorCollectionIterator provides access to a complete listing of DetectorDefinition values. +type DiagnosticDetectorCollectionIterator struct { + i int + page DiagnosticDetectorCollectionPage +} + +// NextWithContext advances to the next value. If there was an error making +// the request the iterator does not advance and the error is returned. +func (iter *DiagnosticDetectorCollectionIterator) NextWithContext(ctx context.Context) (err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/DiagnosticDetectorCollectionIterator.NextWithContext") + defer func() { + sc := -1 + if iter.Response().Response.Response != nil { + sc = iter.Response().Response.Response.StatusCode + } + tracing.EndSpan(ctx, sc, err) + }() + } + iter.i++ + if iter.i < len(iter.page.Values()) { + return nil + } + err = iter.page.NextWithContext(ctx) + if err != nil { + iter.i-- + return err + } + iter.i = 0 + return nil +} + +// Next advances to the next value. If there was an error making +// the request the iterator does not advance and the error is returned. +// Deprecated: Use NextWithContext() instead. +func (iter *DiagnosticDetectorCollectionIterator) Next() error { + return iter.NextWithContext(context.Background()) +} + +// NotDone returns true if the enumeration should be started or is not yet complete. +func (iter DiagnosticDetectorCollectionIterator) NotDone() bool { + return iter.page.NotDone() && iter.i < len(iter.page.Values()) +} + +// Response returns the raw server response from the last page request. +func (iter DiagnosticDetectorCollectionIterator) Response() DiagnosticDetectorCollection { + return iter.page.Response() +} + +// Value returns the current value or a zero-initialized value if the +// iterator has advanced beyond the end of the collection. +func (iter DiagnosticDetectorCollectionIterator) Value() DetectorDefinition { + if !iter.page.NotDone() { + return DetectorDefinition{} + } + return iter.page.Values()[iter.i] +} + +// Creates a new instance of the DiagnosticDetectorCollectionIterator type. +func NewDiagnosticDetectorCollectionIterator(page DiagnosticDetectorCollectionPage) DiagnosticDetectorCollectionIterator { + return DiagnosticDetectorCollectionIterator{page: page} } // IsEmpty returns true if the ListResult contains no values. -func (fasc FunctionAppStackCollection) IsEmpty() bool { - return fasc.Value == nil || len(*fasc.Value) == 0 +func (ddc DiagnosticDetectorCollection) IsEmpty() bool { + return ddc.Value == nil || len(*ddc.Value) == 0 } // hasNextLink returns true if the NextLink is not empty. -func (fasc FunctionAppStackCollection) hasNextLink() bool { - return fasc.NextLink != nil && len(*fasc.NextLink) != 0 +func (ddc DiagnosticDetectorCollection) hasNextLink() bool { + return ddc.NextLink != nil && len(*ddc.NextLink) != 0 } -// functionAppStackCollectionPreparer prepares a request to retrieve the next set of results. +// diagnosticDetectorCollectionPreparer prepares a request to retrieve the next set of results. // It returns nil if no more results exist. -func (fasc FunctionAppStackCollection) functionAppStackCollectionPreparer(ctx context.Context) (*http.Request, error) { - if !fasc.hasNextLink() { +func (ddc DiagnosticDetectorCollection) diagnosticDetectorCollectionPreparer(ctx context.Context) (*http.Request, error) { + if !ddc.hasNextLink() { return nil, nil } return autorest.Prepare((&http.Request{}).WithContext(ctx), autorest.AsJSON(), autorest.AsGet(), - autorest.WithBaseURL(to.String(fasc.NextLink))) + autorest.WithBaseURL(to.String(ddc.NextLink))) } -// FunctionAppStackCollectionPage contains a page of FunctionAppStack values. -type FunctionAppStackCollectionPage struct { - fn func(context.Context, FunctionAppStackCollection) (FunctionAppStackCollection, error) - fasc FunctionAppStackCollection +// DiagnosticDetectorCollectionPage contains a page of DetectorDefinition values. +type DiagnosticDetectorCollectionPage struct { + fn func(context.Context, DiagnosticDetectorCollection) (DiagnosticDetectorCollection, error) + ddc DiagnosticDetectorCollection } // NextWithContext advances to the next page of values. If there was an error making // the request the page does not advance and the error is returned. -func (page *FunctionAppStackCollectionPage) NextWithContext(ctx context.Context) (err error) { +func (page *DiagnosticDetectorCollectionPage) NextWithContext(ctx context.Context) (err error) { if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/FunctionAppStackCollectionPage.NextWithContext") + ctx = tracing.StartSpan(ctx, fqdn+"/DiagnosticDetectorCollectionPage.NextWithContext") defer func() { sc := -1 if page.Response().Response.Response != nil { @@ -13527,11 +10501,11 @@ func (page *FunctionAppStackCollectionPage) NextWithContext(ctx context.Context) }() } for { - next, err := page.fn(ctx, page.fasc) + next, err := page.fn(ctx, page.ddc) if err != nil { return err } - page.fasc = next + page.ddc = next if !next.hasNextLink() || !next.IsEmpty() { break } @@ -13542,59 +10516,41 @@ func (page *FunctionAppStackCollectionPage) NextWithContext(ctx context.Context) // Next advances to the next page of values. If there was an error making // the request the page does not advance and the error is returned. // Deprecated: Use NextWithContext() instead. -func (page *FunctionAppStackCollectionPage) Next() error { +func (page *DiagnosticDetectorCollectionPage) Next() error { return page.NextWithContext(context.Background()) } // NotDone returns true if the page enumeration should be started or is not yet complete. -func (page FunctionAppStackCollectionPage) NotDone() bool { - return !page.fasc.IsEmpty() +func (page DiagnosticDetectorCollectionPage) NotDone() bool { + return !page.ddc.IsEmpty() } // Response returns the raw server response from the last page request. -func (page FunctionAppStackCollectionPage) Response() FunctionAppStackCollection { - return page.fasc +func (page DiagnosticDetectorCollectionPage) Response() DiagnosticDetectorCollection { + return page.ddc } // Values returns the slice of values for the current page or nil if there are no values. -func (page FunctionAppStackCollectionPage) Values() []FunctionAppStack { - if page.fasc.IsEmpty() { +func (page DiagnosticDetectorCollectionPage) Values() []DetectorDefinition { + if page.ddc.IsEmpty() { return nil } - return *page.fasc.Value + return *page.ddc.Value } -// Creates a new instance of the FunctionAppStackCollectionPage type. -func NewFunctionAppStackCollectionPage(cur FunctionAppStackCollection, getNextPage func(context.Context, FunctionAppStackCollection) (FunctionAppStackCollection, error)) FunctionAppStackCollectionPage { - return FunctionAppStackCollectionPage{ - fn: getNextPage, - fasc: cur, +// Creates a new instance of the DiagnosticDetectorCollectionPage type. +func NewDiagnosticDetectorCollectionPage(cur DiagnosticDetectorCollection, getNextPage func(context.Context, DiagnosticDetectorCollection) (DiagnosticDetectorCollection, error)) DiagnosticDetectorCollectionPage { + return DiagnosticDetectorCollectionPage{ + fn: getNextPage, + ddc: cur, } } -// FunctionAppStackProperties functionAppStack resource specific properties -type FunctionAppStackProperties struct { - // DisplayText - READ-ONLY; Function App stack (display only). - DisplayText *string `json:"displayText,omitempty"` - // Value - READ-ONLY; Function App stack name. - Value *string `json:"value,omitempty"` - // MajorVersions - READ-ONLY; List of major versions available. - MajorVersions *[]FunctionAppMajorVersion `json:"majorVersions,omitempty"` - // PreferredOs - READ-ONLY; Function App stack preferred OS. Possible values include: 'Windows', 'Linux' - PreferredOs StackPreferredOs `json:"preferredOs,omitempty"` -} - -// MarshalJSON is the custom marshaler for FunctionAppStackProperties. -func (fas FunctionAppStackProperties) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - return json.Marshal(objectMap) -} - -// FunctionEnvelope function information. -type FunctionEnvelope struct { +// DiagnosticDetectorResponse class representing Response from Diagnostic Detectors +type DiagnosticDetectorResponse struct { autorest.Response `json:"-"` - // FunctionEnvelopeProperties - FunctionEnvelope resource specific properties - *FunctionEnvelopeProperties `json:"properties,omitempty"` + // DiagnosticDetectorResponseProperties - DiagnosticDetectorResponse resource specific properties + *DiagnosticDetectorResponseProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. @@ -13605,20 +10561,20 @@ type FunctionEnvelope struct { Type *string `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for FunctionEnvelope. -func (fe FunctionEnvelope) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for DiagnosticDetectorResponse. +func (ddr DiagnosticDetectorResponse) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if fe.FunctionEnvelopeProperties != nil { - objectMap["properties"] = fe.FunctionEnvelopeProperties + if ddr.DiagnosticDetectorResponseProperties != nil { + objectMap["properties"] = ddr.DiagnosticDetectorResponseProperties } - if fe.Kind != nil { - objectMap["kind"] = fe.Kind + if ddr.Kind != nil { + objectMap["kind"] = ddr.Kind } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for FunctionEnvelope struct. -func (fe *FunctionEnvelope) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for DiagnosticDetectorResponse struct. +func (ddr *DiagnosticDetectorResponse) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -13628,12 +10584,12 @@ func (fe *FunctionEnvelope) UnmarshalJSON(body []byte) error { switch k { case "properties": if v != nil { - var functionEnvelopeProperties FunctionEnvelopeProperties - err = json.Unmarshal(*v, &functionEnvelopeProperties) + var diagnosticDetectorResponseProperties DiagnosticDetectorResponseProperties + err = json.Unmarshal(*v, &diagnosticDetectorResponseProperties) if err != nil { return err } - fe.FunctionEnvelopeProperties = &functionEnvelopeProperties + ddr.DiagnosticDetectorResponseProperties = &diagnosticDetectorResponseProperties } case "id": if v != nil { @@ -13642,7 +10598,7 @@ func (fe *FunctionEnvelope) UnmarshalJSON(body []byte) error { if err != nil { return err } - fe.ID = &ID + ddr.ID = &ID } case "name": if v != nil { @@ -13651,7 +10607,7 @@ func (fe *FunctionEnvelope) UnmarshalJSON(body []byte) error { if err != nil { return err } - fe.Name = &name + ddr.Name = &name } case "kind": if v != nil { @@ -13660,303 +10616,126 @@ func (fe *FunctionEnvelope) UnmarshalJSON(body []byte) error { if err != nil { return err } - fe.Kind = &kind + ddr.Kind = &kind } case "type": if v != nil { var typeVar string err = json.Unmarshal(*v, &typeVar) if err != nil { - return err - } - fe.Type = &typeVar - } - } - } - - return nil -} - -// FunctionEnvelopeCollection collection of Kudu function information elements. -type FunctionEnvelopeCollection struct { - autorest.Response `json:"-"` - // Value - Collection of resources. - Value *[]FunctionEnvelope `json:"value,omitempty"` - // NextLink - READ-ONLY; Link to next page of resources. - NextLink *string `json:"nextLink,omitempty"` -} - -// MarshalJSON is the custom marshaler for FunctionEnvelopeCollection. -func (fec FunctionEnvelopeCollection) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if fec.Value != nil { - objectMap["value"] = fec.Value - } - return json.Marshal(objectMap) -} - -// FunctionEnvelopeCollectionIterator provides access to a complete listing of FunctionEnvelope values. -type FunctionEnvelopeCollectionIterator struct { - i int - page FunctionEnvelopeCollectionPage -} - -// NextWithContext advances to the next value. If there was an error making -// the request the iterator does not advance and the error is returned. -func (iter *FunctionEnvelopeCollectionIterator) NextWithContext(ctx context.Context) (err error) { - if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/FunctionEnvelopeCollectionIterator.NextWithContext") - defer func() { - sc := -1 - if iter.Response().Response.Response != nil { - sc = iter.Response().Response.Response.StatusCode - } - tracing.EndSpan(ctx, sc, err) - }() - } - iter.i++ - if iter.i < len(iter.page.Values()) { - return nil - } - err = iter.page.NextWithContext(ctx) - if err != nil { - iter.i-- - return err - } - iter.i = 0 - return nil -} - -// Next advances to the next value. If there was an error making -// the request the iterator does not advance and the error is returned. -// Deprecated: Use NextWithContext() instead. -func (iter *FunctionEnvelopeCollectionIterator) Next() error { - return iter.NextWithContext(context.Background()) -} - -// NotDone returns true if the enumeration should be started or is not yet complete. -func (iter FunctionEnvelopeCollectionIterator) NotDone() bool { - return iter.page.NotDone() && iter.i < len(iter.page.Values()) -} - -// Response returns the raw server response from the last page request. -func (iter FunctionEnvelopeCollectionIterator) Response() FunctionEnvelopeCollection { - return iter.page.Response() -} - -// Value returns the current value or a zero-initialized value if the -// iterator has advanced beyond the end of the collection. -func (iter FunctionEnvelopeCollectionIterator) Value() FunctionEnvelope { - if !iter.page.NotDone() { - return FunctionEnvelope{} - } - return iter.page.Values()[iter.i] -} - -// Creates a new instance of the FunctionEnvelopeCollectionIterator type. -func NewFunctionEnvelopeCollectionIterator(page FunctionEnvelopeCollectionPage) FunctionEnvelopeCollectionIterator { - return FunctionEnvelopeCollectionIterator{page: page} -} - -// IsEmpty returns true if the ListResult contains no values. -func (fec FunctionEnvelopeCollection) IsEmpty() bool { - return fec.Value == nil || len(*fec.Value) == 0 -} - -// hasNextLink returns true if the NextLink is not empty. -func (fec FunctionEnvelopeCollection) hasNextLink() bool { - return fec.NextLink != nil && len(*fec.NextLink) != 0 -} - -// functionEnvelopeCollectionPreparer prepares a request to retrieve the next set of results. -// It returns nil if no more results exist. -func (fec FunctionEnvelopeCollection) functionEnvelopeCollectionPreparer(ctx context.Context) (*http.Request, error) { - if !fec.hasNextLink() { - return nil, nil - } - return autorest.Prepare((&http.Request{}).WithContext(ctx), - autorest.AsJSON(), - autorest.AsGet(), - autorest.WithBaseURL(to.String(fec.NextLink))) -} - -// FunctionEnvelopeCollectionPage contains a page of FunctionEnvelope values. -type FunctionEnvelopeCollectionPage struct { - fn func(context.Context, FunctionEnvelopeCollection) (FunctionEnvelopeCollection, error) - fec FunctionEnvelopeCollection -} - -// NextWithContext advances to the next page of values. If there was an error making -// the request the page does not advance and the error is returned. -func (page *FunctionEnvelopeCollectionPage) NextWithContext(ctx context.Context) (err error) { - if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/FunctionEnvelopeCollectionPage.NextWithContext") - defer func() { - sc := -1 - if page.Response().Response.Response != nil { - sc = page.Response().Response.Response.StatusCode - } - tracing.EndSpan(ctx, sc, err) - }() - } - for { - next, err := page.fn(ctx, page.fec) - if err != nil { - return err - } - page.fec = next - if !next.hasNextLink() || !next.IsEmpty() { - break + return err + } + ddr.Type = &typeVar + } } } - return nil -} - -// Next advances to the next page of values. If there was an error making -// the request the page does not advance and the error is returned. -// Deprecated: Use NextWithContext() instead. -func (page *FunctionEnvelopeCollectionPage) Next() error { - return page.NextWithContext(context.Background()) -} - -// NotDone returns true if the page enumeration should be started or is not yet complete. -func (page FunctionEnvelopeCollectionPage) NotDone() bool { - return !page.fec.IsEmpty() -} -// Response returns the raw server response from the last page request. -func (page FunctionEnvelopeCollectionPage) Response() FunctionEnvelopeCollection { - return page.fec + return nil } -// Values returns the slice of values for the current page or nil if there are no values. -func (page FunctionEnvelopeCollectionPage) Values() []FunctionEnvelope { - if page.fec.IsEmpty() { - return nil - } - return *page.fec.Value +// DiagnosticDetectorResponseProperties diagnosticDetectorResponse resource specific properties +type DiagnosticDetectorResponseProperties struct { + // StartTime - Start time of the period + StartTime *date.Time `json:"startTime,omitempty"` + // EndTime - End time of the period + EndTime *date.Time `json:"endTime,omitempty"` + // IssueDetected - Flag representing Issue was detected. + IssueDetected *bool `json:"issueDetected,omitempty"` + // DetectorDefinition - Detector's definition + DetectorDefinition *DetectorDefinition `json:"detectorDefinition,omitempty"` + // Metrics - Metrics provided by the detector + Metrics *[]DiagnosticMetricSet `json:"metrics,omitempty"` + // AbnormalTimePeriods - List of Correlated events found by the detector + AbnormalTimePeriods *[]DetectorAbnormalTimePeriod `json:"abnormalTimePeriods,omitempty"` + // Data - Additional Data that detector wants to send. + Data *[][]NameValuePair `json:"data,omitempty"` + // ResponseMetaData - Meta Data + ResponseMetaData *ResponseMetaData `json:"responseMetaData,omitempty"` } -// Creates a new instance of the FunctionEnvelopeCollectionPage type. -func NewFunctionEnvelopeCollectionPage(cur FunctionEnvelopeCollection, getNextPage func(context.Context, FunctionEnvelopeCollection) (FunctionEnvelopeCollection, error)) FunctionEnvelopeCollectionPage { - return FunctionEnvelopeCollectionPage{ - fn: getNextPage, - fec: cur, - } +// DiagnosticMetricSample class representing Diagnostic Metric +type DiagnosticMetricSample struct { + // Timestamp - Time at which metric is measured + Timestamp *date.Time `json:"timestamp,omitempty"` + // RoleInstance - Role Instance. Null if this counter is not per instance + // This is returned and should be whichever instance name we desire to be returned + // i.e. CPU and Memory return RDWORKERNAME (LargeDed..._IN_0) + // where RDWORKERNAME is Machine name below and RoleInstance name in parenthesis + RoleInstance *string `json:"roleInstance,omitempty"` + // Total - Total value of the metric. If multiple measurements are made this will have sum of all. + Total *float64 `json:"total,omitempty"` + // Maximum - Maximum of the metric sampled during the time period + Maximum *float64 `json:"maximum,omitempty"` + // Minimum - Minimum of the metric sampled during the time period + Minimum *float64 `json:"minimum,omitempty"` + // IsAggregated - Whether the values are aggregates across all workers or not + IsAggregated *bool `json:"isAggregated,omitempty"` } -// FunctionEnvelopeProperties functionEnvelope resource specific properties -type FunctionEnvelopeProperties struct { - // FunctionAppID - Function App ID. - FunctionAppID *string `json:"function_app_id,omitempty"` - // ScriptRootPathHref - Script root path URI. - ScriptRootPathHref *string `json:"script_root_path_href,omitempty"` - // ScriptHref - Script URI. - ScriptHref *string `json:"script_href,omitempty"` - // ConfigHref - Config URI. - ConfigHref *string `json:"config_href,omitempty"` - // TestDataHref - Test data URI. - TestDataHref *string `json:"test_data_href,omitempty"` - // SecretsFileHref - Secrets file URI. - SecretsFileHref *string `json:"secrets_file_href,omitempty"` - // Href - Function URI. - Href *string `json:"href,omitempty"` - // Config - Config information. - Config interface{} `json:"config,omitempty"` - // Files - File list. - Files map[string]*string `json:"files"` - // TestData - Test data used when testing via the Azure Portal. - TestData *string `json:"test_data,omitempty"` - // InvokeURLTemplate - The invocation URL - InvokeURLTemplate *string `json:"invoke_url_template,omitempty"` - // Language - The function language - Language *string `json:"language,omitempty"` - // IsDisabled - Gets or sets a value indicating whether the function is disabled - IsDisabled *bool `json:"isDisabled,omitempty"` +// DiagnosticMetricSet class representing Diagnostic Metric information +type DiagnosticMetricSet struct { + // Name - Name of the metric + Name *string `json:"name,omitempty"` + // Unit - Metric's unit + Unit *string `json:"unit,omitempty"` + // StartTime - Start time of the period + StartTime *date.Time `json:"startTime,omitempty"` + // EndTime - End time of the period + EndTime *date.Time `json:"endTime,omitempty"` + // TimeGrain - Presented time grain. Supported grains at the moment are PT1M, PT1H, P1D + TimeGrain *string `json:"timeGrain,omitempty"` + // Values - Collection of metric values for the selected period based on the {Microsoft.Web.Hosting.Administration.DiagnosticMetricSet.TimeGrain} + Values *[]DiagnosticMetricSample `json:"values,omitempty"` } -// MarshalJSON is the custom marshaler for FunctionEnvelopeProperties. -func (fe FunctionEnvelopeProperties) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if fe.FunctionAppID != nil { - objectMap["function_app_id"] = fe.FunctionAppID - } - if fe.ScriptRootPathHref != nil { - objectMap["script_root_path_href"] = fe.ScriptRootPathHref - } - if fe.ScriptHref != nil { - objectMap["script_href"] = fe.ScriptHref - } - if fe.ConfigHref != nil { - objectMap["config_href"] = fe.ConfigHref - } - if fe.TestDataHref != nil { - objectMap["test_data_href"] = fe.TestDataHref - } - if fe.SecretsFileHref != nil { - objectMap["secrets_file_href"] = fe.SecretsFileHref - } - if fe.Href != nil { - objectMap["href"] = fe.Href - } - if fe.Config != nil { - objectMap["config"] = fe.Config - } - if fe.Files != nil { - objectMap["files"] = fe.Files - } - if fe.TestData != nil { - objectMap["test_data"] = fe.TestData - } - if fe.InvokeURLTemplate != nil { - objectMap["invoke_url_template"] = fe.InvokeURLTemplate - } - if fe.Language != nil { - objectMap["language"] = fe.Language - } - if fe.IsDisabled != nil { - objectMap["isDisabled"] = fe.IsDisabled - } - return json.Marshal(objectMap) +// Dimension dimension of a resource metric. For e.g. instance specific HTTP requests for a web app, +// where instance name is dimension of the metric HTTP request +type Dimension struct { + Name *string `json:"name,omitempty"` + DisplayName *string `json:"displayName,omitempty"` + InternalName *string `json:"internalName,omitempty"` + ToBeExportedForShoebox *bool `json:"toBeExportedForShoebox,omitempty"` } -// FunctionSecrets function secrets. -type FunctionSecrets struct { +// Domain information about a domain. +type Domain struct { autorest.Response `json:"-"` - // Key - Secret key. - Key *string `json:"key,omitempty"` - // TriggerURL - Trigger URL. - TriggerURL *string `json:"trigger_url,omitempty"` -} - -// GeoRegion geographical region. -type GeoRegion struct { - // GeoRegionProperties - GeoRegion resource specific properties - *GeoRegionProperties `json:"properties,omitempty"` + // DomainProperties - Domain resource specific properties + *DomainProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` + // Location - Resource Location. + Location *string `json:"location,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` + // Tags - Resource tags. + Tags map[string]*string `json:"tags"` } -// MarshalJSON is the custom marshaler for GeoRegion. -func (gr GeoRegion) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for Domain. +func (d Domain) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if gr.GeoRegionProperties != nil { - objectMap["properties"] = gr.GeoRegionProperties + if d.DomainProperties != nil { + objectMap["properties"] = d.DomainProperties } - if gr.Kind != nil { - objectMap["kind"] = gr.Kind + if d.Kind != nil { + objectMap["kind"] = d.Kind + } + if d.Location != nil { + objectMap["location"] = d.Location + } + if d.Tags != nil { + objectMap["tags"] = d.Tags } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for GeoRegion struct. -func (gr *GeoRegion) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for Domain struct. +func (d *Domain) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -13966,12 +10745,12 @@ func (gr *GeoRegion) UnmarshalJSON(body []byte) error { switch k { case "properties": if v != nil { - var geoRegionProperties GeoRegionProperties - err = json.Unmarshal(*v, &geoRegionProperties) + var domainProperties DomainProperties + err = json.Unmarshal(*v, &domainProperties) if err != nil { return err } - gr.GeoRegionProperties = &geoRegionProperties + d.DomainProperties = &domainProperties } case "id": if v != nil { @@ -13980,7 +10759,7 @@ func (gr *GeoRegion) UnmarshalJSON(body []byte) error { if err != nil { return err } - gr.ID = &ID + d.ID = &ID } case "name": if v != nil { @@ -13989,7 +10768,7 @@ func (gr *GeoRegion) UnmarshalJSON(body []byte) error { if err != nil { return err } - gr.Name = &name + d.Name = &name } case "kind": if v != nil { @@ -13998,7 +10777,16 @@ func (gr *GeoRegion) UnmarshalJSON(body []byte) error { if err != nil { return err } - gr.Kind = &kind + d.Kind = &kind + } + case "location": + if v != nil { + var location string + err = json.Unmarshal(*v, &location) + if err != nil { + return err + } + d.Location = &location } case "type": if v != nil { @@ -14007,7 +10795,16 @@ func (gr *GeoRegion) UnmarshalJSON(body []byte) error { if err != nil { return err } - gr.Type = &typeVar + d.Type = &typeVar + } + case "tags": + if v != nil { + var tags map[string]*string + err = json.Unmarshal(*v, &tags) + if err != nil { + return err + } + d.Tags = tags } } } @@ -14015,35 +10812,46 @@ func (gr *GeoRegion) UnmarshalJSON(body []byte) error { return nil } -// GeoRegionCollection collection of geographical regions. -type GeoRegionCollection struct { +// DomainAvailabilityCheckResult domain availability check result. +type DomainAvailabilityCheckResult struct { + autorest.Response `json:"-"` + // Name - Name of the domain. + Name *string `json:"name,omitempty"` + // Available - true if domain can be purchased using CreateDomain API; otherwise, false. + Available *bool `json:"available,omitempty"` + // DomainType - Valid values are Regular domain: Azure will charge the full price of domain registration, SoftDeleted: Purchasing this domain will simply restore it and this operation will not cost anything. Possible values include: 'Regular', 'SoftDeleted' + DomainType DomainType `json:"domainType,omitempty"` +} + +// DomainCollection collection of domains. +type DomainCollection struct { autorest.Response `json:"-"` // Value - Collection of resources. - Value *[]GeoRegion `json:"value,omitempty"` + Value *[]Domain `json:"value,omitempty"` // NextLink - READ-ONLY; Link to next page of resources. NextLink *string `json:"nextLink,omitempty"` } -// MarshalJSON is the custom marshaler for GeoRegionCollection. -func (grc GeoRegionCollection) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for DomainCollection. +func (dc DomainCollection) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if grc.Value != nil { - objectMap["value"] = grc.Value + if dc.Value != nil { + objectMap["value"] = dc.Value } return json.Marshal(objectMap) } -// GeoRegionCollectionIterator provides access to a complete listing of GeoRegion values. -type GeoRegionCollectionIterator struct { +// DomainCollectionIterator provides access to a complete listing of Domain values. +type DomainCollectionIterator struct { i int - page GeoRegionCollectionPage + page DomainCollectionPage } // NextWithContext advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. -func (iter *GeoRegionCollectionIterator) NextWithContext(ctx context.Context) (err error) { +func (iter *DomainCollectionIterator) NextWithContext(ctx context.Context) (err error) { if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/GeoRegionCollectionIterator.NextWithContext") + ctx = tracing.StartSpan(ctx, fqdn+"/DomainCollectionIterator.NextWithContext") defer func() { sc := -1 if iter.Response().Response.Response != nil { @@ -14068,67 +10876,67 @@ func (iter *GeoRegionCollectionIterator) NextWithContext(ctx context.Context) (e // Next advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. // Deprecated: Use NextWithContext() instead. -func (iter *GeoRegionCollectionIterator) Next() error { +func (iter *DomainCollectionIterator) Next() error { return iter.NextWithContext(context.Background()) } // NotDone returns true if the enumeration should be started or is not yet complete. -func (iter GeoRegionCollectionIterator) NotDone() bool { +func (iter DomainCollectionIterator) NotDone() bool { return iter.page.NotDone() && iter.i < len(iter.page.Values()) } // Response returns the raw server response from the last page request. -func (iter GeoRegionCollectionIterator) Response() GeoRegionCollection { +func (iter DomainCollectionIterator) Response() DomainCollection { return iter.page.Response() } // Value returns the current value or a zero-initialized value if the // iterator has advanced beyond the end of the collection. -func (iter GeoRegionCollectionIterator) Value() GeoRegion { +func (iter DomainCollectionIterator) Value() Domain { if !iter.page.NotDone() { - return GeoRegion{} + return Domain{} } return iter.page.Values()[iter.i] } -// Creates a new instance of the GeoRegionCollectionIterator type. -func NewGeoRegionCollectionIterator(page GeoRegionCollectionPage) GeoRegionCollectionIterator { - return GeoRegionCollectionIterator{page: page} +// Creates a new instance of the DomainCollectionIterator type. +func NewDomainCollectionIterator(page DomainCollectionPage) DomainCollectionIterator { + return DomainCollectionIterator{page: page} } // IsEmpty returns true if the ListResult contains no values. -func (grc GeoRegionCollection) IsEmpty() bool { - return grc.Value == nil || len(*grc.Value) == 0 +func (dc DomainCollection) IsEmpty() bool { + return dc.Value == nil || len(*dc.Value) == 0 } // hasNextLink returns true if the NextLink is not empty. -func (grc GeoRegionCollection) hasNextLink() bool { - return grc.NextLink != nil && len(*grc.NextLink) != 0 +func (dc DomainCollection) hasNextLink() bool { + return dc.NextLink != nil && len(*dc.NextLink) != 0 } -// geoRegionCollectionPreparer prepares a request to retrieve the next set of results. +// domainCollectionPreparer prepares a request to retrieve the next set of results. // It returns nil if no more results exist. -func (grc GeoRegionCollection) geoRegionCollectionPreparer(ctx context.Context) (*http.Request, error) { - if !grc.hasNextLink() { +func (dc DomainCollection) domainCollectionPreparer(ctx context.Context) (*http.Request, error) { + if !dc.hasNextLink() { return nil, nil } return autorest.Prepare((&http.Request{}).WithContext(ctx), autorest.AsJSON(), autorest.AsGet(), - autorest.WithBaseURL(to.String(grc.NextLink))) + autorest.WithBaseURL(to.String(dc.NextLink))) } -// GeoRegionCollectionPage contains a page of GeoRegion values. -type GeoRegionCollectionPage struct { - fn func(context.Context, GeoRegionCollection) (GeoRegionCollection, error) - grc GeoRegionCollection +// DomainCollectionPage contains a page of Domain values. +type DomainCollectionPage struct { + fn func(context.Context, DomainCollection) (DomainCollection, error) + dc DomainCollection } // NextWithContext advances to the next page of values. If there was an error making // the request the page does not advance and the error is returned. -func (page *GeoRegionCollectionPage) NextWithContext(ctx context.Context) (err error) { +func (page *DomainCollectionPage) NextWithContext(ctx context.Context) (err error) { if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/GeoRegionCollectionPage.NextWithContext") + ctx = tracing.StartSpan(ctx, fqdn+"/DomainCollectionPage.NextWithContext") defer func() { sc := -1 if page.Response().Response.Response != nil { @@ -14138,11 +10946,11 @@ func (page *GeoRegionCollectionPage) NextWithContext(ctx context.Context) (err e }() } for { - next, err := page.fn(ctx, page.grc) + next, err := page.fn(ctx, page.dc) if err != nil { return err } - page.grc = next + page.dc = next if !next.hasNextLink() || !next.IsEmpty() { break } @@ -14153,217 +10961,58 @@ func (page *GeoRegionCollectionPage) NextWithContext(ctx context.Context) (err e // Next advances to the next page of values. If there was an error making // the request the page does not advance and the error is returned. // Deprecated: Use NextWithContext() instead. -func (page *GeoRegionCollectionPage) Next() error { +func (page *DomainCollectionPage) Next() error { return page.NextWithContext(context.Background()) } // NotDone returns true if the page enumeration should be started or is not yet complete. -func (page GeoRegionCollectionPage) NotDone() bool { - return !page.grc.IsEmpty() +func (page DomainCollectionPage) NotDone() bool { + return !page.dc.IsEmpty() } // Response returns the raw server response from the last page request. -func (page GeoRegionCollectionPage) Response() GeoRegionCollection { - return page.grc +func (page DomainCollectionPage) Response() DomainCollection { + return page.dc } // Values returns the slice of values for the current page or nil if there are no values. -func (page GeoRegionCollectionPage) Values() []GeoRegion { - if page.grc.IsEmpty() { +func (page DomainCollectionPage) Values() []Domain { + if page.dc.IsEmpty() { return nil } - return *page.grc.Value -} - -// Creates a new instance of the GeoRegionCollectionPage type. -func NewGeoRegionCollectionPage(cur GeoRegionCollection, getNextPage func(context.Context, GeoRegionCollection) (GeoRegionCollection, error)) GeoRegionCollectionPage { - return GeoRegionCollectionPage{ - fn: getNextPage, - grc: cur, - } -} - -// GeoRegionProperties geoRegion resource specific properties -type GeoRegionProperties struct { - // Description - READ-ONLY; Region description. - Description *string `json:"description,omitempty"` - // DisplayName - READ-ONLY; Display name for region. - DisplayName *string `json:"displayName,omitempty"` - // OrgDomain - READ-ONLY; Display name for region. - OrgDomain *string `json:"orgDomain,omitempty"` -} - -// MarshalJSON is the custom marshaler for GeoRegionProperties. -func (gr GeoRegionProperties) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - return json.Marshal(objectMap) -} - -// GitHub the configuration settings of the GitHub provider. -type GitHub struct { - // GitHubProperties - GitHub resource specific properties - *GitHubProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for GitHub. -func (gh GitHub) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if gh.GitHubProperties != nil { - objectMap["properties"] = gh.GitHubProperties - } - if gh.Kind != nil { - objectMap["kind"] = gh.Kind - } - return json.Marshal(objectMap) + return *page.dc.Value } -// UnmarshalJSON is the custom unmarshaler for GitHub struct. -func (gh *GitHub) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var gitHubProperties GitHubProperties - err = json.Unmarshal(*v, &gitHubProperties) - if err != nil { - return err - } - gh.GitHubProperties = &gitHubProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - gh.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - gh.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - gh.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - gh.Type = &typeVar - } - } +// Creates a new instance of the DomainCollectionPage type. +func NewDomainCollectionPage(cur DomainCollection, getNextPage func(context.Context, DomainCollection) (DomainCollection, error)) DomainCollectionPage { + return DomainCollectionPage{ + fn: getNextPage, + dc: cur, } - - return nil -} - -// GitHubActionCodeConfiguration the GitHub action code configuration. -type GitHubActionCodeConfiguration struct { - // RuntimeStack - Runtime stack is used to determine the workflow file content for code base apps. - RuntimeStack *string `json:"runtimeStack,omitempty"` - // RuntimeVersion - Runtime version is used to determine what build version to set in the workflow file. - RuntimeVersion *string `json:"runtimeVersion,omitempty"` -} - -// GitHubActionConfiguration the GitHub action configuration. -type GitHubActionConfiguration struct { - // CodeConfiguration - GitHub Action code configuration. - CodeConfiguration *GitHubActionCodeConfiguration `json:"codeConfiguration,omitempty"` - // ContainerConfiguration - GitHub Action container configuration. - ContainerConfiguration *GitHubActionContainerConfiguration `json:"containerConfiguration,omitempty"` - // IsLinux - This will help determine the workflow configuration to select. - IsLinux *bool `json:"isLinux,omitempty"` - // GenerateWorkflowFile - Workflow option to determine whether the workflow file should be generated and written to the repository. - GenerateWorkflowFile *bool `json:"generateWorkflowFile,omitempty"` -} - -// GitHubActionContainerConfiguration the GitHub action container configuration. -type GitHubActionContainerConfiguration struct { - // ServerURL - The server URL for the container registry where the build will be hosted. - ServerURL *string `json:"serverUrl,omitempty"` - // ImageName - The image name for the build. - ImageName *string `json:"imageName,omitempty"` - // Username - The username used to upload the image to the container registry. - Username *string `json:"username,omitempty"` - // Password - The password used to upload the image to the container registry. - Password *string `json:"password,omitempty"` } -// GitHubActionWebAppStackSettings gitHub Actions Web App stack settings. -type GitHubActionWebAppStackSettings struct { - // IsSupported - READ-ONLY; true if GitHub Actions is supported for the stack; otherwise, false. - IsSupported *bool `json:"isSupported,omitempty"` - // SupportedVersion - READ-ONLY; The minor version that is supported for GitHub Actions. - SupportedVersion *string `json:"supportedVersion,omitempty"` +// DomainControlCenterSsoRequest single sign-on request information for domain management. +type DomainControlCenterSsoRequest struct { + autorest.Response `json:"-"` + // URL - READ-ONLY; URL where the single sign-on request is to be made. + URL *string `json:"url,omitempty"` + // PostParameterKey - READ-ONLY; Post parameter key. + PostParameterKey *string `json:"postParameterKey,omitempty"` + // PostParameterValue - READ-ONLY; Post parameter value. Client should use 'application/x-www-form-urlencoded' encoding for this value. + PostParameterValue *string `json:"postParameterValue,omitempty"` } -// MarshalJSON is the custom marshaler for GitHubActionWebAppStackSettings. -func (ghawass GitHubActionWebAppStackSettings) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for DomainControlCenterSsoRequest. +func (dccsr DomainControlCenterSsoRequest) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) return json.Marshal(objectMap) } -// GitHubProperties gitHub resource specific properties -type GitHubProperties struct { - // Enabled - false if the GitHub provider should not be enabled despite the set registration; otherwise, true. - Enabled *bool `json:"enabled,omitempty"` - // Registration - The configuration settings of the app registration for the GitHub provider. - Registration *ClientRegistration `json:"registration,omitempty"` - // Login - The configuration settings of the login flow. - Login *LoginScopes `json:"login,omitempty"` -} - -// GlobalCsmSkuDescription a Global SKU Description. -type GlobalCsmSkuDescription struct { - // Name - Name of the resource SKU. - Name *string `json:"name,omitempty"` - // Tier - Service Tier of the resource SKU. - Tier *string `json:"tier,omitempty"` - // Size - Size specifier of the resource SKU. - Size *string `json:"size,omitempty"` - // Family - Family code of the resource SKU. - Family *string `json:"family,omitempty"` - // Capacity - Min, max, and default scale values of the SKU. - Capacity *SkuCapacity `json:"capacity,omitempty"` - // Locations - Locations of the SKU. - Locations *[]string `json:"locations,omitempty"` - // Capabilities - Capabilities of the SKU, e.g., is traffic manager enabled? - Capabilities *[]Capability `json:"capabilities,omitempty"` -} - -// GlobalValidation the configuration settings that determines the validation flow of users using App -// Service Authentication/Authorization. -type GlobalValidation struct { - // GlobalValidationProperties - GlobalValidation resource specific properties - *GlobalValidationProperties `json:"properties,omitempty"` +// DomainOwnershipIdentifier domain ownership Identifier. +type DomainOwnershipIdentifier struct { + autorest.Response `json:"-"` + // DomainOwnershipIdentifierProperties - DomainOwnershipIdentifier resource specific properties + *DomainOwnershipIdentifierProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. @@ -14374,20 +11023,20 @@ type GlobalValidation struct { Type *string `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for GlobalValidation. -func (gv GlobalValidation) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for DomainOwnershipIdentifier. +func (doi DomainOwnershipIdentifier) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if gv.GlobalValidationProperties != nil { - objectMap["properties"] = gv.GlobalValidationProperties + if doi.DomainOwnershipIdentifierProperties != nil { + objectMap["properties"] = doi.DomainOwnershipIdentifierProperties } - if gv.Kind != nil { - objectMap["kind"] = gv.Kind + if doi.Kind != nil { + objectMap["kind"] = doi.Kind } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for GlobalValidation struct. -func (gv *GlobalValidation) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for DomainOwnershipIdentifier struct. +func (doi *DomainOwnershipIdentifier) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -14397,12 +11046,12 @@ func (gv *GlobalValidation) UnmarshalJSON(body []byte) error { switch k { case "properties": if v != nil { - var globalValidationProperties GlobalValidationProperties - err = json.Unmarshal(*v, &globalValidationProperties) + var domainOwnershipIdentifierProperties DomainOwnershipIdentifierProperties + err = json.Unmarshal(*v, &domainOwnershipIdentifierProperties) if err != nil { return err } - gv.GlobalValidationProperties = &globalValidationProperties + doi.DomainOwnershipIdentifierProperties = &domainOwnershipIdentifierProperties } case "id": if v != nil { @@ -14411,7 +11060,7 @@ func (gv *GlobalValidation) UnmarshalJSON(body []byte) error { if err != nil { return err } - gv.ID = &ID + doi.ID = &ID } case "name": if v != nil { @@ -14420,7 +11069,7 @@ func (gv *GlobalValidation) UnmarshalJSON(body []byte) error { if err != nil { return err } - gv.Name = &name + doi.Name = &name } case "kind": if v != nil { @@ -14429,7 +11078,7 @@ func (gv *GlobalValidation) UnmarshalJSON(body []byte) error { if err != nil { return err } - gv.Kind = &kind + doi.Kind = &kind } case "type": if v != nil { @@ -14438,7 +11087,7 @@ func (gv *GlobalValidation) UnmarshalJSON(body []byte) error { if err != nil { return err } - gv.Type = &typeVar + doi.Type = &typeVar } } } @@ -14446,214 +11095,185 @@ func (gv *GlobalValidation) UnmarshalJSON(body []byte) error { return nil } -// GlobalValidationProperties globalValidation resource specific properties -type GlobalValidationProperties struct { - // RequireAuthentication - true if the authentication flow is required any request is made; otherwise, false. - RequireAuthentication *bool `json:"requireAuthentication,omitempty"` - // UnauthenticatedClientAction - The action to take when an unauthenticated client attempts to access the app. Possible values include: 'UnauthenticatedClientActionV2RedirectToLoginPage', 'UnauthenticatedClientActionV2AllowAnonymous', 'UnauthenticatedClientActionV2Return401', 'UnauthenticatedClientActionV2Return403' - UnauthenticatedClientAction UnauthenticatedClientActionV2 `json:"unauthenticatedClientAction,omitempty"` - // RedirectToProvider - The default authentication provider to use when multiple providers are configured. - // This setting is only needed if multiple providers are configured and the unauthenticated client - // action is set to "RedirectToLoginPage". - RedirectToProvider *string `json:"redirectToProvider,omitempty"` - // ExcludedPaths - The paths for which unauthenticated flow would not be redirected to the login page. - ExcludedPaths *[]string `json:"excludedPaths,omitempty"` -} - -// Google the configuration settings of the Google provider. -type Google struct { - // GoogleProperties - Google resource specific properties - *GoogleProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` +// DomainOwnershipIdentifierCollection collection of domain ownership identifiers. +type DomainOwnershipIdentifierCollection struct { + autorest.Response `json:"-"` + // Value - Collection of resources. + Value *[]DomainOwnershipIdentifier `json:"value,omitempty"` + // NextLink - READ-ONLY; Link to next page of resources. + NextLink *string `json:"nextLink,omitempty"` } -// MarshalJSON is the custom marshaler for Google. -func (g Google) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for DomainOwnershipIdentifierCollection. +func (doic DomainOwnershipIdentifierCollection) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if g.GoogleProperties != nil { - objectMap["properties"] = g.GoogleProperties - } - if g.Kind != nil { - objectMap["kind"] = g.Kind + if doic.Value != nil { + objectMap["value"] = doic.Value } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for Google struct. -func (g *Google) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) +// DomainOwnershipIdentifierCollectionIterator provides access to a complete listing of +// DomainOwnershipIdentifier values. +type DomainOwnershipIdentifierCollectionIterator struct { + i int + page DomainOwnershipIdentifierCollectionPage +} + +// NextWithContext advances to the next value. If there was an error making +// the request the iterator does not advance and the error is returned. +func (iter *DomainOwnershipIdentifierCollectionIterator) NextWithContext(ctx context.Context) (err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/DomainOwnershipIdentifierCollectionIterator.NextWithContext") + defer func() { + sc := -1 + if iter.Response().Response.Response != nil { + sc = iter.Response().Response.Response.StatusCode + } + tracing.EndSpan(ctx, sc, err) + }() + } + iter.i++ + if iter.i < len(iter.page.Values()) { + return nil + } + err = iter.page.NextWithContext(ctx) if err != nil { + iter.i-- return err } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var googleProperties GoogleProperties - err = json.Unmarshal(*v, &googleProperties) - if err != nil { - return err - } - g.GoogleProperties = &googleProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - g.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - g.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - g.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - g.Type = &typeVar - } - } - } - + iter.i = 0 return nil } -// GoogleProperties google resource specific properties -type GoogleProperties struct { - // Enabled - false if the Google provider should not be enabled despite the set registration; otherwise, true. - Enabled *bool `json:"enabled,omitempty"` - // Registration - The configuration settings of the app registration for the Google provider. - Registration *ClientRegistration `json:"registration,omitempty"` - // Login - The configuration settings of the login flow. - Login *LoginScopes `json:"login,omitempty"` - // Validation - The configuration settings of the Azure Active Directory token validation flow. - Validation *AllowedAudiencesValidation `json:"validation,omitempty"` +// Next advances to the next value. If there was an error making +// the request the iterator does not advance and the error is returned. +// Deprecated: Use NextWithContext() instead. +func (iter *DomainOwnershipIdentifierCollectionIterator) Next() error { + return iter.NextWithContext(context.Background()) } -// HandlerMapping the IIS handler mappings used to define which handler processes HTTP requests with -// certain extension. -// For example, it is used to configure php-cgi.exe process to handle all HTTP requests with *.php -// extension. -type HandlerMapping struct { - // Extension - Requests with this extension will be handled using the specified FastCGI application. - Extension *string `json:"extension,omitempty"` - // ScriptProcessor - The absolute path to the FastCGI application. - ScriptProcessor *string `json:"scriptProcessor,omitempty"` - // Arguments - Command-line arguments to be passed to the script processor. - Arguments *string `json:"arguments,omitempty"` +// NotDone returns true if the enumeration should be started or is not yet complete. +func (iter DomainOwnershipIdentifierCollectionIterator) NotDone() bool { + return iter.page.NotDone() && iter.i < len(iter.page.Values()) } -// HostingEnvironmentDeploymentInfo information needed to create resources on an App Service Environment. -type HostingEnvironmentDeploymentInfo struct { - // Name - Name of the App Service Environment. - Name *string `json:"name,omitempty"` - // Location - Location of the App Service Environment. - Location *string `json:"location,omitempty"` +// Response returns the raw server response from the last page request. +func (iter DomainOwnershipIdentifierCollectionIterator) Response() DomainOwnershipIdentifierCollection { + return iter.page.Response() } -// HostingEnvironmentDiagnostics diagnostics for an App Service Environment. -type HostingEnvironmentDiagnostics struct { - autorest.Response `json:"-"` - // Name - Name/identifier of the diagnostics. - Name *string `json:"name,omitempty"` - // DiagnosticsOutput - Diagnostics output. - DiagnosticsOutput *string `json:"diagnosticsOutput,omitempty"` +// Value returns the current value or a zero-initialized value if the +// iterator has advanced beyond the end of the collection. +func (iter DomainOwnershipIdentifierCollectionIterator) Value() DomainOwnershipIdentifier { + if !iter.page.NotDone() { + return DomainOwnershipIdentifier{} + } + return iter.page.Values()[iter.i] } -// HostingEnvironmentProfile specification for an App Service Environment to use for this resource. -type HostingEnvironmentProfile struct { - // ID - Resource ID of the App Service Environment. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Name of the App Service Environment. - Name *string `json:"name,omitempty"` - // Type - READ-ONLY; Resource type of the App Service Environment. - Type *string `json:"type,omitempty"` +// Creates a new instance of the DomainOwnershipIdentifierCollectionIterator type. +func NewDomainOwnershipIdentifierCollectionIterator(page DomainOwnershipIdentifierCollectionPage) DomainOwnershipIdentifierCollectionIterator { + return DomainOwnershipIdentifierCollectionIterator{page: page} } -// MarshalJSON is the custom marshaler for HostingEnvironmentProfile. -func (hep HostingEnvironmentProfile) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if hep.ID != nil { - objectMap["id"] = hep.ID +// IsEmpty returns true if the ListResult contains no values. +func (doic DomainOwnershipIdentifierCollection) IsEmpty() bool { + return doic.Value == nil || len(*doic.Value) == 0 +} + +// hasNextLink returns true if the NextLink is not empty. +func (doic DomainOwnershipIdentifierCollection) hasNextLink() bool { + return doic.NextLink != nil && len(*doic.NextLink) != 0 +} + +// domainOwnershipIdentifierCollectionPreparer prepares a request to retrieve the next set of results. +// It returns nil if no more results exist. +func (doic DomainOwnershipIdentifierCollection) domainOwnershipIdentifierCollectionPreparer(ctx context.Context) (*http.Request, error) { + if !doic.hasNextLink() { + return nil, nil } - return json.Marshal(objectMap) + return autorest.Prepare((&http.Request{}).WithContext(ctx), + autorest.AsJSON(), + autorest.AsGet(), + autorest.WithBaseURL(to.String(doic.NextLink))) +} + +// DomainOwnershipIdentifierCollectionPage contains a page of DomainOwnershipIdentifier values. +type DomainOwnershipIdentifierCollectionPage struct { + fn func(context.Context, DomainOwnershipIdentifierCollection) (DomainOwnershipIdentifierCollection, error) + doic DomainOwnershipIdentifierCollection +} + +// NextWithContext advances to the next page of values. If there was an error making +// the request the page does not advance and the error is returned. +func (page *DomainOwnershipIdentifierCollectionPage) NextWithContext(ctx context.Context) (err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/DomainOwnershipIdentifierCollectionPage.NextWithContext") + defer func() { + sc := -1 + if page.Response().Response.Response != nil { + sc = page.Response().Response.Response.StatusCode + } + tracing.EndSpan(ctx, sc, err) + }() + } + for { + next, err := page.fn(ctx, page.doic) + if err != nil { + return err + } + page.doic = next + if !next.hasNextLink() || !next.IsEmpty() { + break + } + } + return nil +} + +// Next advances to the next page of values. If there was an error making +// the request the page does not advance and the error is returned. +// Deprecated: Use NextWithContext() instead. +func (page *DomainOwnershipIdentifierCollectionPage) Next() error { + return page.NextWithContext(context.Background()) +} + +// NotDone returns true if the page enumeration should be started or is not yet complete. +func (page DomainOwnershipIdentifierCollectionPage) NotDone() bool { + return !page.doic.IsEmpty() +} + +// Response returns the raw server response from the last page request. +func (page DomainOwnershipIdentifierCollectionPage) Response() DomainOwnershipIdentifierCollection { + return page.doic } -// HostKeys functions host level keys. -type HostKeys struct { - autorest.Response `json:"-"` - // MasterKey - Secret key. - MasterKey *string `json:"masterKey,omitempty"` - // FunctionKeys - Host level function keys. - FunctionKeys map[string]*string `json:"functionKeys"` - // SystemKeys - System keys. - SystemKeys map[string]*string `json:"systemKeys"` +// Values returns the slice of values for the current page or nil if there are no values. +func (page DomainOwnershipIdentifierCollectionPage) Values() []DomainOwnershipIdentifier { + if page.doic.IsEmpty() { + return nil + } + return *page.doic.Value } -// MarshalJSON is the custom marshaler for HostKeys. -func (hk HostKeys) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if hk.MasterKey != nil { - objectMap["masterKey"] = hk.MasterKey - } - if hk.FunctionKeys != nil { - objectMap["functionKeys"] = hk.FunctionKeys - } - if hk.SystemKeys != nil { - objectMap["systemKeys"] = hk.SystemKeys +// Creates a new instance of the DomainOwnershipIdentifierCollectionPage type. +func NewDomainOwnershipIdentifierCollectionPage(cur DomainOwnershipIdentifierCollection, getNextPage func(context.Context, DomainOwnershipIdentifierCollection) (DomainOwnershipIdentifierCollection, error)) DomainOwnershipIdentifierCollectionPage { + return DomainOwnershipIdentifierCollectionPage{ + fn: getNextPage, + doic: cur, } - return json.Marshal(objectMap) } -// HostName details of a hostname derived from a domain. -type HostName struct { - // Name - Name of the hostname. - Name *string `json:"name,omitempty"` - // SiteNames - List of apps the hostname is assigned to. This list will have more than one app only if the hostname is pointing to a Traffic Manager. - SiteNames *[]string `json:"siteNames,omitempty"` - // AzureResourceName - Name of the Azure resource the hostname is assigned to. If it is assigned to a Traffic Manager then it will be the Traffic Manager name otherwise it will be the app name. - AzureResourceName *string `json:"azureResourceName,omitempty"` - // AzureResourceType - Type of the Azure resource the hostname is assigned to. Possible values include: 'Website', 'TrafficManager' - AzureResourceType AzureResourceType `json:"azureResourceType,omitempty"` - // CustomHostNameDNSRecordType - Type of the DNS record. Possible values include: 'CName', 'A' - CustomHostNameDNSRecordType CustomHostNameDNSRecordType `json:"customHostNameDnsRecordType,omitempty"` - // HostNameType - Type of the hostname. Possible values include: 'Verified', 'Managed' - HostNameType HostNameType `json:"hostNameType,omitempty"` +// DomainOwnershipIdentifierProperties domainOwnershipIdentifier resource specific properties +type DomainOwnershipIdentifierProperties struct { + // OwnershipID - Ownership Id. + OwnershipID *string `json:"ownershipId,omitempty"` } -// HostNameBinding a hostname binding object. -type HostNameBinding struct { - autorest.Response `json:"-"` - // HostNameBindingProperties - HostNameBinding resource specific properties - *HostNameBindingProperties `json:"properties,omitempty"` +// DomainPatchResource ARM resource for a domain. +type DomainPatchResource struct { + // DomainPatchResourceProperties - DomainPatchResource resource specific properties + *DomainPatchResourceProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. @@ -14664,20 +11284,20 @@ type HostNameBinding struct { Type *string `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for HostNameBinding. -func (hnb HostNameBinding) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for DomainPatchResource. +func (dpr DomainPatchResource) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if hnb.HostNameBindingProperties != nil { - objectMap["properties"] = hnb.HostNameBindingProperties + if dpr.DomainPatchResourceProperties != nil { + objectMap["properties"] = dpr.DomainPatchResourceProperties } - if hnb.Kind != nil { - objectMap["kind"] = hnb.Kind + if dpr.Kind != nil { + objectMap["kind"] = dpr.Kind } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for HostNameBinding struct. -func (hnb *HostNameBinding) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for DomainPatchResource struct. +func (dpr *DomainPatchResource) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -14687,12 +11307,12 @@ func (hnb *HostNameBinding) UnmarshalJSON(body []byte) error { switch k { case "properties": if v != nil { - var hostNameBindingProperties HostNameBindingProperties - err = json.Unmarshal(*v, &hostNameBindingProperties) + var domainPatchResourceProperties DomainPatchResourceProperties + err = json.Unmarshal(*v, &domainPatchResourceProperties) if err != nil { return err } - hnb.HostNameBindingProperties = &hostNameBindingProperties + dpr.DomainPatchResourceProperties = &domainPatchResourceProperties } case "id": if v != nil { @@ -14701,7 +11321,7 @@ func (hnb *HostNameBinding) UnmarshalJSON(body []byte) error { if err != nil { return err } - hnb.ID = &ID + dpr.ID = &ID } case "name": if v != nil { @@ -14710,7 +11330,7 @@ func (hnb *HostNameBinding) UnmarshalJSON(body []byte) error { if err != nil { return err } - hnb.Name = &name + dpr.Name = &name } case "kind": if v != nil { @@ -14719,7 +11339,7 @@ func (hnb *HostNameBinding) UnmarshalJSON(body []byte) error { if err != nil { return err } - hnb.Kind = &kind + dpr.Kind = &kind } case "type": if v != nil { @@ -14728,7 +11348,7 @@ func (hnb *HostNameBinding) UnmarshalJSON(body []byte) error { if err != nil { return err } - hnb.Type = &typeVar + dpr.Type = &typeVar } } } @@ -14736,444 +11356,422 @@ func (hnb *HostNameBinding) UnmarshalJSON(body []byte) error { return nil } -// HostNameBindingCollection collection of hostname bindings. -type HostNameBindingCollection struct { - autorest.Response `json:"-"` - // Value - Collection of resources. - Value *[]HostNameBinding `json:"value,omitempty"` - // NextLink - READ-ONLY; Link to next page of resources. - NextLink *string `json:"nextLink,omitempty"` +// DomainPatchResourceProperties domainPatchResource resource specific properties +type DomainPatchResourceProperties struct { + // ContactAdmin - Administrative contact. + ContactAdmin *Contact `json:"contactAdmin,omitempty"` + // ContactBilling - Billing contact. + ContactBilling *Contact `json:"contactBilling,omitempty"` + // ContactRegistrant - Registrant contact. + ContactRegistrant *Contact `json:"contactRegistrant,omitempty"` + // ContactTech - Technical contact. + ContactTech *Contact `json:"contactTech,omitempty"` + // RegistrationStatus - READ-ONLY; Domain registration status. Possible values include: 'DomainStatusActive', 'DomainStatusAwaiting', 'DomainStatusCancelled', 'DomainStatusConfiscated', 'DomainStatusDisabled', 'DomainStatusExcluded', 'DomainStatusExpired', 'DomainStatusFailed', 'DomainStatusHeld', 'DomainStatusLocked', 'DomainStatusParked', 'DomainStatusPending', 'DomainStatusReserved', 'DomainStatusReverted', 'DomainStatusSuspended', 'DomainStatusTransferred', 'DomainStatusUnknown', 'DomainStatusUnlocked', 'DomainStatusUnparked', 'DomainStatusUpdated', 'DomainStatusJSONConverterFailed' + RegistrationStatus DomainStatus `json:"registrationStatus,omitempty"` + // ProvisioningState - READ-ONLY; Domain provisioning state. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateFailed', 'ProvisioningStateCanceled', 'ProvisioningStateInProgress', 'ProvisioningStateDeleting' + ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` + // NameServers - READ-ONLY; Name servers. + NameServers *[]string `json:"nameServers,omitempty"` + // Privacy - true if domain privacy is enabled for this domain; otherwise, false. + Privacy *bool `json:"privacy,omitempty"` + // CreatedTime - READ-ONLY; Domain creation timestamp. + CreatedTime *date.Time `json:"createdTime,omitempty"` + // ExpirationTime - READ-ONLY; Domain expiration timestamp. + ExpirationTime *date.Time `json:"expirationTime,omitempty"` + // LastRenewedTime - READ-ONLY; Timestamp when the domain was renewed last time. + LastRenewedTime *date.Time `json:"lastRenewedTime,omitempty"` + // AutoRenew - true if the domain should be automatically renewed; otherwise, false. + AutoRenew *bool `json:"autoRenew,omitempty"` + // ReadyForDNSRecordManagement - READ-ONLY; true if Azure can assign this domain to App Service apps; otherwise, false. This value will be true if domain registration status is active and + // it is hosted on name servers Azure has programmatic access to. + ReadyForDNSRecordManagement *bool `json:"readyForDnsRecordManagement,omitempty"` + // ManagedHostNames - READ-ONLY; All hostnames derived from the domain and assigned to Azure resources. + ManagedHostNames *[]HostName `json:"managedHostNames,omitempty"` + // Consent - Legal agreement consent. + Consent *DomainPurchaseConsent `json:"consent,omitempty"` + // DomainNotRenewableReasons - READ-ONLY; Reasons why domain is not renewable. + DomainNotRenewableReasons *[]string `json:"domainNotRenewableReasons,omitempty"` + // DNSType - Current DNS type. Possible values include: 'AzureDNS', 'DefaultDomainRegistrarDNS' + DNSType DNSType `json:"dnsType,omitempty"` + // DNSZoneID - Azure DNS Zone to use + DNSZoneID *string `json:"dnsZoneId,omitempty"` + // TargetDNSType - Target DNS type (would be used for migration). Possible values include: 'AzureDNS', 'DefaultDomainRegistrarDNS' + TargetDNSType DNSType `json:"targetDnsType,omitempty"` + AuthCode *string `json:"authCode,omitempty"` } -// MarshalJSON is the custom marshaler for HostNameBindingCollection. -func (hnbc HostNameBindingCollection) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for DomainPatchResourceProperties. +func (dpr DomainPatchResourceProperties) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if hnbc.Value != nil { - objectMap["value"] = hnbc.Value + if dpr.ContactAdmin != nil { + objectMap["contactAdmin"] = dpr.ContactAdmin + } + if dpr.ContactBilling != nil { + objectMap["contactBilling"] = dpr.ContactBilling + } + if dpr.ContactRegistrant != nil { + objectMap["contactRegistrant"] = dpr.ContactRegistrant + } + if dpr.ContactTech != nil { + objectMap["contactTech"] = dpr.ContactTech + } + if dpr.Privacy != nil { + objectMap["privacy"] = dpr.Privacy + } + if dpr.AutoRenew != nil { + objectMap["autoRenew"] = dpr.AutoRenew + } + if dpr.Consent != nil { + objectMap["consent"] = dpr.Consent + } + if dpr.DNSType != "" { + objectMap["dnsType"] = dpr.DNSType + } + if dpr.DNSZoneID != nil { + objectMap["dnsZoneId"] = dpr.DNSZoneID + } + if dpr.TargetDNSType != "" { + objectMap["targetDnsType"] = dpr.TargetDNSType + } + if dpr.AuthCode != nil { + objectMap["authCode"] = dpr.AuthCode } return json.Marshal(objectMap) } -// HostNameBindingCollectionIterator provides access to a complete listing of HostNameBinding values. -type HostNameBindingCollectionIterator struct { - i int - page HostNameBindingCollectionPage +// DomainProperties domain resource specific properties +type DomainProperties struct { + // ContactAdmin - Administrative contact. + ContactAdmin *Contact `json:"contactAdmin,omitempty"` + // ContactBilling - Billing contact. + ContactBilling *Contact `json:"contactBilling,omitempty"` + // ContactRegistrant - Registrant contact. + ContactRegistrant *Contact `json:"contactRegistrant,omitempty"` + // ContactTech - Technical contact. + ContactTech *Contact `json:"contactTech,omitempty"` + // RegistrationStatus - READ-ONLY; Domain registration status. Possible values include: 'DomainStatusActive', 'DomainStatusAwaiting', 'DomainStatusCancelled', 'DomainStatusConfiscated', 'DomainStatusDisabled', 'DomainStatusExcluded', 'DomainStatusExpired', 'DomainStatusFailed', 'DomainStatusHeld', 'DomainStatusLocked', 'DomainStatusParked', 'DomainStatusPending', 'DomainStatusReserved', 'DomainStatusReverted', 'DomainStatusSuspended', 'DomainStatusTransferred', 'DomainStatusUnknown', 'DomainStatusUnlocked', 'DomainStatusUnparked', 'DomainStatusUpdated', 'DomainStatusJSONConverterFailed' + RegistrationStatus DomainStatus `json:"registrationStatus,omitempty"` + // ProvisioningState - READ-ONLY; Domain provisioning state. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateFailed', 'ProvisioningStateCanceled', 'ProvisioningStateInProgress', 'ProvisioningStateDeleting' + ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` + // NameServers - READ-ONLY; Name servers. + NameServers *[]string `json:"nameServers,omitempty"` + // Privacy - true if domain privacy is enabled for this domain; otherwise, false. + Privacy *bool `json:"privacy,omitempty"` + // CreatedTime - READ-ONLY; Domain creation timestamp. + CreatedTime *date.Time `json:"createdTime,omitempty"` + // ExpirationTime - READ-ONLY; Domain expiration timestamp. + ExpirationTime *date.Time `json:"expirationTime,omitempty"` + // LastRenewedTime - READ-ONLY; Timestamp when the domain was renewed last time. + LastRenewedTime *date.Time `json:"lastRenewedTime,omitempty"` + // AutoRenew - true if the domain should be automatically renewed; otherwise, false. + AutoRenew *bool `json:"autoRenew,omitempty"` + // ReadyForDNSRecordManagement - READ-ONLY; true if Azure can assign this domain to App Service apps; otherwise, false. This value will be true if domain registration status is active and + // it is hosted on name servers Azure has programmatic access to. + ReadyForDNSRecordManagement *bool `json:"readyForDnsRecordManagement,omitempty"` + // ManagedHostNames - READ-ONLY; All hostnames derived from the domain and assigned to Azure resources. + ManagedHostNames *[]HostName `json:"managedHostNames,omitempty"` + // Consent - Legal agreement consent. + Consent *DomainPurchaseConsent `json:"consent,omitempty"` + // DomainNotRenewableReasons - READ-ONLY; Reasons why domain is not renewable. + DomainNotRenewableReasons *[]string `json:"domainNotRenewableReasons,omitempty"` + // DNSType - Current DNS type. Possible values include: 'AzureDNS', 'DefaultDomainRegistrarDNS' + DNSType DNSType `json:"dnsType,omitempty"` + // DNSZoneID - Azure DNS Zone to use + DNSZoneID *string `json:"dnsZoneId,omitempty"` + // TargetDNSType - Target DNS type (would be used for migration). Possible values include: 'AzureDNS', 'DefaultDomainRegistrarDNS' + TargetDNSType DNSType `json:"targetDnsType,omitempty"` + AuthCode *string `json:"authCode,omitempty"` } -// NextWithContext advances to the next value. If there was an error making -// the request the iterator does not advance and the error is returned. -func (iter *HostNameBindingCollectionIterator) NextWithContext(ctx context.Context) (err error) { - if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/HostNameBindingCollectionIterator.NextWithContext") - defer func() { - sc := -1 - if iter.Response().Response.Response != nil { - sc = iter.Response().Response.Response.StatusCode - } - tracing.EndSpan(ctx, sc, err) - }() +// MarshalJSON is the custom marshaler for DomainProperties. +func (d DomainProperties) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if d.ContactAdmin != nil { + objectMap["contactAdmin"] = d.ContactAdmin + } + if d.ContactBilling != nil { + objectMap["contactBilling"] = d.ContactBilling + } + if d.ContactRegistrant != nil { + objectMap["contactRegistrant"] = d.ContactRegistrant + } + if d.ContactTech != nil { + objectMap["contactTech"] = d.ContactTech + } + if d.Privacy != nil { + objectMap["privacy"] = d.Privacy + } + if d.AutoRenew != nil { + objectMap["autoRenew"] = d.AutoRenew } - iter.i++ - if iter.i < len(iter.page.Values()) { - return nil + if d.Consent != nil { + objectMap["consent"] = d.Consent } - err = iter.page.NextWithContext(ctx) - if err != nil { - iter.i-- - return err + if d.DNSType != "" { + objectMap["dnsType"] = d.DNSType } - iter.i = 0 - return nil -} - -// Next advances to the next value. If there was an error making -// the request the iterator does not advance and the error is returned. -// Deprecated: Use NextWithContext() instead. -func (iter *HostNameBindingCollectionIterator) Next() error { - return iter.NextWithContext(context.Background()) -} - -// NotDone returns true if the enumeration should be started or is not yet complete. -func (iter HostNameBindingCollectionIterator) NotDone() bool { - return iter.page.NotDone() && iter.i < len(iter.page.Values()) -} - -// Response returns the raw server response from the last page request. -func (iter HostNameBindingCollectionIterator) Response() HostNameBindingCollection { - return iter.page.Response() -} - -// Value returns the current value or a zero-initialized value if the -// iterator has advanced beyond the end of the collection. -func (iter HostNameBindingCollectionIterator) Value() HostNameBinding { - if !iter.page.NotDone() { - return HostNameBinding{} + if d.DNSZoneID != nil { + objectMap["dnsZoneId"] = d.DNSZoneID } - return iter.page.Values()[iter.i] + if d.TargetDNSType != "" { + objectMap["targetDnsType"] = d.TargetDNSType + } + if d.AuthCode != nil { + objectMap["authCode"] = d.AuthCode + } + return json.Marshal(objectMap) } -// Creates a new instance of the HostNameBindingCollectionIterator type. -func NewHostNameBindingCollectionIterator(page HostNameBindingCollectionPage) HostNameBindingCollectionIterator { - return HostNameBindingCollectionIterator{page: page} +// DomainPurchaseConsent domain purchase consent object, representing acceptance of applicable legal +// agreements. +type DomainPurchaseConsent struct { + // AgreementKeys - List of applicable legal agreement keys. This list can be retrieved using ListLegalAgreements API under TopLevelDomain resource. + AgreementKeys *[]string `json:"agreementKeys,omitempty"` + // AgreedBy - Client IP address. + AgreedBy *string `json:"agreedBy,omitempty"` + // AgreedAt - Timestamp when the agreements were accepted. + AgreedAt *date.Time `json:"agreedAt,omitempty"` } -// IsEmpty returns true if the ListResult contains no values. -func (hnbc HostNameBindingCollection) IsEmpty() bool { - return hnbc.Value == nil || len(*hnbc.Value) == 0 +// DomainRecommendationSearchParameters domain recommendation search parameters. +type DomainRecommendationSearchParameters struct { + // Keywords - Keywords to be used for generating domain recommendations. + Keywords *string `json:"keywords,omitempty"` + // MaxDomainRecommendations - Maximum number of recommendations. + MaxDomainRecommendations *int32 `json:"maxDomainRecommendations,omitempty"` } -// hasNextLink returns true if the NextLink is not empty. -func (hnbc HostNameBindingCollection) hasNextLink() bool { - return hnbc.NextLink != nil && len(*hnbc.NextLink) != 0 +// DomainsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running +// operation. +type DomainsCreateOrUpdateFuture struct { + azure.FutureAPI + // Result returns the result of the asynchronous operation. + // If the operation has not completed it will return an error. + Result func(DomainsClient) (Domain, error) } -// hostNameBindingCollectionPreparer prepares a request to retrieve the next set of results. -// It returns nil if no more results exist. -func (hnbc HostNameBindingCollection) hostNameBindingCollectionPreparer(ctx context.Context) (*http.Request, error) { - if !hnbc.hasNextLink() { - return nil, nil +// UnmarshalJSON is the custom unmarshaller for CreateFuture. +func (future *DomainsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error { + var azFuture azure.Future + if err := json.Unmarshal(body, &azFuture); err != nil { + return err } - return autorest.Prepare((&http.Request{}).WithContext(ctx), - autorest.AsJSON(), - autorest.AsGet(), - autorest.WithBaseURL(to.String(hnbc.NextLink))) -} - -// HostNameBindingCollectionPage contains a page of HostNameBinding values. -type HostNameBindingCollectionPage struct { - fn func(context.Context, HostNameBindingCollection) (HostNameBindingCollection, error) - hnbc HostNameBindingCollection + future.FutureAPI = &azFuture + future.Result = future.result + return nil } -// NextWithContext advances to the next page of values. If there was an error making -// the request the page does not advance and the error is returned. -func (page *HostNameBindingCollectionPage) NextWithContext(ctx context.Context) (err error) { - if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/HostNameBindingCollectionPage.NextWithContext") - defer func() { - sc := -1 - if page.Response().Response.Response != nil { - sc = page.Response().Response.Response.StatusCode - } - tracing.EndSpan(ctx, sc, err) - }() +// result is the default implementation for DomainsCreateOrUpdateFuture.Result. +func (future *DomainsCreateOrUpdateFuture) result(client DomainsClient) (d Domain, err error) { + var done bool + done, err = future.DoneWithContext(context.Background(), client) + if err != nil { + err = autorest.NewErrorWithError(err, "web.DomainsCreateOrUpdateFuture", "Result", future.Response(), "Polling failure") + return } - for { - next, err := page.fn(ctx, page.hnbc) + if !done { + d.Response.Response = future.Response() + err = azure.NewAsyncOpIncompleteError("web.DomainsCreateOrUpdateFuture") + return + } + sender := autorest.DecorateSender(client, autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...)) + if d.Response.Response, err = future.GetResult(sender); err == nil && d.Response.Response.StatusCode != http.StatusNoContent { + d, err = client.CreateOrUpdateResponder(d.Response.Response) if err != nil { - return err - } - page.hnbc = next - if !next.hasNextLink() || !next.IsEmpty() { - break + err = autorest.NewErrorWithError(err, "web.DomainsCreateOrUpdateFuture", "Result", d.Response.Response, "Failure responding to request") } } - return nil -} - -// Next advances to the next page of values. If there was an error making -// the request the page does not advance and the error is returned. -// Deprecated: Use NextWithContext() instead. -func (page *HostNameBindingCollectionPage) Next() error { - return page.NextWithContext(context.Background()) + return } -// NotDone returns true if the page enumeration should be started or is not yet complete. -func (page HostNameBindingCollectionPage) NotDone() bool { - return !page.hnbc.IsEmpty() +// EnabledConfig enabled configuration. +type EnabledConfig struct { + // Enabled - True if configuration is enabled, false if it is disabled and null if configuration is not set. + Enabled *bool `json:"enabled,omitempty"` } -// Response returns the raw server response from the last page request. -func (page HostNameBindingCollectionPage) Response() HostNameBindingCollection { - return page.hnbc +// EndpointDependency a domain name that a service is reached at, including details of the current +// connection status. +type EndpointDependency struct { + // DomainName - The domain name of the dependency. + DomainName *string `json:"domainName,omitempty"` + // EndpointDetails - The IP Addresses and Ports used when connecting to DomainName. + EndpointDetails *[]EndpointDetail `json:"endpointDetails,omitempty"` } -// Values returns the slice of values for the current page or nil if there are no values. -func (page HostNameBindingCollectionPage) Values() []HostNameBinding { - if page.hnbc.IsEmpty() { - return nil - } - return *page.hnbc.Value +// EndpointDetail current TCP connectivity information from the App Service Environment to a single +// endpoint. +type EndpointDetail struct { + // IPAddress - An IP Address that Domain Name currently resolves to. + IPAddress *string `json:"ipAddress,omitempty"` + // Port - The port an endpoint is connected to. + Port *int32 `json:"port,omitempty"` + // Latency - The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. + Latency *float64 `json:"latency,omitempty"` + // IsAccessible - Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. + IsAccessible *bool `json:"isAccessible,omitempty"` } -// Creates a new instance of the HostNameBindingCollectionPage type. -func NewHostNameBindingCollectionPage(cur HostNameBindingCollection, getNextPage func(context.Context, HostNameBindingCollection) (HostNameBindingCollection, error)) HostNameBindingCollectionPage { - return HostNameBindingCollectionPage{ - fn: getNextPage, - hnbc: cur, - } +// ErrorEntity body of the error response returned from the API. +type ErrorEntity struct { + // ExtendedCode - Type of error. + ExtendedCode *string `json:"extendedCode,omitempty"` + // MessageTemplate - Message template. + MessageTemplate *string `json:"messageTemplate,omitempty"` + // Parameters - Parameters for the template. + Parameters *[]string `json:"parameters,omitempty"` + // InnerErrors - Inner errors. + InnerErrors *[]ErrorEntity `json:"innerErrors,omitempty"` + // Code - Basic error code. + Code *string `json:"code,omitempty"` + // Message - Any details of the error. + Message *string `json:"message,omitempty"` } -// HostNameBindingProperties hostNameBinding resource specific properties -type HostNameBindingProperties struct { - // SiteName - App Service app name. - SiteName *string `json:"siteName,omitempty"` - // DomainID - Fully qualified ARM domain resource URI. - DomainID *string `json:"domainId,omitempty"` - // AzureResourceName - Azure resource name. - AzureResourceName *string `json:"azureResourceName,omitempty"` - // AzureResourceType - Azure resource type. Possible values include: 'Website', 'TrafficManager' - AzureResourceType AzureResourceType `json:"azureResourceType,omitempty"` - // CustomHostNameDNSRecordType - Custom DNS record type. Possible values include: 'CName', 'A' - CustomHostNameDNSRecordType CustomHostNameDNSRecordType `json:"customHostNameDnsRecordType,omitempty"` - // HostNameType - Hostname type. Possible values include: 'Verified', 'Managed' - HostNameType HostNameType `json:"hostNameType,omitempty"` - // SslState - SSL type. Possible values include: 'SslStateDisabled', 'SslStateSniEnabled', 'SslStateIPBasedEnabled' - SslState SslState `json:"sslState,omitempty"` - // Thumbprint - SSL certificate thumbprint - Thumbprint *string `json:"thumbprint,omitempty"` - // VirtualIP - READ-ONLY; Virtual IP address assigned to the hostname if IP based SSL is enabled. - VirtualIP *string `json:"virtualIP,omitempty"` +// Experiments routing rules in production experiments. +type Experiments struct { + // RampUpRules - List of ramp-up rules. + RampUpRules *[]RampUpRule `json:"rampUpRules,omitempty"` } -// MarshalJSON is the custom marshaler for HostNameBindingProperties. -func (hnb HostNameBindingProperties) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if hnb.SiteName != nil { - objectMap["siteName"] = hnb.SiteName - } - if hnb.DomainID != nil { - objectMap["domainId"] = hnb.DomainID - } - if hnb.AzureResourceName != nil { - objectMap["azureResourceName"] = hnb.AzureResourceName - } - if hnb.AzureResourceType != "" { - objectMap["azureResourceType"] = hnb.AzureResourceType - } - if hnb.CustomHostNameDNSRecordType != "" { - objectMap["customHostNameDnsRecordType"] = hnb.CustomHostNameDNSRecordType - } - if hnb.HostNameType != "" { - objectMap["hostNameType"] = hnb.HostNameType - } - if hnb.SslState != "" { - objectMap["sslState"] = hnb.SslState - } - if hnb.Thumbprint != nil { - objectMap["thumbprint"] = hnb.Thumbprint - } - return json.Marshal(objectMap) +// Facebook the configuration settings of the Facebook provider. +type Facebook struct { + // Enabled - false if the Facebook provider should not be enabled despite the set registration; otherwise, true. + Enabled *bool `json:"enabled,omitempty"` + // Registration - The configuration settings of the app registration for the Facebook provider. + Registration *AppRegistration `json:"registration,omitempty"` + // GraphAPIVersion - The version of the Facebook api to be used while logging in. + GraphAPIVersion *string `json:"graphApiVersion,omitempty"` + // Login - The configuration settings of the login flow. + Login *LoginScopes `json:"login,omitempty"` } -// HostNameSslState SSL-enabled hostname. -type HostNameSslState struct { - // Name - Hostname. - Name *string `json:"name,omitempty"` - // SslState - SSL type. Possible values include: 'SslStateDisabled', 'SslStateSniEnabled', 'SslStateIPBasedEnabled' - SslState SslState `json:"sslState,omitempty"` - // VirtualIP - Virtual IP address assigned to the hostname if IP based SSL is enabled. - VirtualIP *string `json:"virtualIP,omitempty"` - // Thumbprint - SSL certificate thumbprint. - Thumbprint *string `json:"thumbprint,omitempty"` - // ToUpdate - Set to true to update existing hostname. - ToUpdate *bool `json:"toUpdate,omitempty"` - // HostType - Indicates whether the hostname is a standard or repository hostname. Possible values include: 'HostTypeStandard', 'HostTypeRepository' - HostType HostType `json:"hostType,omitempty"` +// FileSystemApplicationLogsConfig application logs to file system configuration. +type FileSystemApplicationLogsConfig struct { + // Level - Log level. Possible values include: 'Off', 'Verbose', 'Information', 'Warning', 'Error' + Level LogLevel `json:"level,omitempty"` } -// HTTPLogsConfig http logs configuration. -type HTTPLogsConfig struct { - // FileSystem - Http logs to file system configuration. - FileSystem *FileSystemHTTPLogsConfig `json:"fileSystem,omitempty"` - // AzureBlobStorage - Http logs to azure blob storage configuration. - AzureBlobStorage *AzureBlobStorageHTTPLogsConfig `json:"azureBlobStorage,omitempty"` +// FileSystemHTTPLogsConfig http logs to file system configuration. +type FileSystemHTTPLogsConfig struct { + // RetentionInMb - Maximum size in megabytes that http log files can use. + // When reached old log files will be removed to make space for new ones. + // Value can range between 25 and 100. + RetentionInMb *int32 `json:"retentionInMb,omitempty"` + // RetentionInDays - Retention in days. + // Remove files older than X days. + // 0 or lower means no retention. + RetentionInDays *int32 `json:"retentionInDays,omitempty"` + // Enabled - True if configuration is enabled, false if it is disabled and null if configuration is not set. + Enabled *bool `json:"enabled,omitempty"` } -// HTTPSettings the configuration settings of the HTTP requests for authentication and authorization -// requests made against App Service Authentication/Authorization. -type HTTPSettings struct { - // HTTPSettingsProperties - HttpSettings resource specific properties - *HTTPSettingsProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` +// FileSystemTokenStore the configuration settings of the storage of the tokens if a file system is used. +type FileSystemTokenStore struct { + // Directory - The directory in which the tokens will be stored. + Directory *string `json:"directory,omitempty"` } -// MarshalJSON is the custom marshaler for HTTPSettings. -func (hs HTTPSettings) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if hs.HTTPSettingsProperties != nil { - objectMap["properties"] = hs.HTTPSettingsProperties - } - if hs.Kind != nil { - objectMap["kind"] = hs.Kind - } - return json.Marshal(objectMap) +// ForwardProxy the configuration settings of a forward proxy used to make the requests. +type ForwardProxy struct { + // Convention - The convention used to determine the url of the request made. Possible values include: 'ForwardProxyConventionNoProxy', 'ForwardProxyConventionStandard', 'ForwardProxyConventionCustom' + Convention ForwardProxyConvention `json:"convention,omitempty"` + // CustomHostHeaderName - The name of the header containing the host of the request. + CustomHostHeaderName *string `json:"customHostHeaderName,omitempty"` + // CustomProtoHeaderName - The name of the header containing the scheme of the request. + CustomProtoHeaderName *string `json:"customProtoHeaderName,omitempty"` } -// UnmarshalJSON is the custom unmarshaler for HTTPSettings struct. -func (hs *HTTPSettings) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var HTTPSettingsProperties HTTPSettingsProperties - err = json.Unmarshal(*v, &HTTPSettingsProperties) - if err != nil { - return err - } - hs.HTTPSettingsProperties = &HTTPSettingsProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - hs.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - hs.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - hs.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - hs.Type = &typeVar - } - } - } - - return nil +// FunctionAppMajorVersion function App stack major version. +type FunctionAppMajorVersion struct { + // DisplayText - READ-ONLY; Function App stack major version (display only). + DisplayText *string `json:"displayText,omitempty"` + // Value - READ-ONLY; Function App stack major version name. + Value *string `json:"value,omitempty"` + // MinorVersions - READ-ONLY; Minor versions associated with the major version. + MinorVersions *[]FunctionAppMinorVersion `json:"minorVersions,omitempty"` } -// HTTPSettingsProperties httpSettings resource specific properties -type HTTPSettingsProperties struct { - // RequireHTTPS - false if the authentication/authorization responses not having the HTTPS scheme are permissible; otherwise, true. - RequireHTTPS *bool `json:"requireHttps,omitempty"` - // Routes - The configuration settings of the paths HTTP requests. - Routes *HTTPSettingsRoutes `json:"routes,omitempty"` - // ForwardProxy - The configuration settings of a forward proxy used to make the requests. - ForwardProxy *ForwardProxy `json:"forwardProxy,omitempty"` +// MarshalJSON is the custom marshaler for FunctionAppMajorVersion. +func (famv FunctionAppMajorVersion) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + return json.Marshal(objectMap) } -// HTTPSettingsRoutes the configuration settings of the paths HTTP requests. -type HTTPSettingsRoutes struct { - // HTTPSettingsRoutesProperties - HttpSettingsRoutes resource specific properties - *HTTPSettingsRoutesProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` +// FunctionAppMinorVersion function App stack minor version. +type FunctionAppMinorVersion struct { + // DisplayText - READ-ONLY; Function App stack (display only). + DisplayText *string `json:"displayText,omitempty"` + // Value - READ-ONLY; Function App stack name. + Value *string `json:"value,omitempty"` + // StackSettings - READ-ONLY; Settings associated with the minor version. + StackSettings *FunctionAppRuntimes `json:"stackSettings,omitempty"` } -// MarshalJSON is the custom marshaler for HTTPSettingsRoutes. -func (hsr HTTPSettingsRoutes) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for FunctionAppMinorVersion. +func (famv FunctionAppMinorVersion) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if hsr.HTTPSettingsRoutesProperties != nil { - objectMap["properties"] = hsr.HTTPSettingsRoutesProperties - } - if hsr.Kind != nil { - objectMap["kind"] = hsr.Kind - } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for HTTPSettingsRoutes struct. -func (hsr *HTTPSettingsRoutes) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var HTTPSettingsRoutesProperties HTTPSettingsRoutesProperties - err = json.Unmarshal(*v, &HTTPSettingsRoutesProperties) - if err != nil { - return err - } - hsr.HTTPSettingsRoutesProperties = &HTTPSettingsRoutesProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - hsr.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - hsr.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - hsr.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - hsr.Type = &typeVar - } - } - } +// FunctionAppRuntimes function App stack runtimes. +type FunctionAppRuntimes struct { + // LinuxRuntimeSettings - READ-ONLY; Linux-specific settings associated with the minor version. + LinuxRuntimeSettings *FunctionAppRuntimeSettings `json:"linuxRuntimeSettings,omitempty"` + // WindowsRuntimeSettings - READ-ONLY; Windows-specific settings associated with the minor version. + WindowsRuntimeSettings *FunctionAppRuntimeSettings `json:"windowsRuntimeSettings,omitempty"` +} - return nil +// MarshalJSON is the custom marshaler for FunctionAppRuntimes. +func (far FunctionAppRuntimes) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + return json.Marshal(objectMap) } -// HTTPSettingsRoutesProperties httpSettingsRoutes resource specific properties -type HTTPSettingsRoutesProperties struct { - // APIPrefix - The prefix that should precede all the authentication/authorization paths. - APIPrefix *string `json:"apiPrefix,omitempty"` +// FunctionAppRuntimeSettings function App runtime settings. +type FunctionAppRuntimeSettings struct { + // RuntimeVersion - READ-ONLY; Function App stack minor version (runtime only). + RuntimeVersion *string `json:"runtimeVersion,omitempty"` + // RemoteDebuggingSupported - READ-ONLY; true if remote debugging is supported for the stack; otherwise, false. + RemoteDebuggingSupported *bool `json:"remoteDebuggingSupported,omitempty"` + // AppInsightsSettings - READ-ONLY; Application Insights settings associated with the minor version. + AppInsightsSettings *AppInsightsWebAppStackSettings `json:"appInsightsSettings,omitempty"` + // GitHubActionSettings - READ-ONLY; GitHub Actions settings associated with the minor version. + GitHubActionSettings *GitHubActionWebAppStackSettings `json:"gitHubActionSettings,omitempty"` + // AppSettingsDictionary - READ-ONLY; Application settings associated with the minor version. + AppSettingsDictionary map[string]*string `json:"appSettingsDictionary"` + // SiteConfigPropertiesDictionary - READ-ONLY; Configuration settings associated with the minor version. + SiteConfigPropertiesDictionary *SiteConfigPropertiesDictionary `json:"siteConfigPropertiesDictionary,omitempty"` + // SupportedFunctionsExtensionVersions - READ-ONLY; List of supported Functions extension versions. + SupportedFunctionsExtensionVersions *[]string `json:"supportedFunctionsExtensionVersions,omitempty"` + // IsPreview - READ-ONLY; true if the stack is in preview; otherwise, false. + IsPreview *bool `json:"isPreview,omitempty"` + // IsDeprecated - READ-ONLY; true if the stack is deprecated; otherwise, false. + IsDeprecated *bool `json:"isDeprecated,omitempty"` + // IsHidden - READ-ONLY; true if the stack should be hidden; otherwise, false. + IsHidden *bool `json:"isHidden,omitempty"` + // EndOfLifeDate - READ-ONLY; End-of-life date for the minor version. + EndOfLifeDate *date.Time `json:"endOfLifeDate,omitempty"` + // IsAutoUpdate - READ-ONLY; true if the stack version is auto-updated; otherwise, false. + IsAutoUpdate *bool `json:"isAutoUpdate,omitempty"` + // IsEarlyAccess - READ-ONLY; true if the minor version is early-access; otherwise, false. + IsEarlyAccess *bool `json:"isEarlyAccess,omitempty"` + // IsDefault - READ-ONLY; true if the minor version the default; otherwise, false. + IsDefault *bool `json:"isDefault,omitempty"` } -// HybridConnection hybrid Connection contract. This is used to configure a Hybrid Connection. -type HybridConnection struct { - autorest.Response `json:"-"` - // HybridConnectionProperties - HybridConnection resource specific properties - *HybridConnectionProperties `json:"properties,omitempty"` +// MarshalJSON is the custom marshaler for FunctionAppRuntimeSettings. +func (fars FunctionAppRuntimeSettings) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + return json.Marshal(objectMap) +} + +// FunctionAppStack function App Stack. +type FunctionAppStack struct { + // Location - READ-ONLY; Function App stack location. + Location *string `json:"location,omitempty"` + // FunctionAppStackProperties - FunctionAppStack resource specific properties + *FunctionAppStackProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. @@ -15184,20 +11782,20 @@ type HybridConnection struct { Type *string `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for HybridConnection. -func (hc HybridConnection) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for FunctionAppStack. +func (fas FunctionAppStack) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if hc.HybridConnectionProperties != nil { - objectMap["properties"] = hc.HybridConnectionProperties + if fas.FunctionAppStackProperties != nil { + objectMap["properties"] = fas.FunctionAppStackProperties } - if hc.Kind != nil { - objectMap["kind"] = hc.Kind + if fas.Kind != nil { + objectMap["kind"] = fas.Kind } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for HybridConnection struct. -func (hc *HybridConnection) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for FunctionAppStack struct. +func (fas *FunctionAppStack) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -15205,14 +11803,23 @@ func (hc *HybridConnection) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { + case "location": + if v != nil { + var location string + err = json.Unmarshal(*v, &location) + if err != nil { + return err + } + fas.Location = &location + } case "properties": if v != nil { - var hybridConnectionProperties HybridConnectionProperties - err = json.Unmarshal(*v, &hybridConnectionProperties) + var functionAppStackProperties FunctionAppStackProperties + err = json.Unmarshal(*v, &functionAppStackProperties) if err != nil { return err } - hc.HybridConnectionProperties = &hybridConnectionProperties + fas.FunctionAppStackProperties = &functionAppStackProperties } case "id": if v != nil { @@ -15221,7 +11828,7 @@ func (hc *HybridConnection) UnmarshalJSON(body []byte) error { if err != nil { return err } - hc.ID = &ID + fas.ID = &ID } case "name": if v != nil { @@ -15230,7 +11837,7 @@ func (hc *HybridConnection) UnmarshalJSON(body []byte) error { if err != nil { return err } - hc.Name = &name + fas.Name = &name } case "kind": if v != nil { @@ -15239,7 +11846,7 @@ func (hc *HybridConnection) UnmarshalJSON(body []byte) error { if err != nil { return err } - hc.Kind = &kind + fas.Kind = &kind } case "type": if v != nil { @@ -15248,7 +11855,7 @@ func (hc *HybridConnection) UnmarshalJSON(body []byte) error { if err != nil { return err } - hc.Type = &typeVar + fas.Type = &typeVar } } } @@ -15256,35 +11863,35 @@ func (hc *HybridConnection) UnmarshalJSON(body []byte) error { return nil } -// HybridConnectionCollection collection of hostname bindings. -type HybridConnectionCollection struct { +// FunctionAppStackCollection collection of Function app Stacks +type FunctionAppStackCollection struct { autorest.Response `json:"-"` // Value - Collection of resources. - Value *[]HybridConnection `json:"value,omitempty"` + Value *[]FunctionAppStack `json:"value,omitempty"` // NextLink - READ-ONLY; Link to next page of resources. NextLink *string `json:"nextLink,omitempty"` } -// MarshalJSON is the custom marshaler for HybridConnectionCollection. -func (hcc HybridConnectionCollection) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for FunctionAppStackCollection. +func (fasc FunctionAppStackCollection) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if hcc.Value != nil { - objectMap["value"] = hcc.Value + if fasc.Value != nil { + objectMap["value"] = fasc.Value } return json.Marshal(objectMap) } -// HybridConnectionCollectionIterator provides access to a complete listing of HybridConnection values. -type HybridConnectionCollectionIterator struct { +// FunctionAppStackCollectionIterator provides access to a complete listing of FunctionAppStack values. +type FunctionAppStackCollectionIterator struct { i int - page HybridConnectionCollectionPage + page FunctionAppStackCollectionPage } // NextWithContext advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. -func (iter *HybridConnectionCollectionIterator) NextWithContext(ctx context.Context) (err error) { +func (iter *FunctionAppStackCollectionIterator) NextWithContext(ctx context.Context) (err error) { if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/HybridConnectionCollectionIterator.NextWithContext") + ctx = tracing.StartSpan(ctx, fqdn+"/FunctionAppStackCollectionIterator.NextWithContext") defer func() { sc := -1 if iter.Response().Response.Response != nil { @@ -15309,351 +11916,144 @@ func (iter *HybridConnectionCollectionIterator) NextWithContext(ctx context.Cont // Next advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. // Deprecated: Use NextWithContext() instead. -func (iter *HybridConnectionCollectionIterator) Next() error { +func (iter *FunctionAppStackCollectionIterator) Next() error { return iter.NextWithContext(context.Background()) } // NotDone returns true if the enumeration should be started or is not yet complete. -func (iter HybridConnectionCollectionIterator) NotDone() bool { +func (iter FunctionAppStackCollectionIterator) NotDone() bool { return iter.page.NotDone() && iter.i < len(iter.page.Values()) } // Response returns the raw server response from the last page request. -func (iter HybridConnectionCollectionIterator) Response() HybridConnectionCollection { +func (iter FunctionAppStackCollectionIterator) Response() FunctionAppStackCollection { return iter.page.Response() } // Value returns the current value or a zero-initialized value if the // iterator has advanced beyond the end of the collection. -func (iter HybridConnectionCollectionIterator) Value() HybridConnection { +func (iter FunctionAppStackCollectionIterator) Value() FunctionAppStack { if !iter.page.NotDone() { - return HybridConnection{} + return FunctionAppStack{} } return iter.page.Values()[iter.i] } -// Creates a new instance of the HybridConnectionCollectionIterator type. -func NewHybridConnectionCollectionIterator(page HybridConnectionCollectionPage) HybridConnectionCollectionIterator { - return HybridConnectionCollectionIterator{page: page} -} - -// IsEmpty returns true if the ListResult contains no values. -func (hcc HybridConnectionCollection) IsEmpty() bool { - return hcc.Value == nil || len(*hcc.Value) == 0 -} - -// hasNextLink returns true if the NextLink is not empty. -func (hcc HybridConnectionCollection) hasNextLink() bool { - return hcc.NextLink != nil && len(*hcc.NextLink) != 0 -} - -// hybridConnectionCollectionPreparer prepares a request to retrieve the next set of results. -// It returns nil if no more results exist. -func (hcc HybridConnectionCollection) hybridConnectionCollectionPreparer(ctx context.Context) (*http.Request, error) { - if !hcc.hasNextLink() { - return nil, nil - } - return autorest.Prepare((&http.Request{}).WithContext(ctx), - autorest.AsJSON(), - autorest.AsGet(), - autorest.WithBaseURL(to.String(hcc.NextLink))) -} - -// HybridConnectionCollectionPage contains a page of HybridConnection values. -type HybridConnectionCollectionPage struct { - fn func(context.Context, HybridConnectionCollection) (HybridConnectionCollection, error) - hcc HybridConnectionCollection -} - -// NextWithContext advances to the next page of values. If there was an error making -// the request the page does not advance and the error is returned. -func (page *HybridConnectionCollectionPage) NextWithContext(ctx context.Context) (err error) { - if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/HybridConnectionCollectionPage.NextWithContext") - defer func() { - sc := -1 - if page.Response().Response.Response != nil { - sc = page.Response().Response.Response.StatusCode - } - tracing.EndSpan(ctx, sc, err) - }() - } - for { - next, err := page.fn(ctx, page.hcc) - if err != nil { - return err - } - page.hcc = next - if !next.hasNextLink() || !next.IsEmpty() { - break - } - } - return nil -} - -// Next advances to the next page of values. If there was an error making -// the request the page does not advance and the error is returned. -// Deprecated: Use NextWithContext() instead. -func (page *HybridConnectionCollectionPage) Next() error { - return page.NextWithContext(context.Background()) -} - -// NotDone returns true if the page enumeration should be started or is not yet complete. -func (page HybridConnectionCollectionPage) NotDone() bool { - return !page.hcc.IsEmpty() -} - -// Response returns the raw server response from the last page request. -func (page HybridConnectionCollectionPage) Response() HybridConnectionCollection { - return page.hcc -} - -// Values returns the slice of values for the current page or nil if there are no values. -func (page HybridConnectionCollectionPage) Values() []HybridConnection { - if page.hcc.IsEmpty() { - return nil - } - return *page.hcc.Value -} - -// Creates a new instance of the HybridConnectionCollectionPage type. -func NewHybridConnectionCollectionPage(cur HybridConnectionCollection, getNextPage func(context.Context, HybridConnectionCollection) (HybridConnectionCollection, error)) HybridConnectionCollectionPage { - return HybridConnectionCollectionPage{ - fn: getNextPage, - hcc: cur, - } -} - -// HybridConnectionKey hybrid Connection key contract. This has the send key name and value for a Hybrid -// Connection. -type HybridConnectionKey struct { - autorest.Response `json:"-"` - // HybridConnectionKeyProperties - HybridConnectionKey resource specific properties - *HybridConnectionKeyProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for HybridConnectionKey. -func (hck HybridConnectionKey) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if hck.HybridConnectionKeyProperties != nil { - objectMap["properties"] = hck.HybridConnectionKeyProperties - } - if hck.Kind != nil { - objectMap["kind"] = hck.Kind - } - return json.Marshal(objectMap) +// Creates a new instance of the FunctionAppStackCollectionIterator type. +func NewFunctionAppStackCollectionIterator(page FunctionAppStackCollectionPage) FunctionAppStackCollectionIterator { + return FunctionAppStackCollectionIterator{page: page} } -// UnmarshalJSON is the custom unmarshaler for HybridConnectionKey struct. -func (hck *HybridConnectionKey) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var hybridConnectionKeyProperties HybridConnectionKeyProperties - err = json.Unmarshal(*v, &hybridConnectionKeyProperties) - if err != nil { - return err - } - hck.HybridConnectionKeyProperties = &hybridConnectionKeyProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - hck.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - hck.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - hck.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - hck.Type = &typeVar +// IsEmpty returns true if the ListResult contains no values. +func (fasc FunctionAppStackCollection) IsEmpty() bool { + return fasc.Value == nil || len(*fasc.Value) == 0 +} + +// hasNextLink returns true if the NextLink is not empty. +func (fasc FunctionAppStackCollection) hasNextLink() bool { + return fasc.NextLink != nil && len(*fasc.NextLink) != 0 +} + +// functionAppStackCollectionPreparer prepares a request to retrieve the next set of results. +// It returns nil if no more results exist. +func (fasc FunctionAppStackCollection) functionAppStackCollectionPreparer(ctx context.Context) (*http.Request, error) { + if !fasc.hasNextLink() { + return nil, nil + } + return autorest.Prepare((&http.Request{}).WithContext(ctx), + autorest.AsJSON(), + autorest.AsGet(), + autorest.WithBaseURL(to.String(fasc.NextLink))) +} + +// FunctionAppStackCollectionPage contains a page of FunctionAppStack values. +type FunctionAppStackCollectionPage struct { + fn func(context.Context, FunctionAppStackCollection) (FunctionAppStackCollection, error) + fasc FunctionAppStackCollection +} + +// NextWithContext advances to the next page of values. If there was an error making +// the request the page does not advance and the error is returned. +func (page *FunctionAppStackCollectionPage) NextWithContext(ctx context.Context) (err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/FunctionAppStackCollectionPage.NextWithContext") + defer func() { + sc := -1 + if page.Response().Response.Response != nil { + sc = page.Response().Response.Response.StatusCode } + tracing.EndSpan(ctx, sc, err) + }() + } + for { + next, err := page.fn(ctx, page.fasc) + if err != nil { + return err + } + page.fasc = next + if !next.hasNextLink() || !next.IsEmpty() { + break } } - return nil } -// HybridConnectionKeyProperties hybridConnectionKey resource specific properties -type HybridConnectionKeyProperties struct { - // SendKeyName - READ-ONLY; The name of the send key. - SendKeyName *string `json:"sendKeyName,omitempty"` - // SendKeyValue - READ-ONLY; The value of the send key. - SendKeyValue *string `json:"sendKeyValue,omitempty"` +// Next advances to the next page of values. If there was an error making +// the request the page does not advance and the error is returned. +// Deprecated: Use NextWithContext() instead. +func (page *FunctionAppStackCollectionPage) Next() error { + return page.NextWithContext(context.Background()) } -// MarshalJSON is the custom marshaler for HybridConnectionKeyProperties. -func (hck HybridConnectionKeyProperties) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - return json.Marshal(objectMap) +// NotDone returns true if the page enumeration should be started or is not yet complete. +func (page FunctionAppStackCollectionPage) NotDone() bool { + return !page.fasc.IsEmpty() } -// HybridConnectionLimits hybrid Connection limits contract. This is used to return the plan limits of -// Hybrid Connections. -type HybridConnectionLimits struct { - autorest.Response `json:"-"` - // HybridConnectionLimitsProperties - HybridConnectionLimits resource specific properties - *HybridConnectionLimitsProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` +// Response returns the raw server response from the last page request. +func (page FunctionAppStackCollectionPage) Response() FunctionAppStackCollection { + return page.fasc } -// MarshalJSON is the custom marshaler for HybridConnectionLimits. -func (hcl HybridConnectionLimits) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if hcl.HybridConnectionLimitsProperties != nil { - objectMap["properties"] = hcl.HybridConnectionLimitsProperties - } - if hcl.Kind != nil { - objectMap["kind"] = hcl.Kind +// Values returns the slice of values for the current page or nil if there are no values. +func (page FunctionAppStackCollectionPage) Values() []FunctionAppStack { + if page.fasc.IsEmpty() { + return nil } - return json.Marshal(objectMap) + return *page.fasc.Value } -// UnmarshalJSON is the custom unmarshaler for HybridConnectionLimits struct. -func (hcl *HybridConnectionLimits) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var hybridConnectionLimitsProperties HybridConnectionLimitsProperties - err = json.Unmarshal(*v, &hybridConnectionLimitsProperties) - if err != nil { - return err - } - hcl.HybridConnectionLimitsProperties = &hybridConnectionLimitsProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - hcl.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - hcl.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - hcl.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - hcl.Type = &typeVar - } - } +// Creates a new instance of the FunctionAppStackCollectionPage type. +func NewFunctionAppStackCollectionPage(cur FunctionAppStackCollection, getNextPage func(context.Context, FunctionAppStackCollection) (FunctionAppStackCollection, error)) FunctionAppStackCollectionPage { + return FunctionAppStackCollectionPage{ + fn: getNextPage, + fasc: cur, } - - return nil } -// HybridConnectionLimitsProperties hybridConnectionLimits resource specific properties -type HybridConnectionLimitsProperties struct { - // Current - READ-ONLY; The current number of Hybrid Connections. - Current *int32 `json:"current,omitempty"` - // Maximum - READ-ONLY; The maximum number of Hybrid Connections allowed. - Maximum *int32 `json:"maximum,omitempty"` +// FunctionAppStackProperties functionAppStack resource specific properties +type FunctionAppStackProperties struct { + // DisplayText - READ-ONLY; Function App stack (display only). + DisplayText *string `json:"displayText,omitempty"` + // Value - READ-ONLY; Function App stack name. + Value *string `json:"value,omitempty"` + // MajorVersions - READ-ONLY; List of major versions available. + MajorVersions *[]FunctionAppMajorVersion `json:"majorVersions,omitempty"` + // PreferredOs - READ-ONLY; Function App stack preferred OS. Possible values include: 'Windows', 'Linux' + PreferredOs StackPreferredOs `json:"preferredOs,omitempty"` } -// MarshalJSON is the custom marshaler for HybridConnectionLimitsProperties. -func (hcl HybridConnectionLimitsProperties) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for FunctionAppStackProperties. +func (fas FunctionAppStackProperties) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) return json.Marshal(objectMap) } -// HybridConnectionProperties hybridConnection resource specific properties -type HybridConnectionProperties struct { - // ServiceBusNamespace - The name of the Service Bus namespace. - ServiceBusNamespace *string `json:"serviceBusNamespace,omitempty"` - // RelayName - The name of the Service Bus relay. - RelayName *string `json:"relayName,omitempty"` - // RelayArmURI - The ARM URI to the Service Bus relay. - RelayArmURI *string `json:"relayArmUri,omitempty"` - // Hostname - The hostname of the endpoint. - Hostname *string `json:"hostname,omitempty"` - // Port - The port of the endpoint. - Port *int32 `json:"port,omitempty"` - // SendKeyName - The name of the Service Bus key which has Send permissions. This is used to authenticate to Service Bus. - SendKeyName *string `json:"sendKeyName,omitempty"` - // SendKeyValue - The value of the Service Bus key. This is used to authenticate to Service Bus. In ARM this key will not be returned - // normally, use the POST /listKeys API instead. - SendKeyValue *string `json:"sendKeyValue,omitempty"` - // ServiceBusSuffix - The suffix for the service bus endpoint. By default this is .servicebus.windows.net - ServiceBusSuffix *string `json:"serviceBusSuffix,omitempty"` -} - -// Identifier a domain specific resource identifier. -type Identifier struct { +// FunctionEnvelope function information. +type FunctionEnvelope struct { autorest.Response `json:"-"` - // IdentifierProperties - Identifier resource specific properties - *IdentifierProperties `json:"properties,omitempty"` + // FunctionEnvelopeProperties - FunctionEnvelope resource specific properties + *FunctionEnvelopeProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. @@ -15664,20 +12064,20 @@ type Identifier struct { Type *string `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for Identifier. -func (i Identifier) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for FunctionEnvelope. +func (fe FunctionEnvelope) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if i.IdentifierProperties != nil { - objectMap["properties"] = i.IdentifierProperties + if fe.FunctionEnvelopeProperties != nil { + objectMap["properties"] = fe.FunctionEnvelopeProperties } - if i.Kind != nil { - objectMap["kind"] = i.Kind + if fe.Kind != nil { + objectMap["kind"] = fe.Kind } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for Identifier struct. -func (i *Identifier) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for FunctionEnvelope struct. +func (fe *FunctionEnvelope) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -15687,12 +12087,12 @@ func (i *Identifier) UnmarshalJSON(body []byte) error { switch k { case "properties": if v != nil { - var identifierProperties IdentifierProperties - err = json.Unmarshal(*v, &identifierProperties) + var functionEnvelopeProperties FunctionEnvelopeProperties + err = json.Unmarshal(*v, &functionEnvelopeProperties) if err != nil { return err } - i.IdentifierProperties = &identifierProperties + fe.FunctionEnvelopeProperties = &functionEnvelopeProperties } case "id": if v != nil { @@ -15701,7 +12101,7 @@ func (i *Identifier) UnmarshalJSON(body []byte) error { if err != nil { return err } - i.ID = &ID + fe.ID = &ID } case "name": if v != nil { @@ -15710,7 +12110,7 @@ func (i *Identifier) UnmarshalJSON(body []byte) error { if err != nil { return err } - i.Name = &name + fe.Name = &name } case "kind": if v != nil { @@ -15719,7 +12119,7 @@ func (i *Identifier) UnmarshalJSON(body []byte) error { if err != nil { return err } - i.Kind = &kind + fe.Kind = &kind } case "type": if v != nil { @@ -15728,7 +12128,7 @@ func (i *Identifier) UnmarshalJSON(body []byte) error { if err != nil { return err } - i.Type = &typeVar + fe.Type = &typeVar } } } @@ -15736,35 +12136,35 @@ func (i *Identifier) UnmarshalJSON(body []byte) error { return nil } -// IdentifierCollection collection of identifiers. -type IdentifierCollection struct { +// FunctionEnvelopeCollection collection of Kudu function information elements. +type FunctionEnvelopeCollection struct { autorest.Response `json:"-"` // Value - Collection of resources. - Value *[]Identifier `json:"value,omitempty"` + Value *[]FunctionEnvelope `json:"value,omitempty"` // NextLink - READ-ONLY; Link to next page of resources. NextLink *string `json:"nextLink,omitempty"` } -// MarshalJSON is the custom marshaler for IdentifierCollection. -func (ic IdentifierCollection) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for FunctionEnvelopeCollection. +func (fec FunctionEnvelopeCollection) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if ic.Value != nil { - objectMap["value"] = ic.Value + if fec.Value != nil { + objectMap["value"] = fec.Value } return json.Marshal(objectMap) } - -// IdentifierCollectionIterator provides access to a complete listing of Identifier values. -type IdentifierCollectionIterator struct { + +// FunctionEnvelopeCollectionIterator provides access to a complete listing of FunctionEnvelope values. +type FunctionEnvelopeCollectionIterator struct { i int - page IdentifierCollectionPage + page FunctionEnvelopeCollectionPage } // NextWithContext advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. -func (iter *IdentifierCollectionIterator) NextWithContext(ctx context.Context) (err error) { +func (iter *FunctionEnvelopeCollectionIterator) NextWithContext(ctx context.Context) (err error) { if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/IdentifierCollectionIterator.NextWithContext") + ctx = tracing.StartSpan(ctx, fqdn+"/FunctionEnvelopeCollectionIterator.NextWithContext") defer func() { sc := -1 if iter.Response().Response.Response != nil { @@ -15789,67 +12189,67 @@ func (iter *IdentifierCollectionIterator) NextWithContext(ctx context.Context) ( // Next advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. // Deprecated: Use NextWithContext() instead. -func (iter *IdentifierCollectionIterator) Next() error { +func (iter *FunctionEnvelopeCollectionIterator) Next() error { return iter.NextWithContext(context.Background()) } // NotDone returns true if the enumeration should be started or is not yet complete. -func (iter IdentifierCollectionIterator) NotDone() bool { +func (iter FunctionEnvelopeCollectionIterator) NotDone() bool { return iter.page.NotDone() && iter.i < len(iter.page.Values()) } // Response returns the raw server response from the last page request. -func (iter IdentifierCollectionIterator) Response() IdentifierCollection { +func (iter FunctionEnvelopeCollectionIterator) Response() FunctionEnvelopeCollection { return iter.page.Response() } // Value returns the current value or a zero-initialized value if the // iterator has advanced beyond the end of the collection. -func (iter IdentifierCollectionIterator) Value() Identifier { +func (iter FunctionEnvelopeCollectionIterator) Value() FunctionEnvelope { if !iter.page.NotDone() { - return Identifier{} + return FunctionEnvelope{} } return iter.page.Values()[iter.i] } -// Creates a new instance of the IdentifierCollectionIterator type. -func NewIdentifierCollectionIterator(page IdentifierCollectionPage) IdentifierCollectionIterator { - return IdentifierCollectionIterator{page: page} +// Creates a new instance of the FunctionEnvelopeCollectionIterator type. +func NewFunctionEnvelopeCollectionIterator(page FunctionEnvelopeCollectionPage) FunctionEnvelopeCollectionIterator { + return FunctionEnvelopeCollectionIterator{page: page} } // IsEmpty returns true if the ListResult contains no values. -func (ic IdentifierCollection) IsEmpty() bool { - return ic.Value == nil || len(*ic.Value) == 0 +func (fec FunctionEnvelopeCollection) IsEmpty() bool { + return fec.Value == nil || len(*fec.Value) == 0 } // hasNextLink returns true if the NextLink is not empty. -func (ic IdentifierCollection) hasNextLink() bool { - return ic.NextLink != nil && len(*ic.NextLink) != 0 +func (fec FunctionEnvelopeCollection) hasNextLink() bool { + return fec.NextLink != nil && len(*fec.NextLink) != 0 } -// identifierCollectionPreparer prepares a request to retrieve the next set of results. +// functionEnvelopeCollectionPreparer prepares a request to retrieve the next set of results. // It returns nil if no more results exist. -func (ic IdentifierCollection) identifierCollectionPreparer(ctx context.Context) (*http.Request, error) { - if !ic.hasNextLink() { +func (fec FunctionEnvelopeCollection) functionEnvelopeCollectionPreparer(ctx context.Context) (*http.Request, error) { + if !fec.hasNextLink() { return nil, nil } return autorest.Prepare((&http.Request{}).WithContext(ctx), autorest.AsJSON(), autorest.AsGet(), - autorest.WithBaseURL(to.String(ic.NextLink))) + autorest.WithBaseURL(to.String(fec.NextLink))) } -// IdentifierCollectionPage contains a page of Identifier values. -type IdentifierCollectionPage struct { - fn func(context.Context, IdentifierCollection) (IdentifierCollection, error) - ic IdentifierCollection +// FunctionEnvelopeCollectionPage contains a page of FunctionEnvelope values. +type FunctionEnvelopeCollectionPage struct { + fn func(context.Context, FunctionEnvelopeCollection) (FunctionEnvelopeCollection, error) + fec FunctionEnvelopeCollection } // NextWithContext advances to the next page of values. If there was an error making // the request the page does not advance and the error is returned. -func (page *IdentifierCollectionPage) NextWithContext(ctx context.Context) (err error) { +func (page *FunctionEnvelopeCollectionPage) NextWithContext(ctx context.Context) (err error) { if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/IdentifierCollectionPage.NextWithContext") + ctx = tracing.StartSpan(ctx, fqdn+"/FunctionEnvelopeCollectionPage.NextWithContext") defer func() { sc := -1 if page.Response().Response.Response != nil { @@ -15859,11 +12259,11 @@ func (page *IdentifierCollectionPage) NextWithContext(ctx context.Context) (err }() } for { - next, err := page.fn(ctx, page.ic) + next, err := page.fn(ctx, page.fec) if err != nil { return err } - page.ic = next + page.fec = next if !next.hasNextLink() || !next.IsEmpty() { break } @@ -15874,47 +12274,124 @@ func (page *IdentifierCollectionPage) NextWithContext(ctx context.Context) (err // Next advances to the next page of values. If there was an error making // the request the page does not advance and the error is returned. // Deprecated: Use NextWithContext() instead. -func (page *IdentifierCollectionPage) Next() error { +func (page *FunctionEnvelopeCollectionPage) Next() error { return page.NextWithContext(context.Background()) } // NotDone returns true if the page enumeration should be started or is not yet complete. -func (page IdentifierCollectionPage) NotDone() bool { - return !page.ic.IsEmpty() +func (page FunctionEnvelopeCollectionPage) NotDone() bool { + return !page.fec.IsEmpty() } // Response returns the raw server response from the last page request. -func (page IdentifierCollectionPage) Response() IdentifierCollection { - return page.ic +func (page FunctionEnvelopeCollectionPage) Response() FunctionEnvelopeCollection { + return page.fec } // Values returns the slice of values for the current page or nil if there are no values. -func (page IdentifierCollectionPage) Values() []Identifier { - if page.ic.IsEmpty() { +func (page FunctionEnvelopeCollectionPage) Values() []FunctionEnvelope { + if page.fec.IsEmpty() { return nil } - return *page.ic.Value + return *page.fec.Value } -// Creates a new instance of the IdentifierCollectionPage type. -func NewIdentifierCollectionPage(cur IdentifierCollection, getNextPage func(context.Context, IdentifierCollection) (IdentifierCollection, error)) IdentifierCollectionPage { - return IdentifierCollectionPage{ - fn: getNextPage, - ic: cur, +// Creates a new instance of the FunctionEnvelopeCollectionPage type. +func NewFunctionEnvelopeCollectionPage(cur FunctionEnvelopeCollection, getNextPage func(context.Context, FunctionEnvelopeCollection) (FunctionEnvelopeCollection, error)) FunctionEnvelopeCollectionPage { + return FunctionEnvelopeCollectionPage{ + fn: getNextPage, + fec: cur, } } -// IdentifierProperties identifier resource specific properties -type IdentifierProperties struct { - // Value - String representation of the identity. - Value *string `json:"id,omitempty"` +// FunctionEnvelopeProperties functionEnvelope resource specific properties +type FunctionEnvelopeProperties struct { + // FunctionAppID - Function App ID. + FunctionAppID *string `json:"function_app_id,omitempty"` + // ScriptRootPathHref - Script root path URI. + ScriptRootPathHref *string `json:"script_root_path_href,omitempty"` + // ScriptHref - Script URI. + ScriptHref *string `json:"script_href,omitempty"` + // ConfigHref - Config URI. + ConfigHref *string `json:"config_href,omitempty"` + // TestDataHref - Test data URI. + TestDataHref *string `json:"test_data_href,omitempty"` + // SecretsFileHref - Secrets file URI. + SecretsFileHref *string `json:"secrets_file_href,omitempty"` + // Href - Function URI. + Href *string `json:"href,omitempty"` + // Config - Config information. + Config interface{} `json:"config,omitempty"` + // Files - File list. + Files map[string]*string `json:"files"` + // TestData - Test data used when testing via the Azure Portal. + TestData *string `json:"test_data,omitempty"` + // InvokeURLTemplate - The invocation URL + InvokeURLTemplate *string `json:"invoke_url_template,omitempty"` + // Language - The function language + Language *string `json:"language,omitempty"` + // IsDisabled - Gets or sets a value indicating whether the function is disabled + IsDisabled *bool `json:"isDisabled,omitempty"` } -// IdentityProviders the configuration settings of each of the identity providers used to configure App -// Service Authentication/Authorization. -type IdentityProviders struct { - // IdentityProvidersProperties - IdentityProviders resource specific properties - *IdentityProvidersProperties `json:"properties,omitempty"` +// MarshalJSON is the custom marshaler for FunctionEnvelopeProperties. +func (fe FunctionEnvelopeProperties) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if fe.FunctionAppID != nil { + objectMap["function_app_id"] = fe.FunctionAppID + } + if fe.ScriptRootPathHref != nil { + objectMap["script_root_path_href"] = fe.ScriptRootPathHref + } + if fe.ScriptHref != nil { + objectMap["script_href"] = fe.ScriptHref + } + if fe.ConfigHref != nil { + objectMap["config_href"] = fe.ConfigHref + } + if fe.TestDataHref != nil { + objectMap["test_data_href"] = fe.TestDataHref + } + if fe.SecretsFileHref != nil { + objectMap["secrets_file_href"] = fe.SecretsFileHref + } + if fe.Href != nil { + objectMap["href"] = fe.Href + } + if fe.Config != nil { + objectMap["config"] = fe.Config + } + if fe.Files != nil { + objectMap["files"] = fe.Files + } + if fe.TestData != nil { + objectMap["test_data"] = fe.TestData + } + if fe.InvokeURLTemplate != nil { + objectMap["invoke_url_template"] = fe.InvokeURLTemplate + } + if fe.Language != nil { + objectMap["language"] = fe.Language + } + if fe.IsDisabled != nil { + objectMap["isDisabled"] = fe.IsDisabled + } + return json.Marshal(objectMap) +} + +// FunctionSecrets function secrets. +type FunctionSecrets struct { + autorest.Response `json:"-"` + // Key - Secret key. + Key *string `json:"key,omitempty"` + // TriggerURL - Trigger URL. + TriggerURL *string `json:"trigger_url,omitempty"` +} + +// GeoRegion geographical region. +type GeoRegion struct { + // GeoRegionProperties - GeoRegion resource specific properties + *GeoRegionProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. @@ -15925,20 +12402,20 @@ type IdentityProviders struct { Type *string `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for IdentityProviders. -func (IP IdentityProviders) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for GeoRegion. +func (gr GeoRegion) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if IP.IdentityProvidersProperties != nil { - objectMap["properties"] = IP.IdentityProvidersProperties + if gr.GeoRegionProperties != nil { + objectMap["properties"] = gr.GeoRegionProperties } - if IP.Kind != nil { - objectMap["kind"] = IP.Kind + if gr.Kind != nil { + objectMap["kind"] = gr.Kind } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for IdentityProviders struct. -func (IP *IdentityProviders) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for GeoRegion struct. +func (gr *GeoRegion) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -15948,12 +12425,12 @@ func (IP *IdentityProviders) UnmarshalJSON(body []byte) error { switch k { case "properties": if v != nil { - var identityProvidersProperties IdentityProvidersProperties - err = json.Unmarshal(*v, &identityProvidersProperties) + var geoRegionProperties GeoRegionProperties + err = json.Unmarshal(*v, &geoRegionProperties) if err != nil { return err } - IP.IdentityProvidersProperties = &identityProvidersProperties + gr.GeoRegionProperties = &geoRegionProperties } case "id": if v != nil { @@ -15962,7 +12439,7 @@ func (IP *IdentityProviders) UnmarshalJSON(body []byte) error { if err != nil { return err } - IP.ID = &ID + gr.ID = &ID } case "name": if v != nil { @@ -15971,129 +12448,61 @@ func (IP *IdentityProviders) UnmarshalJSON(body []byte) error { if err != nil { return err } - IP.Name = &name + gr.Name = &name } case "kind": if v != nil { var kind string err = json.Unmarshal(*v, &kind) if err != nil { - return err - } - IP.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - IP.Type = &typeVar - } - } - } - - return nil -} - -// IdentityProvidersProperties identityProviders resource specific properties -type IdentityProvidersProperties struct { - // AzureActiveDirectory - The configuration settings of the Azure Active directory provider. - AzureActiveDirectory *AzureActiveDirectory `json:"azureActiveDirectory,omitempty"` - // Facebook - The configuration settings of the Facebook provider. - Facebook *Facebook `json:"facebook,omitempty"` - // GitHub - The configuration settings of the GitHub provider. - GitHub *GitHub `json:"gitHub,omitempty"` - // Google - The configuration settings of the Google provider. - Google *Google `json:"google,omitempty"` - // Twitter - The configuration settings of the Twitter provider. - Twitter *Twitter `json:"twitter,omitempty"` - // CustomOpenIDConnectProviders - The map of the name of the alias of each custom Open ID Connect provider to the - // configuration settings of the custom Open ID Connect provider. - CustomOpenIDConnectProviders map[string]*CustomOpenIDConnectProvider `json:"customOpenIdConnectProviders"` - // LegacyMicrosoftAccount - The configuration settings of the legacy Microsoft Account provider. - LegacyMicrosoftAccount *LegacyMicrosoftAccount `json:"legacyMicrosoftAccount,omitempty"` - // Apple - The configuration settings of the Apple provider. - Apple *Apple `json:"apple,omitempty"` - // AzureStaticWebApps - The configuration settings of the Azure Static Web Apps provider. - AzureStaticWebApps *AzureStaticWebApps `json:"azureStaticWebApps,omitempty"` -} - -// MarshalJSON is the custom marshaler for IdentityProvidersProperties. -func (IP IdentityProvidersProperties) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if IP.AzureActiveDirectory != nil { - objectMap["azureActiveDirectory"] = IP.AzureActiveDirectory - } - if IP.Facebook != nil { - objectMap["facebook"] = IP.Facebook - } - if IP.GitHub != nil { - objectMap["gitHub"] = IP.GitHub - } - if IP.Google != nil { - objectMap["google"] = IP.Google - } - if IP.Twitter != nil { - objectMap["twitter"] = IP.Twitter - } - if IP.CustomOpenIDConnectProviders != nil { - objectMap["customOpenIdConnectProviders"] = IP.CustomOpenIDConnectProviders - } - if IP.LegacyMicrosoftAccount != nil { - objectMap["legacyMicrosoftAccount"] = IP.LegacyMicrosoftAccount - } - if IP.Apple != nil { - objectMap["apple"] = IP.Apple - } - if IP.AzureStaticWebApps != nil { - objectMap["azureStaticWebApps"] = IP.AzureStaticWebApps + return err + } + gr.Kind = &kind + } + case "type": + if v != nil { + var typeVar string + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + gr.Type = &typeVar + } + } } - return json.Marshal(objectMap) -} -// InboundEnvironmentEndpoint the IP Addresses and Ports that require inbound network access to and within -// the subnet of the App Service Environment. -type InboundEnvironmentEndpoint struct { - // Description - Short text describing the purpose of the network traffic. - Description *string `json:"description,omitempty"` - // Endpoints - The IP addresses that network traffic will originate from in cidr notation. - Endpoints *[]string `json:"endpoints,omitempty"` - // Ports - The ports that network traffic will arrive to the App Service Environment at. - Ports *[]string `json:"ports,omitempty"` + return nil } -// InboundEnvironmentEndpointCollection collection of Inbound Environment Endpoints -type InboundEnvironmentEndpointCollection struct { +// GeoRegionCollection collection of geographical regions. +type GeoRegionCollection struct { autorest.Response `json:"-"` // Value - Collection of resources. - Value *[]InboundEnvironmentEndpoint `json:"value,omitempty"` + Value *[]GeoRegion `json:"value,omitempty"` // NextLink - READ-ONLY; Link to next page of resources. NextLink *string `json:"nextLink,omitempty"` } -// MarshalJSON is the custom marshaler for InboundEnvironmentEndpointCollection. -func (ieec InboundEnvironmentEndpointCollection) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for GeoRegionCollection. +func (grc GeoRegionCollection) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if ieec.Value != nil { - objectMap["value"] = ieec.Value + if grc.Value != nil { + objectMap["value"] = grc.Value } return json.Marshal(objectMap) } -// InboundEnvironmentEndpointCollectionIterator provides access to a complete listing of -// InboundEnvironmentEndpoint values. -type InboundEnvironmentEndpointCollectionIterator struct { +// GeoRegionCollectionIterator provides access to a complete listing of GeoRegion values. +type GeoRegionCollectionIterator struct { i int - page InboundEnvironmentEndpointCollectionPage + page GeoRegionCollectionPage } // NextWithContext advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. -func (iter *InboundEnvironmentEndpointCollectionIterator) NextWithContext(ctx context.Context) (err error) { +func (iter *GeoRegionCollectionIterator) NextWithContext(ctx context.Context) (err error) { if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/InboundEnvironmentEndpointCollectionIterator.NextWithContext") + ctx = tracing.StartSpan(ctx, fqdn+"/GeoRegionCollectionIterator.NextWithContext") defer func() { sc := -1 if iter.Response().Response.Response != nil { @@ -16118,67 +12527,67 @@ func (iter *InboundEnvironmentEndpointCollectionIterator) NextWithContext(ctx co // Next advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. // Deprecated: Use NextWithContext() instead. -func (iter *InboundEnvironmentEndpointCollectionIterator) Next() error { +func (iter *GeoRegionCollectionIterator) Next() error { return iter.NextWithContext(context.Background()) } // NotDone returns true if the enumeration should be started or is not yet complete. -func (iter InboundEnvironmentEndpointCollectionIterator) NotDone() bool { +func (iter GeoRegionCollectionIterator) NotDone() bool { return iter.page.NotDone() && iter.i < len(iter.page.Values()) } // Response returns the raw server response from the last page request. -func (iter InboundEnvironmentEndpointCollectionIterator) Response() InboundEnvironmentEndpointCollection { +func (iter GeoRegionCollectionIterator) Response() GeoRegionCollection { return iter.page.Response() } // Value returns the current value or a zero-initialized value if the // iterator has advanced beyond the end of the collection. -func (iter InboundEnvironmentEndpointCollectionIterator) Value() InboundEnvironmentEndpoint { +func (iter GeoRegionCollectionIterator) Value() GeoRegion { if !iter.page.NotDone() { - return InboundEnvironmentEndpoint{} + return GeoRegion{} } return iter.page.Values()[iter.i] } -// Creates a new instance of the InboundEnvironmentEndpointCollectionIterator type. -func NewInboundEnvironmentEndpointCollectionIterator(page InboundEnvironmentEndpointCollectionPage) InboundEnvironmentEndpointCollectionIterator { - return InboundEnvironmentEndpointCollectionIterator{page: page} +// Creates a new instance of the GeoRegionCollectionIterator type. +func NewGeoRegionCollectionIterator(page GeoRegionCollectionPage) GeoRegionCollectionIterator { + return GeoRegionCollectionIterator{page: page} } // IsEmpty returns true if the ListResult contains no values. -func (ieec InboundEnvironmentEndpointCollection) IsEmpty() bool { - return ieec.Value == nil || len(*ieec.Value) == 0 +func (grc GeoRegionCollection) IsEmpty() bool { + return grc.Value == nil || len(*grc.Value) == 0 } // hasNextLink returns true if the NextLink is not empty. -func (ieec InboundEnvironmentEndpointCollection) hasNextLink() bool { - return ieec.NextLink != nil && len(*ieec.NextLink) != 0 +func (grc GeoRegionCollection) hasNextLink() bool { + return grc.NextLink != nil && len(*grc.NextLink) != 0 } -// inboundEnvironmentEndpointCollectionPreparer prepares a request to retrieve the next set of results. +// geoRegionCollectionPreparer prepares a request to retrieve the next set of results. // It returns nil if no more results exist. -func (ieec InboundEnvironmentEndpointCollection) inboundEnvironmentEndpointCollectionPreparer(ctx context.Context) (*http.Request, error) { - if !ieec.hasNextLink() { +func (grc GeoRegionCollection) geoRegionCollectionPreparer(ctx context.Context) (*http.Request, error) { + if !grc.hasNextLink() { return nil, nil } return autorest.Prepare((&http.Request{}).WithContext(ctx), autorest.AsJSON(), autorest.AsGet(), - autorest.WithBaseURL(to.String(ieec.NextLink))) + autorest.WithBaseURL(to.String(grc.NextLink))) } -// InboundEnvironmentEndpointCollectionPage contains a page of InboundEnvironmentEndpoint values. -type InboundEnvironmentEndpointCollectionPage struct { - fn func(context.Context, InboundEnvironmentEndpointCollection) (InboundEnvironmentEndpointCollection, error) - ieec InboundEnvironmentEndpointCollection +// GeoRegionCollectionPage contains a page of GeoRegion values. +type GeoRegionCollectionPage struct { + fn func(context.Context, GeoRegionCollection) (GeoRegionCollection, error) + grc GeoRegionCollection } // NextWithContext advances to the next page of values. If there was an error making // the request the page does not advance and the error is returned. -func (page *InboundEnvironmentEndpointCollectionPage) NextWithContext(ctx context.Context) (err error) { +func (page *GeoRegionCollectionPage) NextWithContext(ctx context.Context) (err error) { if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/InboundEnvironmentEndpointCollectionPage.NextWithContext") + ctx = tracing.StartSpan(ctx, fqdn+"/GeoRegionCollectionPage.NextWithContext") defer func() { sc := -1 if page.Response().Response.Response != nil { @@ -16188,11 +12597,11 @@ func (page *InboundEnvironmentEndpointCollectionPage) NextWithContext(ctx contex }() } for { - next, err := page.fn(ctx, page.ieec) + next, err := page.fn(ctx, page.grc) if err != nil { return err } - page.ieec = next + page.grc = next if !next.hasNextLink() || !next.IsEmpty() { break } @@ -16203,122 +12612,249 @@ func (page *InboundEnvironmentEndpointCollectionPage) NextWithContext(ctx contex // Next advances to the next page of values. If there was an error making // the request the page does not advance and the error is returned. // Deprecated: Use NextWithContext() instead. -func (page *InboundEnvironmentEndpointCollectionPage) Next() error { +func (page *GeoRegionCollectionPage) Next() error { return page.NextWithContext(context.Background()) } // NotDone returns true if the page enumeration should be started or is not yet complete. -func (page InboundEnvironmentEndpointCollectionPage) NotDone() bool { - return !page.ieec.IsEmpty() +func (page GeoRegionCollectionPage) NotDone() bool { + return !page.grc.IsEmpty() +} + +// Response returns the raw server response from the last page request. +func (page GeoRegionCollectionPage) Response() GeoRegionCollection { + return page.grc +} + +// Values returns the slice of values for the current page or nil if there are no values. +func (page GeoRegionCollectionPage) Values() []GeoRegion { + if page.grc.IsEmpty() { + return nil + } + return *page.grc.Value +} + +// Creates a new instance of the GeoRegionCollectionPage type. +func NewGeoRegionCollectionPage(cur GeoRegionCollection, getNextPage func(context.Context, GeoRegionCollection) (GeoRegionCollection, error)) GeoRegionCollectionPage { + return GeoRegionCollectionPage{ + fn: getNextPage, + grc: cur, + } +} + +// GeoRegionProperties geoRegion resource specific properties +type GeoRegionProperties struct { + // Description - READ-ONLY; Region description. + Description *string `json:"description,omitempty"` + // DisplayName - READ-ONLY; Display name for region. + DisplayName *string `json:"displayName,omitempty"` + // OrgDomain - READ-ONLY; Display name for region. + OrgDomain *string `json:"orgDomain,omitempty"` +} + +// MarshalJSON is the custom marshaler for GeoRegionProperties. +func (gr GeoRegionProperties) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + return json.Marshal(objectMap) +} + +// GitHub the configuration settings of the GitHub provider. +type GitHub struct { + // Enabled - false if the GitHub provider should not be enabled despite the set registration; otherwise, true. + Enabled *bool `json:"enabled,omitempty"` + // Registration - The configuration settings of the app registration for the GitHub provider. + Registration *ClientRegistration `json:"registration,omitempty"` + // Login - The configuration settings of the login flow. + Login *LoginScopes `json:"login,omitempty"` +} + +// GitHubActionCodeConfiguration the GitHub action code configuration. +type GitHubActionCodeConfiguration struct { + // RuntimeStack - Runtime stack is used to determine the workflow file content for code base apps. + RuntimeStack *string `json:"runtimeStack,omitempty"` + // RuntimeVersion - Runtime version is used to determine what build version to set in the workflow file. + RuntimeVersion *string `json:"runtimeVersion,omitempty"` +} + +// GitHubActionConfiguration the GitHub action configuration. +type GitHubActionConfiguration struct { + // CodeConfiguration - GitHub Action code configuration. + CodeConfiguration *GitHubActionCodeConfiguration `json:"codeConfiguration,omitempty"` + // ContainerConfiguration - GitHub Action container configuration. + ContainerConfiguration *GitHubActionContainerConfiguration `json:"containerConfiguration,omitempty"` + // IsLinux - This will help determine the workflow configuration to select. + IsLinux *bool `json:"isLinux,omitempty"` + // GenerateWorkflowFile - Workflow option to determine whether the workflow file should be generated and written to the repository. + GenerateWorkflowFile *bool `json:"generateWorkflowFile,omitempty"` +} + +// GitHubActionContainerConfiguration the GitHub action container configuration. +type GitHubActionContainerConfiguration struct { + // ServerURL - The server URL for the container registry where the build will be hosted. + ServerURL *string `json:"serverUrl,omitempty"` + // ImageName - The image name for the build. + ImageName *string `json:"imageName,omitempty"` + // Username - The username used to upload the image to the container registry. + Username *string `json:"username,omitempty"` + // Password - The password used to upload the image to the container registry. + Password *string `json:"password,omitempty"` +} + +// GitHubActionWebAppStackSettings gitHub Actions Web App stack settings. +type GitHubActionWebAppStackSettings struct { + // IsSupported - READ-ONLY; true if GitHub Actions is supported for the stack; otherwise, false. + IsSupported *bool `json:"isSupported,omitempty"` + // SupportedVersion - READ-ONLY; The minor version that is supported for GitHub Actions. + SupportedVersion *string `json:"supportedVersion,omitempty"` +} + +// MarshalJSON is the custom marshaler for GitHubActionWebAppStackSettings. +func (ghawass GitHubActionWebAppStackSettings) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + return json.Marshal(objectMap) +} + +// GlobalCsmSkuDescription a Global SKU Description. +type GlobalCsmSkuDescription struct { + // Name - Name of the resource SKU. + Name *string `json:"name,omitempty"` + // Tier - Service Tier of the resource SKU. + Tier *string `json:"tier,omitempty"` + // Size - Size specifier of the resource SKU. + Size *string `json:"size,omitempty"` + // Family - Family code of the resource SKU. + Family *string `json:"family,omitempty"` + // Capacity - Min, max, and default scale values of the SKU. + Capacity *SkuCapacity `json:"capacity,omitempty"` + // Locations - Locations of the SKU. + Locations *[]string `json:"locations,omitempty"` + // Capabilities - Capabilities of the SKU, e.g., is traffic manager enabled? + Capabilities *[]Capability `json:"capabilities,omitempty"` +} + +// GlobalValidation the configuration settings that determines the validation flow of users using App +// Service Authentication/Authorization. +type GlobalValidation struct { + // RequireAuthentication - true if the authentication flow is required any request is made; otherwise, false. + RequireAuthentication *bool `json:"requireAuthentication,omitempty"` + // UnauthenticatedClientAction - The action to take when an unauthenticated client attempts to access the app. Possible values include: 'UnauthenticatedClientActionV2RedirectToLoginPage', 'UnauthenticatedClientActionV2AllowAnonymous', 'UnauthenticatedClientActionV2Return401', 'UnauthenticatedClientActionV2Return403' + UnauthenticatedClientAction UnauthenticatedClientActionV2 `json:"unauthenticatedClientAction,omitempty"` + // RedirectToProvider - The default authentication provider to use when multiple providers are configured. + // This setting is only needed if multiple providers are configured and the unauthenticated client + // action is set to "RedirectToLoginPage". + RedirectToProvider *string `json:"redirectToProvider,omitempty"` + // ExcludedPaths - The paths for which unauthenticated flow would not be redirected to the login page. + ExcludedPaths *[]string `json:"excludedPaths,omitempty"` +} + +// Google the configuration settings of the Google provider. +type Google struct { + // Enabled - false if the Google provider should not be enabled despite the set registration; otherwise, true. + Enabled *bool `json:"enabled,omitempty"` + // Registration - The configuration settings of the app registration for the Google provider. + Registration *ClientRegistration `json:"registration,omitempty"` + // Login - The configuration settings of the login flow. + Login *LoginScopes `json:"login,omitempty"` + // Validation - The configuration settings of the Azure Active Directory token validation flow. + Validation *AllowedAudiencesValidation `json:"validation,omitempty"` +} + +// HandlerMapping the IIS handler mappings used to define which handler processes HTTP requests with +// certain extension. +// For example, it is used to configure php-cgi.exe process to handle all HTTP requests with *.php +// extension. +type HandlerMapping struct { + // Extension - Requests with this extension will be handled using the specified FastCGI application. + Extension *string `json:"extension,omitempty"` + // ScriptProcessor - The absolute path to the FastCGI application. + ScriptProcessor *string `json:"scriptProcessor,omitempty"` + // Arguments - Command-line arguments to be passed to the script processor. + Arguments *string `json:"arguments,omitempty"` } -// Response returns the raw server response from the last page request. -func (page InboundEnvironmentEndpointCollectionPage) Response() InboundEnvironmentEndpointCollection { - return page.ieec +// HostingEnvironmentDeploymentInfo information needed to create resources on an App Service Environment. +type HostingEnvironmentDeploymentInfo struct { + // Name - Name of the App Service Environment. + Name *string `json:"name,omitempty"` + // Location - Location of the App Service Environment. + Location *string `json:"location,omitempty"` } -// Values returns the slice of values for the current page or nil if there are no values. -func (page InboundEnvironmentEndpointCollectionPage) Values() []InboundEnvironmentEndpoint { - if page.ieec.IsEmpty() { - return nil - } - return *page.ieec.Value +// HostingEnvironmentDiagnostics diagnostics for an App Service Environment. +type HostingEnvironmentDiagnostics struct { + autorest.Response `json:"-"` + // Name - Name/identifier of the diagnostics. + Name *string `json:"name,omitempty"` + // DiagnosticsOutput - Diagnostics output. + DiagnosticsOutput *string `json:"diagnosticsOutput,omitempty"` } -// Creates a new instance of the InboundEnvironmentEndpointCollectionPage type. -func NewInboundEnvironmentEndpointCollectionPage(cur InboundEnvironmentEndpointCollection, getNextPage func(context.Context, InboundEnvironmentEndpointCollection) (InboundEnvironmentEndpointCollection, error)) InboundEnvironmentEndpointCollectionPage { - return InboundEnvironmentEndpointCollectionPage{ - fn: getNextPage, - ieec: cur, +// HostingEnvironmentProfile specification for an App Service Environment to use for this resource. +type HostingEnvironmentProfile struct { + // ID - Resource ID of the App Service Environment. + ID *string `json:"id,omitempty"` + // Name - READ-ONLY; Name of the App Service Environment. + Name *string `json:"name,omitempty"` + // Type - READ-ONLY; Resource type of the App Service Environment. + Type *string `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for HostingEnvironmentProfile. +func (hep HostingEnvironmentProfile) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if hep.ID != nil { + objectMap["id"] = hep.ID } + return json.Marshal(objectMap) } -// IPSecurityRestriction IP security restriction on an app. -type IPSecurityRestriction struct { - // IPAddress - IP address the security restriction is valid for. - // It can be in form of pure ipv4 address (required SubnetMask property) or - // CIDR notation such as ipv4/mask (leading bit match). For CIDR, - // SubnetMask property must not be specified. - IPAddress *string `json:"ipAddress,omitempty"` - // SubnetMask - Subnet mask for the range of IP addresses the restriction is valid for. - SubnetMask *string `json:"subnetMask,omitempty"` - // VnetSubnetResourceID - Virtual network resource id - VnetSubnetResourceID *string `json:"vnetSubnetResourceId,omitempty"` - // VnetTrafficTag - (internal) Vnet traffic tag - VnetTrafficTag *int32 `json:"vnetTrafficTag,omitempty"` - // SubnetTrafficTag - (internal) Subnet traffic tag - SubnetTrafficTag *int32 `json:"subnetTrafficTag,omitempty"` - // Action - Allow or Deny access for this IP range. - Action *string `json:"action,omitempty"` - // Tag - Defines what this IP filter will be used for. This is to support IP filtering on proxies. Possible values include: 'Default', 'XffProxy', 'ServiceTag' - Tag IPFilterTag `json:"tag,omitempty"` - // Priority - Priority of IP restriction rule. - Priority *int32 `json:"priority,omitempty"` - // Name - IP restriction rule name. - Name *string `json:"name,omitempty"` - // Description - IP restriction rule description. - Description *string `json:"description,omitempty"` - // Headers - IP restriction rule headers. - // X-Forwarded-Host (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-Host#Examples). - // The matching logic is .. - // - If the property is null or empty (default), all hosts(or lack of) are allowed. - // - A value is compared using ordinal-ignore-case (excluding port number). - // - Subdomain wildcards are permitted but don't match the root domain. For example, *.contoso.com matches the subdomain foo.contoso.com - // but not the root domain contoso.com or multi-level foo.bar.contoso.com - // - Unicode host names are allowed but are converted to Punycode for matching. - // X-Forwarded-For (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-For#Examples). - // The matching logic is .. - // - If the property is null or empty (default), any forwarded-for chains (or lack of) are allowed. - // - If any address (excluding port number) in the chain (comma separated) matches the CIDR defined by the property. - // X-Azure-FDID and X-FD-HealthProbe. - // The matching logic is exact match. - Headers map[string][]string `json:"headers"` +// HostKeys functions host level keys. +type HostKeys struct { + autorest.Response `json:"-"` + // MasterKey - Secret key. + MasterKey *string `json:"masterKey,omitempty"` + // FunctionKeys - Host level function keys. + FunctionKeys map[string]*string `json:"functionKeys"` + // SystemKeys - System keys. + SystemKeys map[string]*string `json:"systemKeys"` } -// MarshalJSON is the custom marshaler for IPSecurityRestriction. -func (isr IPSecurityRestriction) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for HostKeys. +func (hk HostKeys) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if isr.IPAddress != nil { - objectMap["ipAddress"] = isr.IPAddress - } - if isr.SubnetMask != nil { - objectMap["subnetMask"] = isr.SubnetMask - } - if isr.VnetSubnetResourceID != nil { - objectMap["vnetSubnetResourceId"] = isr.VnetSubnetResourceID - } - if isr.VnetTrafficTag != nil { - objectMap["vnetTrafficTag"] = isr.VnetTrafficTag - } - if isr.SubnetTrafficTag != nil { - objectMap["subnetTrafficTag"] = isr.SubnetTrafficTag - } - if isr.Action != nil { - objectMap["action"] = isr.Action - } - if isr.Tag != "" { - objectMap["tag"] = isr.Tag - } - if isr.Priority != nil { - objectMap["priority"] = isr.Priority - } - if isr.Name != nil { - objectMap["name"] = isr.Name + if hk.MasterKey != nil { + objectMap["masterKey"] = hk.MasterKey } - if isr.Description != nil { - objectMap["description"] = isr.Description + if hk.FunctionKeys != nil { + objectMap["functionKeys"] = hk.FunctionKeys } - if isr.Headers != nil { - objectMap["headers"] = isr.Headers + if hk.SystemKeys != nil { + objectMap["systemKeys"] = hk.SystemKeys } return json.Marshal(objectMap) } -// Job web Job Information. -type Job struct { +// HostName details of a hostname derived from a domain. +type HostName struct { + // Name - Name of the hostname. + Name *string `json:"name,omitempty"` + // SiteNames - List of apps the hostname is assigned to. This list will have more than one app only if the hostname is pointing to a Traffic Manager. + SiteNames *[]string `json:"siteNames,omitempty"` + // AzureResourceName - Name of the Azure resource the hostname is assigned to. If it is assigned to a Traffic Manager then it will be the Traffic Manager name otherwise it will be the app name. + AzureResourceName *string `json:"azureResourceName,omitempty"` + // AzureResourceType - Type of the Azure resource the hostname is assigned to. Possible values include: 'Website', 'TrafficManager' + AzureResourceType AzureResourceType `json:"azureResourceType,omitempty"` + // CustomHostNameDNSRecordType - Type of the DNS record. Possible values include: 'CName', 'A' + CustomHostNameDNSRecordType CustomHostNameDNSRecordType `json:"customHostNameDnsRecordType,omitempty"` + // HostNameType - Type of the hostname. Possible values include: 'Verified', 'Managed' + HostNameType HostNameType `json:"hostNameType,omitempty"` +} + +// HostNameBinding a hostname binding object. +type HostNameBinding struct { autorest.Response `json:"-"` - // JobProperties - WebJob resource specific properties - *JobProperties `json:"properties,omitempty"` + // HostNameBindingProperties - HostNameBinding resource specific properties + *HostNameBindingProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. @@ -16329,20 +12865,20 @@ type Job struct { Type *string `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for Job. -func (j Job) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for HostNameBinding. +func (hnb HostNameBinding) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if j.JobProperties != nil { - objectMap["properties"] = j.JobProperties + if hnb.HostNameBindingProperties != nil { + objectMap["properties"] = hnb.HostNameBindingProperties } - if j.Kind != nil { - objectMap["kind"] = j.Kind + if hnb.Kind != nil { + objectMap["kind"] = hnb.Kind } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for Job struct. -func (j *Job) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for HostNameBinding struct. +func (hnb *HostNameBinding) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -16352,12 +12888,12 @@ func (j *Job) UnmarshalJSON(body []byte) error { switch k { case "properties": if v != nil { - var jobProperties JobProperties - err = json.Unmarshal(*v, &jobProperties) + var hostNameBindingProperties HostNameBindingProperties + err = json.Unmarshal(*v, &hostNameBindingProperties) if err != nil { return err } - j.JobProperties = &jobProperties + hnb.HostNameBindingProperties = &hostNameBindingProperties } case "id": if v != nil { @@ -16366,7 +12902,7 @@ func (j *Job) UnmarshalJSON(body []byte) error { if err != nil { return err } - j.ID = &ID + hnb.ID = &ID } case "name": if v != nil { @@ -16375,7 +12911,7 @@ func (j *Job) UnmarshalJSON(body []byte) error { if err != nil { return err } - j.Name = &name + hnb.Name = &name } case "kind": if v != nil { @@ -16384,7 +12920,7 @@ func (j *Job) UnmarshalJSON(body []byte) error { if err != nil { return err } - j.Kind = &kind + hnb.Kind = &kind } case "type": if v != nil { @@ -16393,7 +12929,7 @@ func (j *Job) UnmarshalJSON(body []byte) error { if err != nil { return err } - j.Type = &typeVar + hnb.Type = &typeVar } } } @@ -16401,35 +12937,35 @@ func (j *Job) UnmarshalJSON(body []byte) error { return nil } -// JobCollection collection of Kudu web job information elements. -type JobCollection struct { +// HostNameBindingCollection collection of hostname bindings. +type HostNameBindingCollection struct { autorest.Response `json:"-"` // Value - Collection of resources. - Value *[]Job `json:"value,omitempty"` + Value *[]HostNameBinding `json:"value,omitempty"` // NextLink - READ-ONLY; Link to next page of resources. NextLink *string `json:"nextLink,omitempty"` } -// MarshalJSON is the custom marshaler for JobCollection. -func (jc JobCollection) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for HostNameBindingCollection. +func (hnbc HostNameBindingCollection) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if jc.Value != nil { - objectMap["value"] = jc.Value + if hnbc.Value != nil { + objectMap["value"] = hnbc.Value } return json.Marshal(objectMap) } -// JobCollectionIterator provides access to a complete listing of Job values. -type JobCollectionIterator struct { +// HostNameBindingCollectionIterator provides access to a complete listing of HostNameBinding values. +type HostNameBindingCollectionIterator struct { i int - page JobCollectionPage + page HostNameBindingCollectionPage } // NextWithContext advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. -func (iter *JobCollectionIterator) NextWithContext(ctx context.Context) (err error) { +func (iter *HostNameBindingCollectionIterator) NextWithContext(ctx context.Context) (err error) { if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/JobCollectionIterator.NextWithContext") + ctx = tracing.StartSpan(ctx, fqdn+"/HostNameBindingCollectionIterator.NextWithContext") defer func() { sc := -1 if iter.Response().Response.Response != nil { @@ -16454,67 +12990,67 @@ func (iter *JobCollectionIterator) NextWithContext(ctx context.Context) (err err // Next advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. // Deprecated: Use NextWithContext() instead. -func (iter *JobCollectionIterator) Next() error { +func (iter *HostNameBindingCollectionIterator) Next() error { return iter.NextWithContext(context.Background()) } // NotDone returns true if the enumeration should be started or is not yet complete. -func (iter JobCollectionIterator) NotDone() bool { +func (iter HostNameBindingCollectionIterator) NotDone() bool { return iter.page.NotDone() && iter.i < len(iter.page.Values()) } // Response returns the raw server response from the last page request. -func (iter JobCollectionIterator) Response() JobCollection { +func (iter HostNameBindingCollectionIterator) Response() HostNameBindingCollection { return iter.page.Response() } // Value returns the current value or a zero-initialized value if the // iterator has advanced beyond the end of the collection. -func (iter JobCollectionIterator) Value() Job { +func (iter HostNameBindingCollectionIterator) Value() HostNameBinding { if !iter.page.NotDone() { - return Job{} + return HostNameBinding{} } return iter.page.Values()[iter.i] } -// Creates a new instance of the JobCollectionIterator type. -func NewJobCollectionIterator(page JobCollectionPage) JobCollectionIterator { - return JobCollectionIterator{page: page} +// Creates a new instance of the HostNameBindingCollectionIterator type. +func NewHostNameBindingCollectionIterator(page HostNameBindingCollectionPage) HostNameBindingCollectionIterator { + return HostNameBindingCollectionIterator{page: page} } // IsEmpty returns true if the ListResult contains no values. -func (jc JobCollection) IsEmpty() bool { - return jc.Value == nil || len(*jc.Value) == 0 +func (hnbc HostNameBindingCollection) IsEmpty() bool { + return hnbc.Value == nil || len(*hnbc.Value) == 0 } // hasNextLink returns true if the NextLink is not empty. -func (jc JobCollection) hasNextLink() bool { - return jc.NextLink != nil && len(*jc.NextLink) != 0 +func (hnbc HostNameBindingCollection) hasNextLink() bool { + return hnbc.NextLink != nil && len(*hnbc.NextLink) != 0 } -// jobCollectionPreparer prepares a request to retrieve the next set of results. +// hostNameBindingCollectionPreparer prepares a request to retrieve the next set of results. // It returns nil if no more results exist. -func (jc JobCollection) jobCollectionPreparer(ctx context.Context) (*http.Request, error) { - if !jc.hasNextLink() { +func (hnbc HostNameBindingCollection) hostNameBindingCollectionPreparer(ctx context.Context) (*http.Request, error) { + if !hnbc.hasNextLink() { return nil, nil } return autorest.Prepare((&http.Request{}).WithContext(ctx), autorest.AsJSON(), autorest.AsGet(), - autorest.WithBaseURL(to.String(jc.NextLink))) + autorest.WithBaseURL(to.String(hnbc.NextLink))) } -// JobCollectionPage contains a page of Job values. -type JobCollectionPage struct { - fn func(context.Context, JobCollection) (JobCollection, error) - jc JobCollection +// HostNameBindingCollectionPage contains a page of HostNameBinding values. +type HostNameBindingCollectionPage struct { + fn func(context.Context, HostNameBindingCollection) (HostNameBindingCollection, error) + hnbc HostNameBindingCollection } // NextWithContext advances to the next page of values. If there was an error making // the request the page does not advance and the error is returned. -func (page *JobCollectionPage) NextWithContext(ctx context.Context) (err error) { +func (page *HostNameBindingCollectionPage) NextWithContext(ctx context.Context) (err error) { if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/JobCollectionPage.NextWithContext") + ctx = tracing.StartSpan(ctx, fqdn+"/HostNameBindingCollectionPage.NextWithContext") defer func() { sc := -1 if page.Response().Response.Response != nil { @@ -16524,11 +13060,11 @@ func (page *JobCollectionPage) NextWithContext(ctx context.Context) (err error) }() } for { - next, err := page.fn(ctx, page.jc) + next, err := page.fn(ctx, page.hnbc) if err != nil { return err } - page.jc = next + page.hnbc = next if !next.hasNextLink() || !next.IsEmpty() { break } @@ -16539,222 +13075,134 @@ func (page *JobCollectionPage) NextWithContext(ctx context.Context) (err error) // Next advances to the next page of values. If there was an error making // the request the page does not advance and the error is returned. // Deprecated: Use NextWithContext() instead. -func (page *JobCollectionPage) Next() error { +func (page *HostNameBindingCollectionPage) Next() error { return page.NextWithContext(context.Background()) } // NotDone returns true if the page enumeration should be started or is not yet complete. -func (page JobCollectionPage) NotDone() bool { - return !page.jc.IsEmpty() +func (page HostNameBindingCollectionPage) NotDone() bool { + return !page.hnbc.IsEmpty() } // Response returns the raw server response from the last page request. -func (page JobCollectionPage) Response() JobCollection { - return page.jc +func (page HostNameBindingCollectionPage) Response() HostNameBindingCollection { + return page.hnbc } // Values returns the slice of values for the current page or nil if there are no values. -func (page JobCollectionPage) Values() []Job { - if page.jc.IsEmpty() { +func (page HostNameBindingCollectionPage) Values() []HostNameBinding { + if page.hnbc.IsEmpty() { return nil } - return *page.jc.Value + return *page.hnbc.Value } -// Creates a new instance of the JobCollectionPage type. -func NewJobCollectionPage(cur JobCollection, getNextPage func(context.Context, JobCollection) (JobCollection, error)) JobCollectionPage { - return JobCollectionPage{ - fn: getNextPage, - jc: cur, +// Creates a new instance of the HostNameBindingCollectionPage type. +func NewHostNameBindingCollectionPage(cur HostNameBindingCollection, getNextPage func(context.Context, HostNameBindingCollection) (HostNameBindingCollection, error)) HostNameBindingCollectionPage { + return HostNameBindingCollectionPage{ + fn: getNextPage, + hnbc: cur, } } -// JobProperties webJob resource specific properties -type JobProperties struct { - // RunCommand - Run command. - RunCommand *string `json:"run_command,omitempty"` - // URL - Job URL. - URL *string `json:"url,omitempty"` - // ExtraInfoURL - Extra Info URL. - ExtraInfoURL *string `json:"extra_info_url,omitempty"` - // WebJobType - Job type. Possible values include: 'Continuous', 'Triggered' - WebJobType JobType `json:"web_job_type,omitempty"` - // Error - Error information. - Error *string `json:"error,omitempty"` - // UsingSdk - Using SDK? - UsingSdk *bool `json:"using_sdk,omitempty"` - // Settings - Job settings. - Settings map[string]interface{} `json:"settings"` +// HostNameBindingProperties hostNameBinding resource specific properties +type HostNameBindingProperties struct { + // SiteName - App Service app name. + SiteName *string `json:"siteName,omitempty"` + // DomainID - Fully qualified ARM domain resource URI. + DomainID *string `json:"domainId,omitempty"` + // AzureResourceName - Azure resource name. + AzureResourceName *string `json:"azureResourceName,omitempty"` + // AzureResourceType - Azure resource type. Possible values include: 'Website', 'TrafficManager' + AzureResourceType AzureResourceType `json:"azureResourceType,omitempty"` + // CustomHostNameDNSRecordType - Custom DNS record type. Possible values include: 'CName', 'A' + CustomHostNameDNSRecordType CustomHostNameDNSRecordType `json:"customHostNameDnsRecordType,omitempty"` + // HostNameType - Hostname type. Possible values include: 'Verified', 'Managed' + HostNameType HostNameType `json:"hostNameType,omitempty"` + // SslState - SSL type. Possible values include: 'SslStateDisabled', 'SslStateSniEnabled', 'SslStateIPBasedEnabled' + SslState SslState `json:"sslState,omitempty"` + // Thumbprint - SSL certificate thumbprint + Thumbprint *string `json:"thumbprint,omitempty"` + // VirtualIP - READ-ONLY; Virtual IP address assigned to the hostname if IP based SSL is enabled. + VirtualIP *string `json:"virtualIP,omitempty"` } -// MarshalJSON is the custom marshaler for JobProperties. -func (j JobProperties) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for HostNameBindingProperties. +func (hnb HostNameBindingProperties) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if j.RunCommand != nil { - objectMap["run_command"] = j.RunCommand - } - if j.URL != nil { - objectMap["url"] = j.URL + if hnb.SiteName != nil { + objectMap["siteName"] = hnb.SiteName } - if j.ExtraInfoURL != nil { - objectMap["extra_info_url"] = j.ExtraInfoURL + if hnb.DomainID != nil { + objectMap["domainId"] = hnb.DomainID } - if j.WebJobType != "" { - objectMap["web_job_type"] = j.WebJobType + if hnb.AzureResourceName != nil { + objectMap["azureResourceName"] = hnb.AzureResourceName } - if j.Error != nil { - objectMap["error"] = j.Error + if hnb.AzureResourceType != "" { + objectMap["azureResourceType"] = hnb.AzureResourceType } - if j.UsingSdk != nil { - objectMap["using_sdk"] = j.UsingSdk + if hnb.CustomHostNameDNSRecordType != "" { + objectMap["customHostNameDnsRecordType"] = hnb.CustomHostNameDNSRecordType } - if j.Settings != nil { - objectMap["settings"] = j.Settings + if hnb.HostNameType != "" { + objectMap["hostNameType"] = hnb.HostNameType } - return json.Marshal(objectMap) -} - -// JwtClaimChecks the configuration settings of the checks that should be made while validating the JWT -// Claims. -type JwtClaimChecks struct { - // JwtClaimChecksProperties - JwtClaimChecks resource specific properties - *JwtClaimChecksProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for JwtClaimChecks. -func (jcc JwtClaimChecks) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if jcc.JwtClaimChecksProperties != nil { - objectMap["properties"] = jcc.JwtClaimChecksProperties + if hnb.SslState != "" { + objectMap["sslState"] = hnb.SslState } - if jcc.Kind != nil { - objectMap["kind"] = jcc.Kind + if hnb.Thumbprint != nil { + objectMap["thumbprint"] = hnb.Thumbprint } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for JwtClaimChecks struct. -func (jcc *JwtClaimChecks) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var jwtClaimChecksProperties JwtClaimChecksProperties - err = json.Unmarshal(*v, &jwtClaimChecksProperties) - if err != nil { - return err - } - jcc.JwtClaimChecksProperties = &jwtClaimChecksProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - jcc.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - jcc.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - jcc.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - jcc.Type = &typeVar - } - } - } - - return nil -} - -// JwtClaimChecksProperties jwtClaimChecks resource specific properties -type JwtClaimChecksProperties struct { - // AllowedGroups - The list of the allowed groups. - AllowedGroups *[]string `json:"allowedGroups,omitempty"` - // AllowedClientApplications - The list of the allowed client applications. - AllowedClientApplications *[]string `json:"allowedClientApplications,omitempty"` -} - -// KeyInfo function key info. -type KeyInfo struct { - autorest.Response `json:"-"` - // Name - Key name +// HostNameSslState SSL-enabled hostname. +type HostNameSslState struct { + // Name - Hostname. Name *string `json:"name,omitempty"` - // Value - Key value - Value *string `json:"value,omitempty"` -} - -// KeyValuePairStringObject ... -type KeyValuePairStringObject struct { - // Key - READ-ONLY - Key *string `json:"key,omitempty"` - // Value - READ-ONLY - Value interface{} `json:"value,omitempty"` + // SslState - SSL type. Possible values include: 'SslStateDisabled', 'SslStateSniEnabled', 'SslStateIPBasedEnabled' + SslState SslState `json:"sslState,omitempty"` + // VirtualIP - Virtual IP address assigned to the hostname if IP based SSL is enabled. + VirtualIP *string `json:"virtualIP,omitempty"` + // Thumbprint - SSL certificate thumbprint. + Thumbprint *string `json:"thumbprint,omitempty"` + // ToUpdate - Set to true to update existing hostname. + ToUpdate *bool `json:"toUpdate,omitempty"` + // HostType - Indicates whether the hostname is a standard or repository hostname. Possible values include: 'HostTypeStandard', 'HostTypeRepository' + HostType HostType `json:"hostType,omitempty"` } -// MarshalJSON is the custom marshaler for KeyValuePairStringObject. -func (kvpSo KeyValuePairStringObject) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - return json.Marshal(objectMap) +// HTTPLogsConfig http logs configuration. +type HTTPLogsConfig struct { + // FileSystem - Http logs to file system configuration. + FileSystem *FileSystemHTTPLogsConfig `json:"fileSystem,omitempty"` + // AzureBlobStorage - Http logs to azure blob storage configuration. + AzureBlobStorage *AzureBlobStorageHTTPLogsConfig `json:"azureBlobStorage,omitempty"` } -// KubeEnvironmentProfile specification for a Kubernetes Environment to use for this resource. -type KubeEnvironmentProfile struct { - // ID - Resource ID of the Kubernetes Environment. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Name of the Kubernetes Environment. - Name *string `json:"name,omitempty"` - // Type - READ-ONLY; Resource type of the Kubernetes Environment. - Type *string `json:"type,omitempty"` +// HTTPSettings the configuration settings of the HTTP requests for authentication and authorization +// requests made against App Service Authentication/Authorization. +type HTTPSettings struct { + // RequireHTTPS - false if the authentication/authorization responses not having the HTTPS scheme are permissible; otherwise, true. + RequireHTTPS *bool `json:"requireHttps,omitempty"` + // Routes - The configuration settings of the paths HTTP requests. + Routes *HTTPSettingsRoutes `json:"routes,omitempty"` + // ForwardProxy - The configuration settings of a forward proxy used to make the requests. + ForwardProxy *ForwardProxy `json:"forwardProxy,omitempty"` } -// MarshalJSON is the custom marshaler for KubeEnvironmentProfile. -func (kep KubeEnvironmentProfile) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if kep.ID != nil { - objectMap["id"] = kep.ID - } - return json.Marshal(objectMap) +// HTTPSettingsRoutes the configuration settings of the paths HTTP requests. +type HTTPSettingsRoutes struct { + // APIPrefix - The prefix that should precede all the authentication/authorization paths. + APIPrefix *string `json:"apiPrefix,omitempty"` } -// LegacyMicrosoftAccount the configuration settings of the legacy Microsoft Account provider. -type LegacyMicrosoftAccount struct { - // LegacyMicrosoftAccountProperties - LegacyMicrosoftAccount resource specific properties - *LegacyMicrosoftAccountProperties `json:"properties,omitempty"` +// HybridConnection hybrid Connection contract. This is used to configure a Hybrid Connection. +type HybridConnection struct { + autorest.Response `json:"-"` + // HybridConnectionProperties - HybridConnection resource specific properties + *HybridConnectionProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. @@ -16765,20 +13213,20 @@ type LegacyMicrosoftAccount struct { Type *string `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for LegacyMicrosoftAccount. -func (lma LegacyMicrosoftAccount) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for HybridConnection. +func (hc HybridConnection) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if lma.LegacyMicrosoftAccountProperties != nil { - objectMap["properties"] = lma.LegacyMicrosoftAccountProperties + if hc.HybridConnectionProperties != nil { + objectMap["properties"] = hc.HybridConnectionProperties } - if lma.Kind != nil { - objectMap["kind"] = lma.Kind + if hc.Kind != nil { + objectMap["kind"] = hc.Kind } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for LegacyMicrosoftAccount struct. -func (lma *LegacyMicrosoftAccount) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for HybridConnection struct. +func (hc *HybridConnection) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -16788,12 +13236,12 @@ func (lma *LegacyMicrosoftAccount) UnmarshalJSON(body []byte) error { switch k { case "properties": if v != nil { - var legacyMicrosoftAccountProperties LegacyMicrosoftAccountProperties - err = json.Unmarshal(*v, &legacyMicrosoftAccountProperties) + var hybridConnectionProperties HybridConnectionProperties + err = json.Unmarshal(*v, &hybridConnectionProperties) if err != nil { return err } - lma.LegacyMicrosoftAccountProperties = &legacyMicrosoftAccountProperties + hc.HybridConnectionProperties = &hybridConnectionProperties } case "id": if v != nil { @@ -16802,7 +13250,7 @@ func (lma *LegacyMicrosoftAccount) UnmarshalJSON(body []byte) error { if err != nil { return err } - lma.ID = &ID + hc.ID = &ID } case "name": if v != nil { @@ -16811,7 +13259,7 @@ func (lma *LegacyMicrosoftAccount) UnmarshalJSON(body []byte) error { if err != nil { return err } - lma.Name = &name + hc.Name = &name } case "kind": if v != nil { @@ -16820,7 +13268,7 @@ func (lma *LegacyMicrosoftAccount) UnmarshalJSON(body []byte) error { if err != nil { return err } - lma.Kind = &kind + hc.Kind = &kind } case "type": if v != nil { @@ -16829,7 +13277,7 @@ func (lma *LegacyMicrosoftAccount) UnmarshalJSON(body []byte) error { if err != nil { return err } - lma.Type = &typeVar + hc.Type = &typeVar } } } @@ -16837,111 +13285,180 @@ func (lma *LegacyMicrosoftAccount) UnmarshalJSON(body []byte) error { return nil } -// LegacyMicrosoftAccountProperties legacyMicrosoftAccount resource specific properties -type LegacyMicrosoftAccountProperties struct { - // Enabled - false if the legacy Microsoft Account provider should not be enabled despite the set registration; otherwise, true. - Enabled *bool `json:"enabled,omitempty"` - // Registration - The configuration settings of the app registration for the legacy Microsoft Account provider. - Registration *ClientRegistration `json:"registration,omitempty"` - // Login - The configuration settings of the login flow. - Login *LoginScopes `json:"login,omitempty"` - // Validation - The configuration settings of the legacy Microsoft Account provider token validation flow. - Validation *AllowedAudiencesValidation `json:"validation,omitempty"` -} - -// LinuxJavaContainerSettings linux Java Container settings. -type LinuxJavaContainerSettings struct { - // Java11Runtime - READ-ONLY; Java 11 version (runtime only). - Java11Runtime *string `json:"java11Runtime,omitempty"` - // Java8Runtime - READ-ONLY; Java 8 version (runtime only). - Java8Runtime *string `json:"java8Runtime,omitempty"` - // IsPreview - READ-ONLY; true if the stack is in preview; otherwise, false. - IsPreview *bool `json:"isPreview,omitempty"` - // IsDeprecated - READ-ONLY; true if the stack is deprecated; otherwise, false. - IsDeprecated *bool `json:"isDeprecated,omitempty"` - // IsHidden - READ-ONLY; true if the stack should be hidden; otherwise, false. - IsHidden *bool `json:"isHidden,omitempty"` - // EndOfLifeDate - READ-ONLY; End-of-life date for the minor version. - EndOfLifeDate *date.Time `json:"endOfLifeDate,omitempty"` - // IsAutoUpdate - READ-ONLY; true if the stack version is auto-updated; otherwise, false. - IsAutoUpdate *bool `json:"isAutoUpdate,omitempty"` - // IsEarlyAccess - READ-ONLY; true if the minor version is early-access; otherwise, false. - IsEarlyAccess *bool `json:"isEarlyAccess,omitempty"` +// HybridConnectionCollection collection of hostname bindings. +type HybridConnectionCollection struct { + autorest.Response `json:"-"` + // Value - Collection of resources. + Value *[]HybridConnection `json:"value,omitempty"` + // NextLink - READ-ONLY; Link to next page of resources. + NextLink *string `json:"nextLink,omitempty"` } -// MarshalJSON is the custom marshaler for LinuxJavaContainerSettings. -func (ljcs LinuxJavaContainerSettings) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for HybridConnectionCollection. +func (hcc HybridConnectionCollection) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) + if hcc.Value != nil { + objectMap["value"] = hcc.Value + } return json.Marshal(objectMap) } -// ListCapability ... -type ListCapability struct { - autorest.Response `json:"-"` - Value *[]Capability `json:"value,omitempty"` +// HybridConnectionCollectionIterator provides access to a complete listing of HybridConnection values. +type HybridConnectionCollectionIterator struct { + i int + page HybridConnectionCollectionPage } -// ListCertificateEmail ... -type ListCertificateEmail struct { - autorest.Response `json:"-"` - Value *[]CertificateEmail `json:"value,omitempty"` +// NextWithContext advances to the next value. If there was an error making +// the request the iterator does not advance and the error is returned. +func (iter *HybridConnectionCollectionIterator) NextWithContext(ctx context.Context) (err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/HybridConnectionCollectionIterator.NextWithContext") + defer func() { + sc := -1 + if iter.Response().Response.Response != nil { + sc = iter.Response().Response.Response.StatusCode + } + tracing.EndSpan(ctx, sc, err) + }() + } + iter.i++ + if iter.i < len(iter.page.Values()) { + return nil + } + err = iter.page.NextWithContext(ctx) + if err != nil { + iter.i-- + return err + } + iter.i = 0 + return nil } -// ListCertificateOrderAction ... -type ListCertificateOrderAction struct { - autorest.Response `json:"-"` - Value *[]CertificateOrderAction `json:"value,omitempty"` +// Next advances to the next value. If there was an error making +// the request the iterator does not advance and the error is returned. +// Deprecated: Use NextWithContext() instead. +func (iter *HybridConnectionCollectionIterator) Next() error { + return iter.NextWithContext(context.Background()) } -// ListHostingEnvironmentDiagnostics ... -type ListHostingEnvironmentDiagnostics struct { - autorest.Response `json:"-"` - Value *[]HostingEnvironmentDiagnostics `json:"value,omitempty"` +// NotDone returns true if the enumeration should be started or is not yet complete. +func (iter HybridConnectionCollectionIterator) NotDone() bool { + return iter.page.NotDone() && iter.i < len(iter.page.Values()) } -// ListNetworkTrace ... -type ListNetworkTrace struct { - autorest.Response `json:"-"` - Value *[]NetworkTrace `json:"value,omitempty"` +// Response returns the raw server response from the last page request. +func (iter HybridConnectionCollectionIterator) Response() HybridConnectionCollection { + return iter.page.Response() } -// ListOperation ... -type ListOperation struct { - autorest.Response `json:"-"` - Value *[]Operation `json:"value,omitempty"` +// Value returns the current value or a zero-initialized value if the +// iterator has advanced beyond the end of the collection. +func (iter HybridConnectionCollectionIterator) Value() HybridConnection { + if !iter.page.NotDone() { + return HybridConnection{} + } + return iter.page.Values()[iter.i] } -// ListSnapshot ... -type ListSnapshot struct { - autorest.Response `json:"-"` - Value *[]Snapshot `json:"value,omitempty"` +// Creates a new instance of the HybridConnectionCollectionIterator type. +func NewHybridConnectionCollectionIterator(page HybridConnectionCollectionPage) HybridConnectionCollectionIterator { + return HybridConnectionCollectionIterator{page: page} } -// ListVnetInfo ... -type ListVnetInfo struct { - autorest.Response `json:"-"` - Value *[]VnetInfo `json:"value,omitempty"` +// IsEmpty returns true if the ListResult contains no values. +func (hcc HybridConnectionCollection) IsEmpty() bool { + return hcc.Value == nil || len(*hcc.Value) == 0 } -// ListVnetRoute ... -type ListVnetRoute struct { - autorest.Response `json:"-"` - Value *[]VnetRoute `json:"value,omitempty"` +// hasNextLink returns true if the NextLink is not empty. +func (hcc HybridConnectionCollection) hasNextLink() bool { + return hcc.NextLink != nil && len(*hcc.NextLink) != 0 } -// LocalizableString localizable string object containing the name and a localized value. -type LocalizableString struct { - // Value - Non-localized name. - Value *string `json:"value,omitempty"` - // LocalizedValue - Localized name. - LocalizedValue *string `json:"localizedValue,omitempty"` +// hybridConnectionCollectionPreparer prepares a request to retrieve the next set of results. +// It returns nil if no more results exist. +func (hcc HybridConnectionCollection) hybridConnectionCollectionPreparer(ctx context.Context) (*http.Request, error) { + if !hcc.hasNextLink() { + return nil, nil + } + return autorest.Prepare((&http.Request{}).WithContext(ctx), + autorest.AsJSON(), + autorest.AsGet(), + autorest.WithBaseURL(to.String(hcc.NextLink))) } -// Login the configuration settings of the login flow of users using App Service -// Authentication/Authorization. -type Login struct { - // LoginProperties - Login resource specific properties - *LoginProperties `json:"properties,omitempty"` +// HybridConnectionCollectionPage contains a page of HybridConnection values. +type HybridConnectionCollectionPage struct { + fn func(context.Context, HybridConnectionCollection) (HybridConnectionCollection, error) + hcc HybridConnectionCollection +} + +// NextWithContext advances to the next page of values. If there was an error making +// the request the page does not advance and the error is returned. +func (page *HybridConnectionCollectionPage) NextWithContext(ctx context.Context) (err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/HybridConnectionCollectionPage.NextWithContext") + defer func() { + sc := -1 + if page.Response().Response.Response != nil { + sc = page.Response().Response.Response.StatusCode + } + tracing.EndSpan(ctx, sc, err) + }() + } + for { + next, err := page.fn(ctx, page.hcc) + if err != nil { + return err + } + page.hcc = next + if !next.hasNextLink() || !next.IsEmpty() { + break + } + } + return nil +} + +// Next advances to the next page of values. If there was an error making +// the request the page does not advance and the error is returned. +// Deprecated: Use NextWithContext() instead. +func (page *HybridConnectionCollectionPage) Next() error { + return page.NextWithContext(context.Background()) +} + +// NotDone returns true if the page enumeration should be started or is not yet complete. +func (page HybridConnectionCollectionPage) NotDone() bool { + return !page.hcc.IsEmpty() +} + +// Response returns the raw server response from the last page request. +func (page HybridConnectionCollectionPage) Response() HybridConnectionCollection { + return page.hcc +} + +// Values returns the slice of values for the current page or nil if there are no values. +func (page HybridConnectionCollectionPage) Values() []HybridConnection { + if page.hcc.IsEmpty() { + return nil + } + return *page.hcc.Value +} + +// Creates a new instance of the HybridConnectionCollectionPage type. +func NewHybridConnectionCollectionPage(cur HybridConnectionCollection, getNextPage func(context.Context, HybridConnectionCollection) (HybridConnectionCollection, error)) HybridConnectionCollectionPage { + return HybridConnectionCollectionPage{ + fn: getNextPage, + hcc: cur, + } +} + +// HybridConnectionKey hybrid Connection key contract. This has the send key name and value for a Hybrid +// Connection. +type HybridConnectionKey struct { + autorest.Response `json:"-"` + // HybridConnectionKeyProperties - HybridConnectionKey resource specific properties + *HybridConnectionKeyProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. @@ -16952,20 +13469,20 @@ type Login struct { Type *string `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for Login. -func (l Login) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for HybridConnectionKey. +func (hck HybridConnectionKey) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if l.LoginProperties != nil { - objectMap["properties"] = l.LoginProperties + if hck.HybridConnectionKeyProperties != nil { + objectMap["properties"] = hck.HybridConnectionKeyProperties } - if l.Kind != nil { - objectMap["kind"] = l.Kind + if hck.Kind != nil { + objectMap["kind"] = hck.Kind } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for Login struct. -func (l *Login) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for HybridConnectionKey struct. +func (hck *HybridConnectionKey) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -16975,12 +13492,12 @@ func (l *Login) UnmarshalJSON(body []byte) error { switch k { case "properties": if v != nil { - var loginProperties LoginProperties - err = json.Unmarshal(*v, &loginProperties) + var hybridConnectionKeyProperties HybridConnectionKeyProperties + err = json.Unmarshal(*v, &hybridConnectionKeyProperties) if err != nil { return err } - l.LoginProperties = &loginProperties + hck.HybridConnectionKeyProperties = &hybridConnectionKeyProperties } case "id": if v != nil { @@ -16989,7 +13506,7 @@ func (l *Login) UnmarshalJSON(body []byte) error { if err != nil { return err } - l.ID = &ID + hck.ID = &ID } case "name": if v != nil { @@ -16998,7 +13515,7 @@ func (l *Login) UnmarshalJSON(body []byte) error { if err != nil { return err } - l.Name = &name + hck.Name = &name } case "kind": if v != nil { @@ -17007,7 +13524,7 @@ func (l *Login) UnmarshalJSON(body []byte) error { if err != nil { return err } - l.Kind = &kind + hck.Kind = &kind } case "type": if v != nil { @@ -17016,7 +13533,7 @@ func (l *Login) UnmarshalJSON(body []byte) error { if err != nil { return err } - l.Type = &typeVar + hck.Type = &typeVar } } } @@ -17024,28 +13541,26 @@ func (l *Login) UnmarshalJSON(body []byte) error { return nil } -// LoginProperties login resource specific properties -type LoginProperties struct { - // Routes - The routes that specify the endpoints used for login and logout requests. - Routes *LoginRoutes `json:"routes,omitempty"` - // TokenStore - The configuration settings of the token store. - TokenStore *TokenStore `json:"tokenStore,omitempty"` - // PreserveURLFragmentsForLogins - true if the fragments from the request are preserved after the login request is made; otherwise, false. - PreserveURLFragmentsForLogins *bool `json:"preserveUrlFragmentsForLogins,omitempty"` - // AllowedExternalRedirectUrls - External URLs that can be redirected to as part of logging in or logging out of the app. Note that the query string part of the URL is ignored. - // This is an advanced setting typically only needed by Windows Store application backends. - // Note that URLs within the current domain are always implicitly allowed. - AllowedExternalRedirectUrls *[]string `json:"allowedExternalRedirectUrls,omitempty"` - // CookieExpiration - The configuration settings of the session cookie's expiration. - CookieExpiration *CookieExpiration `json:"cookieExpiration,omitempty"` - // Nonce - The configuration settings of the nonce used in the login flow. - Nonce *Nonce `json:"nonce,omitempty"` +// HybridConnectionKeyProperties hybridConnectionKey resource specific properties +type HybridConnectionKeyProperties struct { + // SendKeyName - READ-ONLY; The name of the send key. + SendKeyName *string `json:"sendKeyName,omitempty"` + // SendKeyValue - READ-ONLY; The value of the send key. + SendKeyValue *string `json:"sendKeyValue,omitempty"` } -// LoginRoutes the routes that specify the endpoints used for login and logout requests. -type LoginRoutes struct { - // LoginRoutesProperties - LoginRoutes resource specific properties - *LoginRoutesProperties `json:"properties,omitempty"` +// MarshalJSON is the custom marshaler for HybridConnectionKeyProperties. +func (hck HybridConnectionKeyProperties) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + return json.Marshal(objectMap) +} + +// HybridConnectionLimits hybrid Connection limits contract. This is used to return the plan limits of +// Hybrid Connections. +type HybridConnectionLimits struct { + autorest.Response `json:"-"` + // HybridConnectionLimitsProperties - HybridConnectionLimits resource specific properties + *HybridConnectionLimitsProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. @@ -17056,20 +13571,20 @@ type LoginRoutes struct { Type *string `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for LoginRoutes. -func (lr LoginRoutes) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for HybridConnectionLimits. +func (hcl HybridConnectionLimits) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if lr.LoginRoutesProperties != nil { - objectMap["properties"] = lr.LoginRoutesProperties + if hcl.HybridConnectionLimitsProperties != nil { + objectMap["properties"] = hcl.HybridConnectionLimitsProperties } - if lr.Kind != nil { - objectMap["kind"] = lr.Kind + if hcl.Kind != nil { + objectMap["kind"] = hcl.Kind } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for LoginRoutes struct. -func (lr *LoginRoutes) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for HybridConnectionLimits struct. +func (hcl *HybridConnectionLimits) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -17079,12 +13594,12 @@ func (lr *LoginRoutes) UnmarshalJSON(body []byte) error { switch k { case "properties": if v != nil { - var loginRoutesProperties LoginRoutesProperties - err = json.Unmarshal(*v, &loginRoutesProperties) + var hybridConnectionLimitsProperties HybridConnectionLimitsProperties + err = json.Unmarshal(*v, &hybridConnectionLimitsProperties) if err != nil { return err } - lr.LoginRoutesProperties = &loginRoutesProperties + hcl.HybridConnectionLimitsProperties = &hybridConnectionLimitsProperties } case "id": if v != nil { @@ -17093,7 +13608,7 @@ func (lr *LoginRoutes) UnmarshalJSON(body []byte) error { if err != nil { return err } - lr.ID = &ID + hcl.ID = &ID } case "name": if v != nil { @@ -17102,7 +13617,7 @@ func (lr *LoginRoutes) UnmarshalJSON(body []byte) error { if err != nil { return err } - lr.Name = &name + hcl.Name = &name } case "kind": if v != nil { @@ -17111,7 +13626,7 @@ func (lr *LoginRoutes) UnmarshalJSON(body []byte) error { if err != nil { return err } - lr.Kind = &kind + hcl.Kind = &kind } case "type": if v != nil { @@ -17120,7 +13635,7 @@ func (lr *LoginRoutes) UnmarshalJSON(body []byte) error { if err != nil { return err } - lr.Type = &typeVar + hcl.Type = &typeVar } } } @@ -17128,16 +13643,46 @@ func (lr *LoginRoutes) UnmarshalJSON(body []byte) error { return nil } -// LoginRoutesProperties loginRoutes resource specific properties -type LoginRoutesProperties struct { - // LogoutEndpoint - The endpoint at which a logout request should be made. - LogoutEndpoint *string `json:"logoutEndpoint,omitempty"` +// HybridConnectionLimitsProperties hybridConnectionLimits resource specific properties +type HybridConnectionLimitsProperties struct { + // Current - READ-ONLY; The current number of Hybrid Connections. + Current *int32 `json:"current,omitempty"` + // Maximum - READ-ONLY; The maximum number of Hybrid Connections allowed. + Maximum *int32 `json:"maximum,omitempty"` } -// LoginScopes the configuration settings of the login flow, including the scopes that should be requested. -type LoginScopes struct { - // LoginScopesProperties - LoginScopes resource specific properties - *LoginScopesProperties `json:"properties,omitempty"` +// MarshalJSON is the custom marshaler for HybridConnectionLimitsProperties. +func (hcl HybridConnectionLimitsProperties) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + return json.Marshal(objectMap) +} + +// HybridConnectionProperties hybridConnection resource specific properties +type HybridConnectionProperties struct { + // ServiceBusNamespace - The name of the Service Bus namespace. + ServiceBusNamespace *string `json:"serviceBusNamespace,omitempty"` + // RelayName - The name of the Service Bus relay. + RelayName *string `json:"relayName,omitempty"` + // RelayArmURI - The ARM URI to the Service Bus relay. + RelayArmURI *string `json:"relayArmUri,omitempty"` + // Hostname - The hostname of the endpoint. + Hostname *string `json:"hostname,omitempty"` + // Port - The port of the endpoint. + Port *int32 `json:"port,omitempty"` + // SendKeyName - The name of the Service Bus key which has Send permissions. This is used to authenticate to Service Bus. + SendKeyName *string `json:"sendKeyName,omitempty"` + // SendKeyValue - The value of the Service Bus key. This is used to authenticate to Service Bus. In ARM this key will not be returned + // normally, use the POST /listKeys API instead. + SendKeyValue *string `json:"sendKeyValue,omitempty"` + // ServiceBusSuffix - The suffix for the service bus endpoint. By default this is .servicebus.windows.net + ServiceBusSuffix *string `json:"serviceBusSuffix,omitempty"` +} + +// Identifier a domain specific resource identifier. +type Identifier struct { + autorest.Response `json:"-"` + // IdentifierProperties - Identifier resource specific properties + *IdentifierProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. @@ -17148,20 +13693,20 @@ type LoginScopes struct { Type *string `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for LoginScopes. -func (ls LoginScopes) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for Identifier. +func (i Identifier) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if ls.LoginScopesProperties != nil { - objectMap["properties"] = ls.LoginScopesProperties + if i.IdentifierProperties != nil { + objectMap["properties"] = i.IdentifierProperties } - if ls.Kind != nil { - objectMap["kind"] = ls.Kind + if i.Kind != nil { + objectMap["kind"] = i.Kind } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for LoginScopes struct. -func (ls *LoginScopes) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for Identifier struct. +func (i *Identifier) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -17171,12 +13716,12 @@ func (ls *LoginScopes) UnmarshalJSON(body []byte) error { switch k { case "properties": if v != nil { - var loginScopesProperties LoginScopesProperties - err = json.Unmarshal(*v, &loginScopesProperties) + var identifierProperties IdentifierProperties + err = json.Unmarshal(*v, &identifierProperties) if err != nil { return err } - ls.LoginScopesProperties = &loginScopesProperties + i.IdentifierProperties = &identifierProperties } case "id": if v != nil { @@ -17185,7 +13730,7 @@ func (ls *LoginScopes) UnmarshalJSON(body []byte) error { if err != nil { return err } - ls.ID = &ID + i.ID = &ID } case "name": if v != nil { @@ -17194,7 +13739,7 @@ func (ls *LoginScopes) UnmarshalJSON(body []byte) error { if err != nil { return err } - ls.Name = &name + i.Name = &name } case "kind": if v != nil { @@ -17203,7 +13748,7 @@ func (ls *LoginScopes) UnmarshalJSON(body []byte) error { if err != nil { return err } - ls.Kind = &kind + i.Kind = &kind } case "type": if v != nil { @@ -17212,7 +13757,7 @@ func (ls *LoginScopes) UnmarshalJSON(body []byte) error { if err != nil { return err } - ls.Type = &typeVar + i.Type = &typeVar } } } @@ -17220,286 +13765,503 @@ func (ls *LoginScopes) UnmarshalJSON(body []byte) error { return nil } -// LoginScopesProperties loginScopes resource specific properties -type LoginScopesProperties struct { - // Scopes - A list of the scopes that should be requested while authenticating. - Scopes *[]string `json:"scopes,omitempty"` +// IdentifierCollection collection of identifiers. +type IdentifierCollection struct { + autorest.Response `json:"-"` + // Value - Collection of resources. + Value *[]Identifier `json:"value,omitempty"` + // NextLink - READ-ONLY; Link to next page of resources. + NextLink *string `json:"nextLink,omitempty"` +} + +// MarshalJSON is the custom marshaler for IdentifierCollection. +func (ic IdentifierCollection) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if ic.Value != nil { + objectMap["value"] = ic.Value + } + return json.Marshal(objectMap) +} + +// IdentifierCollectionIterator provides access to a complete listing of Identifier values. +type IdentifierCollectionIterator struct { + i int + page IdentifierCollectionPage +} + +// NextWithContext advances to the next value. If there was an error making +// the request the iterator does not advance and the error is returned. +func (iter *IdentifierCollectionIterator) NextWithContext(ctx context.Context) (err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/IdentifierCollectionIterator.NextWithContext") + defer func() { + sc := -1 + if iter.Response().Response.Response != nil { + sc = iter.Response().Response.Response.StatusCode + } + tracing.EndSpan(ctx, sc, err) + }() + } + iter.i++ + if iter.i < len(iter.page.Values()) { + return nil + } + err = iter.page.NextWithContext(ctx) + if err != nil { + iter.i-- + return err + } + iter.i = 0 + return nil +} + +// Next advances to the next value. If there was an error making +// the request the iterator does not advance and the error is returned. +// Deprecated: Use NextWithContext() instead. +func (iter *IdentifierCollectionIterator) Next() error { + return iter.NextWithContext(context.Background()) +} + +// NotDone returns true if the enumeration should be started or is not yet complete. +func (iter IdentifierCollectionIterator) NotDone() bool { + return iter.page.NotDone() && iter.i < len(iter.page.Values()) +} + +// Response returns the raw server response from the last page request. +func (iter IdentifierCollectionIterator) Response() IdentifierCollection { + return iter.page.Response() +} + +// Value returns the current value or a zero-initialized value if the +// iterator has advanced beyond the end of the collection. +func (iter IdentifierCollectionIterator) Value() Identifier { + if !iter.page.NotDone() { + return Identifier{} + } + return iter.page.Values()[iter.i] +} + +// Creates a new instance of the IdentifierCollectionIterator type. +func NewIdentifierCollectionIterator(page IdentifierCollectionPage) IdentifierCollectionIterator { + return IdentifierCollectionIterator{page: page} +} + +// IsEmpty returns true if the ListResult contains no values. +func (ic IdentifierCollection) IsEmpty() bool { + return ic.Value == nil || len(*ic.Value) == 0 +} + +// hasNextLink returns true if the NextLink is not empty. +func (ic IdentifierCollection) hasNextLink() bool { + return ic.NextLink != nil && len(*ic.NextLink) != 0 +} + +// identifierCollectionPreparer prepares a request to retrieve the next set of results. +// It returns nil if no more results exist. +func (ic IdentifierCollection) identifierCollectionPreparer(ctx context.Context) (*http.Request, error) { + if !ic.hasNextLink() { + return nil, nil + } + return autorest.Prepare((&http.Request{}).WithContext(ctx), + autorest.AsJSON(), + autorest.AsGet(), + autorest.WithBaseURL(to.String(ic.NextLink))) +} + +// IdentifierCollectionPage contains a page of Identifier values. +type IdentifierCollectionPage struct { + fn func(context.Context, IdentifierCollection) (IdentifierCollection, error) + ic IdentifierCollection +} + +// NextWithContext advances to the next page of values. If there was an error making +// the request the page does not advance and the error is returned. +func (page *IdentifierCollectionPage) NextWithContext(ctx context.Context) (err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/IdentifierCollectionPage.NextWithContext") + defer func() { + sc := -1 + if page.Response().Response.Response != nil { + sc = page.Response().Response.Response.StatusCode + } + tracing.EndSpan(ctx, sc, err) + }() + } + for { + next, err := page.fn(ctx, page.ic) + if err != nil { + return err + } + page.ic = next + if !next.hasNextLink() || !next.IsEmpty() { + break + } + } + return nil +} + +// Next advances to the next page of values. If there was an error making +// the request the page does not advance and the error is returned. +// Deprecated: Use NextWithContext() instead. +func (page *IdentifierCollectionPage) Next() error { + return page.NextWithContext(context.Background()) +} + +// NotDone returns true if the page enumeration should be started or is not yet complete. +func (page IdentifierCollectionPage) NotDone() bool { + return !page.ic.IsEmpty() +} + +// Response returns the raw server response from the last page request. +func (page IdentifierCollectionPage) Response() IdentifierCollection { + return page.ic +} + +// Values returns the slice of values for the current page or nil if there are no values. +func (page IdentifierCollectionPage) Values() []Identifier { + if page.ic.IsEmpty() { + return nil + } + return *page.ic.Value +} + +// Creates a new instance of the IdentifierCollectionPage type. +func NewIdentifierCollectionPage(cur IdentifierCollection, getNextPage func(context.Context, IdentifierCollection) (IdentifierCollection, error)) IdentifierCollectionPage { + return IdentifierCollectionPage{ + fn: getNextPage, + ic: cur, + } } -// LogSpecification log Definition of a single resource metric. -type LogSpecification struct { - Name *string `json:"name,omitempty"` - DisplayName *string `json:"displayName,omitempty"` - BlobDuration *string `json:"blobDuration,omitempty"` - LogFilterPattern *string `json:"logFilterPattern,omitempty"` +// IdentifierProperties identifier resource specific properties +type IdentifierProperties struct { + // Value - String representation of the identity. + Value *string `json:"id,omitempty"` } -// ManagedServiceIdentity managed service identity. -type ManagedServiceIdentity struct { - // Type - Type of managed service identity. Possible values include: 'ManagedServiceIdentityTypeSystemAssigned', 'ManagedServiceIdentityTypeUserAssigned', 'ManagedServiceIdentityTypeSystemAssignedUserAssigned', 'ManagedServiceIdentityTypeNone' - Type ManagedServiceIdentityType `json:"type,omitempty"` - // TenantID - READ-ONLY; Tenant of managed service identity. - TenantID *string `json:"tenantId,omitempty"` - // PrincipalID - READ-ONLY; Principal Id of managed service identity. - PrincipalID *string `json:"principalId,omitempty"` - // UserAssignedIdentities - The list of user assigned identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName} - UserAssignedIdentities map[string]*ManagedServiceIdentityUserAssignedIdentitiesValue `json:"userAssignedIdentities"` +// IdentityProviders the configuration settings of each of the identity providers used to configure App +// Service Authentication/Authorization. +type IdentityProviders struct { + // AzureActiveDirectory - The configuration settings of the Azure Active directory provider. + AzureActiveDirectory *AzureActiveDirectory `json:"azureActiveDirectory,omitempty"` + // Facebook - The configuration settings of the Facebook provider. + Facebook *Facebook `json:"facebook,omitempty"` + // GitHub - The configuration settings of the GitHub provider. + GitHub *GitHub `json:"gitHub,omitempty"` + // Google - The configuration settings of the Google provider. + Google *Google `json:"google,omitempty"` + // LegacyMicrosoftAccount - The configuration settings of the legacy Microsoft Account provider. + LegacyMicrosoftAccount *LegacyMicrosoftAccount `json:"legacyMicrosoftAccount,omitempty"` + // Twitter - The configuration settings of the Twitter provider. + Twitter *Twitter `json:"twitter,omitempty"` + // Apple - The configuration settings of the Apple provider. + Apple *Apple `json:"apple,omitempty"` + // AzureStaticWebApps - The configuration settings of the Azure Static Web Apps provider. + AzureStaticWebApps *AzureStaticWebApps `json:"azureStaticWebApps,omitempty"` + // CustomOpenIDConnectProviders - The map of the name of the alias of each custom Open ID Connect provider to the + // configuration settings of the custom Open ID Connect provider. + CustomOpenIDConnectProviders map[string]*CustomOpenIDConnectProvider `json:"customOpenIdConnectProviders"` } -// MarshalJSON is the custom marshaler for ManagedServiceIdentity. -func (msi ManagedServiceIdentity) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for IdentityProviders. +func (IP IdentityProviders) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if msi.Type != "" { - objectMap["type"] = msi.Type + if IP.AzureActiveDirectory != nil { + objectMap["azureActiveDirectory"] = IP.AzureActiveDirectory } - if msi.UserAssignedIdentities != nil { - objectMap["userAssignedIdentities"] = msi.UserAssignedIdentities + if IP.Facebook != nil { + objectMap["facebook"] = IP.Facebook + } + if IP.GitHub != nil { + objectMap["gitHub"] = IP.GitHub + } + if IP.Google != nil { + objectMap["google"] = IP.Google + } + if IP.LegacyMicrosoftAccount != nil { + objectMap["legacyMicrosoftAccount"] = IP.LegacyMicrosoftAccount + } + if IP.Twitter != nil { + objectMap["twitter"] = IP.Twitter + } + if IP.Apple != nil { + objectMap["apple"] = IP.Apple + } + if IP.AzureStaticWebApps != nil { + objectMap["azureStaticWebApps"] = IP.AzureStaticWebApps + } + if IP.CustomOpenIDConnectProviders != nil { + objectMap["customOpenIdConnectProviders"] = IP.CustomOpenIDConnectProviders } return json.Marshal(objectMap) } -// ManagedServiceIdentityUserAssignedIdentitiesValue ... -type ManagedServiceIdentityUserAssignedIdentitiesValue struct { - // PrincipalID - READ-ONLY; Principal Id of user assigned identity - PrincipalID *string `json:"principalId,omitempty"` - // ClientID - READ-ONLY; Client Id of user assigned identity - ClientID *string `json:"clientId,omitempty"` +// InboundEnvironmentEndpoint the IP Addresses and Ports that require inbound network access to and within +// the subnet of the App Service Environment. +type InboundEnvironmentEndpoint struct { + // Description - Short text describing the purpose of the network traffic. + Description *string `json:"description,omitempty"` + // Endpoints - The IP addresses that network traffic will originate from in cidr notation. + Endpoints *[]string `json:"endpoints,omitempty"` + // Ports - The ports that network traffic will arrive to the App Service Environment at. + Ports *[]string `json:"ports,omitempty"` } -// MarshalJSON is the custom marshaler for ManagedServiceIdentityUserAssignedIdentitiesValue. -func (msiAiv ManagedServiceIdentityUserAssignedIdentitiesValue) MarshalJSON() ([]byte, error) { +// InboundEnvironmentEndpointCollection collection of Inbound Environment Endpoints +type InboundEnvironmentEndpointCollection struct { + autorest.Response `json:"-"` + // Value - Collection of resources. + Value *[]InboundEnvironmentEndpoint `json:"value,omitempty"` + // NextLink - READ-ONLY; Link to next page of resources. + NextLink *string `json:"nextLink,omitempty"` +} + +// MarshalJSON is the custom marshaler for InboundEnvironmentEndpointCollection. +func (ieec InboundEnvironmentEndpointCollection) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) + if ieec.Value != nil { + objectMap["value"] = ieec.Value + } return json.Marshal(objectMap) } -// MetricAvailability retention policy of a resource metric. -type MetricAvailability struct { - TimeGrain *string `json:"timeGrain,omitempty"` - BlobDuration *string `json:"blobDuration,omitempty"` +// InboundEnvironmentEndpointCollectionIterator provides access to a complete listing of +// InboundEnvironmentEndpoint values. +type InboundEnvironmentEndpointCollectionIterator struct { + i int + page InboundEnvironmentEndpointCollectionPage } -// MetricSpecification definition of a single resource metric. -type MetricSpecification struct { - Name *string `json:"name,omitempty"` - DisplayName *string `json:"displayName,omitempty"` - DisplayDescription *string `json:"displayDescription,omitempty"` - Unit *string `json:"unit,omitempty"` - AggregationType *string `json:"aggregationType,omitempty"` - SupportsInstanceLevelAggregation *bool `json:"supportsInstanceLevelAggregation,omitempty"` - EnableRegionalMdmAccount *bool `json:"enableRegionalMdmAccount,omitempty"` - SourceMdmAccount *string `json:"sourceMdmAccount,omitempty"` - SourceMdmNamespace *string `json:"sourceMdmNamespace,omitempty"` - MetricFilterPattern *string `json:"metricFilterPattern,omitempty"` - FillGapWithZero *bool `json:"fillGapWithZero,omitempty"` - IsInternal *bool `json:"isInternal,omitempty"` - Dimensions *[]Dimension `json:"dimensions,omitempty"` - Category *string `json:"category,omitempty"` - Availabilities *[]MetricAvailability `json:"availabilities,omitempty"` - SupportedTimeGrainTypes *[]string `json:"supportedTimeGrainTypes,omitempty"` - SupportedAggregationTypes *[]string `json:"supportedAggregationTypes,omitempty"` +// NextWithContext advances to the next value. If there was an error making +// the request the iterator does not advance and the error is returned. +func (iter *InboundEnvironmentEndpointCollectionIterator) NextWithContext(ctx context.Context) (err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/InboundEnvironmentEndpointCollectionIterator.NextWithContext") + defer func() { + sc := -1 + if iter.Response().Response.Response != nil { + sc = iter.Response().Response.Response.StatusCode + } + tracing.EndSpan(ctx, sc, err) + }() + } + iter.i++ + if iter.i < len(iter.page.Values()) { + return nil + } + err = iter.page.NextWithContext(ctx) + if err != nil { + iter.i-- + return err + } + iter.i = 0 + return nil } -// MigrateMySQLRequest mySQL migration request. -type MigrateMySQLRequest struct { - // MigrateMySQLRequestProperties - MigrateMySqlRequest resource specific properties - *MigrateMySQLRequestProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` +// Next advances to the next value. If there was an error making +// the request the iterator does not advance and the error is returned. +// Deprecated: Use NextWithContext() instead. +func (iter *InboundEnvironmentEndpointCollectionIterator) Next() error { + return iter.NextWithContext(context.Background()) } -// MarshalJSON is the custom marshaler for MigrateMySQLRequest. -func (mmsr MigrateMySQLRequest) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if mmsr.MigrateMySQLRequestProperties != nil { - objectMap["properties"] = mmsr.MigrateMySQLRequestProperties - } - if mmsr.Kind != nil { - objectMap["kind"] = mmsr.Kind - } - return json.Marshal(objectMap) +// NotDone returns true if the enumeration should be started or is not yet complete. +func (iter InboundEnvironmentEndpointCollectionIterator) NotDone() bool { + return iter.page.NotDone() && iter.i < len(iter.page.Values()) } -// UnmarshalJSON is the custom unmarshaler for MigrateMySQLRequest struct. -func (mmsr *MigrateMySQLRequest) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var migrateMySQLRequestProperties MigrateMySQLRequestProperties - err = json.Unmarshal(*v, &migrateMySQLRequestProperties) - if err != nil { - return err - } - mmsr.MigrateMySQLRequestProperties = &migrateMySQLRequestProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - mmsr.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - mmsr.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - mmsr.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - mmsr.Type = &typeVar - } - } +// Response returns the raw server response from the last page request. +func (iter InboundEnvironmentEndpointCollectionIterator) Response() InboundEnvironmentEndpointCollection { + return iter.page.Response() +} + +// Value returns the current value or a zero-initialized value if the +// iterator has advanced beyond the end of the collection. +func (iter InboundEnvironmentEndpointCollectionIterator) Value() InboundEnvironmentEndpoint { + if !iter.page.NotDone() { + return InboundEnvironmentEndpoint{} } + return iter.page.Values()[iter.i] +} - return nil +// Creates a new instance of the InboundEnvironmentEndpointCollectionIterator type. +func NewInboundEnvironmentEndpointCollectionIterator(page InboundEnvironmentEndpointCollectionPage) InboundEnvironmentEndpointCollectionIterator { + return InboundEnvironmentEndpointCollectionIterator{page: page} } -// MigrateMySQLRequestProperties migrateMySqlRequest resource specific properties -type MigrateMySQLRequestProperties struct { - // ConnectionString - Connection string to the remote MySQL database. - ConnectionString *string `json:"connectionString,omitempty"` - // MigrationType - The type of migration operation to be done. Possible values include: 'LocalToRemote', 'RemoteToLocal' - MigrationType MySQLMigrationType `json:"migrationType,omitempty"` +// IsEmpty returns true if the ListResult contains no values. +func (ieec InboundEnvironmentEndpointCollection) IsEmpty() bool { + return ieec.Value == nil || len(*ieec.Value) == 0 } -// MigrateMySQLStatus mySQL migration status. -type MigrateMySQLStatus struct { - autorest.Response `json:"-"` - // MigrateMySQLStatusProperties - MigrateMySqlStatus resource specific properties - *MigrateMySQLStatusProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` +// hasNextLink returns true if the NextLink is not empty. +func (ieec InboundEnvironmentEndpointCollection) hasNextLink() bool { + return ieec.NextLink != nil && len(*ieec.NextLink) != 0 } -// MarshalJSON is the custom marshaler for MigrateMySQLStatus. -func (mmss MigrateMySQLStatus) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if mmss.MigrateMySQLStatusProperties != nil { - objectMap["properties"] = mmss.MigrateMySQLStatusProperties - } - if mmss.Kind != nil { - objectMap["kind"] = mmss.Kind +// inboundEnvironmentEndpointCollectionPreparer prepares a request to retrieve the next set of results. +// It returns nil if no more results exist. +func (ieec InboundEnvironmentEndpointCollection) inboundEnvironmentEndpointCollectionPreparer(ctx context.Context) (*http.Request, error) { + if !ieec.hasNextLink() { + return nil, nil } - return json.Marshal(objectMap) + return autorest.Prepare((&http.Request{}).WithContext(ctx), + autorest.AsJSON(), + autorest.AsGet(), + autorest.WithBaseURL(to.String(ieec.NextLink))) } -// UnmarshalJSON is the custom unmarshaler for MigrateMySQLStatus struct. -func (mmss *MigrateMySQLStatus) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var migrateMySQLStatusProperties MigrateMySQLStatusProperties - err = json.Unmarshal(*v, &migrateMySQLStatusProperties) - if err != nil { - return err - } - mmss.MigrateMySQLStatusProperties = &migrateMySQLStatusProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - mmss.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - mmss.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - mmss.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - mmss.Type = &typeVar +// InboundEnvironmentEndpointCollectionPage contains a page of InboundEnvironmentEndpoint values. +type InboundEnvironmentEndpointCollectionPage struct { + fn func(context.Context, InboundEnvironmentEndpointCollection) (InboundEnvironmentEndpointCollection, error) + ieec InboundEnvironmentEndpointCollection +} + +// NextWithContext advances to the next page of values. If there was an error making +// the request the page does not advance and the error is returned. +func (page *InboundEnvironmentEndpointCollectionPage) NextWithContext(ctx context.Context) (err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/InboundEnvironmentEndpointCollectionPage.NextWithContext") + defer func() { + sc := -1 + if page.Response().Response.Response != nil { + sc = page.Response().Response.Response.StatusCode } + tracing.EndSpan(ctx, sc, err) + }() + } + for { + next, err := page.fn(ctx, page.ieec) + if err != nil { + return err + } + page.ieec = next + if !next.hasNextLink() || !next.IsEmpty() { + break } } - return nil } -// MigrateMySQLStatusProperties migrateMySqlStatus resource specific properties -type MigrateMySQLStatusProperties struct { - // MigrationOperationStatus - READ-ONLY; Status of the migration task. Possible values include: 'OperationStatusInProgress', 'OperationStatusFailed', 'OperationStatusSucceeded', 'OperationStatusTimedOut', 'OperationStatusCreated' - MigrationOperationStatus OperationStatus `json:"migrationOperationStatus,omitempty"` - // OperationID - READ-ONLY; Operation ID for the migration task. - OperationID *string `json:"operationId,omitempty"` - // LocalMySQLEnabled - READ-ONLY; True if the web app has in app MySql enabled - LocalMySQLEnabled *bool `json:"localMySqlEnabled,omitempty"` +// Next advances to the next page of values. If there was an error making +// the request the page does not advance and the error is returned. +// Deprecated: Use NextWithContext() instead. +func (page *InboundEnvironmentEndpointCollectionPage) Next() error { + return page.NextWithContext(context.Background()) } -// MarshalJSON is the custom marshaler for MigrateMySQLStatusProperties. -func (mmss MigrateMySQLStatusProperties) MarshalJSON() ([]byte, error) { +// NotDone returns true if the page enumeration should be started or is not yet complete. +func (page InboundEnvironmentEndpointCollectionPage) NotDone() bool { + return !page.ieec.IsEmpty() +} + +// Response returns the raw server response from the last page request. +func (page InboundEnvironmentEndpointCollectionPage) Response() InboundEnvironmentEndpointCollection { + return page.ieec +} + +// Values returns the slice of values for the current page or nil if there are no values. +func (page InboundEnvironmentEndpointCollectionPage) Values() []InboundEnvironmentEndpoint { + if page.ieec.IsEmpty() { + return nil + } + return *page.ieec.Value +} + +// Creates a new instance of the InboundEnvironmentEndpointCollectionPage type. +func NewInboundEnvironmentEndpointCollectionPage(cur InboundEnvironmentEndpointCollection, getNextPage func(context.Context, InboundEnvironmentEndpointCollection) (InboundEnvironmentEndpointCollection, error)) InboundEnvironmentEndpointCollectionPage { + return InboundEnvironmentEndpointCollectionPage{ + fn: getNextPage, + ieec: cur, + } +} + +// IPSecurityRestriction IP security restriction on an app. +type IPSecurityRestriction struct { + // IPAddress - IP address the security restriction is valid for. + // It can be in form of pure ipv4 address (required SubnetMask property) or + // CIDR notation such as ipv4/mask (leading bit match). For CIDR, + // SubnetMask property must not be specified. + IPAddress *string `json:"ipAddress,omitempty"` + // SubnetMask - Subnet mask for the range of IP addresses the restriction is valid for. + SubnetMask *string `json:"subnetMask,omitempty"` + // VnetSubnetResourceID - Virtual network resource id + VnetSubnetResourceID *string `json:"vnetSubnetResourceId,omitempty"` + // VnetTrafficTag - (internal) Vnet traffic tag + VnetTrafficTag *int32 `json:"vnetTrafficTag,omitempty"` + // SubnetTrafficTag - (internal) Subnet traffic tag + SubnetTrafficTag *int32 `json:"subnetTrafficTag,omitempty"` + // Action - Allow or Deny access for this IP range. + Action *string `json:"action,omitempty"` + // Tag - Defines what this IP filter will be used for. This is to support IP filtering on proxies. Possible values include: 'Default', 'XffProxy', 'ServiceTag' + Tag IPFilterTag `json:"tag,omitempty"` + // Priority - Priority of IP restriction rule. + Priority *int32 `json:"priority,omitempty"` + // Name - IP restriction rule name. + Name *string `json:"name,omitempty"` + // Description - IP restriction rule description. + Description *string `json:"description,omitempty"` + // Headers - IP restriction rule headers. + // X-Forwarded-Host (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-Host#Examples). + // The matching logic is .. + // - If the property is null or empty (default), all hosts(or lack of) are allowed. + // - A value is compared using ordinal-ignore-case (excluding port number). + // - Subdomain wildcards are permitted but don't match the root domain. For example, *.contoso.com matches the subdomain foo.contoso.com + // but not the root domain contoso.com or multi-level foo.bar.contoso.com + // - Unicode host names are allowed but are converted to Punycode for matching. + // X-Forwarded-For (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-For#Examples). + // The matching logic is .. + // - If the property is null or empty (default), any forwarded-for chains (or lack of) are allowed. + // - If any address (excluding port number) in the chain (comma separated) matches the CIDR defined by the property. + // X-Azure-FDID and X-FD-HealthProbe. + // The matching logic is exact match. + Headers map[string][]string `json:"headers"` +} + +// MarshalJSON is the custom marshaler for IPSecurityRestriction. +func (isr IPSecurityRestriction) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) + if isr.IPAddress != nil { + objectMap["ipAddress"] = isr.IPAddress + } + if isr.SubnetMask != nil { + objectMap["subnetMask"] = isr.SubnetMask + } + if isr.VnetSubnetResourceID != nil { + objectMap["vnetSubnetResourceId"] = isr.VnetSubnetResourceID + } + if isr.VnetTrafficTag != nil { + objectMap["vnetTrafficTag"] = isr.VnetTrafficTag + } + if isr.SubnetTrafficTag != nil { + objectMap["subnetTrafficTag"] = isr.SubnetTrafficTag + } + if isr.Action != nil { + objectMap["action"] = isr.Action + } + if isr.Tag != "" { + objectMap["tag"] = isr.Tag + } + if isr.Priority != nil { + objectMap["priority"] = isr.Priority + } + if isr.Name != nil { + objectMap["name"] = isr.Name + } + if isr.Description != nil { + objectMap["description"] = isr.Description + } + if isr.Headers != nil { + objectMap["headers"] = isr.Headers + } return json.Marshal(objectMap) } -// MSDeploy mSDeploy ARM PUT information -type MSDeploy struct { - // MSDeployCore - Core resource properties - *MSDeployCore `json:"properties,omitempty"` +// Job web Job Information. +type Job struct { + autorest.Response `json:"-"` + // JobProperties - WebJob resource specific properties + *JobProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. @@ -17510,20 +14272,20 @@ type MSDeploy struct { Type *string `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for MSDeploy. -func (md MSDeploy) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for Job. +func (j Job) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if md.MSDeployCore != nil { - objectMap["properties"] = md.MSDeployCore + if j.JobProperties != nil { + objectMap["properties"] = j.JobProperties } - if md.Kind != nil { - objectMap["kind"] = md.Kind + if j.Kind != nil { + objectMap["kind"] = j.Kind } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for MSDeploy struct. -func (md *MSDeploy) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for Job struct. +func (j *Job) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -17533,12 +14295,12 @@ func (md *MSDeploy) UnmarshalJSON(body []byte) error { switch k { case "properties": if v != nil { - var mSDeployCore MSDeployCore - err = json.Unmarshal(*v, &mSDeployCore) + var jobProperties JobProperties + err = json.Unmarshal(*v, &jobProperties) if err != nil { return err } - md.MSDeployCore = &mSDeployCore + j.JobProperties = &jobProperties } case "id": if v != nil { @@ -17547,7 +14309,7 @@ func (md *MSDeploy) UnmarshalJSON(body []byte) error { if err != nil { return err } - md.ID = &ID + j.ID = &ID } case "name": if v != nil { @@ -17556,7 +14318,7 @@ func (md *MSDeploy) UnmarshalJSON(body []byte) error { if err != nil { return err } - md.Name = &name + j.Name = &name } case "kind": if v != nil { @@ -17565,7 +14327,7 @@ func (md *MSDeploy) UnmarshalJSON(body []byte) error { if err != nil { return err } - md.Kind = &kind + j.Kind = &kind } case "type": if v != nil { @@ -17574,7 +14336,7 @@ func (md *MSDeploy) UnmarshalJSON(body []byte) error { if err != nil { return err } - md.Type = &typeVar + j.Type = &typeVar } } } @@ -17582,465 +14344,478 @@ func (md *MSDeploy) UnmarshalJSON(body []byte) error { return nil } -// MSDeployCore mSDeploy ARM PUT core information -type MSDeployCore struct { - // PackageURI - Package URI - PackageURI *string `json:"packageUri,omitempty"` - // ConnectionString - SQL Connection String - ConnectionString *string `json:"connectionString,omitempty"` - // DbType - Database Type - DbType *string `json:"dbType,omitempty"` - // SetParametersXMLFileURI - URI of MSDeploy Parameters file. Must not be set if SetParameters is used. - SetParametersXMLFileURI *string `json:"setParametersXmlFileUri,omitempty"` - // SetParameters - MSDeploy Parameters. Must not be set if SetParametersXmlFileUri is used. - SetParameters map[string]*string `json:"setParameters"` - // SkipAppData - Controls whether the MSDeploy operation skips the App_Data directory. - // If set to true, the existing App_Data directory on the destination - // will not be deleted, and any App_Data directory in the source will be ignored. - // Setting is false by default. - SkipAppData *bool `json:"skipAppData,omitempty"` - // AppOffline - Sets the AppOffline rule while the MSDeploy operation executes. - // Setting is false by default. - AppOffline *bool `json:"appOffline,omitempty"` +// JobCollection collection of Kudu web job information elements. +type JobCollection struct { + autorest.Response `json:"-"` + // Value - Collection of resources. + Value *[]Job `json:"value,omitempty"` + // NextLink - READ-ONLY; Link to next page of resources. + NextLink *string `json:"nextLink,omitempty"` } -// MarshalJSON is the custom marshaler for MSDeployCore. -func (mdc MSDeployCore) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for JobCollection. +func (jc JobCollection) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if mdc.PackageURI != nil { - objectMap["packageUri"] = mdc.PackageURI - } - if mdc.ConnectionString != nil { - objectMap["connectionString"] = mdc.ConnectionString - } - if mdc.DbType != nil { - objectMap["dbType"] = mdc.DbType - } - if mdc.SetParametersXMLFileURI != nil { - objectMap["setParametersXmlFileUri"] = mdc.SetParametersXMLFileURI + if jc.Value != nil { + objectMap["value"] = jc.Value } - if mdc.SetParameters != nil { - objectMap["setParameters"] = mdc.SetParameters + return json.Marshal(objectMap) +} + +// JobCollectionIterator provides access to a complete listing of Job values. +type JobCollectionIterator struct { + i int + page JobCollectionPage +} + +// NextWithContext advances to the next value. If there was an error making +// the request the iterator does not advance and the error is returned. +func (iter *JobCollectionIterator) NextWithContext(ctx context.Context) (err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/JobCollectionIterator.NextWithContext") + defer func() { + sc := -1 + if iter.Response().Response.Response != nil { + sc = iter.Response().Response.Response.StatusCode + } + tracing.EndSpan(ctx, sc, err) + }() } - if mdc.SkipAppData != nil { - objectMap["skipAppData"] = mdc.SkipAppData + iter.i++ + if iter.i < len(iter.page.Values()) { + return nil } - if mdc.AppOffline != nil { - objectMap["appOffline"] = mdc.AppOffline + err = iter.page.NextWithContext(ctx) + if err != nil { + iter.i-- + return err } - return json.Marshal(objectMap) + iter.i = 0 + return nil } -// MSDeployLog mSDeploy log -type MSDeployLog struct { - autorest.Response `json:"-"` - // MSDeployLogProperties - MSDeployLog resource specific properties - *MSDeployLogProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` +// Next advances to the next value. If there was an error making +// the request the iterator does not advance and the error is returned. +// Deprecated: Use NextWithContext() instead. +func (iter *JobCollectionIterator) Next() error { + return iter.NextWithContext(context.Background()) } -// MarshalJSON is the custom marshaler for MSDeployLog. -func (mdl MSDeployLog) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if mdl.MSDeployLogProperties != nil { - objectMap["properties"] = mdl.MSDeployLogProperties - } - if mdl.Kind != nil { - objectMap["kind"] = mdl.Kind +// NotDone returns true if the enumeration should be started or is not yet complete. +func (iter JobCollectionIterator) NotDone() bool { + return iter.page.NotDone() && iter.i < len(iter.page.Values()) +} + +// Response returns the raw server response from the last page request. +func (iter JobCollectionIterator) Response() JobCollection { + return iter.page.Response() +} + +// Value returns the current value or a zero-initialized value if the +// iterator has advanced beyond the end of the collection. +func (iter JobCollectionIterator) Value() Job { + if !iter.page.NotDone() { + return Job{} } - return json.Marshal(objectMap) + return iter.page.Values()[iter.i] } -// UnmarshalJSON is the custom unmarshaler for MSDeployLog struct. -func (mdl *MSDeployLog) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err +// Creates a new instance of the JobCollectionIterator type. +func NewJobCollectionIterator(page JobCollectionPage) JobCollectionIterator { + return JobCollectionIterator{page: page} +} + +// IsEmpty returns true if the ListResult contains no values. +func (jc JobCollection) IsEmpty() bool { + return jc.Value == nil || len(*jc.Value) == 0 +} + +// hasNextLink returns true if the NextLink is not empty. +func (jc JobCollection) hasNextLink() bool { + return jc.NextLink != nil && len(*jc.NextLink) != 0 +} + +// jobCollectionPreparer prepares a request to retrieve the next set of results. +// It returns nil if no more results exist. +func (jc JobCollection) jobCollectionPreparer(ctx context.Context) (*http.Request, error) { + if !jc.hasNextLink() { + return nil, nil } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var mSDeployLogProperties MSDeployLogProperties - err = json.Unmarshal(*v, &mSDeployLogProperties) - if err != nil { - return err - } - mdl.MSDeployLogProperties = &mSDeployLogProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - mdl.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - mdl.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - mdl.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - mdl.Type = &typeVar + return autorest.Prepare((&http.Request{}).WithContext(ctx), + autorest.AsJSON(), + autorest.AsGet(), + autorest.WithBaseURL(to.String(jc.NextLink))) +} + +// JobCollectionPage contains a page of Job values. +type JobCollectionPage struct { + fn func(context.Context, JobCollection) (JobCollection, error) + jc JobCollection +} + +// NextWithContext advances to the next page of values. If there was an error making +// the request the page does not advance and the error is returned. +func (page *JobCollectionPage) NextWithContext(ctx context.Context) (err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/JobCollectionPage.NextWithContext") + defer func() { + sc := -1 + if page.Response().Response.Response != nil { + sc = page.Response().Response.Response.StatusCode } + tracing.EndSpan(ctx, sc, err) + }() + } + for { + next, err := page.fn(ctx, page.jc) + if err != nil { + return err + } + page.jc = next + if !next.hasNextLink() || !next.IsEmpty() { + break } } - return nil } -// MSDeployLogEntry mSDeploy log entry -type MSDeployLogEntry struct { - // Time - READ-ONLY; Timestamp of log entry - Time *date.Time `json:"time,omitempty"` - // Type - READ-ONLY; Log entry type. Possible values include: 'MSDeployLogEntryTypeMessage', 'MSDeployLogEntryTypeWarning', 'MSDeployLogEntryTypeError' - Type MSDeployLogEntryType `json:"type,omitempty"` - // Message - READ-ONLY; Log entry message - Message *string `json:"message,omitempty"` +// Next advances to the next page of values. If there was an error making +// the request the page does not advance and the error is returned. +// Deprecated: Use NextWithContext() instead. +func (page *JobCollectionPage) Next() error { + return page.NextWithContext(context.Background()) } -// MarshalJSON is the custom marshaler for MSDeployLogEntry. -func (mdle MSDeployLogEntry) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - return json.Marshal(objectMap) +// NotDone returns true if the page enumeration should be started or is not yet complete. +func (page JobCollectionPage) NotDone() bool { + return !page.jc.IsEmpty() } -// MSDeployLogProperties mSDeployLog resource specific properties -type MSDeployLogProperties struct { - // Entries - READ-ONLY; List of log entry messages - Entries *[]MSDeployLogEntry `json:"entries,omitempty"` +// Response returns the raw server response from the last page request. +func (page JobCollectionPage) Response() JobCollection { + return page.jc } -// MarshalJSON is the custom marshaler for MSDeployLogProperties. -func (mdl MSDeployLogProperties) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - return json.Marshal(objectMap) +// Values returns the slice of values for the current page or nil if there are no values. +func (page JobCollectionPage) Values() []Job { + if page.jc.IsEmpty() { + return nil + } + return *page.jc.Value } -// MSDeployStatus mSDeploy ARM response -type MSDeployStatus struct { - autorest.Response `json:"-"` - // MSDeployStatusProperties - MSDeployStatus resource specific properties - *MSDeployStatusProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` +// Creates a new instance of the JobCollectionPage type. +func NewJobCollectionPage(cur JobCollection, getNextPage func(context.Context, JobCollection) (JobCollection, error)) JobCollectionPage { + return JobCollectionPage{ + fn: getNextPage, + jc: cur, + } } -// MarshalJSON is the custom marshaler for MSDeployStatus. -func (mds MSDeployStatus) MarshalJSON() ([]byte, error) { +// JobProperties webJob resource specific properties +type JobProperties struct { + // RunCommand - Run command. + RunCommand *string `json:"run_command,omitempty"` + // URL - Job URL. + URL *string `json:"url,omitempty"` + // ExtraInfoURL - Extra Info URL. + ExtraInfoURL *string `json:"extra_info_url,omitempty"` + // WebJobType - Job type. Possible values include: 'Continuous', 'Triggered' + WebJobType JobType `json:"web_job_type,omitempty"` + // Error - Error information. + Error *string `json:"error,omitempty"` + // UsingSdk - Using SDK? + UsingSdk *bool `json:"using_sdk,omitempty"` + // Settings - Job settings. + Settings map[string]interface{} `json:"settings"` +} + +// MarshalJSON is the custom marshaler for JobProperties. +func (j JobProperties) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if mds.MSDeployStatusProperties != nil { - objectMap["properties"] = mds.MSDeployStatusProperties + if j.RunCommand != nil { + objectMap["run_command"] = j.RunCommand } - if mds.Kind != nil { - objectMap["kind"] = mds.Kind + if j.URL != nil { + objectMap["url"] = j.URL + } + if j.ExtraInfoURL != nil { + objectMap["extra_info_url"] = j.ExtraInfoURL + } + if j.WebJobType != "" { + objectMap["web_job_type"] = j.WebJobType + } + if j.Error != nil { + objectMap["error"] = j.Error + } + if j.UsingSdk != nil { + objectMap["using_sdk"] = j.UsingSdk + } + if j.Settings != nil { + objectMap["settings"] = j.Settings } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for MSDeployStatus struct. -func (mds *MSDeployStatus) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var mSDeployStatusProperties MSDeployStatusProperties - err = json.Unmarshal(*v, &mSDeployStatusProperties) - if err != nil { - return err - } - mds.MSDeployStatusProperties = &mSDeployStatusProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - mds.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - mds.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - mds.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - mds.Type = &typeVar - } - } - } +// JwtClaimChecks the configuration settings of the checks that should be made while validating the JWT +// Claims. +type JwtClaimChecks struct { + // AllowedGroups - The list of the allowed groups. + AllowedGroups *[]string `json:"allowedGroups,omitempty"` + // AllowedClientApplications - The list of the allowed client applications. + AllowedClientApplications *[]string `json:"allowedClientApplications,omitempty"` +} - return nil +// KeyInfo function key info. +type KeyInfo struct { + autorest.Response `json:"-"` + // Name - Key name + Name *string `json:"name,omitempty"` + // Value - Key value + Value *string `json:"value,omitempty"` } -// MSDeployStatusProperties mSDeployStatus resource specific properties -type MSDeployStatusProperties struct { - // Deployer - READ-ONLY; Username of deployer - Deployer *string `json:"deployer,omitempty"` - // ProvisioningState - READ-ONLY; Provisioning state. Possible values include: 'MSDeployProvisioningStateAccepted', 'MSDeployProvisioningStateRunning', 'MSDeployProvisioningStateSucceeded', 'MSDeployProvisioningStateFailed', 'MSDeployProvisioningStateCanceled' - ProvisioningState MSDeployProvisioningState `json:"provisioningState,omitempty"` - // StartTime - READ-ONLY; Start time of deploy operation - StartTime *date.Time `json:"startTime,omitempty"` - // EndTime - READ-ONLY; End time of deploy operation - EndTime *date.Time `json:"endTime,omitempty"` - // Complete - READ-ONLY; Whether the deployment operation has completed - Complete *bool `json:"complete,omitempty"` +// KeyValuePairStringObject ... +type KeyValuePairStringObject struct { + // Key - READ-ONLY + Key *string `json:"key,omitempty"` + // Value - READ-ONLY + Value interface{} `json:"value,omitempty"` } -// MarshalJSON is the custom marshaler for MSDeployStatusProperties. -func (mds MSDeployStatusProperties) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for KeyValuePairStringObject. +func (kvpSo KeyValuePairStringObject) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) return json.Marshal(objectMap) } -// NameIdentifier identifies an object. -type NameIdentifier struct { - // Name - Name of the object. +// KubeEnvironmentProfile specification for a Kubernetes Environment to use for this resource. +type KubeEnvironmentProfile struct { + // ID - Resource ID of the Kubernetes Environment. + ID *string `json:"id,omitempty"` + // Name - READ-ONLY; Name of the Kubernetes Environment. Name *string `json:"name,omitempty"` + // Type - READ-ONLY; Resource type of the Kubernetes Environment. + Type *string `json:"type,omitempty"` } -// NameIdentifierCollection collection of domain name identifiers. -type NameIdentifierCollection struct { - autorest.Response `json:"-"` - // Value - Collection of resources. - Value *[]NameIdentifier `json:"value,omitempty"` - // NextLink - READ-ONLY; Link to next page of resources. - NextLink *string `json:"nextLink,omitempty"` +// MarshalJSON is the custom marshaler for KubeEnvironmentProfile. +func (kep KubeEnvironmentProfile) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if kep.ID != nil { + objectMap["id"] = kep.ID + } + return json.Marshal(objectMap) } -// MarshalJSON is the custom marshaler for NameIdentifierCollection. -func (nic NameIdentifierCollection) MarshalJSON() ([]byte, error) { +// LegacyMicrosoftAccount the configuration settings of the legacy Microsoft Account provider. +type LegacyMicrosoftAccount struct { + // Enabled - false if the legacy Microsoft Account provider should not be enabled despite the set registration; otherwise, true. + Enabled *bool `json:"enabled,omitempty"` + // Registration - The configuration settings of the app registration for the legacy Microsoft Account provider. + Registration *ClientRegistration `json:"registration,omitempty"` + // Login - The configuration settings of the login flow. + Login *LoginScopes `json:"login,omitempty"` + // Validation - The configuration settings of the legacy Microsoft Account provider token validation flow. + Validation *AllowedAudiencesValidation `json:"validation,omitempty"` +} + +// LinuxJavaContainerSettings linux Java Container settings. +type LinuxJavaContainerSettings struct { + // Java11Runtime - READ-ONLY; Java 11 version (runtime only). + Java11Runtime *string `json:"java11Runtime,omitempty"` + // Java8Runtime - READ-ONLY; Java 8 version (runtime only). + Java8Runtime *string `json:"java8Runtime,omitempty"` + // IsPreview - READ-ONLY; true if the stack is in preview; otherwise, false. + IsPreview *bool `json:"isPreview,omitempty"` + // IsDeprecated - READ-ONLY; true if the stack is deprecated; otherwise, false. + IsDeprecated *bool `json:"isDeprecated,omitempty"` + // IsHidden - READ-ONLY; true if the stack should be hidden; otherwise, false. + IsHidden *bool `json:"isHidden,omitempty"` + // EndOfLifeDate - READ-ONLY; End-of-life date for the minor version. + EndOfLifeDate *date.Time `json:"endOfLifeDate,omitempty"` + // IsAutoUpdate - READ-ONLY; true if the stack version is auto-updated; otherwise, false. + IsAutoUpdate *bool `json:"isAutoUpdate,omitempty"` + // IsEarlyAccess - READ-ONLY; true if the minor version is early-access; otherwise, false. + IsEarlyAccess *bool `json:"isEarlyAccess,omitempty"` +} + +// MarshalJSON is the custom marshaler for LinuxJavaContainerSettings. +func (ljcs LinuxJavaContainerSettings) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if nic.Value != nil { - objectMap["value"] = nic.Value - } return json.Marshal(objectMap) } -// NameIdentifierCollectionIterator provides access to a complete listing of NameIdentifier values. -type NameIdentifierCollectionIterator struct { - i int - page NameIdentifierCollectionPage +// ListCapability ... +type ListCapability struct { + autorest.Response `json:"-"` + Value *[]Capability `json:"value,omitempty"` } -// NextWithContext advances to the next value. If there was an error making -// the request the iterator does not advance and the error is returned. -func (iter *NameIdentifierCollectionIterator) NextWithContext(ctx context.Context) (err error) { - if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/NameIdentifierCollectionIterator.NextWithContext") - defer func() { - sc := -1 - if iter.Response().Response.Response != nil { - sc = iter.Response().Response.Response.StatusCode - } - tracing.EndSpan(ctx, sc, err) - }() - } - iter.i++ - if iter.i < len(iter.page.Values()) { - return nil - } - err = iter.page.NextWithContext(ctx) - if err != nil { - iter.i-- - return err - } - iter.i = 0 - return nil +// ListCertificateEmail ... +type ListCertificateEmail struct { + autorest.Response `json:"-"` + Value *[]CertificateEmail `json:"value,omitempty"` } -// Next advances to the next value. If there was an error making -// the request the iterator does not advance and the error is returned. -// Deprecated: Use NextWithContext() instead. -func (iter *NameIdentifierCollectionIterator) Next() error { - return iter.NextWithContext(context.Background()) +// ListCertificateOrderAction ... +type ListCertificateOrderAction struct { + autorest.Response `json:"-"` + Value *[]CertificateOrderAction `json:"value,omitempty"` } -// NotDone returns true if the enumeration should be started or is not yet complete. -func (iter NameIdentifierCollectionIterator) NotDone() bool { - return iter.page.NotDone() && iter.i < len(iter.page.Values()) +// ListHostingEnvironmentDiagnostics ... +type ListHostingEnvironmentDiagnostics struct { + autorest.Response `json:"-"` + Value *[]HostingEnvironmentDiagnostics `json:"value,omitempty"` } -// Response returns the raw server response from the last page request. -func (iter NameIdentifierCollectionIterator) Response() NameIdentifierCollection { - return iter.page.Response() +// ListNetworkTrace ... +type ListNetworkTrace struct { + autorest.Response `json:"-"` + Value *[]NetworkTrace `json:"value,omitempty"` } -// Value returns the current value or a zero-initialized value if the -// iterator has advanced beyond the end of the collection. -func (iter NameIdentifierCollectionIterator) Value() NameIdentifier { - if !iter.page.NotDone() { - return NameIdentifier{} - } - return iter.page.Values()[iter.i] +// ListOperation ... +type ListOperation struct { + autorest.Response `json:"-"` + Value *[]Operation `json:"value,omitempty"` } -// Creates a new instance of the NameIdentifierCollectionIterator type. -func NewNameIdentifierCollectionIterator(page NameIdentifierCollectionPage) NameIdentifierCollectionIterator { - return NameIdentifierCollectionIterator{page: page} +// ListSnapshot ... +type ListSnapshot struct { + autorest.Response `json:"-"` + Value *[]Snapshot `json:"value,omitempty"` } -// IsEmpty returns true if the ListResult contains no values. -func (nic NameIdentifierCollection) IsEmpty() bool { - return nic.Value == nil || len(*nic.Value) == 0 +// ListVnetInfo ... +type ListVnetInfo struct { + autorest.Response `json:"-"` + Value *[]VnetInfo `json:"value,omitempty"` } -// hasNextLink returns true if the NextLink is not empty. -func (nic NameIdentifierCollection) hasNextLink() bool { - return nic.NextLink != nil && len(*nic.NextLink) != 0 +// ListVnetRoute ... +type ListVnetRoute struct { + autorest.Response `json:"-"` + Value *[]VnetRoute `json:"value,omitempty"` } -// nameIdentifierCollectionPreparer prepares a request to retrieve the next set of results. -// It returns nil if no more results exist. -func (nic NameIdentifierCollection) nameIdentifierCollectionPreparer(ctx context.Context) (*http.Request, error) { - if !nic.hasNextLink() { - return nil, nil - } - return autorest.Prepare((&http.Request{}).WithContext(ctx), - autorest.AsJSON(), - autorest.AsGet(), - autorest.WithBaseURL(to.String(nic.NextLink))) +// LocalizableString localizable string object containing the name and a localized value. +type LocalizableString struct { + // Value - Non-localized name. + Value *string `json:"value,omitempty"` + // LocalizedValue - Localized name. + LocalizedValue *string `json:"localizedValue,omitempty"` } -// NameIdentifierCollectionPage contains a page of NameIdentifier values. -type NameIdentifierCollectionPage struct { - fn func(context.Context, NameIdentifierCollection) (NameIdentifierCollection, error) - nic NameIdentifierCollection +// Login the configuration settings of the login flow of users using App Service +// Authentication/Authorization. +type Login struct { + // Routes - The routes that specify the endpoints used for login and logout requests. + Routes *LoginRoutes `json:"routes,omitempty"` + // TokenStore - The configuration settings of the token store. + TokenStore *TokenStore `json:"tokenStore,omitempty"` + // PreserveURLFragmentsForLogins - true if the fragments from the request are preserved after the login request is made; otherwise, false. + PreserveURLFragmentsForLogins *bool `json:"preserveUrlFragmentsForLogins,omitempty"` + // AllowedExternalRedirectUrls - External URLs that can be redirected to as part of logging in or logging out of the app. Note that the query string part of the URL is ignored. + // This is an advanced setting typically only needed by Windows Store application backends. + // Note that URLs within the current domain are always implicitly allowed. + AllowedExternalRedirectUrls *[]string `json:"allowedExternalRedirectUrls,omitempty"` + // CookieExpiration - The configuration settings of the session cookie's expiration. + CookieExpiration *CookieExpiration `json:"cookieExpiration,omitempty"` + // Nonce - The configuration settings of the nonce used in the login flow. + Nonce *Nonce `json:"nonce,omitempty"` } -// NextWithContext advances to the next page of values. If there was an error making -// the request the page does not advance and the error is returned. -func (page *NameIdentifierCollectionPage) NextWithContext(ctx context.Context) (err error) { - if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/NameIdentifierCollectionPage.NextWithContext") - defer func() { - sc := -1 - if page.Response().Response.Response != nil { - sc = page.Response().Response.Response.StatusCode - } - tracing.EndSpan(ctx, sc, err) - }() - } - for { - next, err := page.fn(ctx, page.nic) - if err != nil { - return err - } - page.nic = next - if !next.hasNextLink() || !next.IsEmpty() { - break - } - } - return nil +// LoginRoutes the routes that specify the endpoints used for login and logout requests. +type LoginRoutes struct { + // LogoutEndpoint - The endpoint at which a logout request should be made. + LogoutEndpoint *string `json:"logoutEndpoint,omitempty"` } -// Next advances to the next page of values. If there was an error making -// the request the page does not advance and the error is returned. -// Deprecated: Use NextWithContext() instead. -func (page *NameIdentifierCollectionPage) Next() error { - return page.NextWithContext(context.Background()) +// LoginScopes the configuration settings of the login flow, including the scopes that should be requested. +type LoginScopes struct { + // Scopes - A list of the scopes that should be requested while authenticating. + Scopes *[]string `json:"scopes,omitempty"` } -// NotDone returns true if the page enumeration should be started or is not yet complete. -func (page NameIdentifierCollectionPage) NotDone() bool { - return !page.nic.IsEmpty() +// LogSpecification log Definition of a single resource metric. +type LogSpecification struct { + Name *string `json:"name,omitempty"` + DisplayName *string `json:"displayName,omitempty"` + BlobDuration *string `json:"blobDuration,omitempty"` + LogFilterPattern *string `json:"logFilterPattern,omitempty"` } -// Response returns the raw server response from the last page request. -func (page NameIdentifierCollectionPage) Response() NameIdentifierCollection { - return page.nic +// ManagedServiceIdentity managed service identity. +type ManagedServiceIdentity struct { + // Type - Type of managed service identity. Possible values include: 'ManagedServiceIdentityTypeSystemAssigned', 'ManagedServiceIdentityTypeUserAssigned', 'ManagedServiceIdentityTypeSystemAssignedUserAssigned', 'ManagedServiceIdentityTypeNone' + Type ManagedServiceIdentityType `json:"type,omitempty"` + // TenantID - READ-ONLY; Tenant of managed service identity. + TenantID *string `json:"tenantId,omitempty"` + // PrincipalID - READ-ONLY; Principal Id of managed service identity. + PrincipalID *string `json:"principalId,omitempty"` + // UserAssignedIdentities - The list of user assigned identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName} + UserAssignedIdentities map[string]*ManagedServiceIdentityUserAssignedIdentitiesValue `json:"userAssignedIdentities"` } -// Values returns the slice of values for the current page or nil if there are no values. -func (page NameIdentifierCollectionPage) Values() []NameIdentifier { - if page.nic.IsEmpty() { - return nil +// MarshalJSON is the custom marshaler for ManagedServiceIdentity. +func (msi ManagedServiceIdentity) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if msi.Type != "" { + objectMap["type"] = msi.Type } - return *page.nic.Value + if msi.UserAssignedIdentities != nil { + objectMap["userAssignedIdentities"] = msi.UserAssignedIdentities + } + return json.Marshal(objectMap) } -// Creates a new instance of the NameIdentifierCollectionPage type. -func NewNameIdentifierCollectionPage(cur NameIdentifierCollection, getNextPage func(context.Context, NameIdentifierCollection) (NameIdentifierCollection, error)) NameIdentifierCollectionPage { - return NameIdentifierCollectionPage{ - fn: getNextPage, - nic: cur, - } +// ManagedServiceIdentityUserAssignedIdentitiesValue ... +type ManagedServiceIdentityUserAssignedIdentitiesValue struct { + // PrincipalID - READ-ONLY; Principal Id of user assigned identity + PrincipalID *string `json:"principalId,omitempty"` + // ClientID - READ-ONLY; Client Id of user assigned identity + ClientID *string `json:"clientId,omitempty"` } -// NameValuePair name value pair. -type NameValuePair struct { - // Name - Pair name. - Name *string `json:"name,omitempty"` - // Value - Pair value. - Value *string `json:"value,omitempty"` +// MarshalJSON is the custom marshaler for ManagedServiceIdentityUserAssignedIdentitiesValue. +func (msiAiv ManagedServiceIdentityUserAssignedIdentitiesValue) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + return json.Marshal(objectMap) +} + +// MetricAvailability retention policy of a resource metric. +type MetricAvailability struct { + TimeGrain *string `json:"timeGrain,omitempty"` + BlobDuration *string `json:"blobDuration,omitempty"` +} + +// MetricSpecification definition of a single resource metric. +type MetricSpecification struct { + Name *string `json:"name,omitempty"` + DisplayName *string `json:"displayName,omitempty"` + DisplayDescription *string `json:"displayDescription,omitempty"` + Unit *string `json:"unit,omitempty"` + AggregationType *string `json:"aggregationType,omitempty"` + SupportsInstanceLevelAggregation *bool `json:"supportsInstanceLevelAggregation,omitempty"` + EnableRegionalMdmAccount *bool `json:"enableRegionalMdmAccount,omitempty"` + SourceMdmAccount *string `json:"sourceMdmAccount,omitempty"` + SourceMdmNamespace *string `json:"sourceMdmNamespace,omitempty"` + MetricFilterPattern *string `json:"metricFilterPattern,omitempty"` + FillGapWithZero *bool `json:"fillGapWithZero,omitempty"` + IsInternal *bool `json:"isInternal,omitempty"` + Dimensions *[]Dimension `json:"dimensions,omitempty"` + Category *string `json:"category,omitempty"` + Availabilities *[]MetricAvailability `json:"availabilities,omitempty"` + SupportedTimeGrainTypes *[]string `json:"supportedTimeGrainTypes,omitempty"` + SupportedAggregationTypes *[]string `json:"supportedAggregationTypes,omitempty"` } -// NetworkFeatures full view of network features for an app (presently VNET integration and Hybrid -// Connections). -type NetworkFeatures struct { - autorest.Response `json:"-"` - // NetworkFeaturesProperties - NetworkFeatures resource specific properties - *NetworkFeaturesProperties `json:"properties,omitempty"` +// MigrateMySQLRequest mySQL migration request. +type MigrateMySQLRequest struct { + // MigrateMySQLRequestProperties - MigrateMySqlRequest resource specific properties + *MigrateMySQLRequestProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. @@ -18051,20 +14826,20 @@ type NetworkFeatures struct { Type *string `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for NetworkFeatures. -func (nf NetworkFeatures) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for MigrateMySQLRequest. +func (mmsr MigrateMySQLRequest) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if nf.NetworkFeaturesProperties != nil { - objectMap["properties"] = nf.NetworkFeaturesProperties + if mmsr.MigrateMySQLRequestProperties != nil { + objectMap["properties"] = mmsr.MigrateMySQLRequestProperties } - if nf.Kind != nil { - objectMap["kind"] = nf.Kind + if mmsr.Kind != nil { + objectMap["kind"] = mmsr.Kind } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for NetworkFeatures struct. -func (nf *NetworkFeatures) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for MigrateMySQLRequest struct. +func (mmsr *MigrateMySQLRequest) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -18074,12 +14849,12 @@ func (nf *NetworkFeatures) UnmarshalJSON(body []byte) error { switch k { case "properties": if v != nil { - var networkFeaturesProperties NetworkFeaturesProperties - err = json.Unmarshal(*v, &networkFeaturesProperties) + var migrateMySQLRequestProperties MigrateMySQLRequestProperties + err = json.Unmarshal(*v, &migrateMySQLRequestProperties) if err != nil { return err } - nf.NetworkFeaturesProperties = &networkFeaturesProperties + mmsr.MigrateMySQLRequestProperties = &migrateMySQLRequestProperties } case "id": if v != nil { @@ -18088,7 +14863,7 @@ func (nf *NetworkFeatures) UnmarshalJSON(body []byte) error { if err != nil { return err } - nf.ID = &ID + mmsr.ID = &ID } case "name": if v != nil { @@ -18097,7 +14872,7 @@ func (nf *NetworkFeatures) UnmarshalJSON(body []byte) error { if err != nil { return err } - nf.Name = &name + mmsr.Name = &name } case "kind": if v != nil { @@ -18106,7 +14881,7 @@ func (nf *NetworkFeatures) UnmarshalJSON(body []byte) error { if err != nil { return err } - nf.Kind = &kind + mmsr.Kind = &kind } case "type": if v != nil { @@ -18115,7 +14890,7 @@ func (nf *NetworkFeatures) UnmarshalJSON(body []byte) error { if err != nil { return err } - nf.Type = &typeVar + mmsr.Type = &typeVar } } } @@ -18123,38 +14898,19 @@ func (nf *NetworkFeatures) UnmarshalJSON(body []byte) error { return nil } -// NetworkFeaturesProperties networkFeatures resource specific properties -type NetworkFeaturesProperties struct { - // VirtualNetworkName - READ-ONLY; The Virtual Network name. - VirtualNetworkName *string `json:"virtualNetworkName,omitempty"` - // VirtualNetworkConnection - READ-ONLY; The Virtual Network summary view. - VirtualNetworkConnection *VnetInfo `json:"virtualNetworkConnection,omitempty"` - // HybridConnections - READ-ONLY; The Hybrid Connections summary view. - HybridConnections *[]RelayServiceConnectionEntity `json:"hybridConnections,omitempty"` - // HybridConnectionsV2 - READ-ONLY; The Hybrid Connection V2 (Service Bus) view. - HybridConnectionsV2 *[]HybridConnection `json:"hybridConnectionsV2,omitempty"` -} - -// MarshalJSON is the custom marshaler for NetworkFeaturesProperties. -func (nf NetworkFeaturesProperties) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - return json.Marshal(objectMap) -} - -// NetworkTrace network trace -type NetworkTrace struct { - // Path - Local file path for the captured network trace file. - Path *string `json:"path,omitempty"` - // Status - Current status of the network trace operation, same as Operation.Status (InProgress/Succeeded/Failed). - Status *string `json:"status,omitempty"` - // Message - Detailed message of a network trace operation, e.g. error message in case of failure. - Message *string `json:"message,omitempty"` +// MigrateMySQLRequestProperties migrateMySqlRequest resource specific properties +type MigrateMySQLRequestProperties struct { + // ConnectionString - Connection string to the remote MySQL database. + ConnectionString *string `json:"connectionString,omitempty"` + // MigrationType - The type of migration operation to be done. Possible values include: 'LocalToRemote', 'RemoteToLocal' + MigrationType MySQLMigrationType `json:"migrationType,omitempty"` } -// Nonce the configuration settings of the nonce used in the login flow. -type Nonce struct { - // NonceProperties - Nonce resource specific properties - *NonceProperties `json:"properties,omitempty"` +// MigrateMySQLStatus mySQL migration status. +type MigrateMySQLStatus struct { + autorest.Response `json:"-"` + // MigrateMySQLStatusProperties - MigrateMySqlStatus resource specific properties + *MigrateMySQLStatusProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. @@ -18165,20 +14921,20 @@ type Nonce struct { Type *string `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for Nonce. -func (n Nonce) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for MigrateMySQLStatus. +func (mmss MigrateMySQLStatus) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if n.NonceProperties != nil { - objectMap["properties"] = n.NonceProperties + if mmss.MigrateMySQLStatusProperties != nil { + objectMap["properties"] = mmss.MigrateMySQLStatusProperties } - if n.Kind != nil { - objectMap["kind"] = n.Kind + if mmss.Kind != nil { + objectMap["kind"] = mmss.Kind } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for Nonce struct. -func (n *Nonce) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for MigrateMySQLStatus struct. +func (mmss *MigrateMySQLStatus) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -18188,12 +14944,12 @@ func (n *Nonce) UnmarshalJSON(body []byte) error { switch k { case "properties": if v != nil { - var nonceProperties NonceProperties - err = json.Unmarshal(*v, &nonceProperties) + var migrateMySQLStatusProperties MigrateMySQLStatusProperties + err = json.Unmarshal(*v, &migrateMySQLStatusProperties) if err != nil { return err } - n.NonceProperties = &nonceProperties + mmss.MigrateMySQLStatusProperties = &migrateMySQLStatusProperties } case "id": if v != nil { @@ -18202,7 +14958,7 @@ func (n *Nonce) UnmarshalJSON(body []byte) error { if err != nil { return err } - n.ID = &ID + mmss.ID = &ID } case "name": if v != nil { @@ -18211,7 +14967,7 @@ func (n *Nonce) UnmarshalJSON(body []byte) error { if err != nil { return err } - n.Name = &name + mmss.Name = &name } case "kind": if v != nil { @@ -18220,7 +14976,7 @@ func (n *Nonce) UnmarshalJSON(body []byte) error { if err != nil { return err } - n.Kind = &kind + mmss.Kind = &kind } case "type": if v != nil { @@ -18229,7 +14985,7 @@ func (n *Nonce) UnmarshalJSON(body []byte) error { if err != nil { return err } - n.Type = &typeVar + mmss.Type = &typeVar } } } @@ -18237,19 +14993,26 @@ func (n *Nonce) UnmarshalJSON(body []byte) error { return nil } -// NonceProperties nonce resource specific properties -type NonceProperties struct { - // ValidateNonce - false if the nonce should not be validated while completing the login flow; otherwise, true. - ValidateNonce *bool `json:"validateNonce,omitempty"` - // NonceExpirationInterval - The time after the request is made when the nonce should expire. - NonceExpirationInterval *string `json:"nonceExpirationInterval,omitempty"` +// MigrateMySQLStatusProperties migrateMySqlStatus resource specific properties +type MigrateMySQLStatusProperties struct { + // MigrationOperationStatus - READ-ONLY; Status of the migration task. Possible values include: 'OperationStatusInProgress', 'OperationStatusFailed', 'OperationStatusSucceeded', 'OperationStatusTimedOut', 'OperationStatusCreated' + MigrationOperationStatus OperationStatus `json:"migrationOperationStatus,omitempty"` + // OperationID - READ-ONLY; Operation ID for the migration task. + OperationID *string `json:"operationId,omitempty"` + // LocalMySQLEnabled - READ-ONLY; True if the web app has in app MySql enabled + LocalMySQLEnabled *bool `json:"localMySqlEnabled,omitempty"` } -// OpenIDConnectClientCredential the authentication client credentials of the custom Open ID Connect -// provider. -type OpenIDConnectClientCredential struct { - // OpenIDConnectClientCredentialProperties - OpenIdConnectClientCredential resource specific properties - *OpenIDConnectClientCredentialProperties `json:"properties,omitempty"` +// MarshalJSON is the custom marshaler for MigrateMySQLStatusProperties. +func (mmss MigrateMySQLStatusProperties) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + return json.Marshal(objectMap) +} + +// MSDeploy mSDeploy ARM PUT information +type MSDeploy struct { + // MSDeployCore - Core resource properties + *MSDeployCore `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. @@ -18260,20 +15023,20 @@ type OpenIDConnectClientCredential struct { Type *string `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for OpenIDConnectClientCredential. -func (oiccc OpenIDConnectClientCredential) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for MSDeploy. +func (md MSDeploy) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if oiccc.OpenIDConnectClientCredentialProperties != nil { - objectMap["properties"] = oiccc.OpenIDConnectClientCredentialProperties + if md.MSDeployCore != nil { + objectMap["properties"] = md.MSDeployCore } - if oiccc.Kind != nil { - objectMap["kind"] = oiccc.Kind + if md.Kind != nil { + objectMap["kind"] = md.Kind } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for OpenIDConnectClientCredential struct. -func (oiccc *OpenIDConnectClientCredential) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for MSDeploy struct. +func (md *MSDeploy) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -18283,12 +15046,12 @@ func (oiccc *OpenIDConnectClientCredential) UnmarshalJSON(body []byte) error { switch k { case "properties": if v != nil { - var openIDConnectClientCredentialProperties OpenIDConnectClientCredentialProperties - err = json.Unmarshal(*v, &openIDConnectClientCredentialProperties) + var mSDeployCore MSDeployCore + err = json.Unmarshal(*v, &mSDeployCore) if err != nil { return err } - oiccc.OpenIDConnectClientCredentialProperties = &openIDConnectClientCredentialProperties + md.MSDeployCore = &mSDeployCore } case "id": if v != nil { @@ -18297,7 +15060,7 @@ func (oiccc *OpenIDConnectClientCredential) UnmarshalJSON(body []byte) error { if err != nil { return err } - oiccc.ID = &ID + md.ID = &ID } case "name": if v != nil { @@ -18306,7 +15069,7 @@ func (oiccc *OpenIDConnectClientCredential) UnmarshalJSON(body []byte) error { if err != nil { return err } - oiccc.Name = &name + md.Name = &name } case "kind": if v != nil { @@ -18315,7 +15078,7 @@ func (oiccc *OpenIDConnectClientCredential) UnmarshalJSON(body []byte) error { if err != nil { return err } - oiccc.Kind = &kind + md.Kind = &kind } case "type": if v != nil { @@ -18324,7 +15087,7 @@ func (oiccc *OpenIDConnectClientCredential) UnmarshalJSON(body []byte) error { if err != nil { return err } - oiccc.Type = &typeVar + md.Type = &typeVar } } } @@ -18332,19 +15095,60 @@ func (oiccc *OpenIDConnectClientCredential) UnmarshalJSON(body []byte) error { return nil } -// OpenIDConnectClientCredentialProperties openIdConnectClientCredential resource specific properties -type OpenIDConnectClientCredentialProperties struct { - // Method - The method that should be used to authenticate the user. Possible values include: 'ClientSecretPost' - Method ClientCredentialMethod `json:"method,omitempty"` - // ClientSecretSettingName - The app setting that contains the client secret for the custom Open ID Connect provider. - ClientSecretSettingName *string `json:"clientSecretSettingName,omitempty"` +// MSDeployCore mSDeploy ARM PUT core information +type MSDeployCore struct { + // PackageURI - Package URI + PackageURI *string `json:"packageUri,omitempty"` + // ConnectionString - SQL Connection String + ConnectionString *string `json:"connectionString,omitempty"` + // DbType - Database Type + DbType *string `json:"dbType,omitempty"` + // SetParametersXMLFileURI - URI of MSDeploy Parameters file. Must not be set if SetParameters is used. + SetParametersXMLFileURI *string `json:"setParametersXmlFileUri,omitempty"` + // SetParameters - MSDeploy Parameters. Must not be set if SetParametersXmlFileUri is used. + SetParameters map[string]*string `json:"setParameters"` + // SkipAppData - Controls whether the MSDeploy operation skips the App_Data directory. + // If set to true, the existing App_Data directory on the destination + // will not be deleted, and any App_Data directory in the source will be ignored. + // Setting is false by default. + SkipAppData *bool `json:"skipAppData,omitempty"` + // AppOffline - Sets the AppOffline rule while the MSDeploy operation executes. + // Setting is false by default. + AppOffline *bool `json:"appOffline,omitempty"` } -// OpenIDConnectConfig the configuration settings of the endpoints used for the custom Open ID Connect -// provider. -type OpenIDConnectConfig struct { - // OpenIDConnectConfigProperties - OpenIdConnectConfig resource specific properties - *OpenIDConnectConfigProperties `json:"properties,omitempty"` +// MarshalJSON is the custom marshaler for MSDeployCore. +func (mdc MSDeployCore) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if mdc.PackageURI != nil { + objectMap["packageUri"] = mdc.PackageURI + } + if mdc.ConnectionString != nil { + objectMap["connectionString"] = mdc.ConnectionString + } + if mdc.DbType != nil { + objectMap["dbType"] = mdc.DbType + } + if mdc.SetParametersXMLFileURI != nil { + objectMap["setParametersXmlFileUri"] = mdc.SetParametersXMLFileURI + } + if mdc.SetParameters != nil { + objectMap["setParameters"] = mdc.SetParameters + } + if mdc.SkipAppData != nil { + objectMap["skipAppData"] = mdc.SkipAppData + } + if mdc.AppOffline != nil { + objectMap["appOffline"] = mdc.AppOffline + } + return json.Marshal(objectMap) +} + +// MSDeployLog mSDeploy log +type MSDeployLog struct { + autorest.Response `json:"-"` + // MSDeployLogProperties - MSDeployLog resource specific properties + *MSDeployLogProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. @@ -18355,20 +15159,20 @@ type OpenIDConnectConfig struct { Type *string `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for OpenIDConnectConfig. -func (oicc OpenIDConnectConfig) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for MSDeployLog. +func (mdl MSDeployLog) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if oicc.OpenIDConnectConfigProperties != nil { - objectMap["properties"] = oicc.OpenIDConnectConfigProperties + if mdl.MSDeployLogProperties != nil { + objectMap["properties"] = mdl.MSDeployLogProperties } - if oicc.Kind != nil { - objectMap["kind"] = oicc.Kind + if mdl.Kind != nil { + objectMap["kind"] = mdl.Kind } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for OpenIDConnectConfig struct. -func (oicc *OpenIDConnectConfig) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for MSDeployLog struct. +func (mdl *MSDeployLog) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -18378,12 +15182,12 @@ func (oicc *OpenIDConnectConfig) UnmarshalJSON(body []byte) error { switch k { case "properties": if v != nil { - var openIDConnectConfigProperties OpenIDConnectConfigProperties - err = json.Unmarshal(*v, &openIDConnectConfigProperties) + var mSDeployLogProperties MSDeployLogProperties + err = json.Unmarshal(*v, &mSDeployLogProperties) if err != nil { return err } - oicc.OpenIDConnectConfigProperties = &openIDConnectConfigProperties + mdl.MSDeployLogProperties = &mSDeployLogProperties } case "id": if v != nil { @@ -18392,7 +15196,7 @@ func (oicc *OpenIDConnectConfig) UnmarshalJSON(body []byte) error { if err != nil { return err } - oicc.ID = &ID + mdl.ID = &ID } case "name": if v != nil { @@ -18401,7 +15205,7 @@ func (oicc *OpenIDConnectConfig) UnmarshalJSON(body []byte) error { if err != nil { return err } - oicc.Name = &name + mdl.Name = &name } case "kind": if v != nil { @@ -18410,7 +15214,7 @@ func (oicc *OpenIDConnectConfig) UnmarshalJSON(body []byte) error { if err != nil { return err } - oicc.Kind = &kind + mdl.Kind = &kind } case "type": if v != nil { @@ -18419,7 +15223,7 @@ func (oicc *OpenIDConnectConfig) UnmarshalJSON(body []byte) error { if err != nil { return err } - oicc.Type = &typeVar + mdl.Type = &typeVar } } } @@ -18427,24 +15231,39 @@ func (oicc *OpenIDConnectConfig) UnmarshalJSON(body []byte) error { return nil } -// OpenIDConnectConfigProperties openIdConnectConfig resource specific properties -type OpenIDConnectConfigProperties struct { - // AuthorizationEndpoint - The endpoint to be used to make an authorization request. - AuthorizationEndpoint *string `json:"authorizationEndpoint,omitempty"` - // TokenEndpoint - The endpoint to be used to request a token. - TokenEndpoint *string `json:"tokenEndpoint,omitempty"` - // Issuer - The endpoint that issues the token. - Issuer *string `json:"issuer,omitempty"` - // CertificationURI - The endpoint that provides the keys necessary to validate the token. - CertificationURI *string `json:"certificationUri,omitempty"` - // WellKnownOpenIDConfiguration - The endpoint that contains all the configuration endpoints for the provider. - WellKnownOpenIDConfiguration *string `json:"wellKnownOpenIdConfiguration,omitempty"` +// MSDeployLogEntry mSDeploy log entry +type MSDeployLogEntry struct { + // Time - READ-ONLY; Timestamp of log entry + Time *date.Time `json:"time,omitempty"` + // Type - READ-ONLY; Log entry type. Possible values include: 'MSDeployLogEntryTypeMessage', 'MSDeployLogEntryTypeWarning', 'MSDeployLogEntryTypeError' + Type MSDeployLogEntryType `json:"type,omitempty"` + // Message - READ-ONLY; Log entry message + Message *string `json:"message,omitempty"` } -// OpenIDConnectLogin the configuration settings of the login flow of the custom Open ID Connect provider. -type OpenIDConnectLogin struct { - // OpenIDConnectLoginProperties - OpenIdConnectLogin resource specific properties - *OpenIDConnectLoginProperties `json:"properties,omitempty"` +// MarshalJSON is the custom marshaler for MSDeployLogEntry. +func (mdle MSDeployLogEntry) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + return json.Marshal(objectMap) +} + +// MSDeployLogProperties mSDeployLog resource specific properties +type MSDeployLogProperties struct { + // Entries - READ-ONLY; List of log entry messages + Entries *[]MSDeployLogEntry `json:"entries,omitempty"` +} + +// MarshalJSON is the custom marshaler for MSDeployLogProperties. +func (mdl MSDeployLogProperties) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + return json.Marshal(objectMap) +} + +// MSDeployStatus mSDeploy ARM response +type MSDeployStatus struct { + autorest.Response `json:"-"` + // MSDeployStatusProperties - MSDeployStatus resource specific properties + *MSDeployStatusProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. @@ -18455,20 +15274,20 @@ type OpenIDConnectLogin struct { Type *string `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for OpenIDConnectLogin. -func (oicl OpenIDConnectLogin) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for MSDeployStatus. +func (mds MSDeployStatus) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if oicl.OpenIDConnectLoginProperties != nil { - objectMap["properties"] = oicl.OpenIDConnectLoginProperties + if mds.MSDeployStatusProperties != nil { + objectMap["properties"] = mds.MSDeployStatusProperties } - if oicl.Kind != nil { - objectMap["kind"] = oicl.Kind + if mds.Kind != nil { + objectMap["kind"] = mds.Kind } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for OpenIDConnectLogin struct. -func (oicl *OpenIDConnectLogin) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for MSDeployStatus struct. +func (mds *MSDeployStatus) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -18478,12 +15297,12 @@ func (oicl *OpenIDConnectLogin) UnmarshalJSON(body []byte) error { switch k { case "properties": if v != nil { - var openIDConnectLoginProperties OpenIDConnectLoginProperties - err = json.Unmarshal(*v, &openIDConnectLoginProperties) + var mSDeployStatusProperties MSDeployStatusProperties + err = json.Unmarshal(*v, &mSDeployStatusProperties) if err != nil { return err } - oicl.OpenIDConnectLoginProperties = &openIDConnectLoginProperties + mds.MSDeployStatusProperties = &mSDeployStatusProperties } case "id": if v != nil { @@ -18492,7 +15311,7 @@ func (oicl *OpenIDConnectLogin) UnmarshalJSON(body []byte) error { if err != nil { return err } - oicl.ID = &ID + mds.ID = &ID } case "name": if v != nil { @@ -18501,7 +15320,7 @@ func (oicl *OpenIDConnectLogin) UnmarshalJSON(body []byte) error { if err != nil { return err } - oicl.Name = &name + mds.Name = &name } case "kind": if v != nil { @@ -18510,7 +15329,7 @@ func (oicl *OpenIDConnectLogin) UnmarshalJSON(body []byte) error { if err != nil { return err } - oicl.Kind = &kind + mds.Kind = &kind } case "type": if v != nil { @@ -18519,7 +15338,7 @@ func (oicl *OpenIDConnectLogin) UnmarshalJSON(body []byte) error { if err != nil { return err } - oicl.Type = &typeVar + mds.Type = &typeVar } } } @@ -18527,19 +15346,214 @@ func (oicl *OpenIDConnectLogin) UnmarshalJSON(body []byte) error { return nil } -// OpenIDConnectLoginProperties openIdConnectLogin resource specific properties -type OpenIDConnectLoginProperties struct { - // NameClaimType - The name of the claim that contains the users name. - NameClaimType *string `json:"nameClaimType,omitempty"` - // Scopes - A list of the scopes that should be requested while authenticating. - Scopes *[]string `json:"scopes,omitempty"` +// MSDeployStatusProperties mSDeployStatus resource specific properties +type MSDeployStatusProperties struct { + // Deployer - READ-ONLY; Username of deployer + Deployer *string `json:"deployer,omitempty"` + // ProvisioningState - READ-ONLY; Provisioning state. Possible values include: 'MSDeployProvisioningStateAccepted', 'MSDeployProvisioningStateRunning', 'MSDeployProvisioningStateSucceeded', 'MSDeployProvisioningStateFailed', 'MSDeployProvisioningStateCanceled' + ProvisioningState MSDeployProvisioningState `json:"provisioningState,omitempty"` + // StartTime - READ-ONLY; Start time of deploy operation + StartTime *date.Time `json:"startTime,omitempty"` + // EndTime - READ-ONLY; End time of deploy operation + EndTime *date.Time `json:"endTime,omitempty"` + // Complete - READ-ONLY; Whether the deployment operation has completed + Complete *bool `json:"complete,omitempty"` } -// OpenIDConnectRegistration the configuration settings of the app registration for the custom Open ID -// Connect provider. -type OpenIDConnectRegistration struct { - // OpenIDConnectRegistrationProperties - OpenIdConnectRegistration resource specific properties - *OpenIDConnectRegistrationProperties `json:"properties,omitempty"` +// MarshalJSON is the custom marshaler for MSDeployStatusProperties. +func (mds MSDeployStatusProperties) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + return json.Marshal(objectMap) +} + +// NameIdentifier identifies an object. +type NameIdentifier struct { + // Name - Name of the object. + Name *string `json:"name,omitempty"` +} + +// NameIdentifierCollection collection of domain name identifiers. +type NameIdentifierCollection struct { + autorest.Response `json:"-"` + // Value - Collection of resources. + Value *[]NameIdentifier `json:"value,omitempty"` + // NextLink - READ-ONLY; Link to next page of resources. + NextLink *string `json:"nextLink,omitempty"` +} + +// MarshalJSON is the custom marshaler for NameIdentifierCollection. +func (nic NameIdentifierCollection) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if nic.Value != nil { + objectMap["value"] = nic.Value + } + return json.Marshal(objectMap) +} + +// NameIdentifierCollectionIterator provides access to a complete listing of NameIdentifier values. +type NameIdentifierCollectionIterator struct { + i int + page NameIdentifierCollectionPage +} + +// NextWithContext advances to the next value. If there was an error making +// the request the iterator does not advance and the error is returned. +func (iter *NameIdentifierCollectionIterator) NextWithContext(ctx context.Context) (err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/NameIdentifierCollectionIterator.NextWithContext") + defer func() { + sc := -1 + if iter.Response().Response.Response != nil { + sc = iter.Response().Response.Response.StatusCode + } + tracing.EndSpan(ctx, sc, err) + }() + } + iter.i++ + if iter.i < len(iter.page.Values()) { + return nil + } + err = iter.page.NextWithContext(ctx) + if err != nil { + iter.i-- + return err + } + iter.i = 0 + return nil +} + +// Next advances to the next value. If there was an error making +// the request the iterator does not advance and the error is returned. +// Deprecated: Use NextWithContext() instead. +func (iter *NameIdentifierCollectionIterator) Next() error { + return iter.NextWithContext(context.Background()) +} + +// NotDone returns true if the enumeration should be started or is not yet complete. +func (iter NameIdentifierCollectionIterator) NotDone() bool { + return iter.page.NotDone() && iter.i < len(iter.page.Values()) +} + +// Response returns the raw server response from the last page request. +func (iter NameIdentifierCollectionIterator) Response() NameIdentifierCollection { + return iter.page.Response() +} + +// Value returns the current value or a zero-initialized value if the +// iterator has advanced beyond the end of the collection. +func (iter NameIdentifierCollectionIterator) Value() NameIdentifier { + if !iter.page.NotDone() { + return NameIdentifier{} + } + return iter.page.Values()[iter.i] +} + +// Creates a new instance of the NameIdentifierCollectionIterator type. +func NewNameIdentifierCollectionIterator(page NameIdentifierCollectionPage) NameIdentifierCollectionIterator { + return NameIdentifierCollectionIterator{page: page} +} + +// IsEmpty returns true if the ListResult contains no values. +func (nic NameIdentifierCollection) IsEmpty() bool { + return nic.Value == nil || len(*nic.Value) == 0 +} + +// hasNextLink returns true if the NextLink is not empty. +func (nic NameIdentifierCollection) hasNextLink() bool { + return nic.NextLink != nil && len(*nic.NextLink) != 0 +} + +// nameIdentifierCollectionPreparer prepares a request to retrieve the next set of results. +// It returns nil if no more results exist. +func (nic NameIdentifierCollection) nameIdentifierCollectionPreparer(ctx context.Context) (*http.Request, error) { + if !nic.hasNextLink() { + return nil, nil + } + return autorest.Prepare((&http.Request{}).WithContext(ctx), + autorest.AsJSON(), + autorest.AsGet(), + autorest.WithBaseURL(to.String(nic.NextLink))) +} + +// NameIdentifierCollectionPage contains a page of NameIdentifier values. +type NameIdentifierCollectionPage struct { + fn func(context.Context, NameIdentifierCollection) (NameIdentifierCollection, error) + nic NameIdentifierCollection +} + +// NextWithContext advances to the next page of values. If there was an error making +// the request the page does not advance and the error is returned. +func (page *NameIdentifierCollectionPage) NextWithContext(ctx context.Context) (err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/NameIdentifierCollectionPage.NextWithContext") + defer func() { + sc := -1 + if page.Response().Response.Response != nil { + sc = page.Response().Response.Response.StatusCode + } + tracing.EndSpan(ctx, sc, err) + }() + } + for { + next, err := page.fn(ctx, page.nic) + if err != nil { + return err + } + page.nic = next + if !next.hasNextLink() || !next.IsEmpty() { + break + } + } + return nil +} + +// Next advances to the next page of values. If there was an error making +// the request the page does not advance and the error is returned. +// Deprecated: Use NextWithContext() instead. +func (page *NameIdentifierCollectionPage) Next() error { + return page.NextWithContext(context.Background()) +} + +// NotDone returns true if the page enumeration should be started or is not yet complete. +func (page NameIdentifierCollectionPage) NotDone() bool { + return !page.nic.IsEmpty() +} + +// Response returns the raw server response from the last page request. +func (page NameIdentifierCollectionPage) Response() NameIdentifierCollection { + return page.nic +} + +// Values returns the slice of values for the current page or nil if there are no values. +func (page NameIdentifierCollectionPage) Values() []NameIdentifier { + if page.nic.IsEmpty() { + return nil + } + return *page.nic.Value +} + +// Creates a new instance of the NameIdentifierCollectionPage type. +func NewNameIdentifierCollectionPage(cur NameIdentifierCollection, getNextPage func(context.Context, NameIdentifierCollection) (NameIdentifierCollection, error)) NameIdentifierCollectionPage { + return NameIdentifierCollectionPage{ + fn: getNextPage, + nic: cur, + } +} + +// NameValuePair name value pair. +type NameValuePair struct { + // Name - Pair name. + Name *string `json:"name,omitempty"` + // Value - Pair value. + Value *string `json:"value,omitempty"` +} + +// NetworkFeatures full view of network features for an app (presently VNET integration and Hybrid +// Connections). +type NetworkFeatures struct { + autorest.Response `json:"-"` + // NetworkFeaturesProperties - NetworkFeatures resource specific properties + *NetworkFeaturesProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. @@ -18550,20 +15564,20 @@ type OpenIDConnectRegistration struct { Type *string `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for OpenIDConnectRegistration. -func (oicr OpenIDConnectRegistration) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for NetworkFeatures. +func (nf NetworkFeatures) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if oicr.OpenIDConnectRegistrationProperties != nil { - objectMap["properties"] = oicr.OpenIDConnectRegistrationProperties + if nf.NetworkFeaturesProperties != nil { + objectMap["properties"] = nf.NetworkFeaturesProperties } - if oicr.Kind != nil { - objectMap["kind"] = oicr.Kind + if nf.Kind != nil { + objectMap["kind"] = nf.Kind } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for OpenIDConnectRegistration struct. -func (oicr *OpenIDConnectRegistration) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for NetworkFeatures struct. +func (nf *NetworkFeatures) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -18573,12 +15587,12 @@ func (oicr *OpenIDConnectRegistration) UnmarshalJSON(body []byte) error { switch k { case "properties": if v != nil { - var openIDConnectRegistrationProperties OpenIDConnectRegistrationProperties - err = json.Unmarshal(*v, &openIDConnectRegistrationProperties) + var networkFeaturesProperties NetworkFeaturesProperties + err = json.Unmarshal(*v, &networkFeaturesProperties) if err != nil { return err } - oicr.OpenIDConnectRegistrationProperties = &openIDConnectRegistrationProperties + nf.NetworkFeaturesProperties = &networkFeaturesProperties } case "id": if v != nil { @@ -18587,7 +15601,7 @@ func (oicr *OpenIDConnectRegistration) UnmarshalJSON(body []byte) error { if err != nil { return err } - oicr.ID = &ID + nf.ID = &ID } case "name": if v != nil { @@ -18596,7 +15610,7 @@ func (oicr *OpenIDConnectRegistration) UnmarshalJSON(body []byte) error { if err != nil { return err } - oicr.Name = &name + nf.Name = &name } case "kind": if v != nil { @@ -18605,7 +15619,7 @@ func (oicr *OpenIDConnectRegistration) UnmarshalJSON(body []byte) error { if err != nil { return err } - oicr.Kind = &kind + nf.Kind = &kind } case "type": if v != nil { @@ -18614,16 +15628,85 @@ func (oicr *OpenIDConnectRegistration) UnmarshalJSON(body []byte) error { if err != nil { return err } - oicr.Type = &typeVar + nf.Type = &typeVar } } } - return nil + return nil +} + +// NetworkFeaturesProperties networkFeatures resource specific properties +type NetworkFeaturesProperties struct { + // VirtualNetworkName - READ-ONLY; The Virtual Network name. + VirtualNetworkName *string `json:"virtualNetworkName,omitempty"` + // VirtualNetworkConnection - READ-ONLY; The Virtual Network summary view. + VirtualNetworkConnection *VnetInfo `json:"virtualNetworkConnection,omitempty"` + // HybridConnections - READ-ONLY; The Hybrid Connections summary view. + HybridConnections *[]RelayServiceConnectionEntity `json:"hybridConnections,omitempty"` + // HybridConnectionsV2 - READ-ONLY; The Hybrid Connection V2 (Service Bus) view. + HybridConnectionsV2 *[]HybridConnection `json:"hybridConnectionsV2,omitempty"` +} + +// MarshalJSON is the custom marshaler for NetworkFeaturesProperties. +func (nf NetworkFeaturesProperties) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + return json.Marshal(objectMap) +} + +// NetworkTrace network trace +type NetworkTrace struct { + // Path - Local file path for the captured network trace file. + Path *string `json:"path,omitempty"` + // Status - Current status of the network trace operation, same as Operation.Status (InProgress/Succeeded/Failed). + Status *string `json:"status,omitempty"` + // Message - Detailed message of a network trace operation, e.g. error message in case of failure. + Message *string `json:"message,omitempty"` +} + +// Nonce the configuration settings of the nonce used in the login flow. +type Nonce struct { + // ValidateNonce - false if the nonce should not be validated while completing the login flow; otherwise, true. + ValidateNonce *bool `json:"validateNonce,omitempty"` + // NonceExpirationInterval - The time after the request is made when the nonce should expire. + NonceExpirationInterval *string `json:"nonceExpirationInterval,omitempty"` +} + +// OpenIDConnectClientCredential the authentication client credentials of the custom Open ID Connect +// provider. +type OpenIDConnectClientCredential struct { + // Method - The method that should be used to authenticate the user. Possible values include: 'ClientSecretPost' + Method ClientCredentialMethod `json:"method,omitempty"` + // ClientSecretSettingName - The app setting that contains the client secret for the custom Open ID Connect provider. + ClientSecretSettingName *string `json:"clientSecretSettingName,omitempty"` +} + +// OpenIDConnectConfig the configuration settings of the endpoints used for the custom Open ID Connect +// provider. +type OpenIDConnectConfig struct { + // AuthorizationEndpoint - The endpoint to be used to make an authorization request. + AuthorizationEndpoint *string `json:"authorizationEndpoint,omitempty"` + // TokenEndpoint - The endpoint to be used to request a token. + TokenEndpoint *string `json:"tokenEndpoint,omitempty"` + // Issuer - The endpoint that issues the token. + Issuer *string `json:"issuer,omitempty"` + // CertificationURI - The endpoint that provides the keys necessary to validate the token. + CertificationURI *string `json:"certificationUri,omitempty"` + // WellKnownOpenIDConfiguration - The endpoint that contains all the configuration endpoints for the provider. + WellKnownOpenIDConfiguration *string `json:"wellKnownOpenIdConfiguration,omitempty"` +} + +// OpenIDConnectLogin the configuration settings of the login flow of the custom Open ID Connect provider. +type OpenIDConnectLogin struct { + // NameClaimType - The name of the claim that contains the users name. + NameClaimType *string `json:"nameClaimType,omitempty"` + // Scopes - A list of the scopes that should be requested while authenticating. + Scopes *[]string `json:"scopes,omitempty"` } -// OpenIDConnectRegistrationProperties openIdConnectRegistration resource specific properties -type OpenIDConnectRegistrationProperties struct { +// OpenIDConnectRegistration the configuration settings of the app registration for the custom Open ID +// Connect provider. +type OpenIDConnectRegistration struct { // ClientID - The client id of the custom Open ID Connect provider. ClientID *string `json:"clientId,omitempty"` // ClientCredential - The authentication credentials of the custom Open ID Connect provider. @@ -31415,92 +28498,6 @@ func NewTldLegalAgreementCollectionPage(cur TldLegalAgreementCollection, getNext // TokenStore the configuration settings of the token store. type TokenStore struct { - // TokenStoreProperties - TokenStore resource specific properties - *TokenStoreProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for TokenStore. -func (ts TokenStore) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if ts.TokenStoreProperties != nil { - objectMap["properties"] = ts.TokenStoreProperties - } - if ts.Kind != nil { - objectMap["kind"] = ts.Kind - } - return json.Marshal(objectMap) -} - -// UnmarshalJSON is the custom unmarshaler for TokenStore struct. -func (ts *TokenStore) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var tokenStoreProperties TokenStoreProperties - err = json.Unmarshal(*v, &tokenStoreProperties) - if err != nil { - return err - } - ts.TokenStoreProperties = &tokenStoreProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - ts.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - ts.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - ts.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - ts.Type = &typeVar - } - } - } - - return nil -} - -// TokenStoreProperties tokenStore resource specific properties -type TokenStoreProperties struct { // Enabled - true to durably store platform-specific security tokens that are obtained during login flows; otherwise, false. // The default is false. Enabled *bool `json:"enabled,omitempty"` @@ -32473,92 +29470,6 @@ func (twj TriggeredWebJobProperties) MarshalJSON() ([]byte, error) { // Twitter the configuration settings of the Twitter provider. type Twitter struct { - // TwitterProperties - Twitter resource specific properties - *TwitterProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for Twitter. -func (t Twitter) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if t.TwitterProperties != nil { - objectMap["properties"] = t.TwitterProperties - } - if t.Kind != nil { - objectMap["kind"] = t.Kind - } - return json.Marshal(objectMap) -} - -// UnmarshalJSON is the custom unmarshaler for Twitter struct. -func (t *Twitter) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var twitterProperties TwitterProperties - err = json.Unmarshal(*v, &twitterProperties) - if err != nil { - return err - } - t.TwitterProperties = &twitterProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - t.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - t.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - t.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - t.Type = &typeVar - } - } - } - - return nil -} - -// TwitterProperties twitter resource specific properties -type TwitterProperties struct { // Enabled - false if the Twitter provider should not be enabled despite the set registration; otherwise, true. Enabled *bool `json:"enabled,omitempty"` // Registration - The configuration settings of the app registration for the Twitter provider. @@ -32567,92 +29478,6 @@ type TwitterProperties struct { // TwitterRegistration the configuration settings of the app registration for the Twitter provider. type TwitterRegistration struct { - // TwitterRegistrationProperties - TwitterRegistration resource specific properties - *TwitterRegistrationProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for TwitterRegistration. -func (tr TwitterRegistration) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if tr.TwitterRegistrationProperties != nil { - objectMap["properties"] = tr.TwitterRegistrationProperties - } - if tr.Kind != nil { - objectMap["kind"] = tr.Kind - } - return json.Marshal(objectMap) -} - -// UnmarshalJSON is the custom unmarshaler for TwitterRegistration struct. -func (tr *TwitterRegistration) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var twitterRegistrationProperties TwitterRegistrationProperties - err = json.Unmarshal(*v, &twitterRegistrationProperties) - if err != nil { - return err - } - tr.TwitterRegistrationProperties = &twitterRegistrationProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - tr.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - tr.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - tr.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - tr.Type = &typeVar - } - } - } - - return nil -} - -// TwitterRegistrationProperties twitterRegistration resource specific properties -type TwitterRegistrationProperties struct { // ConsumerKey - The OAuth 1.0a consumer key of the Twitter application used for sign-in. // This setting is required for enabling Twitter Sign-In. // Twitter Sign-In documentation: https://dev.twitter.com/web/sign-in diff --git a/services/web/mgmt/2020-12-01/web/provider.go b/services/web/mgmt/2020-12-01/web/provider.go index 141c725cb784..da2d7311f413 100644 --- a/services/web/mgmt/2020-12-01/web/provider.go +++ b/services/web/mgmt/2020-12-01/web/provider.go @@ -30,7 +30,7 @@ func NewProviderClientWithBaseURI(baseURI string, subscriptionID string) Provide return ProviderClient{NewWithBaseURI(baseURI, subscriptionID)} } -// GetAvailableStacks description for Get available application frameworks and their versions +// GetAvailableStacks get available application frameworks and their versions func (client ProviderClient) GetAvailableStacks(ctx context.Context, osTypeSelected string) (result ApplicationStackCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/ProviderClient.GetAvailableStacks") @@ -142,7 +142,7 @@ func (client ProviderClient) GetAvailableStacksComplete(ctx context.Context, osT return } -// GetAvailableStacksOnPrem description for Get available application frameworks and their versions +// GetAvailableStacksOnPrem get available application frameworks and their versions func (client ProviderClient) GetAvailableStacksOnPrem(ctx context.Context, osTypeSelected string) (result ApplicationStackCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/ProviderClient.GetAvailableStacksOnPrem") @@ -258,7 +258,7 @@ func (client ProviderClient) GetAvailableStacksOnPremComplete(ctx context.Contex return } -// GetFunctionAppStacks description for Get available Function app frameworks and their versions +// GetFunctionAppStacks get available Function app frameworks and their versions // Parameters: // stackOsType - stack OS Type func (client ProviderClient) GetFunctionAppStacks(ctx context.Context, stackOsType string) (result FunctionAppStackCollectionPage, err error) { @@ -372,8 +372,7 @@ func (client ProviderClient) GetFunctionAppStacksComplete(ctx context.Context, s return } -// GetFunctionAppStacksForLocation description for Get available Function app frameworks and their versions for -// location +// GetFunctionAppStacksForLocation get available Function app frameworks and their versions for location // Parameters: // location - function App stack location. // stackOsType - stack OS Type @@ -492,7 +491,7 @@ func (client ProviderClient) GetFunctionAppStacksForLocationComplete(ctx context return } -// GetWebAppStacks description for Get available Web app frameworks and their versions +// GetWebAppStacks get available Web app frameworks and their versions // Parameters: // stackOsType - stack OS Type func (client ProviderClient) GetWebAppStacks(ctx context.Context, stackOsType string) (result AppStackCollectionPage, err error) { @@ -606,7 +605,7 @@ func (client ProviderClient) GetWebAppStacksComplete(ctx context.Context, stackO return } -// GetWebAppStacksForLocation description for Get available Web app frameworks and their versions for location +// GetWebAppStacksForLocation get available Web app frameworks and their versions for location // Parameters: // location - web App stack location. // stackOsType - stack OS Type @@ -725,8 +724,8 @@ func (client ProviderClient) GetWebAppStacksForLocationComplete(ctx context.Cont return } -// ListOperations description for Gets all available operations for the Microsoft.Web resource provider. Also exposes -// resource metric definitions +// ListOperations gets all available operations for the Microsoft.Web resource provider. Also exposes resource metric +// definitions func (client ProviderClient) ListOperations(ctx context.Context) (result CsmOperationCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/ProviderClient.ListOperations") diff --git a/services/web/mgmt/2020-12-01/web/recommendations.go b/services/web/mgmt/2020-12-01/web/recommendations.go index cd2b18d2e7d8..63f2beb57bea 100644 --- a/services/web/mgmt/2020-12-01/web/recommendations.go +++ b/services/web/mgmt/2020-12-01/web/recommendations.go @@ -31,7 +31,7 @@ func NewRecommendationsClientWithBaseURI(baseURI string, subscriptionID string) return RecommendationsClient{NewWithBaseURI(baseURI, subscriptionID)} } -// DisableAllForHostingEnvironment description for Disable all recommendations for an app. +// DisableAllForHostingEnvironment disable all recommendations for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // environmentName - name of the app. @@ -115,7 +115,7 @@ func (client RecommendationsClient) DisableAllForHostingEnvironmentResponder(res return } -// DisableAllForWebApp description for Disable all recommendations for an app. +// DisableAllForWebApp disable all recommendations for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - name of the app. @@ -198,7 +198,7 @@ func (client RecommendationsClient) DisableAllForWebAppResponder(resp *http.Resp return } -// DisableRecommendationForHostingEnvironment description for Disables the specific rule for a web site permanently. +// DisableRecommendationForHostingEnvironment disables the specific rule for a web site permanently. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // environmentName - site name @@ -284,7 +284,7 @@ func (client RecommendationsClient) DisableRecommendationForHostingEnvironmentRe return } -// DisableRecommendationForSite description for Disables the specific rule for a web site permanently. +// DisableRecommendationForSite disables the specific rule for a web site permanently. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site name @@ -369,8 +369,8 @@ func (client RecommendationsClient) DisableRecommendationForSiteResponder(resp * return } -// DisableRecommendationForSubscription description for Disables the specified rule so it will not apply to a -// subscription in the future. +// DisableRecommendationForSubscription disables the specified rule so it will not apply to a subscription in the +// future. // Parameters: // name - rule name func (client RecommendationsClient) DisableRecommendationForSubscription(ctx context.Context, name string) (result autorest.Response, err error) { @@ -443,7 +443,7 @@ func (client RecommendationsClient) DisableRecommendationForSubscriptionResponde return } -// GetRuleDetailsByHostingEnvironment description for Get a recommendation rule for an app. +// GetRuleDetailsByHostingEnvironment get a recommendation rule for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // hostingEnvironmentName - name of the hosting environment. @@ -538,7 +538,7 @@ func (client RecommendationsClient) GetRuleDetailsByHostingEnvironmentResponder( return } -// GetRuleDetailsByWebApp description for Get a recommendation rule for an app. +// GetRuleDetailsByWebApp get a recommendation rule for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - name of the app. @@ -633,7 +633,7 @@ func (client RecommendationsClient) GetRuleDetailsByWebAppResponder(resp *http.R return } -// List description for List all recommendations for a subscription. +// List list all recommendations for a subscription. // Parameters: // featured - specify true to return only the most critical recommendations. The default is // false, which returns all recommendations. @@ -758,8 +758,7 @@ func (client RecommendationsClient) ListComplete(ctx context.Context, featured * return } -// ListHistoryForHostingEnvironment description for Get past recommendations for an app, optionally specified by the -// time range. +// ListHistoryForHostingEnvironment get past recommendations for an app, optionally specified by the time range. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // hostingEnvironmentName - name of the hosting environment. @@ -896,7 +895,7 @@ func (client RecommendationsClient) ListHistoryForHostingEnvironmentComplete(ctx return } -// ListHistoryForWebApp description for Get past recommendations for an app, optionally specified by the time range. +// ListHistoryForWebApp get past recommendations for an app, optionally specified by the time range. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - name of the app. @@ -1033,7 +1032,7 @@ func (client RecommendationsClient) ListHistoryForWebAppComplete(ctx context.Con return } -// ListRecommendedRulesForHostingEnvironment description for Get all recommendations for a hosting environment. +// ListRecommendedRulesForHostingEnvironment get all recommendations for a hosting environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // hostingEnvironmentName - name of the app. @@ -1169,7 +1168,7 @@ func (client RecommendationsClient) ListRecommendedRulesForHostingEnvironmentCom return } -// ListRecommendedRulesForWebApp description for Get all recommendations for an app. +// ListRecommendedRulesForWebApp get all recommendations for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - name of the app. @@ -1305,7 +1304,7 @@ func (client RecommendationsClient) ListRecommendedRulesForWebAppComplete(ctx co return } -// ResetAllFilters description for Reset all recommendation opt-out settings for a subscription. +// ResetAllFilters reset all recommendation opt-out settings for a subscription. func (client RecommendationsClient) ResetAllFilters(ctx context.Context) (result autorest.Response, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/RecommendationsClient.ResetAllFilters") @@ -1375,7 +1374,7 @@ func (client RecommendationsClient) ResetAllFiltersResponder(resp *http.Response return } -// ResetAllFiltersForHostingEnvironment description for Reset all recommendation opt-out settings for an app. +// ResetAllFiltersForHostingEnvironment reset all recommendation opt-out settings for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // environmentName - name of the app. @@ -1459,7 +1458,7 @@ func (client RecommendationsClient) ResetAllFiltersForHostingEnvironmentResponde return } -// ResetAllFiltersForWebApp description for Reset all recommendation opt-out settings for an app. +// ResetAllFiltersForWebApp reset all recommendation opt-out settings for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - name of the app. diff --git a/services/web/mgmt/2020-12-01/web/resourcehealthmetadata.go b/services/web/mgmt/2020-12-01/web/resourcehealthmetadata.go index 30d08a0ca292..0b95430eedb7 100644 --- a/services/web/mgmt/2020-12-01/web/resourcehealthmetadata.go +++ b/services/web/mgmt/2020-12-01/web/resourcehealthmetadata.go @@ -32,7 +32,7 @@ func NewResourceHealthMetadataClientWithBaseURI(baseURI string, subscriptionID s return ResourceHealthMetadataClient{NewWithBaseURI(baseURI, subscriptionID)} } -// GetBySite description for Gets the category of ResourceHealthMetadata to use for the given site +// GetBySite gets the category of ResourceHealthMetadata to use for the given site // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app @@ -116,7 +116,7 @@ func (client ResourceHealthMetadataClient) GetBySiteResponder(resp *http.Respons return } -// GetBySiteSlot description for Gets the category of ResourceHealthMetadata to use for the given site +// GetBySiteSlot gets the category of ResourceHealthMetadata to use for the given site // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app @@ -202,7 +202,7 @@ func (client ResourceHealthMetadataClient) GetBySiteSlotResponder(resp *http.Res return } -// List description for List all ResourceHealthMetadata for all sites in the subscription. +// List list all ResourceHealthMetadata for all sites in the subscription. func (client ResourceHealthMetadataClient) List(ctx context.Context) (result ResourceHealthMetadataCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/ResourceHealthMetadataClient.List") @@ -315,8 +315,7 @@ func (client ResourceHealthMetadataClient) ListComplete(ctx context.Context) (re return } -// ListByResourceGroup description for List all ResourceHealthMetadata for all sites in the resource group in the -// subscription. +// ListByResourceGroup list all ResourceHealthMetadata for all sites in the resource group in the subscription. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. func (client ResourceHealthMetadataClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ResourceHealthMetadataCollectionPage, err error) { @@ -440,7 +439,7 @@ func (client ResourceHealthMetadataClient) ListByResourceGroupComplete(ctx conte return } -// ListBySite description for Gets the category of ResourceHealthMetadata to use for the given site as a collection +// ListBySite gets the category of ResourceHealthMetadata to use for the given site as a collection // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -566,7 +565,7 @@ func (client ResourceHealthMetadataClient) ListBySiteComplete(ctx context.Contex return } -// ListBySiteSlot description for Gets the category of ResourceHealthMetadata to use for the given site as a collection +// ListBySiteSlot gets the category of ResourceHealthMetadata to use for the given site as a collection // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. diff --git a/services/web/mgmt/2020-12-01/web/staticsites.go b/services/web/mgmt/2020-12-01/web/staticsites.go index cd7883e1d967..d5de4bd45a24 100644 --- a/services/web/mgmt/2020-12-01/web/staticsites.go +++ b/services/web/mgmt/2020-12-01/web/staticsites.go @@ -31,7 +31,7 @@ func NewStaticSitesClientWithBaseURI(baseURI string, subscriptionID string) Stat return StaticSitesClient{NewWithBaseURI(baseURI, subscriptionID)} } -// ApproveOrRejectPrivateEndpointConnection description for Approves or rejects a private endpoint connection +// ApproveOrRejectPrivateEndpointConnection approves or rejects a private endpoint connection // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -123,8 +123,8 @@ func (client StaticSitesClient) ApproveOrRejectPrivateEndpointConnectionResponde return } -// CreateOrUpdateStaticSite description for Creates a new static site in an existing resource group, or updates an -// existing static site. +// CreateOrUpdateStaticSite creates a new static site in an existing resource group, or updates an existing static +// site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site to create or update. @@ -214,7 +214,7 @@ func (client StaticSitesClient) CreateOrUpdateStaticSiteResponder(resp *http.Res return } -// CreateOrUpdateStaticSiteAppSettings description for Creates or updates the app settings of a static site. +// CreateOrUpdateStaticSiteAppSettings creates or updates the app settings of a static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -301,7 +301,7 @@ func (client StaticSitesClient) CreateOrUpdateStaticSiteAppSettingsResponder(res return } -// CreateOrUpdateStaticSiteBuildAppSettings description for Creates or updates the app settings of a static site build. +// CreateOrUpdateStaticSiteBuildAppSettings creates or updates the app settings of a static site build. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -390,8 +390,8 @@ func (client StaticSitesClient) CreateOrUpdateStaticSiteBuildAppSettingsResponde return } -// CreateOrUpdateStaticSiteBuildFunctionAppSettings description for Creates or updates the function app settings of a -// static site build. +// CreateOrUpdateStaticSiteBuildFunctionAppSettings creates or updates the function app settings of a static site +// build. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -480,8 +480,8 @@ func (client StaticSitesClient) CreateOrUpdateStaticSiteBuildFunctionAppSettings return } -// CreateOrUpdateStaticSiteCustomDomain description for Creates a new static site custom domain in an existing resource -// group and static site. +// CreateOrUpdateStaticSiteCustomDomain creates a new static site custom domain in an existing resource group and +// static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -574,8 +574,7 @@ func (client StaticSitesClient) CreateOrUpdateStaticSiteCustomDomainResponder(re return } -// CreateOrUpdateStaticSiteFunctionAppSettings description for Creates or updates the function app settings of a static -// site. +// CreateOrUpdateStaticSiteFunctionAppSettings creates or updates the function app settings of a static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -662,7 +661,7 @@ func (client StaticSitesClient) CreateOrUpdateStaticSiteFunctionAppSettingsRespo return } -// CreateUserRolesInvitationLink description for Creates an invitation link for a user with the role +// CreateUserRolesInvitationLink creates an invitation link for a user with the role // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -748,7 +747,7 @@ func (client StaticSitesClient) CreateUserRolesInvitationLinkResponder(resp *htt return } -// CreateZipDeploymentForStaticSite description for Deploys zipped content to a static site. +// CreateZipDeploymentForStaticSite deploys zipped content to a static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -838,8 +837,7 @@ func (client StaticSitesClient) CreateZipDeploymentForStaticSiteResponder(resp * return } -// CreateZipDeploymentForStaticSiteBuild description for Deploys zipped content to a specific environment of a static -// site. +// CreateZipDeploymentForStaticSiteBuild deploys zipped content to a specific environment of a static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -931,7 +929,7 @@ func (client StaticSitesClient) CreateZipDeploymentForStaticSiteBuildResponder(r return } -// DeletePrivateEndpointConnection description for Deletes a private endpoint connection +// DeletePrivateEndpointConnection deletes a private endpoint connection // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -1020,7 +1018,7 @@ func (client StaticSitesClient) DeletePrivateEndpointConnectionResponder(resp *h return } -// DeleteStaticSite description for Deletes a static site. +// DeleteStaticSite deletes a static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site to delete. @@ -1106,7 +1104,7 @@ func (client StaticSitesClient) DeleteStaticSiteResponder(resp *http.Response) ( return } -// DeleteStaticSiteBuild description for Deletes a static site build. +// DeleteStaticSiteBuild deletes a static site build. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -1194,7 +1192,7 @@ func (client StaticSitesClient) DeleteStaticSiteBuildResponder(resp *http.Respon return } -// DeleteStaticSiteCustomDomain description for Deletes a custom domain. +// DeleteStaticSiteCustomDomain deletes a custom domain. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -1282,7 +1280,7 @@ func (client StaticSitesClient) DeleteStaticSiteCustomDomainResponder(resp *http return } -// DeleteStaticSiteUser description for Deletes the user entry from the static site. +// DeleteStaticSiteUser deletes the user entry from the static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the staticsite. @@ -1369,7 +1367,7 @@ func (client StaticSitesClient) DeleteStaticSiteUserResponder(resp *http.Respons return } -// DetachStaticSite description for Detaches a static site. +// DetachStaticSite detaches a static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site to detach. @@ -1455,8 +1453,7 @@ func (client StaticSitesClient) DetachStaticSiteResponder(resp *http.Response) ( return } -// DetachUserProvidedFunctionAppFromStaticSite description for Detach the user provided function app from the static -// site +// DetachUserProvidedFunctionAppFromStaticSite detach the user provided function app from the static site // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -1541,8 +1538,7 @@ func (client StaticSitesClient) DetachUserProvidedFunctionAppFromStaticSiteRespo return } -// DetachUserProvidedFunctionAppFromStaticSiteBuild description for Detach the user provided function app from the -// static site build +// DetachUserProvidedFunctionAppFromStaticSiteBuild detach the user provided function app from the static site build // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -1629,7 +1625,7 @@ func (client StaticSitesClient) DetachUserProvidedFunctionAppFromStaticSiteBuild return } -// GetPrivateEndpointConnection description for Gets a private endpoint connection +// GetPrivateEndpointConnection gets a private endpoint connection // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -1715,8 +1711,7 @@ func (client StaticSitesClient) GetPrivateEndpointConnectionResponder(resp *http return } -// GetPrivateEndpointConnectionList description for Gets the list of private endpoint connections associated with a -// static site +// GetPrivateEndpointConnectionList gets the list of private endpoint connections associated with a static site // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -1842,7 +1837,7 @@ func (client StaticSitesClient) GetPrivateEndpointConnectionListComplete(ctx con return } -// GetPrivateLinkResources description for Gets the private link resources +// GetPrivateLinkResources gets the private link resources // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the site. @@ -1926,7 +1921,7 @@ func (client StaticSitesClient) GetPrivateLinkResourcesResponder(resp *http.Resp return } -// GetStaticSite description for Gets the details of a static site. +// GetStaticSite gets the details of a static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -2010,7 +2005,7 @@ func (client StaticSitesClient) GetStaticSiteResponder(resp *http.Response) (res return } -// GetStaticSiteBuild description for Gets the details of a static site build. +// GetStaticSiteBuild gets the details of a static site build. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -2096,7 +2091,7 @@ func (client StaticSitesClient) GetStaticSiteBuildResponder(resp *http.Response) return } -// GetStaticSiteBuilds description for Gets all static site builds for a particular static site. +// GetStaticSiteBuilds gets all static site builds for a particular static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -2222,7 +2217,7 @@ func (client StaticSitesClient) GetStaticSiteBuildsComplete(ctx context.Context, return } -// GetStaticSiteCustomDomain description for Gets an existing custom domain for a particular static site. +// GetStaticSiteCustomDomain gets an existing custom domain for a particular static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site resource to search in. @@ -2308,7 +2303,7 @@ func (client StaticSitesClient) GetStaticSiteCustomDomainResponder(resp *http.Re return } -// GetStaticSitesByResourceGroup description for Gets all static sites in the specified resource group. +// GetStaticSitesByResourceGroup gets all static sites in the specified resource group. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. func (client StaticSitesClient) GetStaticSitesByResourceGroup(ctx context.Context, resourceGroupName string) (result StaticSiteCollectionPage, err error) { @@ -2432,8 +2427,8 @@ func (client StaticSitesClient) GetStaticSitesByResourceGroupComplete(ctx contex return } -// GetUserProvidedFunctionAppForStaticSite description for Gets the details of the user provided function app -// registered with a static site +// GetUserProvidedFunctionAppForStaticSite gets the details of the user provided function app registered with a static +// site // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -2519,8 +2514,8 @@ func (client StaticSitesClient) GetUserProvidedFunctionAppForStaticSiteResponder return } -// GetUserProvidedFunctionAppForStaticSiteBuild description for Gets the details of the user provided function app -// registered with a static site build +// GetUserProvidedFunctionAppForStaticSiteBuild gets the details of the user provided function app registered with a +// static site build // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -2608,8 +2603,8 @@ func (client StaticSitesClient) GetUserProvidedFunctionAppForStaticSiteBuildResp return } -// GetUserProvidedFunctionAppsForStaticSite description for Gets the details of the user provided function apps -// registered with a static site +// GetUserProvidedFunctionAppsForStaticSite gets the details of the user provided function apps registered with a +// static site // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -2735,8 +2730,8 @@ func (client StaticSitesClient) GetUserProvidedFunctionAppsForStaticSiteComplete return } -// GetUserProvidedFunctionAppsForStaticSiteBuild description for Gets the details of the user provided function apps -// registered with a static site build +// GetUserProvidedFunctionAppsForStaticSiteBuild gets the details of the user provided function apps registered with a +// static site build // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -2864,7 +2859,7 @@ func (client StaticSitesClient) GetUserProvidedFunctionAppsForStaticSiteBuildCom return } -// List description for Get all Static Sites for a subscription. +// List get all Static Sites for a subscription. func (client StaticSitesClient) List(ctx context.Context) (result StaticSiteCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/StaticSitesClient.List") @@ -2977,7 +2972,7 @@ func (client StaticSitesClient) ListComplete(ctx context.Context) (result Static return } -// ListStaticSiteAppSettings description for Gets the application settings of a static site. +// ListStaticSiteAppSettings gets the application settings of a static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -3061,7 +3056,7 @@ func (client StaticSitesClient) ListStaticSiteAppSettingsResponder(resp *http.Re return } -// ListStaticSiteBuildAppSettings description for Gets the application settings of a static site build. +// ListStaticSiteBuildAppSettings gets the application settings of a static site build. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -3147,7 +3142,7 @@ func (client StaticSitesClient) ListStaticSiteBuildAppSettingsResponder(resp *ht return } -// ListStaticSiteBuildFunctionAppSettings description for Gets the application settings of a static site build. +// ListStaticSiteBuildFunctionAppSettings gets the application settings of a static site build. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -3233,7 +3228,7 @@ func (client StaticSitesClient) ListStaticSiteBuildFunctionAppSettingsResponder( return } -// ListStaticSiteBuildFunctions description for Gets the functions of a particular static site build. +// ListStaticSiteBuildFunctions gets the functions of a particular static site build. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -3361,7 +3356,7 @@ func (client StaticSitesClient) ListStaticSiteBuildFunctionsComplete(ctx context return } -// ListStaticSiteConfiguredRoles description for Lists the roles configured for the static site. +// ListStaticSiteConfiguredRoles lists the roles configured for the static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -3445,7 +3440,7 @@ func (client StaticSitesClient) ListStaticSiteConfiguredRolesResponder(resp *htt return } -// ListStaticSiteCustomDomains description for Gets all static site custom domains for a particular static site. +// ListStaticSiteCustomDomains gets all static site custom domains for a particular static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site resource to search in. @@ -3571,7 +3566,7 @@ func (client StaticSitesClient) ListStaticSiteCustomDomainsComplete(ctx context. return } -// ListStaticSiteFunctionAppSettings description for Gets the application settings of a static site. +// ListStaticSiteFunctionAppSettings gets the application settings of a static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -3655,7 +3650,7 @@ func (client StaticSitesClient) ListStaticSiteFunctionAppSettingsResponder(resp return } -// ListStaticSiteFunctions description for Gets the functions of a static site. +// ListStaticSiteFunctions gets the functions of a static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -3781,7 +3776,7 @@ func (client StaticSitesClient) ListStaticSiteFunctionsComplete(ctx context.Cont return } -// ListStaticSiteSecrets description for Lists the secrets for an existing static site. +// ListStaticSiteSecrets lists the secrets for an existing static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -3865,7 +3860,7 @@ func (client StaticSitesClient) ListStaticSiteSecretsResponder(resp *http.Respon return } -// ListStaticSiteUsers description for Gets the list of users of a static site. +// ListStaticSiteUsers gets the list of users of a static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -3993,7 +3988,7 @@ func (client StaticSitesClient) ListStaticSiteUsersComplete(ctx context.Context, return } -// PreviewWorkflow description for Generates a preview workflow file for the static site +// PreviewWorkflow generates a preview workflow file for the static site // Parameters: // location - location where you plan to create the static site. // staticSitesWorkflowPreviewRequest - a JSON representation of the StaticSitesWorkflowPreviewRequest @@ -4071,8 +4066,7 @@ func (client StaticSitesClient) PreviewWorkflowResponder(resp *http.Response) (r return } -// RegisterUserProvidedFunctionAppWithStaticSite description for Register a user provided function app with a static -// site +// RegisterUserProvidedFunctionAppWithStaticSite register a user provided function app with a static site // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -4171,8 +4165,7 @@ func (client StaticSitesClient) RegisterUserProvidedFunctionAppWithStaticSiteRes return } -// RegisterUserProvidedFunctionAppWithStaticSiteBuild description for Register a user provided function app with a -// static site build +// RegisterUserProvidedFunctionAppWithStaticSiteBuild register a user provided function app with a static site build // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -4273,7 +4266,7 @@ func (client StaticSitesClient) RegisterUserProvidedFunctionAppWithStaticSiteBui return } -// ResetStaticSiteAPIKey description for Resets the api key for an existing static site. +// ResetStaticSiteAPIKey resets the api key for an existing static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -4358,8 +4351,7 @@ func (client StaticSitesClient) ResetStaticSiteAPIKeyResponder(resp *http.Respon return } -// UpdateStaticSite description for Creates a new static site in an existing resource group, or updates an existing -// static site. +// UpdateStaticSite creates a new static site in an existing resource group, or updates an existing static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site to create or update. @@ -4446,7 +4438,7 @@ func (client StaticSitesClient) UpdateStaticSiteResponder(resp *http.Response) ( return } -// UpdateStaticSiteUser description for Updates a user entry with the listed roles +// UpdateStaticSiteUser updates a user entry with the listed roles // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -4537,8 +4529,7 @@ func (client StaticSitesClient) UpdateStaticSiteUserResponder(resp *http.Respons return } -// ValidateCustomDomainCanBeAddedToStaticSite description for Validates a particular custom domain can be added to a -// static site. +// ValidateCustomDomainCanBeAddedToStaticSite validates a particular custom domain can be added to a static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. diff --git a/services/web/mgmt/2020-12-01/web/topleveldomains.go b/services/web/mgmt/2020-12-01/web/topleveldomains.go index 5eb51232a338..8060c465d634 100644 --- a/services/web/mgmt/2020-12-01/web/topleveldomains.go +++ b/services/web/mgmt/2020-12-01/web/topleveldomains.go @@ -30,7 +30,7 @@ func NewTopLevelDomainsClientWithBaseURI(baseURI string, subscriptionID string) return TopLevelDomainsClient{NewWithBaseURI(baseURI, subscriptionID)} } -// Get description for Get details of a top-level domain. +// Get get details of a top-level domain. // Parameters: // name - name of the top-level domain. func (client TopLevelDomainsClient) Get(ctx context.Context, name string) (result TopLevelDomain, err error) { @@ -104,7 +104,7 @@ func (client TopLevelDomainsClient) GetResponder(resp *http.Response) (result To return } -// List description for Get all top-level domains supported for registration. +// List get all top-level domains supported for registration. func (client TopLevelDomainsClient) List(ctx context.Context) (result TopLevelDomainCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/TopLevelDomainsClient.List") @@ -217,7 +217,7 @@ func (client TopLevelDomainsClient) ListComplete(ctx context.Context) (result To return } -// ListAgreements description for Gets all legal agreements that user needs to accept before purchasing a domain. +// ListAgreements gets all legal agreements that user needs to accept before purchasing a domain. // Parameters: // name - name of the top-level domain. // agreementOption - domain agreement options. diff --git a/services/web/mgmt/2020-12-01/web/webapi/interfaces.go b/services/web/mgmt/2020-12-01/web/webapi/interfaces.go index 46606653bdb8..8c6ca43fc83e 100644 --- a/services/web/mgmt/2020-12-01/web/webapi/interfaces.go +++ b/services/web/mgmt/2020-12-01/web/webapi/interfaces.go @@ -16,7 +16,6 @@ import ( // BaseClientAPI contains the set of methods on the BaseClient type. type BaseClientAPI interface { CheckNameAvailability(ctx context.Context, request web.ResourceNameAvailabilityRequest) (result web.ResourceNameAvailability, err error) - GenerateGithubAccessTokenForAppserviceCLIAsync(ctx context.Context, request web.AppserviceGithubTokenRequest) (result web.AppserviceGithubToken, err error) GetPublishingUser(ctx context.Context) (result web.User, err error) GetSourceControl(ctx context.Context, sourceControlType string) (result web.SourceControl, err error) GetSubscriptionDeploymentLocations(ctx context.Context) (result web.DeploymentLocations, err error) diff --git a/services/web/mgmt/2021-01-15/web/CHANGELOG.md b/services/web/mgmt/2021-01-15/web/CHANGELOG.md index 52911e4cc5e4..df92709dfe5f 100644 --- a/services/web/mgmt/2021-01-15/web/CHANGELOG.md +++ b/services/web/mgmt/2021-01-15/web/CHANGELOG.md @@ -1,2 +1,427 @@ -# Change History +# Unreleased +## Breaking Changes + +### Removed Funcs + +1. *AllowedAudiencesValidation.UnmarshalJSON([]byte) error +1. *AppRegistration.UnmarshalJSON([]byte) error +1. *Apple.UnmarshalJSON([]byte) error +1. *AppleRegistration.UnmarshalJSON([]byte) error +1. *AuthPlatform.UnmarshalJSON([]byte) error +1. *AzureActiveDirectory.UnmarshalJSON([]byte) error +1. *AzureActiveDirectoryLogin.UnmarshalJSON([]byte) error +1. *AzureActiveDirectoryRegistration.UnmarshalJSON([]byte) error +1. *AzureActiveDirectoryValidation.UnmarshalJSON([]byte) error +1. *AzureStaticWebApps.UnmarshalJSON([]byte) error +1. *AzureStaticWebAppsRegistration.UnmarshalJSON([]byte) error +1. *BlobStorageTokenStore.UnmarshalJSON([]byte) error +1. *ClientRegistration.UnmarshalJSON([]byte) error +1. *CookieExpiration.UnmarshalJSON([]byte) error +1. *CustomOpenIDConnectProvider.UnmarshalJSON([]byte) error +1. *Facebook.UnmarshalJSON([]byte) error +1. *FileSystemTokenStore.UnmarshalJSON([]byte) error +1. *ForwardProxy.UnmarshalJSON([]byte) error +1. *GitHub.UnmarshalJSON([]byte) error +1. *GlobalValidation.UnmarshalJSON([]byte) error +1. *Google.UnmarshalJSON([]byte) error +1. *HTTPSettings.UnmarshalJSON([]byte) error +1. *HTTPSettingsRoutes.UnmarshalJSON([]byte) error +1. *IdentityProviders.UnmarshalJSON([]byte) error +1. *JwtClaimChecks.UnmarshalJSON([]byte) error +1. *LegacyMicrosoftAccount.UnmarshalJSON([]byte) error +1. *Login.UnmarshalJSON([]byte) error +1. *LoginRoutes.UnmarshalJSON([]byte) error +1. *LoginScopes.UnmarshalJSON([]byte) error +1. *Nonce.UnmarshalJSON([]byte) error +1. *OpenIDConnectClientCredential.UnmarshalJSON([]byte) error +1. *OpenIDConnectConfig.UnmarshalJSON([]byte) error +1. *OpenIDConnectLogin.UnmarshalJSON([]byte) error +1. *OpenIDConnectRegistration.UnmarshalJSON([]byte) error +1. *TokenStore.UnmarshalJSON([]byte) error +1. *Twitter.UnmarshalJSON([]byte) error +1. *TwitterRegistration.UnmarshalJSON([]byte) error +1. AllowedAudiencesValidation.MarshalJSON() ([]byte, error) +1. AppRegistration.MarshalJSON() ([]byte, error) +1. Apple.MarshalJSON() ([]byte, error) +1. AppleRegistration.MarshalJSON() ([]byte, error) +1. AuthPlatform.MarshalJSON() ([]byte, error) +1. AzureActiveDirectory.MarshalJSON() ([]byte, error) +1. AzureActiveDirectoryLogin.MarshalJSON() ([]byte, error) +1. AzureActiveDirectoryRegistration.MarshalJSON() ([]byte, error) +1. AzureActiveDirectoryValidation.MarshalJSON() ([]byte, error) +1. AzureStaticWebApps.MarshalJSON() ([]byte, error) +1. AzureStaticWebAppsRegistration.MarshalJSON() ([]byte, error) +1. BaseClient.GenerateGithubAccessTokenForAppserviceCLIAsync(context.Context, AppserviceGithubTokenRequest) (AppserviceGithubToken, error) +1. BaseClient.GenerateGithubAccessTokenForAppserviceCLIAsyncPreparer(context.Context, AppserviceGithubTokenRequest) (*http.Request, error) +1. BaseClient.GenerateGithubAccessTokenForAppserviceCLIAsyncResponder(*http.Response) (AppserviceGithubToken, error) +1. BaseClient.GenerateGithubAccessTokenForAppserviceCLIAsyncSender(*http.Request) (*http.Response, error) +1. BlobStorageTokenStore.MarshalJSON() ([]byte, error) +1. ClientRegistration.MarshalJSON() ([]byte, error) +1. CookieExpiration.MarshalJSON() ([]byte, error) +1. CustomOpenIDConnectProvider.MarshalJSON() ([]byte, error) +1. Facebook.MarshalJSON() ([]byte, error) +1. FileSystemTokenStore.MarshalJSON() ([]byte, error) +1. ForwardProxy.MarshalJSON() ([]byte, error) +1. GitHub.MarshalJSON() ([]byte, error) +1. GlobalValidation.MarshalJSON() ([]byte, error) +1. Google.MarshalJSON() ([]byte, error) +1. HTTPSettings.MarshalJSON() ([]byte, error) +1. HTTPSettingsRoutes.MarshalJSON() ([]byte, error) +1. IdentityProvidersProperties.MarshalJSON() ([]byte, error) +1. JwtClaimChecks.MarshalJSON() ([]byte, error) +1. LegacyMicrosoftAccount.MarshalJSON() ([]byte, error) +1. Login.MarshalJSON() ([]byte, error) +1. LoginRoutes.MarshalJSON() ([]byte, error) +1. LoginScopes.MarshalJSON() ([]byte, error) +1. Nonce.MarshalJSON() ([]byte, error) +1. OpenIDConnectClientCredential.MarshalJSON() ([]byte, error) +1. OpenIDConnectConfig.MarshalJSON() ([]byte, error) +1. OpenIDConnectLogin.MarshalJSON() ([]byte, error) +1. OpenIDConnectRegistration.MarshalJSON() ([]byte, error) +1. TokenStore.MarshalJSON() ([]byte, error) +1. Twitter.MarshalJSON() ([]byte, error) +1. TwitterRegistration.MarshalJSON() ([]byte, error) + +### Struct Changes + +#### Removed Structs + +1. AllowedAudiencesValidationProperties +1. AppRegistrationProperties +1. AppleProperties +1. AppleRegistrationProperties +1. AuthPlatformProperties +1. AzureActiveDirectoryLoginProperties +1. AzureActiveDirectoryProperties +1. AzureActiveDirectoryRegistrationProperties +1. AzureActiveDirectoryValidationProperties +1. AzureStaticWebAppsProperties +1. AzureStaticWebAppsRegistrationProperties +1. BlobStorageTokenStoreProperties +1. ClientRegistrationProperties +1. CookieExpirationProperties +1. CustomOpenIDConnectProviderProperties +1. FacebookProperties +1. FileSystemTokenStoreProperties +1. ForwardProxyProperties +1. GitHubProperties +1. GlobalValidationProperties +1. GoogleProperties +1. HTTPSettingsProperties +1. HTTPSettingsRoutesProperties +1. IdentityProvidersProperties +1. JwtClaimChecksProperties +1. LegacyMicrosoftAccountProperties +1. LoginProperties +1. LoginRoutesProperties +1. LoginScopesProperties +1. NonceProperties +1. OpenIDConnectClientCredentialProperties +1. OpenIDConnectConfigProperties +1. OpenIDConnectLoginProperties +1. OpenIDConnectRegistrationProperties +1. TokenStoreProperties +1. TwitterProperties +1. TwitterRegistrationProperties + +#### Removed Struct Fields + +1. AllowedAudiencesValidation.*AllowedAudiencesValidationProperties +1. AllowedAudiencesValidation.ID +1. AllowedAudiencesValidation.Kind +1. AllowedAudiencesValidation.Name +1. AllowedAudiencesValidation.Type +1. AppRegistration.*AppRegistrationProperties +1. AppRegistration.ID +1. AppRegistration.Kind +1. AppRegistration.Name +1. AppRegistration.Type +1. Apple.*AppleProperties +1. Apple.ID +1. Apple.Kind +1. Apple.Name +1. Apple.Type +1. AppleRegistration.*AppleRegistrationProperties +1. AppleRegistration.ID +1. AppleRegistration.Kind +1. AppleRegistration.Name +1. AppleRegistration.Type +1. AppserviceGithubToken.autorest.Response +1. AuthPlatform.*AuthPlatformProperties +1. AuthPlatform.ID +1. AuthPlatform.Kind +1. AuthPlatform.Name +1. AuthPlatform.Type +1. AzureActiveDirectory.*AzureActiveDirectoryProperties +1. AzureActiveDirectory.ID +1. AzureActiveDirectory.Kind +1. AzureActiveDirectory.Name +1. AzureActiveDirectory.Type +1. AzureActiveDirectoryLogin.*AzureActiveDirectoryLoginProperties +1. AzureActiveDirectoryLogin.ID +1. AzureActiveDirectoryLogin.Kind +1. AzureActiveDirectoryLogin.Name +1. AzureActiveDirectoryLogin.Type +1. AzureActiveDirectoryRegistration.*AzureActiveDirectoryRegistrationProperties +1. AzureActiveDirectoryRegistration.ID +1. AzureActiveDirectoryRegistration.Kind +1. AzureActiveDirectoryRegistration.Name +1. AzureActiveDirectoryRegistration.Type +1. AzureActiveDirectoryValidation.*AzureActiveDirectoryValidationProperties +1. AzureActiveDirectoryValidation.ID +1. AzureActiveDirectoryValidation.Kind +1. AzureActiveDirectoryValidation.Name +1. AzureActiveDirectoryValidation.Type +1. AzureStaticWebApps.*AzureStaticWebAppsProperties +1. AzureStaticWebApps.ID +1. AzureStaticWebApps.Kind +1. AzureStaticWebApps.Name +1. AzureStaticWebApps.Type +1. AzureStaticWebAppsRegistration.*AzureStaticWebAppsRegistrationProperties +1. AzureStaticWebAppsRegistration.ID +1. AzureStaticWebAppsRegistration.Kind +1. AzureStaticWebAppsRegistration.Name +1. AzureStaticWebAppsRegistration.Type +1. BlobStorageTokenStore.*BlobStorageTokenStoreProperties +1. BlobStorageTokenStore.ID +1. BlobStorageTokenStore.Kind +1. BlobStorageTokenStore.Name +1. BlobStorageTokenStore.Type +1. ClientRegistration.*ClientRegistrationProperties +1. ClientRegistration.ID +1. ClientRegistration.Kind +1. ClientRegistration.Name +1. ClientRegistration.Type +1. CookieExpiration.*CookieExpirationProperties +1. CookieExpiration.ID +1. CookieExpiration.Kind +1. CookieExpiration.Name +1. CookieExpiration.Type +1. CustomOpenIDConnectProvider.*CustomOpenIDConnectProviderProperties +1. CustomOpenIDConnectProvider.ID +1. CustomOpenIDConnectProvider.Kind +1. CustomOpenIDConnectProvider.Name +1. CustomOpenIDConnectProvider.Type +1. Facebook.*FacebookProperties +1. Facebook.ID +1. Facebook.Kind +1. Facebook.Name +1. Facebook.Type +1. FileSystemTokenStore.*FileSystemTokenStoreProperties +1. FileSystemTokenStore.ID +1. FileSystemTokenStore.Kind +1. FileSystemTokenStore.Name +1. FileSystemTokenStore.Type +1. ForwardProxy.*ForwardProxyProperties +1. ForwardProxy.ID +1. ForwardProxy.Kind +1. ForwardProxy.Name +1. ForwardProxy.Type +1. GitHub.*GitHubProperties +1. GitHub.ID +1. GitHub.Kind +1. GitHub.Name +1. GitHub.Type +1. GlobalValidation.*GlobalValidationProperties +1. GlobalValidation.ID +1. GlobalValidation.Kind +1. GlobalValidation.Name +1. GlobalValidation.Type +1. Google.*GoogleProperties +1. Google.ID +1. Google.Kind +1. Google.Name +1. Google.Type +1. HTTPSettings.*HTTPSettingsProperties +1. HTTPSettings.ID +1. HTTPSettings.Kind +1. HTTPSettings.Name +1. HTTPSettings.Type +1. HTTPSettingsRoutes.*HTTPSettingsRoutesProperties +1. HTTPSettingsRoutes.ID +1. HTTPSettingsRoutes.Kind +1. HTTPSettingsRoutes.Name +1. HTTPSettingsRoutes.Type +1. IdentityProviders.*IdentityProvidersProperties +1. IdentityProviders.ID +1. IdentityProviders.Kind +1. IdentityProviders.Name +1. IdentityProviders.Type +1. JwtClaimChecks.*JwtClaimChecksProperties +1. JwtClaimChecks.ID +1. JwtClaimChecks.Kind +1. JwtClaimChecks.Name +1. JwtClaimChecks.Type +1. LegacyMicrosoftAccount.*LegacyMicrosoftAccountProperties +1. LegacyMicrosoftAccount.ID +1. LegacyMicrosoftAccount.Kind +1. LegacyMicrosoftAccount.Name +1. LegacyMicrosoftAccount.Type +1. Login.*LoginProperties +1. Login.ID +1. Login.Kind +1. Login.Name +1. Login.Type +1. LoginRoutes.*LoginRoutesProperties +1. LoginRoutes.ID +1. LoginRoutes.Kind +1. LoginRoutes.Name +1. LoginRoutes.Type +1. LoginScopes.*LoginScopesProperties +1. LoginScopes.ID +1. LoginScopes.Kind +1. LoginScopes.Name +1. LoginScopes.Type +1. Nonce.*NonceProperties +1. Nonce.ID +1. Nonce.Kind +1. Nonce.Name +1. Nonce.Type +1. OpenIDConnectClientCredential.*OpenIDConnectClientCredentialProperties +1. OpenIDConnectClientCredential.ID +1. OpenIDConnectClientCredential.Kind +1. OpenIDConnectClientCredential.Name +1. OpenIDConnectClientCredential.Type +1. OpenIDConnectConfig.*OpenIDConnectConfigProperties +1. OpenIDConnectConfig.ID +1. OpenIDConnectConfig.Kind +1. OpenIDConnectConfig.Name +1. OpenIDConnectConfig.Type +1. OpenIDConnectLogin.*OpenIDConnectLoginProperties +1. OpenIDConnectLogin.ID +1. OpenIDConnectLogin.Kind +1. OpenIDConnectLogin.Name +1. OpenIDConnectLogin.Type +1. OpenIDConnectRegistration.*OpenIDConnectRegistrationProperties +1. OpenIDConnectRegistration.ID +1. OpenIDConnectRegistration.Kind +1. OpenIDConnectRegistration.Name +1. OpenIDConnectRegistration.Type +1. TokenStore.*TokenStoreProperties +1. TokenStore.ID +1. TokenStore.Kind +1. TokenStore.Name +1. TokenStore.Type +1. Twitter.*TwitterProperties +1. Twitter.ID +1. Twitter.Kind +1. Twitter.Name +1. Twitter.Type +1. TwitterRegistration.*TwitterRegistrationProperties +1. TwitterRegistration.ID +1. TwitterRegistration.Kind +1. TwitterRegistration.Name +1. TwitterRegistration.Type + +## Additive Changes + +### Struct Changes + +#### New Struct Fields + +1. AllowedAudiencesValidation.AllowedAudiences +1. AppRegistration.AppID +1. AppRegistration.AppSecretSettingName +1. Apple.Enabled +1. Apple.Login +1. Apple.Registration +1. AppleRegistration.ClientID +1. AppleRegistration.ClientSecretSettingName +1. AuthPlatform.ConfigFilePath +1. AuthPlatform.Enabled +1. AuthPlatform.RuntimeVersion +1. AzureActiveDirectory.Enabled +1. AzureActiveDirectory.IsAutoProvisioned +1. AzureActiveDirectory.Login +1. AzureActiveDirectory.Registration +1. AzureActiveDirectory.Validation +1. AzureActiveDirectoryLogin.DisableWWWAuthenticate +1. AzureActiveDirectoryLogin.LoginParameters +1. AzureActiveDirectoryRegistration.ClientID +1. AzureActiveDirectoryRegistration.ClientSecretCertificateIssuer +1. AzureActiveDirectoryRegistration.ClientSecretCertificateSubjectAlternativeName +1. AzureActiveDirectoryRegistration.ClientSecretCertificateThumbprint +1. AzureActiveDirectoryRegistration.ClientSecretSettingName +1. AzureActiveDirectoryRegistration.OpenIDIssuer +1. AzureActiveDirectoryValidation.AllowedAudiences +1. AzureActiveDirectoryValidation.JwtClaimChecks +1. AzureStaticWebApps.Enabled +1. AzureStaticWebApps.Registration +1. AzureStaticWebAppsRegistration.ClientID +1. BlobStorageTokenStore.SasURLSettingName +1. ClientRegistration.ClientID +1. ClientRegistration.ClientSecretSettingName +1. CookieExpiration.Convention +1. CookieExpiration.TimeToExpiration +1. CustomOpenIDConnectProvider.Enabled +1. CustomOpenIDConnectProvider.Login +1. CustomOpenIDConnectProvider.Registration +1. Facebook.Enabled +1. Facebook.GraphAPIVersion +1. Facebook.Login +1. Facebook.Registration +1. FileSystemTokenStore.Directory +1. ForwardProxy.Convention +1. ForwardProxy.CustomHostHeaderName +1. ForwardProxy.CustomProtoHeaderName +1. GitHub.Enabled +1. GitHub.Login +1. GitHub.Registration +1. GlobalValidation.ExcludedPaths +1. GlobalValidation.RedirectToProvider +1. GlobalValidation.RequireAuthentication +1. GlobalValidation.UnauthenticatedClientAction +1. Google.Enabled +1. Google.Login +1. Google.Registration +1. Google.Validation +1. HTTPSettings.ForwardProxy +1. HTTPSettings.RequireHTTPS +1. HTTPSettings.Routes +1. HTTPSettingsRoutes.APIPrefix +1. IdentityProviders.Apple +1. IdentityProviders.AzureActiveDirectory +1. IdentityProviders.AzureStaticWebApps +1. IdentityProviders.CustomOpenIDConnectProviders +1. IdentityProviders.Facebook +1. IdentityProviders.GitHub +1. IdentityProviders.Google +1. IdentityProviders.LegacyMicrosoftAccount +1. IdentityProviders.Twitter +1. JwtClaimChecks.AllowedClientApplications +1. JwtClaimChecks.AllowedGroups +1. LegacyMicrosoftAccount.Enabled +1. LegacyMicrosoftAccount.Login +1. LegacyMicrosoftAccount.Registration +1. LegacyMicrosoftAccount.Validation +1. Login.AllowedExternalRedirectUrls +1. Login.CookieExpiration +1. Login.Nonce +1. Login.PreserveURLFragmentsForLogins +1. Login.Routes +1. Login.TokenStore +1. LoginRoutes.LogoutEndpoint +1. LoginScopes.Scopes +1. Nonce.NonceExpirationInterval +1. Nonce.ValidateNonce +1. OpenIDConnectClientCredential.ClientSecretSettingName +1. OpenIDConnectClientCredential.Method +1. OpenIDConnectConfig.AuthorizationEndpoint +1. OpenIDConnectConfig.CertificationURI +1. OpenIDConnectConfig.Issuer +1. OpenIDConnectConfig.TokenEndpoint +1. OpenIDConnectConfig.WellKnownOpenIDConfiguration +1. OpenIDConnectLogin.NameClaimType +1. OpenIDConnectLogin.Scopes +1. OpenIDConnectRegistration.ClientCredential +1. OpenIDConnectRegistration.ClientID +1. OpenIDConnectRegistration.OpenIDConnectConfiguration +1. TokenStore.AzureBlobStorage +1. TokenStore.Enabled +1. TokenStore.FileSystem +1. TokenStore.TokenRefreshExtensionHours +1. Twitter.Enabled +1. Twitter.Registration +1. TwitterRegistration.ConsumerKey +1. TwitterRegistration.ConsumerSecretSettingName diff --git a/services/web/mgmt/2021-01-15/web/_meta.json b/services/web/mgmt/2021-01-15/web/_meta.json index 9c045254a7d7..9636a37e50d3 100644 --- a/services/web/mgmt/2021-01-15/web/_meta.json +++ b/services/web/mgmt/2021-01-15/web/_meta.json @@ -1,5 +1,5 @@ { - "commit": "f9883569df850be792a37df17a1a28a5bdcdfc39", + "commit": "eb2b882ef0a4aa5956ca38cfa566fc4d7cfb3fb0", "readme": "/_/azure-rest-api-specs/specification/web/resource-manager/readme.md", "tag": "package-2021-01-15", "use": "@microsoft.azure/autorest.go@2.1.187", diff --git a/services/web/mgmt/2021-01-15/web/apps.go b/services/web/mgmt/2021-01-15/web/apps.go index 67bf5b241056..61f21987dbb6 100644 --- a/services/web/mgmt/2021-01-15/web/apps.go +++ b/services/web/mgmt/2021-01-15/web/apps.go @@ -31,7 +31,7 @@ func NewAppsClientWithBaseURI(baseURI string, subscriptionID string) AppsClient return AppsClient{NewWithBaseURI(baseURI, subscriptionID)} } -// AddPremierAddOn description for Updates a named add-on of an app. +// AddPremierAddOn updates a named add-on of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -120,7 +120,7 @@ func (client AppsClient) AddPremierAddOnResponder(resp *http.Response) (result P return } -// AddPremierAddOnSlot description for Updates a named add-on of an app. +// AddPremierAddOnSlot updates a named add-on of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -212,7 +212,7 @@ func (client AppsClient) AddPremierAddOnSlotResponder(resp *http.Response) (resu return } -// AnalyzeCustomHostname description for Analyze a custom hostname. +// AnalyzeCustomHostname analyze a custom hostname. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -300,7 +300,7 @@ func (client AppsClient) AnalyzeCustomHostnameResponder(resp *http.Response) (re return } -// AnalyzeCustomHostnameSlot description for Analyze a custom hostname. +// AnalyzeCustomHostnameSlot analyze a custom hostname. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -390,8 +390,7 @@ func (client AppsClient) AnalyzeCustomHostnameSlotResponder(resp *http.Response) return } -// ApplySlotConfigToProduction description for Applies the configuration settings from the target slot onto the current -// slot. +// ApplySlotConfigToProduction applies the configuration settings from the target slot onto the current slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -480,8 +479,7 @@ func (client AppsClient) ApplySlotConfigToProductionResponder(resp *http.Respons return } -// ApplySlotConfigurationSlot description for Applies the configuration settings from the target slot onto the current -// slot. +// ApplySlotConfigurationSlot applies the configuration settings from the target slot onto the current slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -572,7 +570,7 @@ func (client AppsClient) ApplySlotConfigurationSlotResponder(resp *http.Response return } -// ApproveOrRejectPrivateEndpointConnection description for Approves or rejects a private endpoint connection +// ApproveOrRejectPrivateEndpointConnection approves or rejects a private endpoint connection // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the site. @@ -662,7 +660,7 @@ func (client AppsClient) ApproveOrRejectPrivateEndpointConnectionResponder(resp return } -// ApproveOrRejectPrivateEndpointConnectionSlot description for Approves or rejects a private endpoint connection +// ApproveOrRejectPrivateEndpointConnectionSlot approves or rejects a private endpoint connection // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the site. @@ -753,7 +751,7 @@ func (client AppsClient) ApproveOrRejectPrivateEndpointConnectionSlotResponder(r return } -// Backup description for Creates a backup of an app. +// Backup creates a backup of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -849,7 +847,7 @@ func (client AppsClient) BackupResponder(resp *http.Response) (result BackupItem return } -// BackupSlot description for Creates a backup of an app. +// BackupSlot creates a backup of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -948,7 +946,7 @@ func (client AppsClient) BackupSlotResponder(resp *http.Response) (result Backup return } -// CreateDeployment description for Create a deployment for an app, or a deployment slot. +// CreateDeployment create a deployment for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -1037,7 +1035,7 @@ func (client AppsClient) CreateDeploymentResponder(resp *http.Response) (result return } -// CreateDeploymentSlot description for Create a deployment for an app, or a deployment slot. +// CreateDeploymentSlot create a deployment for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -1129,7 +1127,7 @@ func (client AppsClient) CreateDeploymentSlotResponder(resp *http.Response) (res return } -// CreateFunction description for Create function for web site, or a deployment slot. +// CreateFunction create function for web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -1221,7 +1219,7 @@ func (client AppsClient) CreateFunctionResponder(resp *http.Response) (result Fu return } -// CreateInstanceFunctionSlot description for Create function for web site, or a deployment slot. +// CreateInstanceFunctionSlot create function for web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -1315,7 +1313,7 @@ func (client AppsClient) CreateInstanceFunctionSlotResponder(resp *http.Response return } -// CreateInstanceMSDeployOperation description for Invoke the MSDeploy web app extension. +// CreateInstanceMSDeployOperation invoke the MSDeploy web app extension. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -1407,7 +1405,7 @@ func (client AppsClient) CreateInstanceMSDeployOperationResponder(resp *http.Res return } -// CreateInstanceMSDeployOperationSlot description for Invoke the MSDeploy web app extension. +// CreateInstanceMSDeployOperationSlot invoke the MSDeploy web app extension. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -1501,7 +1499,7 @@ func (client AppsClient) CreateInstanceMSDeployOperationSlotResponder(resp *http return } -// CreateMSDeployOperation description for Invoke the MSDeploy web app extension. +// CreateMSDeployOperation invoke the MSDeploy web app extension. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -1591,7 +1589,7 @@ func (client AppsClient) CreateMSDeployOperationResponder(resp *http.Response) ( return } -// CreateMSDeployOperationSlot description for Invoke the MSDeploy web app extension. +// CreateMSDeployOperationSlot invoke the MSDeploy web app extension. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -1683,8 +1681,7 @@ func (client AppsClient) CreateMSDeployOperationSlotResponder(resp *http.Respons return } -// CreateOrUpdate description for Creates a new web, mobile, or API app in an existing resource group, or updates an -// existing app. +// CreateOrUpdate creates a new web, mobile, or API app in an existing resource group, or updates an existing app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - unique name of the app to create or update. To create or update a deployment slot, use the {slot} @@ -1796,7 +1793,7 @@ func (client AppsClient) CreateOrUpdateResponder(resp *http.Response) (result Si return } -// CreateOrUpdateConfiguration description for Updates the configuration of an app. +// CreateOrUpdateConfiguration updates the configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -1900,7 +1897,7 @@ func (client AppsClient) CreateOrUpdateConfigurationResponder(resp *http.Respons return } -// CreateOrUpdateConfigurationSlot description for Updates the configuration of an app. +// CreateOrUpdateConfigurationSlot updates the configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -2007,8 +2004,8 @@ func (client AppsClient) CreateOrUpdateConfigurationSlotResponder(resp *http.Res return } -// CreateOrUpdateDomainOwnershipIdentifier description for Creates a domain ownership identifier for web app, or -// updates an existing ownership identifier. +// CreateOrUpdateDomainOwnershipIdentifier creates a domain ownership identifier for web app, or updates an existing +// ownership identifier. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -2097,8 +2094,8 @@ func (client AppsClient) CreateOrUpdateDomainOwnershipIdentifierResponder(resp * return } -// CreateOrUpdateDomainOwnershipIdentifierSlot description for Creates a domain ownership identifier for web app, or -// updates an existing ownership identifier. +// CreateOrUpdateDomainOwnershipIdentifierSlot creates a domain ownership identifier for web app, or updates an +// existing ownership identifier. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -2190,7 +2187,7 @@ func (client AppsClient) CreateOrUpdateDomainOwnershipIdentifierSlotResponder(re return } -// CreateOrUpdateFunctionSecret description for Add or update a function secret. +// CreateOrUpdateFunctionSecret add or update a function secret. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -2281,7 +2278,7 @@ func (client AppsClient) CreateOrUpdateFunctionSecretResponder(resp *http.Respon return } -// CreateOrUpdateFunctionSecretSlot description for Add or update a function secret. +// CreateOrUpdateFunctionSecretSlot add or update a function secret. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -2374,7 +2371,7 @@ func (client AppsClient) CreateOrUpdateFunctionSecretSlotResponder(resp *http.Re return } -// CreateOrUpdateHostNameBinding description for Creates a hostname binding for an app. +// CreateOrUpdateHostNameBinding creates a hostname binding for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -2463,7 +2460,7 @@ func (client AppsClient) CreateOrUpdateHostNameBindingResponder(resp *http.Respo return } -// CreateOrUpdateHostNameBindingSlot description for Creates a hostname binding for an app. +// CreateOrUpdateHostNameBindingSlot creates a hostname binding for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -2555,7 +2552,7 @@ func (client AppsClient) CreateOrUpdateHostNameBindingSlotResponder(resp *http.R return } -// CreateOrUpdateHostSecret description for Add or update a host level secret. +// CreateOrUpdateHostSecret add or update a host level secret. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -2646,7 +2643,7 @@ func (client AppsClient) CreateOrUpdateHostSecretResponder(resp *http.Response) return } -// CreateOrUpdateHostSecretSlot description for Add or update a host level secret. +// CreateOrUpdateHostSecretSlot add or update a host level secret. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -2739,7 +2736,7 @@ func (client AppsClient) CreateOrUpdateHostSecretSlotResponder(resp *http.Respon return } -// CreateOrUpdateHybridConnection description for Creates a new Hybrid Connection using a Service Bus relay. +// CreateOrUpdateHybridConnection creates a new Hybrid Connection using a Service Bus relay. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -2830,7 +2827,7 @@ func (client AppsClient) CreateOrUpdateHybridConnectionResponder(resp *http.Resp return } -// CreateOrUpdateHybridConnectionSlot description for Creates a new Hybrid Connection using a Service Bus relay. +// CreateOrUpdateHybridConnectionSlot creates a new Hybrid Connection using a Service Bus relay. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -2923,7 +2920,7 @@ func (client AppsClient) CreateOrUpdateHybridConnectionSlotResponder(resp *http. return } -// CreateOrUpdatePublicCertificate description for Creates a hostname binding for an app. +// CreateOrUpdatePublicCertificate creates a hostname binding for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -3013,7 +3010,7 @@ func (client AppsClient) CreateOrUpdatePublicCertificateResponder(resp *http.Res return } -// CreateOrUpdatePublicCertificateSlot description for Creates a hostname binding for an app. +// CreateOrUpdatePublicCertificateSlot creates a hostname binding for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -3106,8 +3103,8 @@ func (client AppsClient) CreateOrUpdatePublicCertificateSlotResponder(resp *http return } -// CreateOrUpdateRelayServiceConnection description for Creates a new hybrid connection configuration (PUT), or updates -// an existing one (PATCH). +// CreateOrUpdateRelayServiceConnection creates a new hybrid connection configuration (PUT), or updates an existing one +// (PATCH). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -3196,8 +3193,8 @@ func (client AppsClient) CreateOrUpdateRelayServiceConnectionResponder(resp *htt return } -// CreateOrUpdateRelayServiceConnectionSlot description for Creates a new hybrid connection configuration (PUT), or -// updates an existing one (PATCH). +// CreateOrUpdateRelayServiceConnectionSlot creates a new hybrid connection configuration (PUT), or updates an existing +// one (PATCH). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -3289,15 +3286,13 @@ func (client AppsClient) CreateOrUpdateRelayServiceConnectionSlotResponder(resp return } -// CreateOrUpdateSlot description for Creates a new web, mobile, or API app in an existing resource group, or updates -// an existing app. +// CreateOrUpdateSlot creates a new web, mobile, or API app in an existing resource group, or updates an existing app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - unique name of the app to create or update. To create or update a deployment slot, use the {slot} // parameter. // siteEnvelope - a JSON representation of the app properties. See example. -// slot - name of the deployment slot to create or update. By default, this API attempts to create or modify -// the production slot. +// slot - name of the deployment slot to create or update. The name 'production' is reserved. func (client AppsClient) CreateOrUpdateSlot(ctx context.Context, resourceGroupName string, name string, siteEnvelope Site, slot string) (result AppsCreateOrUpdateSlotFuture, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/AppsClient.CreateOrUpdateSlot") @@ -3405,7 +3400,7 @@ func (client AppsClient) CreateOrUpdateSlotResponder(resp *http.Response) (resul return } -// CreateOrUpdateSourceControl description for Updates the source control configuration of an app. +// CreateOrUpdateSourceControl updates the source control configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -3495,7 +3490,7 @@ func (client AppsClient) CreateOrUpdateSourceControlResponder(resp *http.Respons return } -// CreateOrUpdateSourceControlSlot description for Updates the source control configuration of an app. +// CreateOrUpdateSourceControlSlot updates the source control configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -3588,9 +3583,9 @@ func (client AppsClient) CreateOrUpdateSourceControlSlotResponder(resp *http.Res return } -// CreateOrUpdateSwiftVirtualNetworkConnectionWithCheck description for Integrates this Web App with a Virtual Network. -// This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet -// has already been delegated, and is not +// CreateOrUpdateSwiftVirtualNetworkConnectionWithCheck integrates this Web App with a Virtual Network. This requires +// that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already +// been delegated, and is not // in use by another App Service Plan other than the one this App is in. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. @@ -3678,9 +3673,9 @@ func (client AppsClient) CreateOrUpdateSwiftVirtualNetworkConnectionWithCheckRes return } -// CreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlot description for Integrates this Web App with a Virtual -// Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the -// target Subnet has already been delegated, and is not +// CreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlot integrates this Web App with a Virtual Network. This +// requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has +// already been delegated, and is not // in use by another App Service Plan other than the one this App is in. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. @@ -3771,8 +3766,8 @@ func (client AppsClient) CreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlo return } -// CreateOrUpdateVnetConnection description for Adds a Virtual Network connection to an app or slot (PUT) or updates -// the connection properties (PATCH). +// CreateOrUpdateVnetConnection adds a Virtual Network connection to an app or slot (PUT) or updates the connection +// properties (PATCH). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -3861,8 +3856,7 @@ func (client AppsClient) CreateOrUpdateVnetConnectionResponder(resp *http.Respon return } -// CreateOrUpdateVnetConnectionGateway description for Adds a gateway to a connected Virtual Network (PUT) or updates -// it (PATCH). +// CreateOrUpdateVnetConnectionGateway adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -3956,8 +3950,7 @@ func (client AppsClient) CreateOrUpdateVnetConnectionGatewayResponder(resp *http return } -// CreateOrUpdateVnetConnectionGatewaySlot description for Adds a gateway to a connected Virtual Network (PUT) or -// updates it (PATCH). +// CreateOrUpdateVnetConnectionGatewaySlot adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -4054,8 +4047,8 @@ func (client AppsClient) CreateOrUpdateVnetConnectionGatewaySlotResponder(resp * return } -// CreateOrUpdateVnetConnectionSlot description for Adds a Virtual Network connection to an app or slot (PUT) or -// updates the connection properties (PATCH). +// CreateOrUpdateVnetConnectionSlot adds a Virtual Network connection to an app or slot (PUT) or updates the connection +// properties (PATCH). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -4147,7 +4140,7 @@ func (client AppsClient) CreateOrUpdateVnetConnectionSlotResponder(resp *http.Re return } -// Delete description for Deletes a web, mobile, or API app, or one of the deployment slots. +// Delete deletes a web, mobile, or API app, or one of the deployment slots. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app to delete. @@ -4239,7 +4232,7 @@ func (client AppsClient) DeleteResponder(resp *http.Response) (result autorest.R return } -// DeleteBackup description for Deletes a backup of an app by its ID. +// DeleteBackup deletes a backup of an app by its ID. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -4324,7 +4317,7 @@ func (client AppsClient) DeleteBackupResponder(resp *http.Response) (result auto return } -// DeleteBackupConfiguration description for Deletes the backup configuration of an app. +// DeleteBackupConfiguration deletes the backup configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -4407,7 +4400,7 @@ func (client AppsClient) DeleteBackupConfigurationResponder(resp *http.Response) return } -// DeleteBackupConfigurationSlot description for Deletes the backup configuration of an app. +// DeleteBackupConfigurationSlot deletes the backup configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -4493,7 +4486,7 @@ func (client AppsClient) DeleteBackupConfigurationSlotResponder(resp *http.Respo return } -// DeleteBackupSlot description for Deletes a backup of an app by its ID. +// DeleteBackupSlot deletes a backup of an app by its ID. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -4581,7 +4574,7 @@ func (client AppsClient) DeleteBackupSlotResponder(resp *http.Response) (result return } -// DeleteContinuousWebJob description for Delete a continuous web job by its ID for an app, or a deployment slot. +// DeleteContinuousWebJob delete a continuous web job by its ID for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -4666,7 +4659,7 @@ func (client AppsClient) DeleteContinuousWebJobResponder(resp *http.Response) (r return } -// DeleteContinuousWebJobSlot description for Delete a continuous web job by its ID for an app, or a deployment slot. +// DeleteContinuousWebJobSlot delete a continuous web job by its ID for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -4754,7 +4747,7 @@ func (client AppsClient) DeleteContinuousWebJobSlotResponder(resp *http.Response return } -// DeleteDeployment description for Delete a deployment by its ID for an app, or a deployment slot. +// DeleteDeployment delete a deployment by its ID for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -4839,7 +4832,7 @@ func (client AppsClient) DeleteDeploymentResponder(resp *http.Response) (result return } -// DeleteDeploymentSlot description for Delete a deployment by its ID for an app, or a deployment slot. +// DeleteDeploymentSlot delete a deployment by its ID for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -4927,7 +4920,7 @@ func (client AppsClient) DeleteDeploymentSlotResponder(resp *http.Response) (res return } -// DeleteDomainOwnershipIdentifier description for Deletes a domain ownership identifier for a web app. +// DeleteDomainOwnershipIdentifier deletes a domain ownership identifier for a web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -5012,7 +5005,7 @@ func (client AppsClient) DeleteDomainOwnershipIdentifierResponder(resp *http.Res return } -// DeleteDomainOwnershipIdentifierSlot description for Deletes a domain ownership identifier for a web app. +// DeleteDomainOwnershipIdentifierSlot deletes a domain ownership identifier for a web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -5100,7 +5093,7 @@ func (client AppsClient) DeleteDomainOwnershipIdentifierSlotResponder(resp *http return } -// DeleteFunction description for Delete a function for web site, or a deployment slot. +// DeleteFunction delete a function for web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -5185,7 +5178,7 @@ func (client AppsClient) DeleteFunctionResponder(resp *http.Response) (result au return } -// DeleteFunctionSecret description for Delete a function secret. +// DeleteFunctionSecret delete a function secret. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -5272,7 +5265,7 @@ func (client AppsClient) DeleteFunctionSecretResponder(resp *http.Response) (res return } -// DeleteFunctionSecretSlot description for Delete a function secret. +// DeleteFunctionSecretSlot delete a function secret. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -5361,7 +5354,7 @@ func (client AppsClient) DeleteFunctionSecretSlotResponder(resp *http.Response) return } -// DeleteHostNameBinding description for Deletes a hostname binding for an app. +// DeleteHostNameBinding deletes a hostname binding for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -5446,7 +5439,7 @@ func (client AppsClient) DeleteHostNameBindingResponder(resp *http.Response) (re return } -// DeleteHostNameBindingSlot description for Deletes a hostname binding for an app. +// DeleteHostNameBindingSlot deletes a hostname binding for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -5534,7 +5527,7 @@ func (client AppsClient) DeleteHostNameBindingSlotResponder(resp *http.Response) return } -// DeleteHostSecret description for Delete a host level secret. +// DeleteHostSecret delete a host level secret. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -5621,7 +5614,7 @@ func (client AppsClient) DeleteHostSecretResponder(resp *http.Response) (result return } -// DeleteHostSecretSlot description for Delete a host level secret. +// DeleteHostSecretSlot delete a host level secret. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -5710,7 +5703,7 @@ func (client AppsClient) DeleteHostSecretSlotResponder(resp *http.Response) (res return } -// DeleteHybridConnection description for Removes a Hybrid Connection from this site. +// DeleteHybridConnection removes a Hybrid Connection from this site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -5797,7 +5790,7 @@ func (client AppsClient) DeleteHybridConnectionResponder(resp *http.Response) (r return } -// DeleteHybridConnectionSlot description for Removes a Hybrid Connection from this site. +// DeleteHybridConnectionSlot removes a Hybrid Connection from this site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -5886,7 +5879,7 @@ func (client AppsClient) DeleteHybridConnectionSlotResponder(resp *http.Response return } -// DeleteInstanceFunctionSlot description for Delete a function for web site, or a deployment slot. +// DeleteInstanceFunctionSlot delete a function for web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -5973,8 +5966,8 @@ func (client AppsClient) DeleteInstanceFunctionSlotResponder(resp *http.Response return } -// DeleteInstanceProcess description for Terminate a process by its ID for a web site, or a deployment slot, or -// specific scaled-out instance in a web site. +// DeleteInstanceProcess terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out +// instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -6062,8 +6055,8 @@ func (client AppsClient) DeleteInstanceProcessResponder(resp *http.Response) (re return } -// DeleteInstanceProcessSlot description for Terminate a process by its ID for a web site, or a deployment slot, or -// specific scaled-out instance in a web site. +// DeleteInstanceProcessSlot terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out +// instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -6154,7 +6147,7 @@ func (client AppsClient) DeleteInstanceProcessSlotResponder(resp *http.Response) return } -// DeletePremierAddOn description for Delete a premier add-on from an app. +// DeletePremierAddOn delete a premier add-on from an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -6239,7 +6232,7 @@ func (client AppsClient) DeletePremierAddOnResponder(resp *http.Response) (resul return } -// DeletePremierAddOnSlot description for Delete a premier add-on from an app. +// DeletePremierAddOnSlot delete a premier add-on from an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -6327,7 +6320,7 @@ func (client AppsClient) DeletePremierAddOnSlotResponder(resp *http.Response) (r return } -// DeletePrivateEndpointConnection description for Deletes a private endpoint connection +// DeletePrivateEndpointConnection deletes a private endpoint connection // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the site. @@ -6415,7 +6408,7 @@ func (client AppsClient) DeletePrivateEndpointConnectionResponder(resp *http.Res return } -// DeletePrivateEndpointConnectionSlot description for Deletes a private endpoint connection +// DeletePrivateEndpointConnectionSlot deletes a private endpoint connection // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the site. @@ -6504,8 +6497,8 @@ func (client AppsClient) DeletePrivateEndpointConnectionSlotResponder(resp *http return } -// DeleteProcess description for Terminate a process by its ID for a web site, or a deployment slot, or specific -// scaled-out instance in a web site. +// DeleteProcess terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in +// a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -6590,8 +6583,8 @@ func (client AppsClient) DeleteProcessResponder(resp *http.Response) (result aut return } -// DeleteProcessSlot description for Terminate a process by its ID for a web site, or a deployment slot, or specific -// scaled-out instance in a web site. +// DeleteProcessSlot terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out +// instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -6679,7 +6672,7 @@ func (client AppsClient) DeleteProcessSlotResponder(resp *http.Response) (result return } -// DeletePublicCertificate description for Deletes a hostname binding for an app. +// DeletePublicCertificate deletes a hostname binding for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -6764,7 +6757,7 @@ func (client AppsClient) DeletePublicCertificateResponder(resp *http.Response) ( return } -// DeletePublicCertificateSlot description for Deletes a hostname binding for an app. +// DeletePublicCertificateSlot deletes a hostname binding for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -6852,7 +6845,7 @@ func (client AppsClient) DeletePublicCertificateSlotResponder(resp *http.Respons return } -// DeleteRelayServiceConnection description for Deletes a relay service connection by its name. +// DeleteRelayServiceConnection deletes a relay service connection by its name. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -6937,7 +6930,7 @@ func (client AppsClient) DeleteRelayServiceConnectionResponder(resp *http.Respon return } -// DeleteRelayServiceConnectionSlot description for Deletes a relay service connection by its name. +// DeleteRelayServiceConnectionSlot deletes a relay service connection by its name. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -7025,7 +7018,7 @@ func (client AppsClient) DeleteRelayServiceConnectionSlotResponder(resp *http.Re return } -// DeleteSiteExtension description for Remove a site extension from a web site, or a deployment slot. +// DeleteSiteExtension remove a site extension from a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -7110,7 +7103,7 @@ func (client AppsClient) DeleteSiteExtensionResponder(resp *http.Response) (resu return } -// DeleteSiteExtensionSlot description for Remove a site extension from a web site, or a deployment slot. +// DeleteSiteExtensionSlot remove a site extension from a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -7198,7 +7191,7 @@ func (client AppsClient) DeleteSiteExtensionSlotResponder(resp *http.Response) ( return } -// DeleteSlot description for Deletes a web, mobile, or API app, or one of the deployment slots. +// DeleteSlot deletes a web, mobile, or API app, or one of the deployment slots. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app to delete. @@ -7292,7 +7285,7 @@ func (client AppsClient) DeleteSlotResponder(resp *http.Response) (result autore return } -// DeleteSourceControl description for Deletes the source control configuration of an app. +// DeleteSourceControl deletes the source control configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -7378,7 +7371,7 @@ func (client AppsClient) DeleteSourceControlResponder(resp *http.Response) (resu return } -// DeleteSourceControlSlot description for Deletes the source control configuration of an app. +// DeleteSourceControlSlot deletes the source control configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -7467,8 +7460,7 @@ func (client AppsClient) DeleteSourceControlSlotResponder(resp *http.Response) ( return } -// DeleteSwiftVirtualNetwork description for Deletes a Swift Virtual Network connection from an app (or deployment -// slot). +// DeleteSwiftVirtualNetwork deletes a Swift Virtual Network connection from an app (or deployment slot). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -7551,8 +7543,7 @@ func (client AppsClient) DeleteSwiftVirtualNetworkResponder(resp *http.Response) return } -// DeleteSwiftVirtualNetworkSlot description for Deletes a Swift Virtual Network connection from an app (or deployment -// slot). +// DeleteSwiftVirtualNetworkSlot deletes a Swift Virtual Network connection from an app (or deployment slot). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -7638,7 +7629,7 @@ func (client AppsClient) DeleteSwiftVirtualNetworkSlotResponder(resp *http.Respo return } -// DeleteTriggeredWebJob description for Delete a triggered web job by its ID for an app, or a deployment slot. +// DeleteTriggeredWebJob delete a triggered web job by its ID for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -7723,7 +7714,7 @@ func (client AppsClient) DeleteTriggeredWebJobResponder(resp *http.Response) (re return } -// DeleteTriggeredWebJobSlot description for Delete a triggered web job by its ID for an app, or a deployment slot. +// DeleteTriggeredWebJobSlot delete a triggered web job by its ID for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -7811,8 +7802,7 @@ func (client AppsClient) DeleteTriggeredWebJobSlotResponder(resp *http.Response) return } -// DeleteVnetConnection description for Deletes a connection from an app (or deployment slot to a named virtual -// network. +// DeleteVnetConnection deletes a connection from an app (or deployment slot to a named virtual network. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -7897,8 +7887,7 @@ func (client AppsClient) DeleteVnetConnectionResponder(resp *http.Response) (res return } -// DeleteVnetConnectionSlot description for Deletes a connection from an app (or deployment slot to a named virtual -// network. +// DeleteVnetConnectionSlot deletes a connection from an app (or deployment slot to a named virtual network. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -7986,8 +7975,8 @@ func (client AppsClient) DeleteVnetConnectionSlotResponder(resp *http.Response) return } -// DiscoverBackup description for Discovers an existing app backup that can be restored from a blob in Azure storage. -// Use this to get information about the databases stored in a backup. +// DiscoverBackup discovers an existing app backup that can be restored from a blob in Azure storage. Use this to get +// information about the databases stored in a backup. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -8079,8 +8068,8 @@ func (client AppsClient) DiscoverBackupResponder(resp *http.Response) (result Re return } -// DiscoverBackupSlot description for Discovers an existing app backup that can be restored from a blob in Azure -// storage. Use this to get information about the databases stored in a backup. +// DiscoverBackupSlot discovers an existing app backup that can be restored from a blob in Azure storage. Use this to +// get information about the databases stored in a backup. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -8175,8 +8164,7 @@ func (client AppsClient) DiscoverBackupSlotResponder(resp *http.Response) (resul return } -// GenerateNewSitePublishingPassword description for Generates a new publishing password for an app (or deployment -// slot, if specified). +// GenerateNewSitePublishingPassword generates a new publishing password for an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -8259,8 +8247,8 @@ func (client AppsClient) GenerateNewSitePublishingPasswordResponder(resp *http.R return } -// GenerateNewSitePublishingPasswordSlot description for Generates a new publishing password for an app (or deployment -// slot, if specified). +// GenerateNewSitePublishingPasswordSlot generates a new publishing password for an app (or deployment slot, if +// specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -8346,7 +8334,7 @@ func (client AppsClient) GenerateNewSitePublishingPasswordSlotResponder(resp *ht return } -// Get description for Gets the details of a web, mobile, or API app. +// Get gets the details of a web, mobile, or API app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -8430,7 +8418,7 @@ func (client AppsClient) GetResponder(resp *http.Response) (result Site, err err return } -// GetAppSettingKeyVaultReference description for Gets the config reference and status of an app +// GetAppSettingKeyVaultReference gets the config reference and status of an app // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -8516,7 +8504,7 @@ func (client AppsClient) GetAppSettingKeyVaultReferenceResponder(resp *http.Resp return } -// GetAppSettingKeyVaultReferenceSlot description for Gets the config reference and status of an app +// GetAppSettingKeyVaultReferenceSlot gets the config reference and status of an app // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -8603,7 +8591,7 @@ func (client AppsClient) GetAppSettingKeyVaultReferenceSlotResponder(resp *http. return } -// GetAppSettingsKeyVaultReferences description for Gets the config reference app settings and status of an app +// GetAppSettingsKeyVaultReferences gets the config reference app settings and status of an app // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -8729,7 +8717,7 @@ func (client AppsClient) GetAppSettingsKeyVaultReferencesComplete(ctx context.Co return } -// GetAppSettingsKeyVaultReferencesSlot description for Gets the config reference app settings and status of an app +// GetAppSettingsKeyVaultReferencesSlot gets the config reference app settings and status of an app // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -8856,7 +8844,7 @@ func (client AppsClient) GetAppSettingsKeyVaultReferencesSlotComplete(ctx contex return } -// GetAuthSettings description for Gets the Authentication/Authorization settings of an app. +// GetAuthSettings gets the Authentication/Authorization settings of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -8940,7 +8928,7 @@ func (client AppsClient) GetAuthSettingsResponder(resp *http.Response) (result S return } -// GetAuthSettingsSlot description for Gets the Authentication/Authorization settings of an app. +// GetAuthSettingsSlot gets the Authentication/Authorization settings of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -9027,7 +9015,7 @@ func (client AppsClient) GetAuthSettingsSlotResponder(resp *http.Response) (resu return } -// GetAuthSettingsV2 description for Gets site's Authentication / Authorization settings for apps via the V2 format +// GetAuthSettingsV2 gets site's Authentication / Authorization settings for apps via the V2 format // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -9111,7 +9099,7 @@ func (client AppsClient) GetAuthSettingsV2Responder(resp *http.Response) (result return } -// GetAuthSettingsV2Slot description for Gets site's Authentication / Authorization settings for apps via the V2 format +// GetAuthSettingsV2Slot gets site's Authentication / Authorization settings for apps via the V2 format // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -9198,7 +9186,7 @@ func (client AppsClient) GetAuthSettingsV2SlotResponder(resp *http.Response) (re return } -// GetBackupConfiguration description for Gets the backup configuration of an app. +// GetBackupConfiguration gets the backup configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -9282,7 +9270,7 @@ func (client AppsClient) GetBackupConfigurationResponder(resp *http.Response) (r return } -// GetBackupConfigurationSlot description for Gets the backup configuration of an app. +// GetBackupConfigurationSlot gets the backup configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -9369,7 +9357,7 @@ func (client AppsClient) GetBackupConfigurationSlotResponder(resp *http.Response return } -// GetBackupStatus description for Gets a backup of an app by its ID. +// GetBackupStatus gets a backup of an app by its ID. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -9455,7 +9443,7 @@ func (client AppsClient) GetBackupStatusResponder(resp *http.Response) (result B return } -// GetBackupStatusSlot description for Gets a backup of an app by its ID. +// GetBackupStatusSlot gets a backup of an app by its ID. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -9544,8 +9532,8 @@ func (client AppsClient) GetBackupStatusSlotResponder(resp *http.Response) (resu return } -// GetConfiguration description for Gets the configuration of an app, such as platform version and bitness, default -// documents, virtual applications, Always On, etc. +// GetConfiguration gets the configuration of an app, such as platform version and bitness, default documents, virtual +// applications, Always On, etc. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -9629,8 +9617,8 @@ func (client AppsClient) GetConfigurationResponder(resp *http.Response) (result return } -// GetConfigurationSlot description for Gets the configuration of an app, such as platform version and bitness, default -// documents, virtual applications, Always On, etc. +// GetConfigurationSlot gets the configuration of an app, such as platform version and bitness, default documents, +// virtual applications, Always On, etc. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -9717,7 +9705,7 @@ func (client AppsClient) GetConfigurationSlotResponder(resp *http.Response) (res return } -// GetConfigurationSnapshot description for Gets a snapshot of the configuration of an app at a previous point in time. +// GetConfigurationSnapshot gets a snapshot of the configuration of an app at a previous point in time. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -9803,8 +9791,7 @@ func (client AppsClient) GetConfigurationSnapshotResponder(resp *http.Response) return } -// GetConfigurationSnapshotSlot description for Gets a snapshot of the configuration of an app at a previous point in -// time. +// GetConfigurationSnapshotSlot gets a snapshot of the configuration of an app at a previous point in time. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -9893,7 +9880,7 @@ func (client AppsClient) GetConfigurationSnapshotSlotResponder(resp *http.Respon return } -// GetContainerLogsZip description for Gets the ZIP archived docker log files for the given site +// GetContainerLogsZip gets the ZIP archived docker log files for the given site // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -9976,7 +9963,7 @@ func (client AppsClient) GetContainerLogsZipResponder(resp *http.Response) (resu return } -// GetContainerLogsZipSlot description for Gets the ZIP archived docker log files for the given site +// GetContainerLogsZipSlot gets the ZIP archived docker log files for the given site // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -10061,7 +10048,7 @@ func (client AppsClient) GetContainerLogsZipSlotResponder(resp *http.Response) ( return } -// GetContinuousWebJob description for Gets a continuous web job by its ID for an app, or a deployment slot. +// GetContinuousWebJob gets a continuous web job by its ID for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -10147,7 +10134,7 @@ func (client AppsClient) GetContinuousWebJobResponder(resp *http.Response) (resu return } -// GetContinuousWebJobSlot description for Gets a continuous web job by its ID for an app, or a deployment slot. +// GetContinuousWebJobSlot gets a continuous web job by its ID for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -10236,7 +10223,7 @@ func (client AppsClient) GetContinuousWebJobSlotResponder(resp *http.Response) ( return } -// GetDeployment description for Get a deployment by its ID for an app, or a deployment slot. +// GetDeployment get a deployment by its ID for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -10322,7 +10309,7 @@ func (client AppsClient) GetDeploymentResponder(resp *http.Response) (result Dep return } -// GetDeploymentSlot description for Get a deployment by its ID for an app, or a deployment slot. +// GetDeploymentSlot get a deployment by its ID for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -10411,7 +10398,7 @@ func (client AppsClient) GetDeploymentSlotResponder(resp *http.Response) (result return } -// GetDiagnosticLogsConfiguration description for Gets the logging configuration of an app. +// GetDiagnosticLogsConfiguration gets the logging configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -10495,7 +10482,7 @@ func (client AppsClient) GetDiagnosticLogsConfigurationResponder(resp *http.Resp return } -// GetDiagnosticLogsConfigurationSlot description for Gets the logging configuration of an app. +// GetDiagnosticLogsConfigurationSlot gets the logging configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -10582,7 +10569,7 @@ func (client AppsClient) GetDiagnosticLogsConfigurationSlotResponder(resp *http. return } -// GetDomainOwnershipIdentifier description for Get domain ownership identifier for web app. +// GetDomainOwnershipIdentifier get domain ownership identifier for web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -10668,7 +10655,7 @@ func (client AppsClient) GetDomainOwnershipIdentifierResponder(resp *http.Respon return } -// GetDomainOwnershipIdentifierSlot description for Get domain ownership identifier for web app. +// GetDomainOwnershipIdentifierSlot get domain ownership identifier for web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -10757,7 +10744,7 @@ func (client AppsClient) GetDomainOwnershipIdentifierSlotResponder(resp *http.Re return } -// GetFtpAllowed description for Returns whether FTP is allowed on the site or not. +// GetFtpAllowed returns whether FTP is allowed on the site or not. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -10841,7 +10828,7 @@ func (client AppsClient) GetFtpAllowedResponder(resp *http.Response) (result Csm return } -// GetFtpAllowedSlot description for Returns whether FTP is allowed on the site or not. +// GetFtpAllowedSlot returns whether FTP is allowed on the site or not. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -10926,7 +10913,7 @@ func (client AppsClient) GetFtpAllowedSlotResponder(resp *http.Response) (result return } -// GetFunction description for Get function information by its ID for web site, or a deployment slot. +// GetFunction get function information by its ID for web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -11012,7 +10999,7 @@ func (client AppsClient) GetFunctionResponder(resp *http.Response) (result Funct return } -// GetFunctionsAdminToken description for Fetch a short lived token that can be exchanged for a master key. +// GetFunctionsAdminToken fetch a short lived token that can be exchanged for a master key. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -11096,7 +11083,7 @@ func (client AppsClient) GetFunctionsAdminTokenResponder(resp *http.Response) (r return } -// GetFunctionsAdminTokenSlot description for Fetch a short lived token that can be exchanged for a master key. +// GetFunctionsAdminTokenSlot fetch a short lived token that can be exchanged for a master key. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -11182,7 +11169,7 @@ func (client AppsClient) GetFunctionsAdminTokenSlotResponder(resp *http.Response return } -// GetHostNameBinding description for Get the named hostname binding for an app (or deployment slot, if specified). +// GetHostNameBinding get the named hostname binding for an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -11268,7 +11255,7 @@ func (client AppsClient) GetHostNameBindingResponder(resp *http.Response) (resul return } -// GetHostNameBindingSlot description for Get the named hostname binding for an app (or deployment slot, if specified). +// GetHostNameBindingSlot get the named hostname binding for an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -11357,7 +11344,7 @@ func (client AppsClient) GetHostNameBindingSlotResponder(resp *http.Response) (r return } -// GetHybridConnection description for Retrieves a specific Service Bus Hybrid Connection used by this Web App. +// GetHybridConnection retrieves a specific Service Bus Hybrid Connection used by this Web App. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -11445,7 +11432,7 @@ func (client AppsClient) GetHybridConnectionResponder(resp *http.Response) (resu return } -// GetHybridConnectionSlot description for Retrieves a specific Service Bus Hybrid Connection used by this Web App. +// GetHybridConnectionSlot retrieves a specific Service Bus Hybrid Connection used by this Web App. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -11535,7 +11522,7 @@ func (client AppsClient) GetHybridConnectionSlotResponder(resp *http.Response) ( return } -// GetInstanceFunctionSlot description for Get function information by its ID for web site, or a deployment slot. +// GetInstanceFunctionSlot get function information by its ID for web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -11623,7 +11610,7 @@ func (client AppsClient) GetInstanceFunctionSlotResponder(resp *http.Response) ( return } -// GetInstanceInfo description for Gets all scale-out instances of an app. +// GetInstanceInfo gets all scale-out instances of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -11708,7 +11695,7 @@ func (client AppsClient) GetInstanceInfoResponder(resp *http.Response) (result S return } -// GetInstanceInfoSlot description for Gets all scale-out instances of an app. +// GetInstanceInfoSlot gets all scale-out instances of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -11795,7 +11782,7 @@ func (client AppsClient) GetInstanceInfoSlotResponder(resp *http.Response) (resu return } -// GetInstanceMSDeployLog description for Get the MSDeploy Log for the last MSDeploy operation. +// GetInstanceMSDeployLog get the MSDeploy Log for the last MSDeploy operation. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -11881,7 +11868,7 @@ func (client AppsClient) GetInstanceMSDeployLogResponder(resp *http.Response) (r return } -// GetInstanceMSDeployLogSlot description for Get the MSDeploy Log for the last MSDeploy operation. +// GetInstanceMSDeployLogSlot get the MSDeploy Log for the last MSDeploy operation. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -11969,7 +11956,7 @@ func (client AppsClient) GetInstanceMSDeployLogSlotResponder(resp *http.Response return } -// GetInstanceMsDeployStatus description for Get the status of the last MSDeploy operation. +// GetInstanceMsDeployStatus get the status of the last MSDeploy operation. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -12055,7 +12042,7 @@ func (client AppsClient) GetInstanceMsDeployStatusResponder(resp *http.Response) return } -// GetInstanceMsDeployStatusSlot description for Get the status of the last MSDeploy operation. +// GetInstanceMsDeployStatusSlot get the status of the last MSDeploy operation. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -12143,8 +12130,7 @@ func (client AppsClient) GetInstanceMsDeployStatusSlotResponder(resp *http.Respo return } -// GetInstanceProcess description for Get process information by its ID for a specific scaled-out instance in a web -// site. +// GetInstanceProcess get process information by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -12233,8 +12219,7 @@ func (client AppsClient) GetInstanceProcessResponder(resp *http.Response) (resul return } -// GetInstanceProcessDump description for Get a memory dump of a process by its ID for a specific scaled-out instance -// in a web site. +// GetInstanceProcessDump get a memory dump of a process by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -12322,8 +12307,8 @@ func (client AppsClient) GetInstanceProcessDumpResponder(resp *http.Response) (r return } -// GetInstanceProcessDumpSlot description for Get a memory dump of a process by its ID for a specific scaled-out -// instance in a web site. +// GetInstanceProcessDumpSlot get a memory dump of a process by its ID for a specific scaled-out instance in a web +// site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -12414,8 +12399,7 @@ func (client AppsClient) GetInstanceProcessDumpSlotResponder(resp *http.Response return } -// GetInstanceProcessModule description for Get process information by its ID for a specific scaled-out instance in a -// web site. +// GetInstanceProcessModule get process information by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -12506,8 +12490,7 @@ func (client AppsClient) GetInstanceProcessModuleResponder(resp *http.Response) return } -// GetInstanceProcessModuleSlot description for Get process information by its ID for a specific scaled-out instance in -// a web site. +// GetInstanceProcessModuleSlot get process information by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -12601,8 +12584,7 @@ func (client AppsClient) GetInstanceProcessModuleSlotResponder(resp *http.Respon return } -// GetInstanceProcessSlot description for Get process information by its ID for a specific scaled-out instance in a web -// site. +// GetInstanceProcessSlot get process information by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -12694,8 +12676,8 @@ func (client AppsClient) GetInstanceProcessSlotResponder(resp *http.Response) (r return } -// GetMigrateMySQLStatus description for Returns the status of MySql in app migration, if one is active, and whether or -// not MySql in app is enabled +// GetMigrateMySQLStatus returns the status of MySql in app migration, if one is active, and whether or not MySql in +// app is enabled // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -12779,8 +12761,8 @@ func (client AppsClient) GetMigrateMySQLStatusResponder(resp *http.Response) (re return } -// GetMigrateMySQLStatusSlot description for Returns the status of MySql in app migration, if one is active, and -// whether or not MySql in app is enabled +// GetMigrateMySQLStatusSlot returns the status of MySql in app migration, if one is active, and whether or not MySql +// in app is enabled // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -12866,7 +12848,7 @@ func (client AppsClient) GetMigrateMySQLStatusSlotResponder(resp *http.Response) return } -// GetMSDeployLog description for Get the MSDeploy Log for the last MSDeploy operation. +// GetMSDeployLog get the MSDeploy Log for the last MSDeploy operation. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -12950,7 +12932,7 @@ func (client AppsClient) GetMSDeployLogResponder(resp *http.Response) (result MS return } -// GetMSDeployLogSlot description for Get the MSDeploy Log for the last MSDeploy operation. +// GetMSDeployLogSlot get the MSDeploy Log for the last MSDeploy operation. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -13036,7 +13018,7 @@ func (client AppsClient) GetMSDeployLogSlotResponder(resp *http.Response) (resul return } -// GetMSDeployStatus description for Get the status of the last MSDeploy operation. +// GetMSDeployStatus get the status of the last MSDeploy operation. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -13120,7 +13102,7 @@ func (client AppsClient) GetMSDeployStatusResponder(resp *http.Response) (result return } -// GetMSDeployStatusSlot description for Get the status of the last MSDeploy operation. +// GetMSDeployStatusSlot get the status of the last MSDeploy operation. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -13206,8 +13188,7 @@ func (client AppsClient) GetMSDeployStatusSlotResponder(resp *http.Response) (re return } -// GetNetworkTraceOperation description for Gets a named operation for a network trace capturing (or deployment slot, -// if specified). +// GetNetworkTraceOperation gets a named operation for a network trace capturing (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -13293,8 +13274,8 @@ func (client AppsClient) GetNetworkTraceOperationResponder(resp *http.Response) return } -// GetNetworkTraceOperationSlot description for Gets a named operation for a network trace capturing (or deployment -// slot, if specified). +// GetNetworkTraceOperationSlot gets a named operation for a network trace capturing (or deployment slot, if +// specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -13383,8 +13364,8 @@ func (client AppsClient) GetNetworkTraceOperationSlotResponder(resp *http.Respon return } -// GetNetworkTraceOperationSlotV2 description for Gets a named operation for a network trace capturing (or deployment -// slot, if specified). +// GetNetworkTraceOperationSlotV2 gets a named operation for a network trace capturing (or deployment slot, if +// specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -13473,8 +13454,7 @@ func (client AppsClient) GetNetworkTraceOperationSlotV2Responder(resp *http.Resp return } -// GetNetworkTraceOperationV2 description for Gets a named operation for a network trace capturing (or deployment slot, -// if specified). +// GetNetworkTraceOperationV2 gets a named operation for a network trace capturing (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -13560,8 +13540,7 @@ func (client AppsClient) GetNetworkTraceOperationV2Responder(resp *http.Response return } -// GetNetworkTraces description for Gets a named operation for a network trace capturing (or deployment slot, if -// specified). +// GetNetworkTraces gets a named operation for a network trace capturing (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -13647,8 +13626,7 @@ func (client AppsClient) GetNetworkTracesResponder(resp *http.Response) (result return } -// GetNetworkTracesSlot description for Gets a named operation for a network trace capturing (or deployment slot, if -// specified). +// GetNetworkTracesSlot gets a named operation for a network trace capturing (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -13737,8 +13715,7 @@ func (client AppsClient) GetNetworkTracesSlotResponder(resp *http.Response) (res return } -// GetNetworkTracesSlotV2 description for Gets a named operation for a network trace capturing (or deployment slot, if -// specified). +// GetNetworkTracesSlotV2 gets a named operation for a network trace capturing (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -13827,8 +13804,7 @@ func (client AppsClient) GetNetworkTracesSlotV2Responder(resp *http.Response) (r return } -// GetNetworkTracesV2 description for Gets a named operation for a network trace capturing (or deployment slot, if -// specified). +// GetNetworkTracesV2 gets a named operation for a network trace capturing (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -13914,7 +13890,7 @@ func (client AppsClient) GetNetworkTracesV2Responder(resp *http.Response) (resul return } -// GetPremierAddOn description for Gets a named add-on of an app. +// GetPremierAddOn gets a named add-on of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -14000,7 +13976,7 @@ func (client AppsClient) GetPremierAddOnResponder(resp *http.Response) (result P return } -// GetPremierAddOnSlot description for Gets a named add-on of an app. +// GetPremierAddOnSlot gets a named add-on of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -14089,8 +14065,8 @@ func (client AppsClient) GetPremierAddOnSlotResponder(resp *http.Response) (resu return } -// GetPrivateAccess description for Gets data around private site access enablement and authorized Virtual Networks -// that can access the site. +// GetPrivateAccess gets data around private site access enablement and authorized Virtual Networks that can access the +// site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -14174,8 +14150,8 @@ func (client AppsClient) GetPrivateAccessResponder(resp *http.Response) (result return } -// GetPrivateAccessSlot description for Gets data around private site access enablement and authorized Virtual Networks -// that can access the site. +// GetPrivateAccessSlot gets data around private site access enablement and authorized Virtual Networks that can access +// the site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -14261,7 +14237,7 @@ func (client AppsClient) GetPrivateAccessSlotResponder(resp *http.Response) (res return } -// GetPrivateEndpointConnection description for Gets a private endpoint connection +// GetPrivateEndpointConnection gets a private endpoint connection // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the site. @@ -14347,8 +14323,7 @@ func (client AppsClient) GetPrivateEndpointConnectionResponder(resp *http.Respon return } -// GetPrivateEndpointConnectionList description for Gets the list of private endpoint connections associated with a -// site +// GetPrivateEndpointConnectionList gets the list of private endpoint connections associated with a site // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the site. @@ -14474,8 +14449,7 @@ func (client AppsClient) GetPrivateEndpointConnectionListComplete(ctx context.Co return } -// GetPrivateEndpointConnectionListSlot description for Gets the list of private endpoint connections associated with a -// site +// GetPrivateEndpointConnectionListSlot gets the list of private endpoint connections associated with a site // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the site. @@ -14603,7 +14577,7 @@ func (client AppsClient) GetPrivateEndpointConnectionListSlotComplete(ctx contex return } -// GetPrivateEndpointConnectionSlot description for Gets a private endpoint connection +// GetPrivateEndpointConnectionSlot gets a private endpoint connection // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the site. @@ -14691,7 +14665,7 @@ func (client AppsClient) GetPrivateEndpointConnectionSlotResponder(resp *http.Re return } -// GetPrivateLinkResources description for Gets the private link resources +// GetPrivateLinkResources gets the private link resources // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the site. @@ -14775,7 +14749,7 @@ func (client AppsClient) GetPrivateLinkResourcesResponder(resp *http.Response) ( return } -// GetPrivateLinkResourcesSlot description for Gets the private link resources +// GetPrivateLinkResourcesSlot gets the private link resources // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the site. @@ -14860,7 +14834,7 @@ func (client AppsClient) GetPrivateLinkResourcesSlotResponder(resp *http.Respons return } -// GetProcess description for Get process information by its ID for a specific scaled-out instance in a web site. +// GetProcess get process information by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -14946,8 +14920,7 @@ func (client AppsClient) GetProcessResponder(resp *http.Response) (result Proces return } -// GetProcessDump description for Get a memory dump of a process by its ID for a specific scaled-out instance in a web -// site. +// GetProcessDump get a memory dump of a process by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -15032,8 +15005,7 @@ func (client AppsClient) GetProcessDumpResponder(resp *http.Response) (result Re return } -// GetProcessDumpSlot description for Get a memory dump of a process by its ID for a specific scaled-out instance in a -// web site. +// GetProcessDumpSlot get a memory dump of a process by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -15121,7 +15093,7 @@ func (client AppsClient) GetProcessDumpSlotResponder(resp *http.Response) (resul return } -// GetProcessModule description for Get process information by its ID for a specific scaled-out instance in a web site. +// GetProcessModule get process information by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -15209,8 +15181,7 @@ func (client AppsClient) GetProcessModuleResponder(resp *http.Response) (result return } -// GetProcessModuleSlot description for Get process information by its ID for a specific scaled-out instance in a web -// site. +// GetProcessModuleSlot get process information by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -15301,7 +15272,7 @@ func (client AppsClient) GetProcessModuleSlotResponder(resp *http.Response) (res return } -// GetProcessSlot description for Get process information by its ID for a specific scaled-out instance in a web site. +// GetProcessSlot get process information by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -15390,7 +15361,7 @@ func (client AppsClient) GetProcessSlotResponder(resp *http.Response) (result Pr return } -// GetPublicCertificate description for Get the named public certificate for an app (or deployment slot, if specified). +// GetPublicCertificate get the named public certificate for an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -15476,8 +15447,7 @@ func (client AppsClient) GetPublicCertificateResponder(resp *http.Response) (res return } -// GetPublicCertificateSlot description for Get the named public certificate for an app (or deployment slot, if -// specified). +// GetPublicCertificateSlot get the named public certificate for an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -15566,7 +15536,7 @@ func (client AppsClient) GetPublicCertificateSlotResponder(resp *http.Response) return } -// GetRelayServiceConnection description for Gets a hybrid connection configuration by its name. +// GetRelayServiceConnection gets a hybrid connection configuration by its name. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -15652,7 +15622,7 @@ func (client AppsClient) GetRelayServiceConnectionResponder(resp *http.Response) return } -// GetRelayServiceConnectionSlot description for Gets a hybrid connection configuration by its name. +// GetRelayServiceConnectionSlot gets a hybrid connection configuration by its name. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -15741,7 +15711,7 @@ func (client AppsClient) GetRelayServiceConnectionSlotResponder(resp *http.Respo return } -// GetScmAllowed description for Returns whether Scm basic auth is allowed on the site or not. +// GetScmAllowed returns whether Scm basic auth is allowed on the site or not. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -15825,7 +15795,7 @@ func (client AppsClient) GetScmAllowedResponder(resp *http.Response) (result Csm return } -// GetScmAllowedSlot description for Returns whether Scm basic auth is allowed on the site or not. +// GetScmAllowedSlot returns whether Scm basic auth is allowed on the site or not. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -15910,7 +15880,7 @@ func (client AppsClient) GetScmAllowedSlotResponder(resp *http.Response) (result return } -// GetSiteConnectionStringKeyVaultReference description for Gets the config reference and status of an app +// GetSiteConnectionStringKeyVaultReference gets the config reference and status of an app // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -15995,8 +15965,7 @@ func (client AppsClient) GetSiteConnectionStringKeyVaultReferenceResponder(resp return } -// GetSiteConnectionStringKeyVaultReferences description for Gets the config reference app settings and status of an -// app +// GetSiteConnectionStringKeyVaultReferences gets the config reference app settings and status of an app // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -16122,7 +16091,7 @@ func (client AppsClient) GetSiteConnectionStringKeyVaultReferencesComplete(ctx c return } -// GetSiteConnectionStringKeyVaultReferenceSlot description for Gets the config reference and status of an app +// GetSiteConnectionStringKeyVaultReferenceSlot gets the config reference and status of an app // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -16208,8 +16177,7 @@ func (client AppsClient) GetSiteConnectionStringKeyVaultReferenceSlotResponder(r return } -// GetSiteConnectionStringKeyVaultReferencesSlot description for Gets the config reference app settings and status of -// an app +// GetSiteConnectionStringKeyVaultReferencesSlot gets the config reference app settings and status of an app // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -16336,7 +16304,7 @@ func (client AppsClient) GetSiteConnectionStringKeyVaultReferencesSlotComplete(c return } -// GetSiteExtension description for Get site extension information by its ID for a web site, or a deployment slot. +// GetSiteExtension get site extension information by its ID for a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -16422,7 +16390,7 @@ func (client AppsClient) GetSiteExtensionResponder(resp *http.Response) (result return } -// GetSiteExtensionSlot description for Get site extension information by its ID for a web site, or a deployment slot. +// GetSiteExtensionSlot get site extension information by its ID for a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -16510,7 +16478,7 @@ func (client AppsClient) GetSiteExtensionSlotResponder(resp *http.Response) (res return } -// GetSitePhpErrorLogFlag description for Gets web app's event logs. +// GetSitePhpErrorLogFlag gets web app's event logs. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -16594,7 +16562,7 @@ func (client AppsClient) GetSitePhpErrorLogFlagResponder(resp *http.Response) (r return } -// GetSitePhpErrorLogFlagSlot description for Gets web app's event logs. +// GetSitePhpErrorLogFlagSlot gets web app's event logs. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -16680,7 +16648,7 @@ func (client AppsClient) GetSitePhpErrorLogFlagSlotResponder(resp *http.Response return } -// GetSlot description for Gets the details of a web, mobile, or API app. +// GetSlot gets the details of a web, mobile, or API app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -16766,7 +16734,7 @@ func (client AppsClient) GetSlotResponder(resp *http.Response) (result Site, err return } -// GetSourceControl description for Gets the source control configuration of an app. +// GetSourceControl gets the source control configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -16850,7 +16818,7 @@ func (client AppsClient) GetSourceControlResponder(resp *http.Response) (result return } -// GetSourceControlSlot description for Gets the source control configuration of an app. +// GetSourceControlSlot gets the source control configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -16937,7 +16905,7 @@ func (client AppsClient) GetSourceControlSlotResponder(resp *http.Response) (res return } -// GetSwiftVirtualNetworkConnection description for Gets a Swift Virtual Network connection. +// GetSwiftVirtualNetworkConnection gets a Swift Virtual Network connection. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -17021,7 +16989,7 @@ func (client AppsClient) GetSwiftVirtualNetworkConnectionResponder(resp *http.Re return } -// GetSwiftVirtualNetworkConnectionSlot description for Gets a Swift Virtual Network connection. +// GetSwiftVirtualNetworkConnectionSlot gets a Swift Virtual Network connection. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -17108,7 +17076,7 @@ func (client AppsClient) GetSwiftVirtualNetworkConnectionSlotResponder(resp *htt return } -// GetTriggeredWebJob description for Gets a triggered web job by its ID for an app, or a deployment slot. +// GetTriggeredWebJob gets a triggered web job by its ID for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -17194,8 +17162,7 @@ func (client AppsClient) GetTriggeredWebJobResponder(resp *http.Response) (resul return } -// GetTriggeredWebJobHistory description for Gets a triggered web job's history by its ID for an app, , or a deployment -// slot. +// GetTriggeredWebJobHistory gets a triggered web job's history by its ID for an app, , or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -17283,8 +17250,7 @@ func (client AppsClient) GetTriggeredWebJobHistoryResponder(resp *http.Response) return } -// GetTriggeredWebJobHistorySlot description for Gets a triggered web job's history by its ID for an app, , or a -// deployment slot. +// GetTriggeredWebJobHistorySlot gets a triggered web job's history by its ID for an app, , or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -17374,7 +17340,7 @@ func (client AppsClient) GetTriggeredWebJobHistorySlotResponder(resp *http.Respo return } -// GetTriggeredWebJobSlot description for Gets a triggered web job by its ID for an app, or a deployment slot. +// GetTriggeredWebJobSlot gets a triggered web job by its ID for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -17462,7 +17428,7 @@ func (client AppsClient) GetTriggeredWebJobSlotResponder(resp *http.Response) (r return } -// GetVnetConnection description for Gets a virtual network the app (or deployment slot) is connected to by name. +// GetVnetConnection gets a virtual network the app (or deployment slot) is connected to by name. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -17548,7 +17514,7 @@ func (client AppsClient) GetVnetConnectionResponder(resp *http.Response) (result return } -// GetVnetConnectionGateway description for Gets an app's Virtual Network gateway. +// GetVnetConnectionGateway gets an app's Virtual Network gateway. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -17636,7 +17602,7 @@ func (client AppsClient) GetVnetConnectionGatewayResponder(resp *http.Response) return } -// GetVnetConnectionGatewaySlot description for Gets an app's Virtual Network gateway. +// GetVnetConnectionGatewaySlot gets an app's Virtual Network gateway. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -17727,7 +17693,7 @@ func (client AppsClient) GetVnetConnectionGatewaySlotResponder(resp *http.Respon return } -// GetVnetConnectionSlot description for Gets a virtual network the app (or deployment slot) is connected to by name. +// GetVnetConnectionSlot gets a virtual network the app (or deployment slot) is connected to by name. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -17816,7 +17782,7 @@ func (client AppsClient) GetVnetConnectionSlotResponder(resp *http.Response) (re return } -// GetWebJob description for Get webjob information for an app, or a deployment slot. +// GetWebJob get webjob information for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -17902,7 +17868,7 @@ func (client AppsClient) GetWebJobResponder(resp *http.Response) (result Job, er return } -// GetWebJobSlot description for Get webjob information for an app, or a deployment slot. +// GetWebJobSlot get webjob information for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -17991,7 +17957,7 @@ func (client AppsClient) GetWebJobSlotResponder(resp *http.Response) (result Job return } -// GetWebSiteContainerLogs description for Gets the last lines of docker logs for the given site +// GetWebSiteContainerLogs gets the last lines of docker logs for the given site // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -18074,7 +18040,7 @@ func (client AppsClient) GetWebSiteContainerLogsResponder(resp *http.Response) ( return } -// GetWebSiteContainerLogsSlot description for Gets the last lines of docker logs for the given site +// GetWebSiteContainerLogsSlot gets the last lines of docker logs for the given site // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -18159,7 +18125,7 @@ func (client AppsClient) GetWebSiteContainerLogsSlotResponder(resp *http.Respons return } -// InstallSiteExtension description for Install site extension on a web site, or a deployment slot. +// InstallSiteExtension install site extension on a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -18248,7 +18214,7 @@ func (client AppsClient) InstallSiteExtensionResponder(resp *http.Response) (res return } -// InstallSiteExtensionSlot description for Install site extension on a web site, or a deployment slot. +// InstallSiteExtensionSlot install site extension on a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -18339,7 +18305,7 @@ func (client AppsClient) InstallSiteExtensionSlotResponder(resp *http.Response) return } -// IsCloneable description for Shows whether an app can be cloned to another resource group or subscription. +// IsCloneable shows whether an app can be cloned to another resource group or subscription. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -18423,7 +18389,7 @@ func (client AppsClient) IsCloneableResponder(resp *http.Response) (result SiteC return } -// IsCloneableSlot description for Shows whether an app can be cloned to another resource group or subscription. +// IsCloneableSlot shows whether an app can be cloned to another resource group or subscription. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -18509,7 +18475,7 @@ func (client AppsClient) IsCloneableSlotResponder(resp *http.Response) (result S return } -// List description for Get all apps for a subscription. +// List get all apps for a subscription. func (client AppsClient) List(ctx context.Context) (result AppCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/AppsClient.List") @@ -18622,7 +18588,7 @@ func (client AppsClient) ListComplete(ctx context.Context) (result AppCollection return } -// ListApplicationSettings description for Gets the application settings of an app. +// ListApplicationSettings gets the application settings of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -18706,7 +18672,7 @@ func (client AppsClient) ListApplicationSettingsResponder(resp *http.Response) ( return } -// ListApplicationSettingsSlot description for Gets the application settings of an app. +// ListApplicationSettingsSlot gets the application settings of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -18793,7 +18759,7 @@ func (client AppsClient) ListApplicationSettingsSlotResponder(resp *http.Respons return } -// ListAzureStorageAccounts description for Gets the Azure storage account configurations of an app. +// ListAzureStorageAccounts gets the Azure storage account configurations of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -18877,7 +18843,7 @@ func (client AppsClient) ListAzureStorageAccountsResponder(resp *http.Response) return } -// ListAzureStorageAccountsSlot description for Gets the Azure storage account configurations of an app. +// ListAzureStorageAccountsSlot gets the Azure storage account configurations of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -18964,7 +18930,7 @@ func (client AppsClient) ListAzureStorageAccountsSlotResponder(resp *http.Respon return } -// ListBackups description for Gets existing backups of an app. +// ListBackups gets existing backups of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -19090,7 +19056,7 @@ func (client AppsClient) ListBackupsComplete(ctx context.Context, resourceGroupN return } -// ListBackupsSlot description for Gets existing backups of an app. +// ListBackupsSlot gets existing backups of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -19219,9 +19185,9 @@ func (client AppsClient) ListBackupsSlotComplete(ctx context.Context, resourceGr return } -// ListBackupStatusSecrets description for Gets status of a web app backup that may be in progress, including secrets -// associated with the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup -// if a new URL is passed in the request body. +// ListBackupStatusSecrets gets status of a web app backup that may be in progress, including secrets associated with +// the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup if a new URL is +// passed in the request body. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -19319,9 +19285,9 @@ func (client AppsClient) ListBackupStatusSecretsResponder(resp *http.Response) ( return } -// ListBackupStatusSecretsSlot description for Gets status of a web app backup that may be in progress, including -// secrets associated with the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for -// the backup if a new URL is passed in the request body. +// ListBackupStatusSecretsSlot gets status of a web app backup that may be in progress, including secrets associated +// with the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup if a new +// URL is passed in the request body. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -19421,8 +19387,8 @@ func (client AppsClient) ListBackupStatusSecretsSlotResponder(resp *http.Respons return } -// ListBasicPublishingCredentialsPolicies description for Returns whether Scm basic auth is allowed and whether Ftp is -// allowed for a given site. +// ListBasicPublishingCredentialsPolicies returns whether Scm basic auth is allowed and whether Ftp is allowed for a +// given site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -19548,8 +19514,8 @@ func (client AppsClient) ListBasicPublishingCredentialsPoliciesComplete(ctx cont return } -// ListBasicPublishingCredentialsPoliciesSlot description for Returns whether Scm basic auth is allowed and whether Ftp -// is allowed for a given site. +// ListBasicPublishingCredentialsPoliciesSlot returns whether Scm basic auth is allowed and whether Ftp is allowed for +// a given site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -19676,7 +19642,7 @@ func (client AppsClient) ListBasicPublishingCredentialsPoliciesSlotComplete(ctx return } -// ListByResourceGroup description for Gets all web, mobile, and API apps in the specified resource group. +// ListByResourceGroup gets all web, mobile, and API apps in the specified resource group. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // includeSlots - specify true to include deployment slots in results. The default is false, @@ -19805,7 +19771,7 @@ func (client AppsClient) ListByResourceGroupComplete(ctx context.Context, resour return } -// ListConfigurations description for List the configurations of an app +// ListConfigurations list the configurations of an app // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -19931,8 +19897,8 @@ func (client AppsClient) ListConfigurationsComplete(ctx context.Context, resourc return } -// ListConfigurationSnapshotInfo description for Gets a list of web app configuration snapshots identifiers. Each -// element of the list contains a timestamp and the ID of the snapshot. +// ListConfigurationSnapshotInfo gets a list of web app configuration snapshots identifiers. Each element of the list +// contains a timestamp and the ID of the snapshot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -20058,8 +20024,8 @@ func (client AppsClient) ListConfigurationSnapshotInfoComplete(ctx context.Conte return } -// ListConfigurationSnapshotInfoSlot description for Gets a list of web app configuration snapshots identifiers. Each -// element of the list contains a timestamp and the ID of the snapshot. +// ListConfigurationSnapshotInfoSlot gets a list of web app configuration snapshots identifiers. Each element of the +// list contains a timestamp and the ID of the snapshot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -20188,7 +20154,7 @@ func (client AppsClient) ListConfigurationSnapshotInfoSlotComplete(ctx context.C return } -// ListConfigurationsSlot description for List the configurations of an app +// ListConfigurationsSlot list the configurations of an app // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -20317,7 +20283,7 @@ func (client AppsClient) ListConfigurationsSlotComplete(ctx context.Context, res return } -// ListConnectionStrings description for Gets the connection strings of an app. +// ListConnectionStrings gets the connection strings of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -20401,7 +20367,7 @@ func (client AppsClient) ListConnectionStringsResponder(resp *http.Response) (re return } -// ListConnectionStringsSlot description for Gets the connection strings of an app. +// ListConnectionStringsSlot gets the connection strings of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -20488,7 +20454,7 @@ func (client AppsClient) ListConnectionStringsSlotResponder(resp *http.Response) return } -// ListContinuousWebJobs description for List continuous web jobs for an app, or a deployment slot. +// ListContinuousWebJobs list continuous web jobs for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -20614,7 +20580,7 @@ func (client AppsClient) ListContinuousWebJobsComplete(ctx context.Context, reso return } -// ListContinuousWebJobsSlot description for List continuous web jobs for an app, or a deployment slot. +// ListContinuousWebJobsSlot list continuous web jobs for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -20743,7 +20709,7 @@ func (client AppsClient) ListContinuousWebJobsSlotComplete(ctx context.Context, return } -// ListDeploymentLog description for List deployment log for specific deployment for an app, or a deployment slot. +// ListDeploymentLog list deployment log for specific deployment for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -20830,7 +20796,7 @@ func (client AppsClient) ListDeploymentLogResponder(resp *http.Response) (result return } -// ListDeploymentLogSlot description for List deployment log for specific deployment for an app, or a deployment slot. +// ListDeploymentLogSlot list deployment log for specific deployment for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -20920,7 +20886,7 @@ func (client AppsClient) ListDeploymentLogSlotResponder(resp *http.Response) (re return } -// ListDeployments description for List deployments for an app, or a deployment slot. +// ListDeployments list deployments for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -21046,7 +21012,7 @@ func (client AppsClient) ListDeploymentsComplete(ctx context.Context, resourceGr return } -// ListDeploymentsSlot description for List deployments for an app, or a deployment slot. +// ListDeploymentsSlot list deployments for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -21175,7 +21141,7 @@ func (client AppsClient) ListDeploymentsSlotComplete(ctx context.Context, resour return } -// ListDomainOwnershipIdentifiers description for Lists ownership identifiers for domain associated with web app. +// ListDomainOwnershipIdentifiers lists ownership identifiers for domain associated with web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -21301,7 +21267,7 @@ func (client AppsClient) ListDomainOwnershipIdentifiersComplete(ctx context.Cont return } -// ListDomainOwnershipIdentifiersSlot description for Lists ownership identifiers for domain associated with web app. +// ListDomainOwnershipIdentifiersSlot lists ownership identifiers for domain associated with web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -21430,7 +21396,7 @@ func (client AppsClient) ListDomainOwnershipIdentifiersSlotComplete(ctx context. return } -// ListFunctionKeys description for Get function keys for a function in a web site, or a deployment slot. +// ListFunctionKeys get function keys for a function in a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -21516,7 +21482,7 @@ func (client AppsClient) ListFunctionKeysResponder(resp *http.Response) (result return } -// ListFunctionKeysSlot description for Get function keys for a function in a web site, or a deployment slot. +// ListFunctionKeysSlot get function keys for a function in a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -21604,7 +21570,7 @@ func (client AppsClient) ListFunctionKeysSlotResponder(resp *http.Response) (res return } -// ListFunctions description for List the functions for a web site, or a deployment slot. +// ListFunctions list the functions for a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -21730,7 +21696,7 @@ func (client AppsClient) ListFunctionsComplete(ctx context.Context, resourceGrou return } -// ListFunctionSecrets description for Get function secrets for a function in a web site, or a deployment slot. +// ListFunctionSecrets get function secrets for a function in a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -21816,7 +21782,7 @@ func (client AppsClient) ListFunctionSecretsResponder(resp *http.Response) (resu return } -// ListFunctionSecretsSlot description for Get function secrets for a function in a web site, or a deployment slot. +// ListFunctionSecretsSlot get function secrets for a function in a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -21904,7 +21870,7 @@ func (client AppsClient) ListFunctionSecretsSlotResponder(resp *http.Response) ( return } -// ListHostKeys description for Get host secrets for a function app. +// ListHostKeys get host secrets for a function app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -21988,7 +21954,7 @@ func (client AppsClient) ListHostKeysResponder(resp *http.Response) (result Host return } -// ListHostKeysSlot description for Get host secrets for a function app. +// ListHostKeysSlot get host secrets for a function app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -22074,7 +22040,7 @@ func (client AppsClient) ListHostKeysSlotResponder(resp *http.Response) (result return } -// ListHostNameBindings description for Get hostname bindings for an app or a deployment slot. +// ListHostNameBindings get hostname bindings for an app or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -22200,7 +22166,7 @@ func (client AppsClient) ListHostNameBindingsComplete(ctx context.Context, resou return } -// ListHostNameBindingsSlot description for Get hostname bindings for an app or a deployment slot. +// ListHostNameBindingsSlot get hostname bindings for an app or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -22329,7 +22295,7 @@ func (client AppsClient) ListHostNameBindingsSlotComplete(ctx context.Context, r return } -// ListHybridConnections description for Retrieves all Service Bus Hybrid Connections used by this Web App. +// ListHybridConnections retrieves all Service Bus Hybrid Connections used by this Web App. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -22413,7 +22379,7 @@ func (client AppsClient) ListHybridConnectionsResponder(resp *http.Response) (re return } -// ListHybridConnectionsSlot description for Retrieves all Service Bus Hybrid Connections used by this Web App. +// ListHybridConnectionsSlot retrieves all Service Bus Hybrid Connections used by this Web App. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -22499,7 +22465,7 @@ func (client AppsClient) ListHybridConnectionsSlotResponder(resp *http.Response) return } -// ListInstanceFunctionsSlot description for List the functions for a web site, or a deployment slot. +// ListInstanceFunctionsSlot list the functions for a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -22627,7 +22593,7 @@ func (client AppsClient) ListInstanceFunctionsSlotComplete(ctx context.Context, return } -// ListInstanceIdentifiers description for Gets all scale-out instances of an app. +// ListInstanceIdentifiers gets all scale-out instances of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -22753,7 +22719,7 @@ func (client AppsClient) ListInstanceIdentifiersComplete(ctx context.Context, re return } -// ListInstanceIdentifiersSlot description for Gets all scale-out instances of an app. +// ListInstanceIdentifiersSlot gets all scale-out instances of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -22881,8 +22847,8 @@ func (client AppsClient) ListInstanceIdentifiersSlotComplete(ctx context.Context return } -// ListInstanceProcesses description for Get list of processes for a web site, or a deployment slot, or for a specific -// scaled-out instance in a web site. +// ListInstanceProcesses get list of processes for a web site, or a deployment slot, or for a specific scaled-out +// instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -23011,8 +22977,8 @@ func (client AppsClient) ListInstanceProcessesComplete(ctx context.Context, reso return } -// ListInstanceProcessesSlot description for Get list of processes for a web site, or a deployment slot, or for a -// specific scaled-out instance in a web site. +// ListInstanceProcessesSlot get list of processes for a web site, or a deployment slot, or for a specific scaled-out +// instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -23144,8 +23110,8 @@ func (client AppsClient) ListInstanceProcessesSlotComplete(ctx context.Context, return } -// ListInstanceProcessModules description for List module information for a process by its ID for a specific scaled-out -// instance in a web site. +// ListInstanceProcessModules list module information for a process by its ID for a specific scaled-out instance in a +// web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -23276,8 +23242,8 @@ func (client AppsClient) ListInstanceProcessModulesComplete(ctx context.Context, return } -// ListInstanceProcessModulesSlot description for List module information for a process by its ID for a specific -// scaled-out instance in a web site. +// ListInstanceProcessModulesSlot list module information for a process by its ID for a specific scaled-out instance in +// a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -23411,8 +23377,7 @@ func (client AppsClient) ListInstanceProcessModulesSlotComplete(ctx context.Cont return } -// ListInstanceProcessThreads description for List the threads in a process by its ID for a specific scaled-out -// instance in a web site. +// ListInstanceProcessThreads list the threads in a process by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -23543,8 +23508,8 @@ func (client AppsClient) ListInstanceProcessThreadsComplete(ctx context.Context, return } -// ListInstanceProcessThreadsSlot description for List the threads in a process by its ID for a specific scaled-out -// instance in a web site. +// ListInstanceProcessThreadsSlot list the threads in a process by its ID for a specific scaled-out instance in a web +// site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -23678,7 +23643,7 @@ func (client AppsClient) ListInstanceProcessThreadsSlotComplete(ctx context.Cont return } -// ListMetadata description for Gets the metadata of an app. +// ListMetadata gets the metadata of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -23762,7 +23727,7 @@ func (client AppsClient) ListMetadataResponder(resp *http.Response) (result Stri return } -// ListMetadataSlot description for Gets the metadata of an app. +// ListMetadataSlot gets the metadata of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -23849,7 +23814,7 @@ func (client AppsClient) ListMetadataSlotResponder(resp *http.Response) (result return } -// ListNetworkFeatures description for Gets all network features used by the app (or deployment slot, if specified). +// ListNetworkFeatures gets all network features used by the app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -23935,8 +23900,7 @@ func (client AppsClient) ListNetworkFeaturesResponder(resp *http.Response) (resu return } -// ListNetworkFeaturesSlot description for Gets all network features used by the app (or deployment slot, if -// specified). +// ListNetworkFeaturesSlot gets all network features used by the app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -24025,7 +23989,7 @@ func (client AppsClient) ListNetworkFeaturesSlotResponder(resp *http.Response) ( return } -// ListPerfMonCounters description for Gets perfmon counters for web app. +// ListPerfMonCounters gets perfmon counters for web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -24157,7 +24121,7 @@ func (client AppsClient) ListPerfMonCountersComplete(ctx context.Context, resour return } -// ListPerfMonCountersSlot description for Gets perfmon counters for web app. +// ListPerfMonCountersSlot gets perfmon counters for web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -24291,7 +24255,7 @@ func (client AppsClient) ListPerfMonCountersSlotComplete(ctx context.Context, re return } -// ListPremierAddOns description for Gets the premier add-ons of an app. +// ListPremierAddOns gets the premier add-ons of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -24375,7 +24339,7 @@ func (client AppsClient) ListPremierAddOnsResponder(resp *http.Response) (result return } -// ListPremierAddOnsSlot description for Gets the premier add-ons of an app. +// ListPremierAddOnsSlot gets the premier add-ons of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -24462,8 +24426,8 @@ func (client AppsClient) ListPremierAddOnsSlotResponder(resp *http.Response) (re return } -// ListProcesses description for Get list of processes for a web site, or a deployment slot, or for a specific -// scaled-out instance in a web site. +// ListProcesses get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a +// web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -24589,8 +24553,8 @@ func (client AppsClient) ListProcessesComplete(ctx context.Context, resourceGrou return } -// ListProcessesSlot description for Get list of processes for a web site, or a deployment slot, or for a specific -// scaled-out instance in a web site. +// ListProcessesSlot get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance +// in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -24719,8 +24683,7 @@ func (client AppsClient) ListProcessesSlotComplete(ctx context.Context, resource return } -// ListProcessModules description for List module information for a process by its ID for a specific scaled-out -// instance in a web site. +// ListProcessModules list module information for a process by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -24848,8 +24811,8 @@ func (client AppsClient) ListProcessModulesComplete(ctx context.Context, resourc return } -// ListProcessModulesSlot description for List module information for a process by its ID for a specific scaled-out -// instance in a web site. +// ListProcessModulesSlot list module information for a process by its ID for a specific scaled-out instance in a web +// site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -24980,8 +24943,7 @@ func (client AppsClient) ListProcessModulesSlotComplete(ctx context.Context, res return } -// ListProcessThreads description for List the threads in a process by its ID for a specific scaled-out instance in a -// web site. +// ListProcessThreads list the threads in a process by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -25109,8 +25071,7 @@ func (client AppsClient) ListProcessThreadsComplete(ctx context.Context, resourc return } -// ListProcessThreadsSlot description for List the threads in a process by its ID for a specific scaled-out instance in -// a web site. +// ListProcessThreadsSlot list the threads in a process by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -25241,7 +25202,7 @@ func (client AppsClient) ListProcessThreadsSlotComplete(ctx context.Context, res return } -// ListPublicCertificates description for Get public certificates for an app or a deployment slot. +// ListPublicCertificates get public certificates for an app or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -25367,7 +25328,7 @@ func (client AppsClient) ListPublicCertificatesComplete(ctx context.Context, res return } -// ListPublicCertificatesSlot description for Get public certificates for an app or a deployment slot. +// ListPublicCertificatesSlot get public certificates for an app or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -25496,7 +25457,7 @@ func (client AppsClient) ListPublicCertificatesSlotComplete(ctx context.Context, return } -// ListPublishingCredentials description for Gets the Git/FTP publishing credentials of an app. +// ListPublishingCredentials gets the Git/FTP publishing credentials of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -25583,7 +25544,7 @@ func (client AppsClient) ListPublishingCredentialsResponder(resp *http.Response) return } -// ListPublishingCredentialsSlot description for Gets the Git/FTP publishing credentials of an app. +// ListPublishingCredentialsSlot gets the Git/FTP publishing credentials of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -25673,8 +25634,7 @@ func (client AppsClient) ListPublishingCredentialsSlotResponder(resp *http.Respo return } -// ListPublishingProfileXMLWithSecrets description for Gets the publishing profile for an app (or deployment slot, if -// specified). +// ListPublishingProfileXMLWithSecrets gets the publishing profile for an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -25761,8 +25721,7 @@ func (client AppsClient) ListPublishingProfileXMLWithSecretsResponder(resp *http return } -// ListPublishingProfileXMLWithSecretsSlot description for Gets the publishing profile for an app (or deployment slot, -// if specified). +// ListPublishingProfileXMLWithSecretsSlot gets the publishing profile for an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -25852,8 +25811,7 @@ func (client AppsClient) ListPublishingProfileXMLWithSecretsSlotResponder(resp * return } -// ListRelayServiceConnections description for Gets hybrid connections configured for an app (or deployment slot, if -// specified). +// ListRelayServiceConnections gets hybrid connections configured for an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -25937,8 +25895,7 @@ func (client AppsClient) ListRelayServiceConnectionsResponder(resp *http.Respons return } -// ListRelayServiceConnectionsSlot description for Gets hybrid connections configured for an app (or deployment slot, -// if specified). +// ListRelayServiceConnectionsSlot gets hybrid connections configured for an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -26025,7 +25982,7 @@ func (client AppsClient) ListRelayServiceConnectionsSlotResponder(resp *http.Res return } -// ListSiteBackups description for Gets existing backups of an app. +// ListSiteBackups gets existing backups of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -26151,7 +26108,7 @@ func (client AppsClient) ListSiteBackupsComplete(ctx context.Context, resourceGr return } -// ListSiteBackupsSlot description for Gets existing backups of an app. +// ListSiteBackupsSlot gets existing backups of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -26280,7 +26237,7 @@ func (client AppsClient) ListSiteBackupsSlotComplete(ctx context.Context, resour return } -// ListSiteExtensions description for Get list of siteextensions for a web site, or a deployment slot. +// ListSiteExtensions get list of siteextensions for a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -26406,7 +26363,7 @@ func (client AppsClient) ListSiteExtensionsComplete(ctx context.Context, resourc return } -// ListSiteExtensionsSlot description for Get list of siteextensions for a web site, or a deployment slot. +// ListSiteExtensionsSlot get list of siteextensions for a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -26534,7 +26491,7 @@ func (client AppsClient) ListSiteExtensionsSlotComplete(ctx context.Context, res return } -// ListSitePushSettings description for Gets the Push settings associated with web app. +// ListSitePushSettings gets the Push settings associated with web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -26618,7 +26575,7 @@ func (client AppsClient) ListSitePushSettingsResponder(resp *http.Response) (res return } -// ListSitePushSettingsSlot description for Gets the Push settings associated with web app. +// ListSitePushSettingsSlot gets the Push settings associated with web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -26704,8 +26661,8 @@ func (client AppsClient) ListSitePushSettingsSlotResponder(resp *http.Response) return } -// ListSlotConfigurationNames description for Gets the names of app settings and connection strings that stick to the -// slot (not swapped). +// ListSlotConfigurationNames gets the names of app settings and connection strings that stick to the slot (not +// swapped). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -26789,8 +26746,7 @@ func (client AppsClient) ListSlotConfigurationNamesResponder(resp *http.Response return } -// ListSlotDifferencesFromProduction description for Get the difference in configuration settings between two web app -// slots. +// ListSlotDifferencesFromProduction get the difference in configuration settings between two web app slots. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -26922,7 +26878,7 @@ func (client AppsClient) ListSlotDifferencesFromProductionComplete(ctx context.C return } -// ListSlotDifferencesSlot description for Get the difference in configuration settings between two web app slots. +// ListSlotDifferencesSlot get the difference in configuration settings between two web app slots. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -27056,7 +27012,7 @@ func (client AppsClient) ListSlotDifferencesSlotComplete(ctx context.Context, re return } -// ListSlots description for Gets an app's deployment slots. +// ListSlots gets an app's deployment slots. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -27182,7 +27138,7 @@ func (client AppsClient) ListSlotsComplete(ctx context.Context, resourceGroupNam return } -// ListSnapshots description for Returns all Snapshots to the user. +// ListSnapshots returns all Snapshots to the user. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - website Name. @@ -27308,7 +27264,7 @@ func (client AppsClient) ListSnapshotsComplete(ctx context.Context, resourceGrou return } -// ListSnapshotsFromDRSecondary description for Returns all Snapshots to the user from DRSecondary endpoint. +// ListSnapshotsFromDRSecondary returns all Snapshots to the user from DRSecondary endpoint. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - website Name. @@ -27434,7 +27390,7 @@ func (client AppsClient) ListSnapshotsFromDRSecondaryComplete(ctx context.Contex return } -// ListSnapshotsFromDRSecondarySlot description for Returns all Snapshots to the user from DRSecondary endpoint. +// ListSnapshotsFromDRSecondarySlot returns all Snapshots to the user from DRSecondary endpoint. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - website Name. @@ -27562,7 +27518,7 @@ func (client AppsClient) ListSnapshotsFromDRSecondarySlotComplete(ctx context.Co return } -// ListSnapshotsSlot description for Returns all Snapshots to the user. +// ListSnapshotsSlot returns all Snapshots to the user. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - website Name. @@ -27690,7 +27646,7 @@ func (client AppsClient) ListSnapshotsSlotComplete(ctx context.Context, resource return } -// ListSyncFunctionTriggers description for This is to allow calling via powershell and ARM template. +// ListSyncFunctionTriggers this is to allow calling via powershell and ARM template. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -27774,7 +27730,7 @@ func (client AppsClient) ListSyncFunctionTriggersResponder(resp *http.Response) return } -// ListSyncFunctionTriggersSlot description for This is to allow calling via powershell and ARM template. +// ListSyncFunctionTriggersSlot this is to allow calling via powershell and ARM template. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -27860,7 +27816,7 @@ func (client AppsClient) ListSyncFunctionTriggersSlotResponder(resp *http.Respon return } -// ListSyncStatus description for This is to allow calling via powershell and ARM template. +// ListSyncStatus this is to allow calling via powershell and ARM template. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -27943,7 +27899,7 @@ func (client AppsClient) ListSyncStatusResponder(resp *http.Response) (result au return } -// ListSyncStatusSlot description for This is to allow calling via powershell and ARM template. +// ListSyncStatusSlot this is to allow calling via powershell and ARM template. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -28028,7 +27984,7 @@ func (client AppsClient) ListSyncStatusSlotResponder(resp *http.Response) (resul return } -// ListTriggeredWebJobHistory description for List a triggered web job's history for an app, or a deployment slot. +// ListTriggeredWebJobHistory list a triggered web job's history for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -28156,7 +28112,7 @@ func (client AppsClient) ListTriggeredWebJobHistoryComplete(ctx context.Context, return } -// ListTriggeredWebJobHistorySlot description for List a triggered web job's history for an app, or a deployment slot. +// ListTriggeredWebJobHistorySlot list a triggered web job's history for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -28286,7 +28242,7 @@ func (client AppsClient) ListTriggeredWebJobHistorySlotComplete(ctx context.Cont return } -// ListTriggeredWebJobs description for List triggered web jobs for an app, or a deployment slot. +// ListTriggeredWebJobs list triggered web jobs for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -28412,7 +28368,7 @@ func (client AppsClient) ListTriggeredWebJobsComplete(ctx context.Context, resou return } -// ListTriggeredWebJobsSlot description for List triggered web jobs for an app, or a deployment slot. +// ListTriggeredWebJobsSlot list triggered web jobs for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -28541,7 +28497,7 @@ func (client AppsClient) ListTriggeredWebJobsSlotComplete(ctx context.Context, r return } -// ListUsages description for Gets the quota usage information of an app (or deployment slot, if specified). +// ListUsages gets the quota usage information of an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -28673,7 +28629,7 @@ func (client AppsClient) ListUsagesComplete(ctx context.Context, resourceGroupNa return } -// ListUsagesSlot description for Gets the quota usage information of an app (or deployment slot, if specified). +// ListUsagesSlot gets the quota usage information of an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -28808,7 +28764,7 @@ func (client AppsClient) ListUsagesSlotComplete(ctx context.Context, resourceGro return } -// ListVnetConnections description for Gets the virtual networks the app (or deployment slot) is connected to. +// ListVnetConnections gets the virtual networks the app (or deployment slot) is connected to. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -28892,7 +28848,7 @@ func (client AppsClient) ListVnetConnectionsResponder(resp *http.Response) (resu return } -// ListVnetConnectionsSlot description for Gets the virtual networks the app (or deployment slot) is connected to. +// ListVnetConnectionsSlot gets the virtual networks the app (or deployment slot) is connected to. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -28979,7 +28935,7 @@ func (client AppsClient) ListVnetConnectionsSlotResponder(resp *http.Response) ( return } -// ListWebJobs description for List webjobs for an app, or a deployment slot. +// ListWebJobs list webjobs for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -29105,7 +29061,7 @@ func (client AppsClient) ListWebJobsComplete(ctx context.Context, resourceGroupN return } -// ListWebJobsSlot description for List webjobs for an app, or a deployment slot. +// ListWebJobsSlot list webjobs for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -29234,7 +29190,7 @@ func (client AppsClient) ListWebJobsSlotComplete(ctx context.Context, resourceGr return } -// MigrateMySQL description for Migrates a local (in-app) MySql database to a remote MySql database. +// MigrateMySQL migrates a local (in-app) MySql database to a remote MySql database. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -29327,7 +29283,7 @@ func (client AppsClient) MigrateMySQLResponder(resp *http.Response) (result Oper return } -// MigrateStorage description for Restores a web app. +// MigrateStorage restores a web app. // Parameters: // subscriptionName - azure subscription. // resourceGroupName - name of the resource group to which the resource belongs. @@ -29424,8 +29380,8 @@ func (client AppsClient) MigrateStorageResponder(resp *http.Response) (result St return } -// PutPrivateAccessVnet description for Sets data around private site access enablement and authorized Virtual Networks -// that can access the site. +// PutPrivateAccessVnet sets data around private site access enablement and authorized Virtual Networks that can access +// the site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -29512,8 +29468,8 @@ func (client AppsClient) PutPrivateAccessVnetResponder(resp *http.Response) (res return } -// PutPrivateAccessVnetSlot description for Sets data around private site access enablement and authorized Virtual -// Networks that can access the site. +// PutPrivateAccessVnetSlot sets data around private site access enablement and authorized Virtual Networks that can +// access the site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -29602,7 +29558,7 @@ func (client AppsClient) PutPrivateAccessVnetSlotResponder(resp *http.Response) return } -// RecoverSiteConfigurationSnapshot description for Reverts the configuration of an app to a previous snapshot. +// RecoverSiteConfigurationSnapshot reverts the configuration of an app to a previous snapshot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -29687,7 +29643,7 @@ func (client AppsClient) RecoverSiteConfigurationSnapshotResponder(resp *http.Re return } -// RecoverSiteConfigurationSnapshotSlot description for Reverts the configuration of an app to a previous snapshot. +// RecoverSiteConfigurationSnapshotSlot reverts the configuration of an app to a previous snapshot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -29775,8 +29731,8 @@ func (client AppsClient) RecoverSiteConfigurationSnapshotSlotResponder(resp *htt return } -// ResetProductionSlotConfig description for Resets the configuration settings of the current slot if they were -// previously modified by calling the API with POST. +// ResetProductionSlotConfig resets the configuration settings of the current slot if they were previously modified by +// calling the API with POST. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -29859,8 +29815,8 @@ func (client AppsClient) ResetProductionSlotConfigResponder(resp *http.Response) return } -// ResetSlotConfigurationSlot description for Resets the configuration settings of the current slot if they were -// previously modified by calling the API with POST. +// ResetSlotConfigurationSlot resets the configuration settings of the current slot if they were previously modified by +// calling the API with POST. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -29946,7 +29902,7 @@ func (client AppsClient) ResetSlotConfigurationSlotResponder(resp *http.Response return } -// Restart description for Restarts an app (or deployment slot, if specified). +// Restart restarts an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -30039,7 +29995,7 @@ func (client AppsClient) RestartResponder(resp *http.Response) (result autorest. return } -// RestartSlot description for Restarts an app (or deployment slot, if specified). +// RestartSlot restarts an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -30134,7 +30090,7 @@ func (client AppsClient) RestartSlotResponder(resp *http.Response) (result autor return } -// Restore description for Restores a specific backup to another app (or deployment slot, if specified). +// Restore restores a specific backup to another app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -30230,7 +30186,7 @@ func (client AppsClient) RestoreResponder(resp *http.Response) (result autorest. return } -// RestoreFromBackupBlob description for Restores an app from a backup blob in Azure Storage. +// RestoreFromBackupBlob restores an app from a backup blob in Azure Storage. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -30324,7 +30280,7 @@ func (client AppsClient) RestoreFromBackupBlobResponder(resp *http.Response) (re return } -// RestoreFromBackupBlobSlot description for Restores an app from a backup blob in Azure Storage. +// RestoreFromBackupBlobSlot restores an app from a backup blob in Azure Storage. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -30421,7 +30377,7 @@ func (client AppsClient) RestoreFromBackupBlobSlotResponder(resp *http.Response) return } -// RestoreFromDeletedApp description for Restores a deleted web app to this web app. +// RestoreFromDeletedApp restores a deleted web app to this web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -30510,7 +30466,7 @@ func (client AppsClient) RestoreFromDeletedAppResponder(resp *http.Response) (re return } -// RestoreFromDeletedAppSlot description for Restores a deleted web app to this web app. +// RestoreFromDeletedAppSlot restores a deleted web app to this web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -30601,7 +30557,7 @@ func (client AppsClient) RestoreFromDeletedAppSlotResponder(resp *http.Response) return } -// RestoreSlot description for Restores a specific backup to another app (or deployment slot, if specified). +// RestoreSlot restores a specific backup to another app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -30700,7 +30656,7 @@ func (client AppsClient) RestoreSlotResponder(resp *http.Response) (result autor return } -// RestoreSnapshot description for Restores a web app from a snapshot. +// RestoreSnapshot restores a web app from a snapshot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -30793,7 +30749,7 @@ func (client AppsClient) RestoreSnapshotResponder(resp *http.Response) (result a return } -// RestoreSnapshotSlot description for Restores a web app from a snapshot. +// RestoreSnapshotSlot restores a web app from a snapshot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -30888,7 +30844,7 @@ func (client AppsClient) RestoreSnapshotSlotResponder(resp *http.Response) (resu return } -// RunTriggeredWebJob description for Run a triggered web job for an app, or a deployment slot. +// RunTriggeredWebJob run a triggered web job for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -30973,7 +30929,7 @@ func (client AppsClient) RunTriggeredWebJobResponder(resp *http.Response) (resul return } -// RunTriggeredWebJobSlot description for Run a triggered web job for an app, or a deployment slot. +// RunTriggeredWebJobSlot run a triggered web job for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -31060,7 +31016,7 @@ func (client AppsClient) RunTriggeredWebJobSlotResponder(resp *http.Response) (r return } -// Start description for Starts an app (or deployment slot, if specified). +// Start starts an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -31143,7 +31099,7 @@ func (client AppsClient) StartResponder(resp *http.Response) (result autorest.Re return } -// StartContinuousWebJob description for Start a continuous web job for an app, or a deployment slot. +// StartContinuousWebJob start a continuous web job for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -31228,7 +31184,7 @@ func (client AppsClient) StartContinuousWebJobResponder(resp *http.Response) (re return } -// StartContinuousWebJobSlot description for Start a continuous web job for an app, or a deployment slot. +// StartContinuousWebJobSlot start a continuous web job for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -31316,7 +31272,7 @@ func (client AppsClient) StartContinuousWebJobSlotResponder(resp *http.Response) return } -// StartNetworkTrace description for Start capturing network packets for the site. +// StartNetworkTrace start capturing network packets for the site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -31415,7 +31371,7 @@ func (client AppsClient) StartNetworkTraceResponder(resp *http.Response) (result return } -// StartNetworkTraceSlot description for Start capturing network packets for the site. +// StartNetworkTraceSlot start capturing network packets for the site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -31516,7 +31472,7 @@ func (client AppsClient) StartNetworkTraceSlotResponder(resp *http.Response) (re return } -// StartSlot description for Starts an app (or deployment slot, if specified). +// StartSlot starts an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -31601,7 +31557,7 @@ func (client AppsClient) StartSlotResponder(resp *http.Response) (result autores return } -// StartWebSiteNetworkTrace description for Start capturing network packets for the site (To be deprecated). +// StartWebSiteNetworkTrace start capturing network packets for the site (To be deprecated). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -31697,7 +31653,7 @@ func (client AppsClient) StartWebSiteNetworkTraceResponder(resp *http.Response) return } -// StartWebSiteNetworkTraceOperation description for Start capturing network packets for the site. +// StartWebSiteNetworkTraceOperation start capturing network packets for the site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -31796,7 +31752,7 @@ func (client AppsClient) StartWebSiteNetworkTraceOperationResponder(resp *http.R return } -// StartWebSiteNetworkTraceOperationSlot description for Start capturing network packets for the site. +// StartWebSiteNetworkTraceOperationSlot start capturing network packets for the site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -31897,7 +31853,7 @@ func (client AppsClient) StartWebSiteNetworkTraceOperationSlotResponder(resp *ht return } -// StartWebSiteNetworkTraceSlot description for Start capturing network packets for the site (To be deprecated). +// StartWebSiteNetworkTraceSlot start capturing network packets for the site (To be deprecated). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -31995,7 +31951,7 @@ func (client AppsClient) StartWebSiteNetworkTraceSlotResponder(resp *http.Respon return } -// Stop description for Stops an app (or deployment slot, if specified). +// Stop stops an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -32078,7 +32034,7 @@ func (client AppsClient) StopResponder(resp *http.Response) (result autorest.Res return } -// StopContinuousWebJob description for Stop a continuous web job for an app, or a deployment slot. +// StopContinuousWebJob stop a continuous web job for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -32163,7 +32119,7 @@ func (client AppsClient) StopContinuousWebJobResponder(resp *http.Response) (res return } -// StopContinuousWebJobSlot description for Stop a continuous web job for an app, or a deployment slot. +// StopContinuousWebJobSlot stop a continuous web job for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -32251,7 +32207,7 @@ func (client AppsClient) StopContinuousWebJobSlotResponder(resp *http.Response) return } -// StopNetworkTrace description for Stop ongoing capturing network packets for the site. +// StopNetworkTrace stop ongoing capturing network packets for the site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -32334,7 +32290,7 @@ func (client AppsClient) StopNetworkTraceResponder(resp *http.Response) (result return } -// StopNetworkTraceSlot description for Stop ongoing capturing network packets for the site. +// StopNetworkTraceSlot stop ongoing capturing network packets for the site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -32419,7 +32375,7 @@ func (client AppsClient) StopNetworkTraceSlotResponder(resp *http.Response) (res return } -// StopSlot description for Stops an app (or deployment slot, if specified). +// StopSlot stops an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -32504,7 +32460,7 @@ func (client AppsClient) StopSlotResponder(resp *http.Response) (result autorest return } -// StopWebSiteNetworkTrace description for Stop ongoing capturing network packets for the site. +// StopWebSiteNetworkTrace stop ongoing capturing network packets for the site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -32587,7 +32543,7 @@ func (client AppsClient) StopWebSiteNetworkTraceResponder(resp *http.Response) ( return } -// StopWebSiteNetworkTraceSlot description for Stop ongoing capturing network packets for the site. +// StopWebSiteNetworkTraceSlot stop ongoing capturing network packets for the site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -32672,7 +32628,7 @@ func (client AppsClient) StopWebSiteNetworkTraceSlotResponder(resp *http.Respons return } -// SwapSlotSlot description for Swaps two deployment slots of an app. +// SwapSlotSlot swaps two deployment slots of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -32766,7 +32722,7 @@ func (client AppsClient) SwapSlotSlotResponder(resp *http.Response) (result auto return } -// SwapSlotWithProduction description for Swaps two deployment slots of an app. +// SwapSlotWithProduction swaps two deployment slots of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -32858,7 +32814,7 @@ func (client AppsClient) SwapSlotWithProductionResponder(resp *http.Response) (r return } -// SyncFunctions description for Syncs function trigger metadata to the management database +// SyncFunctions syncs function trigger metadata to the management database // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -32941,7 +32897,7 @@ func (client AppsClient) SyncFunctionsResponder(resp *http.Response) (result aut return } -// SyncFunctionsSlot description for Syncs function trigger metadata to the management database +// SyncFunctionsSlot syncs function trigger metadata to the management database // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -33026,7 +32982,7 @@ func (client AppsClient) SyncFunctionsSlotResponder(resp *http.Response) (result return } -// SyncFunctionTriggers description for Syncs function trigger metadata to the management database +// SyncFunctionTriggers syncs function trigger metadata to the management database // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -33109,7 +33065,7 @@ func (client AppsClient) SyncFunctionTriggersResponder(resp *http.Response) (res return } -// SyncFunctionTriggersSlot description for Syncs function trigger metadata to the management database +// SyncFunctionTriggersSlot syncs function trigger metadata to the management database // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -33194,7 +33150,7 @@ func (client AppsClient) SyncFunctionTriggersSlotResponder(resp *http.Response) return } -// SyncRepository description for Sync web app repository. +// SyncRepository sync web app repository. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -33277,7 +33233,7 @@ func (client AppsClient) SyncRepositoryResponder(resp *http.Response) (result au return } -// SyncRepositorySlot description for Sync web app repository. +// SyncRepositorySlot sync web app repository. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -33362,8 +33318,7 @@ func (client AppsClient) SyncRepositorySlotResponder(resp *http.Response) (resul return } -// Update description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing -// app. +// Update creates a new web, mobile, or API app in an existing resource group, or updates an existing app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - unique name of the app to create or update. To create or update a deployment slot, use the {slot} @@ -33451,7 +33406,7 @@ func (client AppsClient) UpdateResponder(resp *http.Response) (result Site, err return } -// UpdateApplicationSettings description for Replaces the application settings of an app. +// UpdateApplicationSettings replaces the application settings of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -33538,7 +33493,7 @@ func (client AppsClient) UpdateApplicationSettingsResponder(resp *http.Response) return } -// UpdateApplicationSettingsSlot description for Replaces the application settings of an app. +// UpdateApplicationSettingsSlot replaces the application settings of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -33628,7 +33583,7 @@ func (client AppsClient) UpdateApplicationSettingsSlotResponder(resp *http.Respo return } -// UpdateAuthSettings description for Updates the Authentication / Authorization settings associated with web app. +// UpdateAuthSettings updates the Authentication / Authorization settings associated with web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -33715,7 +33670,7 @@ func (client AppsClient) UpdateAuthSettingsResponder(resp *http.Response) (resul return } -// UpdateAuthSettingsSlot description for Updates the Authentication / Authorization settings associated with web app. +// UpdateAuthSettingsSlot updates the Authentication / Authorization settings associated with web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -33804,8 +33759,7 @@ func (client AppsClient) UpdateAuthSettingsSlotResponder(resp *http.Response) (r return } -// UpdateAuthSettingsV2 description for Updates site's Authentication / Authorization settings for apps via the V2 -// format +// UpdateAuthSettingsV2 updates site's Authentication / Authorization settings for apps via the V2 format // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -33892,8 +33846,7 @@ func (client AppsClient) UpdateAuthSettingsV2Responder(resp *http.Response) (res return } -// UpdateAuthSettingsV2Slot description for Updates site's Authentication / Authorization settings for apps via the V2 -// format +// UpdateAuthSettingsV2Slot updates site's Authentication / Authorization settings for apps via the V2 format // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -33982,7 +33935,7 @@ func (client AppsClient) UpdateAuthSettingsV2SlotResponder(resp *http.Response) return } -// UpdateAzureStorageAccounts description for Updates the Azure storage account configurations of an app. +// UpdateAzureStorageAccounts updates the Azure storage account configurations of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -34069,7 +34022,7 @@ func (client AppsClient) UpdateAzureStorageAccountsResponder(resp *http.Response return } -// UpdateAzureStorageAccountsSlot description for Updates the Azure storage account configurations of an app. +// UpdateAzureStorageAccountsSlot updates the Azure storage account configurations of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -34159,7 +34112,7 @@ func (client AppsClient) UpdateAzureStorageAccountsSlotResponder(resp *http.Resp return } -// UpdateBackupConfiguration description for Updates the backup configuration of an app. +// UpdateBackupConfiguration updates the backup configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -34255,7 +34208,7 @@ func (client AppsClient) UpdateBackupConfigurationResponder(resp *http.Response) return } -// UpdateBackupConfigurationSlot description for Updates the backup configuration of an app. +// UpdateBackupConfigurationSlot updates the backup configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -34354,7 +34307,7 @@ func (client AppsClient) UpdateBackupConfigurationSlotResponder(resp *http.Respo return } -// UpdateConfiguration description for Updates the configuration of an app. +// UpdateConfiguration updates the configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -34441,7 +34394,7 @@ func (client AppsClient) UpdateConfigurationResponder(resp *http.Response) (resu return } -// UpdateConfigurationSlot description for Updates the configuration of an app. +// UpdateConfigurationSlot updates the configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -34531,7 +34484,7 @@ func (client AppsClient) UpdateConfigurationSlotResponder(resp *http.Response) ( return } -// UpdateConnectionStrings description for Replaces the connection strings of an app. +// UpdateConnectionStrings replaces the connection strings of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -34618,7 +34571,7 @@ func (client AppsClient) UpdateConnectionStringsResponder(resp *http.Response) ( return } -// UpdateConnectionStringsSlot description for Replaces the connection strings of an app. +// UpdateConnectionStringsSlot replaces the connection strings of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -34708,7 +34661,7 @@ func (client AppsClient) UpdateConnectionStringsSlotResponder(resp *http.Respons return } -// UpdateDiagnosticLogsConfig description for Updates the logging configuration of an app. +// UpdateDiagnosticLogsConfig updates the logging configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -34811,7 +34764,7 @@ func (client AppsClient) UpdateDiagnosticLogsConfigResponder(resp *http.Response return } -// UpdateDiagnosticLogsConfigSlot description for Updates the logging configuration of an app. +// UpdateDiagnosticLogsConfigSlot updates the logging configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -34917,8 +34870,8 @@ func (client AppsClient) UpdateDiagnosticLogsConfigSlotResponder(resp *http.Resp return } -// UpdateDomainOwnershipIdentifier description for Creates a domain ownership identifier for web app, or updates an -// existing ownership identifier. +// UpdateDomainOwnershipIdentifier creates a domain ownership identifier for web app, or updates an existing ownership +// identifier. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -35007,8 +34960,8 @@ func (client AppsClient) UpdateDomainOwnershipIdentifierResponder(resp *http.Res return } -// UpdateDomainOwnershipIdentifierSlot description for Creates a domain ownership identifier for web app, or updates an -// existing ownership identifier. +// UpdateDomainOwnershipIdentifierSlot creates a domain ownership identifier for web app, or updates an existing +// ownership identifier. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -35100,7 +35053,7 @@ func (client AppsClient) UpdateDomainOwnershipIdentifierSlotResponder(resp *http return } -// UpdateFtpAllowed description for Updates whether FTP is allowed on the site or not. +// UpdateFtpAllowed updates whether FTP is allowed on the site or not. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -35189,7 +35142,7 @@ func (client AppsClient) UpdateFtpAllowedResponder(resp *http.Response) (result return } -// UpdateFtpAllowedSlot description for Updates whether FTP is allowed on the site or not. +// UpdateFtpAllowedSlot updates whether FTP is allowed on the site or not. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -35279,7 +35232,7 @@ func (client AppsClient) UpdateFtpAllowedSlotResponder(resp *http.Response) (res return } -// UpdateHybridConnection description for Creates a new Hybrid Connection using a Service Bus relay. +// UpdateHybridConnection creates a new Hybrid Connection using a Service Bus relay. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -35370,7 +35323,7 @@ func (client AppsClient) UpdateHybridConnectionResponder(resp *http.Response) (r return } -// UpdateHybridConnectionSlot description for Creates a new Hybrid Connection using a Service Bus relay. +// UpdateHybridConnectionSlot creates a new Hybrid Connection using a Service Bus relay. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -35463,7 +35416,7 @@ func (client AppsClient) UpdateHybridConnectionSlotResponder(resp *http.Response return } -// UpdateMetadata description for Replaces the metadata of an app. +// UpdateMetadata replaces the metadata of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -35550,7 +35503,7 @@ func (client AppsClient) UpdateMetadataResponder(resp *http.Response) (result St return } -// UpdateMetadataSlot description for Replaces the metadata of an app. +// UpdateMetadataSlot replaces the metadata of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -35640,7 +35593,7 @@ func (client AppsClient) UpdateMetadataSlotResponder(resp *http.Response) (resul return } -// UpdatePremierAddOn description for Updates a named add-on of an app. +// UpdatePremierAddOn updates a named add-on of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -35729,7 +35682,7 @@ func (client AppsClient) UpdatePremierAddOnResponder(resp *http.Response) (resul return } -// UpdatePremierAddOnSlot description for Updates a named add-on of an app. +// UpdatePremierAddOnSlot updates a named add-on of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -35821,8 +35774,8 @@ func (client AppsClient) UpdatePremierAddOnSlotResponder(resp *http.Response) (r return } -// UpdateRelayServiceConnection description for Creates a new hybrid connection configuration (PUT), or updates an -// existing one (PATCH). +// UpdateRelayServiceConnection creates a new hybrid connection configuration (PUT), or updates an existing one +// (PATCH). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -35911,8 +35864,8 @@ func (client AppsClient) UpdateRelayServiceConnectionResponder(resp *http.Respon return } -// UpdateRelayServiceConnectionSlot description for Creates a new hybrid connection configuration (PUT), or updates an -// existing one (PATCH). +// UpdateRelayServiceConnectionSlot creates a new hybrid connection configuration (PUT), or updates an existing one +// (PATCH). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -36004,7 +35957,7 @@ func (client AppsClient) UpdateRelayServiceConnectionSlotResponder(resp *http.Re return } -// UpdateScmAllowed description for Updates whether user publishing credentials are allowed on the site or not. +// UpdateScmAllowed updates whether user publishing credentials are allowed on the site or not. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -36093,7 +36046,7 @@ func (client AppsClient) UpdateScmAllowedResponder(resp *http.Response) (result return } -// UpdateScmAllowedSlot description for Updates whether user publishing credentials are allowed on the site or not. +// UpdateScmAllowedSlot updates whether user publishing credentials are allowed on the site or not. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -36183,7 +36136,7 @@ func (client AppsClient) UpdateScmAllowedSlotResponder(resp *http.Response) (res return } -// UpdateSitePushSettings description for Updates the Push settings associated with web app. +// UpdateSitePushSettings updates the Push settings associated with web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -36273,7 +36226,7 @@ func (client AppsClient) UpdateSitePushSettingsResponder(resp *http.Response) (r return } -// UpdateSitePushSettingsSlot description for Updates the Push settings associated with web app. +// UpdateSitePushSettingsSlot updates the Push settings associated with web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -36365,15 +36318,13 @@ func (client AppsClient) UpdateSitePushSettingsSlotResponder(resp *http.Response return } -// UpdateSlot description for Creates a new web, mobile, or API app in an existing resource group, or updates an -// existing app. +// UpdateSlot creates a new web, mobile, or API app in an existing resource group, or updates an existing app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - unique name of the app to create or update. To create or update a deployment slot, use the {slot} // parameter. // siteEnvelope - a JSON representation of the app properties. See example. -// slot - name of the deployment slot to create or update. By default, this API attempts to create or modify -// the production slot. +// slot - name of the deployment slot to create or update. The name 'production' is reserved. func (client AppsClient) UpdateSlot(ctx context.Context, resourceGroupName string, name string, siteEnvelope SitePatchResource, slot string) (result Site, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/AppsClient.UpdateSlot") @@ -36457,8 +36408,8 @@ func (client AppsClient) UpdateSlotResponder(resp *http.Response) (result Site, return } -// UpdateSlotConfigurationNames description for Updates the names of application settings and connection string that -// remain with the slot during swap operation. +// UpdateSlotConfigurationNames updates the names of application settings and connection string that remain with the +// slot during swap operation. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -36545,7 +36496,7 @@ func (client AppsClient) UpdateSlotConfigurationNamesResponder(resp *http.Respon return } -// UpdateSourceControl description for Updates the source control configuration of an app. +// UpdateSourceControl updates the source control configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -36632,7 +36583,7 @@ func (client AppsClient) UpdateSourceControlResponder(resp *http.Response) (resu return } -// UpdateSourceControlSlot description for Updates the source control configuration of an app. +// UpdateSourceControlSlot updates the source control configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -36722,9 +36673,9 @@ func (client AppsClient) UpdateSourceControlSlotResponder(resp *http.Response) ( return } -// UpdateSwiftVirtualNetworkConnectionWithCheck description for Integrates this Web App with a Virtual Network. This -// requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has -// already been delegated, and is not +// UpdateSwiftVirtualNetworkConnectionWithCheck integrates this Web App with a Virtual Network. This requires that 1) +// "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been +// delegated, and is not // in use by another App Service Plan other than the one this App is in. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. @@ -36812,9 +36763,9 @@ func (client AppsClient) UpdateSwiftVirtualNetworkConnectionWithCheckResponder(r return } -// UpdateSwiftVirtualNetworkConnectionWithCheckSlot description for Integrates this Web App with a Virtual Network. -// This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet -// has already been delegated, and is not +// UpdateSwiftVirtualNetworkConnectionWithCheckSlot integrates this Web App with a Virtual Network. This requires that +// 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been +// delegated, and is not // in use by another App Service Plan other than the one this App is in. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. @@ -36905,8 +36856,8 @@ func (client AppsClient) UpdateSwiftVirtualNetworkConnectionWithCheckSlotRespond return } -// UpdateVnetConnection description for Adds a Virtual Network connection to an app or slot (PUT) or updates the -// connection properties (PATCH). +// UpdateVnetConnection adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties +// (PATCH). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -36995,8 +36946,7 @@ func (client AppsClient) UpdateVnetConnectionResponder(resp *http.Response) (res return } -// UpdateVnetConnectionGateway description for Adds a gateway to a connected Virtual Network (PUT) or updates it -// (PATCH). +// UpdateVnetConnectionGateway adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -37087,8 +37037,7 @@ func (client AppsClient) UpdateVnetConnectionGatewayResponder(resp *http.Respons return } -// UpdateVnetConnectionGatewaySlot description for Adds a gateway to a connected Virtual Network (PUT) or updates it -// (PATCH). +// UpdateVnetConnectionGatewaySlot adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -37182,8 +37131,8 @@ func (client AppsClient) UpdateVnetConnectionGatewaySlotResponder(resp *http.Res return } -// UpdateVnetConnectionSlot description for Adds a Virtual Network connection to an app or slot (PUT) or updates the -// connection properties (PATCH). +// UpdateVnetConnectionSlot adds a Virtual Network connection to an app or slot (PUT) or updates the connection +// properties (PATCH). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. diff --git a/services/web/mgmt/2021-01-15/web/appservicecertificateorders.go b/services/web/mgmt/2021-01-15/web/appservicecertificateorders.go index 4d65b2e46bc9..c47b07e74879 100644 --- a/services/web/mgmt/2021-01-15/web/appservicecertificateorders.go +++ b/services/web/mgmt/2021-01-15/web/appservicecertificateorders.go @@ -32,7 +32,7 @@ func NewAppServiceCertificateOrdersClientWithBaseURI(baseURI string, subscriptio return AppServiceCertificateOrdersClient{NewWithBaseURI(baseURI, subscriptionID)} } -// CreateOrUpdate description for Create or update a certificate purchase order. +// CreateOrUpdate create or update a certificate purchase order. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -122,7 +122,7 @@ func (client AppServiceCertificateOrdersClient) CreateOrUpdateResponder(resp *ht return } -// CreateOrUpdateCertificate description for Creates or updates a certificate and associates with key vault secret. +// CreateOrUpdateCertificate creates or updates a certificate and associates with key vault secret. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -214,7 +214,7 @@ func (client AppServiceCertificateOrdersClient) CreateOrUpdateCertificateRespond return } -// Delete description for Delete an existing certificate order. +// Delete delete an existing certificate order. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -297,7 +297,7 @@ func (client AppServiceCertificateOrdersClient) DeleteResponder(resp *http.Respo return } -// DeleteCertificate description for Delete the certificate associated with a certificate order. +// DeleteCertificate delete the certificate associated with a certificate order. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -382,7 +382,7 @@ func (client AppServiceCertificateOrdersClient) DeleteCertificateResponder(resp return } -// Get description for Get a certificate order. +// Get get a certificate order. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order.. @@ -466,7 +466,7 @@ func (client AppServiceCertificateOrdersClient) GetResponder(resp *http.Response return } -// GetCertificate description for Get the certificate associated with a certificate order. +// GetCertificate get the certificate associated with a certificate order. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -552,7 +552,7 @@ func (client AppServiceCertificateOrdersClient) GetCertificateResponder(resp *ht return } -// List description for List all certificate orders in a subscription. +// List list all certificate orders in a subscription. func (client AppServiceCertificateOrdersClient) List(ctx context.Context) (result AppServiceCertificateOrderCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/AppServiceCertificateOrdersClient.List") @@ -665,7 +665,7 @@ func (client AppServiceCertificateOrdersClient) ListComplete(ctx context.Context return } -// ListByResourceGroup description for Get certificate orders in a resource group. +// ListByResourceGroup get certificate orders in a resource group. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. func (client AppServiceCertificateOrdersClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result AppServiceCertificateOrderCollectionPage, err error) { @@ -789,7 +789,7 @@ func (client AppServiceCertificateOrdersClient) ListByResourceGroupComplete(ctx return } -// ListCertificates description for List all certificates associated with a certificate order. +// ListCertificates list all certificates associated with a certificate order. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -915,7 +915,7 @@ func (client AppServiceCertificateOrdersClient) ListCertificatesComplete(ctx con return } -// Reissue description for Reissue an existing certificate order. +// Reissue reissue an existing certificate order. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -1001,7 +1001,7 @@ func (client AppServiceCertificateOrdersClient) ReissueResponder(resp *http.Resp return } -// Renew description for Renew an existing certificate order. +// Renew renew an existing certificate order. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -1087,7 +1087,7 @@ func (client AppServiceCertificateOrdersClient) RenewResponder(resp *http.Respon return } -// ResendEmail description for Resend certificate email. +// ResendEmail resend certificate email. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -1170,7 +1170,7 @@ func (client AppServiceCertificateOrdersClient) ResendEmailResponder(resp *http. return } -// ResendRequestEmails description for Verify domain ownership for this certificate order. +// ResendRequestEmails verify domain ownership for this certificate order. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -1256,7 +1256,7 @@ func (client AppServiceCertificateOrdersClient) ResendRequestEmailsResponder(res return } -// RetrieveCertificateActions description for Retrieve the list of certificate actions. +// RetrieveCertificateActions retrieve the list of certificate actions. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the certificate order. @@ -1340,7 +1340,7 @@ func (client AppServiceCertificateOrdersClient) RetrieveCertificateActionsRespon return } -// RetrieveCertificateEmailHistory description for Retrieve email history. +// RetrieveCertificateEmailHistory retrieve email history. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the certificate order. @@ -1424,7 +1424,7 @@ func (client AppServiceCertificateOrdersClient) RetrieveCertificateEmailHistoryR return } -// RetrieveSiteSeal description for Verify domain ownership for this certificate order. +// RetrieveSiteSeal verify domain ownership for this certificate order. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -1511,7 +1511,7 @@ func (client AppServiceCertificateOrdersClient) RetrieveSiteSealResponder(resp * return } -// Update description for Create or update a certificate purchase order. +// Update create or update a certificate purchase order. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -1598,7 +1598,7 @@ func (client AppServiceCertificateOrdersClient) UpdateResponder(resp *http.Respo return } -// UpdateCertificate description for Creates or updates a certificate and associates with key vault secret. +// UpdateCertificate creates or updates a certificate and associates with key vault secret. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -1687,7 +1687,7 @@ func (client AppServiceCertificateOrdersClient) UpdateCertificateResponder(resp return } -// ValidatePurchaseInformation description for Validate information for a certificate order. +// ValidatePurchaseInformation validate information for a certificate order. // Parameters: // appServiceCertificateOrder - information for a certificate order. func (client AppServiceCertificateOrdersClient) ValidatePurchaseInformation(ctx context.Context, appServiceCertificateOrder AppServiceCertificateOrder) (result autorest.Response, err error) { @@ -1761,7 +1761,7 @@ func (client AppServiceCertificateOrdersClient) ValidatePurchaseInformationRespo return } -// VerifyDomainOwnership description for Verify domain ownership for this certificate order. +// VerifyDomainOwnership verify domain ownership for this certificate order. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. diff --git a/services/web/mgmt/2021-01-15/web/appserviceenvironments.go b/services/web/mgmt/2021-01-15/web/appserviceenvironments.go index c791fa567a57..0578e9e81d51 100644 --- a/services/web/mgmt/2021-01-15/web/appserviceenvironments.go +++ b/services/web/mgmt/2021-01-15/web/appserviceenvironments.go @@ -32,7 +32,7 @@ func NewAppServiceEnvironmentsClientWithBaseURI(baseURI string, subscriptionID s return AppServiceEnvironmentsClient{NewWithBaseURI(baseURI, subscriptionID)} } -// ApproveOrRejectPrivateEndpointConnection description for Approves or rejects a private endpoint connection +// ApproveOrRejectPrivateEndpointConnection approves or rejects a private endpoint connection // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -122,7 +122,7 @@ func (client AppServiceEnvironmentsClient) ApproveOrRejectPrivateEndpointConnect return } -// ChangeVnet description for Move an App Service Environment to a different VNET. +// ChangeVnet move an App Service Environment to a different VNET. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -257,7 +257,7 @@ func (client AppServiceEnvironmentsClient) ChangeVnetComplete(ctx context.Contex return } -// CreateOrUpdate description for Create or update an App Service Environment. +// CreateOrUpdate create or update an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -352,7 +352,7 @@ func (client AppServiceEnvironmentsClient) CreateOrUpdateResponder(resp *http.Re return } -// CreateOrUpdateMultiRolePool description for Create or update a multi-role pool. +// CreateOrUpdateMultiRolePool create or update a multi-role pool. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -442,7 +442,7 @@ func (client AppServiceEnvironmentsClient) CreateOrUpdateMultiRolePoolResponder( return } -// CreateOrUpdateWorkerPool description for Create or update a worker pool. +// CreateOrUpdateWorkerPool create or update a worker pool. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -534,7 +534,7 @@ func (client AppServiceEnvironmentsClient) CreateOrUpdateWorkerPoolResponder(res return } -// Delete description for Delete an App Service Environment. +// Delete delete an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -625,7 +625,7 @@ func (client AppServiceEnvironmentsClient) DeleteResponder(resp *http.Response) return } -// DeletePrivateEndpointConnection description for Deletes a private endpoint connection +// DeletePrivateEndpointConnection deletes a private endpoint connection // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -713,7 +713,7 @@ func (client AppServiceEnvironmentsClient) DeletePrivateEndpointConnectionRespon return } -// Get description for Get the properties of an App Service Environment. +// Get get the properties of an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -797,7 +797,7 @@ func (client AppServiceEnvironmentsClient) GetResponder(resp *http.Response) (re return } -// GetAseV3NetworkingConfiguration description for Get networking configuration of an App Service Environment +// GetAseV3NetworkingConfiguration get networking configuration of an App Service Environment // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -881,7 +881,7 @@ func (client AppServiceEnvironmentsClient) GetAseV3NetworkingConfigurationRespon return } -// GetDiagnosticsItem description for Get a diagnostics item for an App Service Environment. +// GetDiagnosticsItem get a diagnostics item for an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -967,8 +967,8 @@ func (client AppServiceEnvironmentsClient) GetDiagnosticsItemResponder(resp *htt return } -// GetInboundNetworkDependenciesEndpoints description for Get the network endpoints of all inbound dependencies of an -// App Service Environment. +// GetInboundNetworkDependenciesEndpoints get the network endpoints of all inbound dependencies of an App Service +// Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -1094,7 +1094,7 @@ func (client AppServiceEnvironmentsClient) GetInboundNetworkDependenciesEndpoint return } -// GetMultiRolePool description for Get properties of a multi-role pool. +// GetMultiRolePool get properties of a multi-role pool. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -1178,8 +1178,8 @@ func (client AppServiceEnvironmentsClient) GetMultiRolePoolResponder(resp *http. return } -// GetOutboundNetworkDependenciesEndpoints description for Get the network endpoints of all outbound dependencies of an -// App Service Environment. +// GetOutboundNetworkDependenciesEndpoints get the network endpoints of all outbound dependencies of an App Service +// Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -1305,7 +1305,7 @@ func (client AppServiceEnvironmentsClient) GetOutboundNetworkDependenciesEndpoin return } -// GetPrivateEndpointConnection description for Gets a private endpoint connection +// GetPrivateEndpointConnection gets a private endpoint connection // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -1391,8 +1391,7 @@ func (client AppServiceEnvironmentsClient) GetPrivateEndpointConnectionResponder return } -// GetPrivateEndpointConnectionList description for Gets the list of private endpoints associated with a hosting -// environment +// GetPrivateEndpointConnectionList gets the list of private endpoints associated with a hosting environment // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -1518,7 +1517,7 @@ func (client AppServiceEnvironmentsClient) GetPrivateEndpointConnectionListCompl return } -// GetPrivateLinkResources description for Gets the private link resources +// GetPrivateLinkResources gets the private link resources // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -1602,7 +1601,7 @@ func (client AppServiceEnvironmentsClient) GetPrivateLinkResourcesResponder(resp return } -// GetVipInfo description for Get IP addresses assigned to an App Service Environment. +// GetVipInfo get IP addresses assigned to an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -1686,7 +1685,7 @@ func (client AppServiceEnvironmentsClient) GetVipInfoResponder(resp *http.Respon return } -// GetWorkerPool description for Get properties of a worker pool. +// GetWorkerPool get properties of a worker pool. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -1772,7 +1771,7 @@ func (client AppServiceEnvironmentsClient) GetWorkerPoolResponder(resp *http.Res return } -// List description for Get all App Service Environments for a subscription. +// List get all App Service Environments for a subscription. func (client AppServiceEnvironmentsClient) List(ctx context.Context) (result AppServiceEnvironmentCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/AppServiceEnvironmentsClient.List") @@ -1885,7 +1884,7 @@ func (client AppServiceEnvironmentsClient) ListComplete(ctx context.Context) (re return } -// ListAppServicePlans description for Get all App Service plans in an App Service Environment. +// ListAppServicePlans get all App Service plans in an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -2011,7 +2010,7 @@ func (client AppServiceEnvironmentsClient) ListAppServicePlansComplete(ctx conte return } -// ListByResourceGroup description for Get all App Service Environments in a resource group. +// ListByResourceGroup get all App Service Environments in a resource group. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. func (client AppServiceEnvironmentsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result AppServiceEnvironmentCollectionPage, err error) { @@ -2135,7 +2134,7 @@ func (client AppServiceEnvironmentsClient) ListByResourceGroupComplete(ctx conte return } -// ListCapacities description for Get the used, available, and total worker capacity an App Service Environment. +// ListCapacities get the used, available, and total worker capacity an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -2261,7 +2260,7 @@ func (client AppServiceEnvironmentsClient) ListCapacitiesComplete(ctx context.Co return } -// ListDiagnostics description for Get diagnostic information for an App Service Environment. +// ListDiagnostics get diagnostic information for an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -2345,8 +2344,7 @@ func (client AppServiceEnvironmentsClient) ListDiagnosticsResponder(resp *http.R return } -// ListMultiRoleMetricDefinitions description for Get metric definitions for a multi-role pool of an App Service -// Environment. +// ListMultiRoleMetricDefinitions get metric definitions for a multi-role pool of an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -2472,8 +2470,8 @@ func (client AppServiceEnvironmentsClient) ListMultiRoleMetricDefinitionsComplet return } -// ListMultiRolePoolInstanceMetricDefinitions description for Get metric definitions for a specific instance of a -// multi-role pool of an App Service Environment. +// ListMultiRolePoolInstanceMetricDefinitions get metric definitions for a specific instance of a multi-role pool of an +// App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -2601,7 +2599,7 @@ func (client AppServiceEnvironmentsClient) ListMultiRolePoolInstanceMetricDefini return } -// ListMultiRolePools description for Get all multi-role pools. +// ListMultiRolePools get all multi-role pools. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -2727,7 +2725,7 @@ func (client AppServiceEnvironmentsClient) ListMultiRolePoolsComplete(ctx contex return } -// ListMultiRolePoolSkus description for Get available SKUs for scaling a multi-role pool. +// ListMultiRolePoolSkus get available SKUs for scaling a multi-role pool. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -2853,7 +2851,7 @@ func (client AppServiceEnvironmentsClient) ListMultiRolePoolSkusComplete(ctx con return } -// ListMultiRoleUsages description for Get usage metrics for a multi-role pool of an App Service Environment. +// ListMultiRoleUsages get usage metrics for a multi-role pool of an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -2979,7 +2977,7 @@ func (client AppServiceEnvironmentsClient) ListMultiRoleUsagesComplete(ctx conte return } -// ListOperations description for List all currently running operations on the App Service Environment. +// ListOperations list all currently running operations on the App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -3063,7 +3061,7 @@ func (client AppServiceEnvironmentsClient) ListOperationsResponder(resp *http.Re return } -// ListUsages description for Get global usage metrics of an App Service Environment. +// ListUsages get global usage metrics of an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -3195,7 +3193,7 @@ func (client AppServiceEnvironmentsClient) ListUsagesComplete(ctx context.Contex return } -// ListWebApps description for Get all apps in an App Service Environment. +// ListWebApps get all apps in an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -3325,8 +3323,7 @@ func (client AppServiceEnvironmentsClient) ListWebAppsComplete(ctx context.Conte return } -// ListWebWorkerMetricDefinitions description for Get metric definitions for a worker pool of an App Service -// Environment. +// ListWebWorkerMetricDefinitions get metric definitions for a worker pool of an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -3454,7 +3451,7 @@ func (client AppServiceEnvironmentsClient) ListWebWorkerMetricDefinitionsComplet return } -// ListWebWorkerUsages description for Get usage metrics for a worker pool of an App Service Environment. +// ListWebWorkerUsages get usage metrics for a worker pool of an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -3582,8 +3579,8 @@ func (client AppServiceEnvironmentsClient) ListWebWorkerUsagesComplete(ctx conte return } -// ListWorkerPoolInstanceMetricDefinitions description for Get metric definitions for a specific instance of a worker -// pool of an App Service Environment. +// ListWorkerPoolInstanceMetricDefinitions get metric definitions for a specific instance of a worker pool of an App +// Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -3713,7 +3710,7 @@ func (client AppServiceEnvironmentsClient) ListWorkerPoolInstanceMetricDefinitio return } -// ListWorkerPools description for Get all worker pools of an App Service Environment. +// ListWorkerPools get all worker pools of an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -3839,7 +3836,7 @@ func (client AppServiceEnvironmentsClient) ListWorkerPoolsComplete(ctx context.C return } -// ListWorkerPoolSkus description for Get available SKUs for scaling a worker pool. +// ListWorkerPoolSkus get available SKUs for scaling a worker pool. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -3967,7 +3964,7 @@ func (client AppServiceEnvironmentsClient) ListWorkerPoolSkusComplete(ctx contex return } -// Reboot description for Reboot all machines in an App Service Environment. +// Reboot reboot all machines in an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -4050,7 +4047,7 @@ func (client AppServiceEnvironmentsClient) RebootResponder(resp *http.Response) return } -// Resume description for Resume an App Service Environment. +// Resume resume an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -4178,7 +4175,7 @@ func (client AppServiceEnvironmentsClient) ResumeComplete(ctx context.Context, r return } -// Suspend description for Suspend an App Service Environment. +// Suspend suspend an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -4306,7 +4303,7 @@ func (client AppServiceEnvironmentsClient) SuspendComplete(ctx context.Context, return } -// Update description for Create or update an App Service Environment. +// Update create or update an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -4393,7 +4390,7 @@ func (client AppServiceEnvironmentsClient) UpdateResponder(resp *http.Response) return } -// UpdateAseNetworkingConfiguration description for Update networking configuration of an App Service Environment +// UpdateAseNetworkingConfiguration update networking configuration of an App Service Environment // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -4479,7 +4476,7 @@ func (client AppServiceEnvironmentsClient) UpdateAseNetworkingConfigurationRespo return } -// UpdateMultiRolePool description for Create or update a multi-role pool. +// UpdateMultiRolePool create or update a multi-role pool. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -4566,7 +4563,7 @@ func (client AppServiceEnvironmentsClient) UpdateMultiRolePoolResponder(resp *ht return } -// UpdateWorkerPool description for Create or update a worker pool. +// UpdateWorkerPool create or update a worker pool. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. diff --git a/services/web/mgmt/2021-01-15/web/appserviceplans.go b/services/web/mgmt/2021-01-15/web/appserviceplans.go index 99b77b3d89bf..ba37db867680 100644 --- a/services/web/mgmt/2021-01-15/web/appserviceplans.go +++ b/services/web/mgmt/2021-01-15/web/appserviceplans.go @@ -31,7 +31,7 @@ func NewAppServicePlansClientWithBaseURI(baseURI string, subscriptionID string) return AppServicePlansClient{NewWithBaseURI(baseURI, subscriptionID)} } -// CreateOrUpdate description for Creates or updates an App Service Plan. +// CreateOrUpdate creates or updates an App Service Plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -121,7 +121,7 @@ func (client AppServicePlansClient) CreateOrUpdateResponder(resp *http.Response) return } -// CreateOrUpdateVnetRoute description for Create or update a Virtual Network route in an App Service plan. +// CreateOrUpdateVnetRoute create or update a Virtual Network route in an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -212,7 +212,7 @@ func (client AppServicePlansClient) CreateOrUpdateVnetRouteResponder(resp *http. return } -// Delete description for Delete an App Service plan. +// Delete delete an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -295,7 +295,7 @@ func (client AppServicePlansClient) DeleteResponder(resp *http.Response) (result return } -// DeleteHybridConnection description for Delete a Hybrid Connection in use in an App Service plan. +// DeleteHybridConnection delete a Hybrid Connection in use in an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -382,7 +382,7 @@ func (client AppServicePlansClient) DeleteHybridConnectionResponder(resp *http.R return } -// DeleteVnetRoute description for Delete a Virtual Network route in an App Service plan. +// DeleteVnetRoute delete a Virtual Network route in an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -469,7 +469,7 @@ func (client AppServicePlansClient) DeleteVnetRouteResponder(resp *http.Response return } -// Get description for Get an App Service plan. +// Get get an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -553,7 +553,7 @@ func (client AppServicePlansClient) GetResponder(resp *http.Response) (result Ap return } -// GetHybridConnection description for Retrieve a Hybrid Connection in use in an App Service plan. +// GetHybridConnection retrieve a Hybrid Connection in use in an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -641,8 +641,7 @@ func (client AppServicePlansClient) GetHybridConnectionResponder(resp *http.Resp return } -// GetHybridConnectionPlanLimit description for Get the maximum number of Hybrid Connections allowed in an App Service -// plan. +// GetHybridConnectionPlanLimit get the maximum number of Hybrid Connections allowed in an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -726,7 +725,7 @@ func (client AppServicePlansClient) GetHybridConnectionPlanLimitResponder(resp * return } -// GetRouteForVnet description for Get a Virtual Network route in an App Service plan. +// GetRouteForVnet get a Virtual Network route in an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -814,7 +813,7 @@ func (client AppServicePlansClient) GetRouteForVnetResponder(resp *http.Response return } -// GetServerFarmSkus description for Gets all selectable SKUs for a given App Service Plan +// GetServerFarmSkus gets all selectable SKUs for a given App Service Plan // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of App Service Plan @@ -898,7 +897,7 @@ func (client AppServicePlansClient) GetServerFarmSkusResponder(resp *http.Respon return } -// GetVnetFromServerFarm description for Get a Virtual Network associated with an App Service plan. +// GetVnetFromServerFarm get a Virtual Network associated with an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -984,7 +983,7 @@ func (client AppServicePlansClient) GetVnetFromServerFarmResponder(resp *http.Re return } -// GetVnetGateway description for Get a Virtual Network gateway. +// GetVnetGateway get a Virtual Network gateway. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -1072,7 +1071,7 @@ func (client AppServicePlansClient) GetVnetGatewayResponder(resp *http.Response) return } -// List description for Get all App Service plans for a subscription. +// List get all App Service plans for a subscription. // Parameters: // detailed - specify true to return all App Service plan properties. The default is // false, which returns a subset of the properties. @@ -1192,7 +1191,7 @@ func (client AppServicePlansClient) ListComplete(ctx context.Context, detailed * return } -// ListByResourceGroup description for Get all App Service plans in a resource group. +// ListByResourceGroup get all App Service plans in a resource group. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. func (client AppServicePlansClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result AppServicePlanCollectionPage, err error) { @@ -1316,7 +1315,7 @@ func (client AppServicePlansClient) ListByResourceGroupComplete(ctx context.Cont return } -// ListCapabilities description for List all capabilities of an App Service plan. +// ListCapabilities list all capabilities of an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -1400,7 +1399,7 @@ func (client AppServicePlansClient) ListCapabilitiesResponder(resp *http.Respons return } -// ListHybridConnectionKeys description for Get the send key name and value of a Hybrid Connection. +// ListHybridConnectionKeys get the send key name and value of a Hybrid Connection. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -1488,7 +1487,7 @@ func (client AppServicePlansClient) ListHybridConnectionKeysResponder(resp *http return } -// ListHybridConnections description for Retrieve all Hybrid Connections in use in an App Service plan. +// ListHybridConnections retrieve all Hybrid Connections in use in an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -1614,7 +1613,7 @@ func (client AppServicePlansClient) ListHybridConnectionsComplete(ctx context.Co return } -// ListRoutesForVnet description for Get all routes that are associated with a Virtual Network in an App Service plan. +// ListRoutesForVnet get all routes that are associated with a Virtual Network in an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -1700,7 +1699,7 @@ func (client AppServicePlansClient) ListRoutesForVnetResponder(resp *http.Respon return } -// ListUsages description for Gets server farm usage information +// ListUsages gets server farm usage information // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of App Service Plan @@ -1831,7 +1830,7 @@ func (client AppServicePlansClient) ListUsagesComplete(ctx context.Context, reso return } -// ListVnets description for Get all Virtual Networks associated with an App Service plan. +// ListVnets get all Virtual Networks associated with an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -1915,7 +1914,7 @@ func (client AppServicePlansClient) ListVnetsResponder(resp *http.Response) (res return } -// ListWebApps description for Get all apps associated with an App Service plan. +// ListWebApps get all apps associated with an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -2055,7 +2054,7 @@ func (client AppServicePlansClient) ListWebAppsComplete(ctx context.Context, res return } -// ListWebAppsByHybridConnection description for Get all apps that use a Hybrid Connection in an App Service Plan. +// ListWebAppsByHybridConnection get all apps that use a Hybrid Connection in an App Service Plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -2185,7 +2184,7 @@ func (client AppServicePlansClient) ListWebAppsByHybridConnectionComplete(ctx co return } -// RebootWorker description for Reboot a worker machine in an App Service plan. +// RebootWorker reboot a worker machine in an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -2270,7 +2269,7 @@ func (client AppServicePlansClient) RebootWorkerResponder(resp *http.Response) ( return } -// RestartWebApps description for Restart all apps in an App Service plan. +// RestartWebApps restart all apps in an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -2359,7 +2358,7 @@ func (client AppServicePlansClient) RestartWebAppsResponder(resp *http.Response) return } -// Update description for Creates or updates an App Service Plan. +// Update creates or updates an App Service Plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -2446,7 +2445,7 @@ func (client AppServicePlansClient) UpdateResponder(resp *http.Response) (result return } -// UpdateVnetGateway description for Update a Virtual Network gateway. +// UpdateVnetGateway update a Virtual Network gateway. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -2540,7 +2539,7 @@ func (client AppServicePlansClient) UpdateVnetGatewayResponder(resp *http.Respon return } -// UpdateVnetRoute description for Create or update a Virtual Network route in an App Service plan. +// UpdateVnetRoute create or update a Virtual Network route in an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. diff --git a/services/web/mgmt/2021-01-15/web/certificateordersdiagnostics.go b/services/web/mgmt/2021-01-15/web/certificateordersdiagnostics.go index f0d912c388b3..c81f681529d9 100644 --- a/services/web/mgmt/2021-01-15/web/certificateordersdiagnostics.go +++ b/services/web/mgmt/2021-01-15/web/certificateordersdiagnostics.go @@ -33,8 +33,8 @@ func NewCertificateOrdersDiagnosticsClientWithBaseURI(baseURI string, subscripti return CertificateOrdersDiagnosticsClient{NewWithBaseURI(baseURI, subscriptionID)} } -// GetAppServiceCertificateOrderDetectorResponse description for Microsoft.CertificateRegistration call to get a -// detector response from App Lens. +// GetAppServiceCertificateOrderDetectorResponse microsoft.CertificateRegistration call to get a detector response from +// App Lens. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - the certificate order name for which the response is needed. @@ -135,8 +135,8 @@ func (client CertificateOrdersDiagnosticsClient) GetAppServiceCertificateOrderDe return } -// ListAppServiceCertificateOrderDetectorResponse description for Microsoft.CertificateRegistration to get the list of -// detectors for this RP. +// ListAppServiceCertificateOrderDetectorResponse microsoft.CertificateRegistration to get the list of detectors for +// this RP. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - the certificate order name for which the response is needed. diff --git a/services/web/mgmt/2021-01-15/web/certificateregistrationprovider.go b/services/web/mgmt/2021-01-15/web/certificateregistrationprovider.go index 887ec3a059e2..5ba2399e4f11 100644 --- a/services/web/mgmt/2021-01-15/web/certificateregistrationprovider.go +++ b/services/web/mgmt/2021-01-15/web/certificateregistrationprovider.go @@ -31,8 +31,7 @@ func NewCertificateRegistrationProviderClientWithBaseURI(baseURI string, subscri return CertificateRegistrationProviderClient{NewWithBaseURI(baseURI, subscriptionID)} } -// ListOperations description for Implements Csm operations Api to exposes the list of available Csm Apis under the -// resource provider +// ListOperations implements Csm operations Api to exposes the list of available Csm Apis under the resource provider func (client CertificateRegistrationProviderClient) ListOperations(ctx context.Context) (result CsmOperationCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/CertificateRegistrationProviderClient.ListOperations") diff --git a/services/web/mgmt/2021-01-15/web/certificates.go b/services/web/mgmt/2021-01-15/web/certificates.go index 95ed7d91a96a..3db9315c7d45 100644 --- a/services/web/mgmt/2021-01-15/web/certificates.go +++ b/services/web/mgmt/2021-01-15/web/certificates.go @@ -31,7 +31,7 @@ func NewCertificatesClientWithBaseURI(baseURI string, subscriptionID string) Cer return CertificatesClient{NewWithBaseURI(baseURI, subscriptionID)} } -// CreateOrUpdate description for Create or update a certificate. +// CreateOrUpdate create or update a certificate. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the certificate. @@ -118,7 +118,7 @@ func (client CertificatesClient) CreateOrUpdateResponder(resp *http.Response) (r return } -// Delete description for Delete a certificate. +// Delete delete a certificate. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the certificate. @@ -201,7 +201,7 @@ func (client CertificatesClient) DeleteResponder(resp *http.Response) (result au return } -// Get description for Get a certificate. +// Get get a certificate. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the certificate. @@ -285,7 +285,7 @@ func (client CertificatesClient) GetResponder(resp *http.Response) (result Certi return } -// List description for Get all certificates for a subscription. +// List get all certificates for a subscription. // Parameters: // filter - return only information specified in the filter (using OData syntax). For example: // $filter=KeyVaultId eq 'KeyVaultId' @@ -404,7 +404,7 @@ func (client CertificatesClient) ListComplete(ctx context.Context, filter string return } -// ListByResourceGroup description for Get all certificates in a resource group. +// ListByResourceGroup get all certificates in a resource group. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. func (client CertificatesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result CertificateCollectionPage, err error) { @@ -528,7 +528,7 @@ func (client CertificatesClient) ListByResourceGroupComplete(ctx context.Context return } -// Update description for Create or update a certificate. +// Update create or update a certificate. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the certificate. diff --git a/services/web/mgmt/2021-01-15/web/client.go b/services/web/mgmt/2021-01-15/web/client.go index d45d872ae968..89e4d086e06c 100644 --- a/services/web/mgmt/2021-01-15/web/client.go +++ b/services/web/mgmt/2021-01-15/web/client.go @@ -45,7 +45,7 @@ func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient { } } -// CheckNameAvailability description for Check if a resource name is available. +// CheckNameAvailability check if a resource name is available. // Parameters: // request - name availability request. func (client BaseClient) CheckNameAvailability(ctx context.Context, request ResourceNameAvailabilityRequest) (result ResourceNameAvailability, err error) { @@ -126,84 +126,7 @@ func (client BaseClient) CheckNameAvailabilityResponder(resp *http.Response) (re return } -// GenerateGithubAccessTokenForAppserviceCLIAsync description for Exchange code for GitHub access token for AppService -// CLI -func (client BaseClient) GenerateGithubAccessTokenForAppserviceCLIAsync(ctx context.Context, request AppserviceGithubTokenRequest) (result AppserviceGithubToken, err error) { - if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/BaseClient.GenerateGithubAccessTokenForAppserviceCLIAsync") - defer func() { - sc := -1 - if result.Response.Response != nil { - sc = result.Response.Response.StatusCode - } - tracing.EndSpan(ctx, sc, err) - }() - } - if err := validation.Validate([]validation.Validation{ - {TargetValue: request, - Constraints: []validation.Constraint{{Target: "request.Code", Name: validation.Null, Rule: true, Chain: nil}, - {Target: "request.State", Name: validation.Null, Rule: true, Chain: nil}}}}); err != nil { - return result, validation.NewError("web.BaseClient", "GenerateGithubAccessTokenForAppserviceCLIAsync", err.Error()) - } - - req, err := client.GenerateGithubAccessTokenForAppserviceCLIAsyncPreparer(ctx, request) - if err != nil { - err = autorest.NewErrorWithError(err, "web.BaseClient", "GenerateGithubAccessTokenForAppserviceCLIAsync", nil, "Failure preparing request") - return - } - - resp, err := client.GenerateGithubAccessTokenForAppserviceCLIAsyncSender(req) - if err != nil { - result.Response = autorest.Response{Response: resp} - err = autorest.NewErrorWithError(err, "web.BaseClient", "GenerateGithubAccessTokenForAppserviceCLIAsync", resp, "Failure sending request") - return - } - - result, err = client.GenerateGithubAccessTokenForAppserviceCLIAsyncResponder(resp) - if err != nil { - err = autorest.NewErrorWithError(err, "web.BaseClient", "GenerateGithubAccessTokenForAppserviceCLIAsync", resp, "Failure responding to request") - return - } - - return -} - -// GenerateGithubAccessTokenForAppserviceCLIAsyncPreparer prepares the GenerateGithubAccessTokenForAppserviceCLIAsync request. -func (client BaseClient) GenerateGithubAccessTokenForAppserviceCLIAsyncPreparer(ctx context.Context, request AppserviceGithubTokenRequest) (*http.Request, error) { - const APIVersion = "2021-01-15" - queryParameters := map[string]interface{}{ - "api-version": APIVersion, - } - - preparer := autorest.CreatePreparer( - autorest.AsContentType("application/json; charset=utf-8"), - autorest.AsPost(), - autorest.WithBaseURL(client.BaseURI), - autorest.WithPath("/providers/Microsoft.Web/generateGithubAccessTokenForAppserviceCLI"), - autorest.WithJSON(request), - autorest.WithQueryParameters(queryParameters)) - return preparer.Prepare((&http.Request{}).WithContext(ctx)) -} - -// GenerateGithubAccessTokenForAppserviceCLIAsyncSender sends the GenerateGithubAccessTokenForAppserviceCLIAsync request. The method will close the -// http.Response Body if it receives an error. -func (client BaseClient) GenerateGithubAccessTokenForAppserviceCLIAsyncSender(req *http.Request) (*http.Response, error) { - return client.Send(req, autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...)) -} - -// GenerateGithubAccessTokenForAppserviceCLIAsyncResponder handles the response to the GenerateGithubAccessTokenForAppserviceCLIAsync request. The method always -// closes the http.Response Body. -func (client BaseClient) GenerateGithubAccessTokenForAppserviceCLIAsyncResponder(resp *http.Response) (result AppserviceGithubToken, err error) { - err = autorest.Respond( - resp, - azure.WithErrorUnlessStatusCode(http.StatusOK), - autorest.ByUnmarshallingJSON(&result), - autorest.ByClosing()) - result.Response = autorest.Response{Response: resp} - return -} - -// GetPublishingUser description for Gets publishing user +// GetPublishingUser gets publishing user func (client BaseClient) GetPublishingUser(ctx context.Context) (result User, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/BaseClient.GetPublishingUser") @@ -270,7 +193,7 @@ func (client BaseClient) GetPublishingUserResponder(resp *http.Response) (result return } -// GetSourceControl description for Gets source control token +// GetSourceControl gets source control token // Parameters: // sourceControlType - type of source control func (client BaseClient) GetSourceControl(ctx context.Context, sourceControlType string) (result SourceControl, err error) { @@ -343,7 +266,7 @@ func (client BaseClient) GetSourceControlResponder(resp *http.Response) (result return } -// GetSubscriptionDeploymentLocations description for Gets list of available geo regions plus ministamps +// GetSubscriptionDeploymentLocations gets list of available geo regions plus ministamps func (client BaseClient) GetSubscriptionDeploymentLocations(ctx context.Context) (result DeploymentLocations, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/BaseClient.GetSubscriptionDeploymentLocations") @@ -414,7 +337,7 @@ func (client BaseClient) GetSubscriptionDeploymentLocationsResponder(resp *http. return } -// ListBillingMeters description for Gets a list of meters for a given location. +// ListBillingMeters gets a list of meters for a given location. // Parameters: // billingLocation - azure Location of billable resource // osType - app Service OS type meters used for @@ -536,7 +459,7 @@ func (client BaseClient) ListBillingMetersComplete(ctx context.Context, billingL return } -// ListGeoRegions description for Get a list of available geographical regions. +// ListGeoRegions get a list of available geographical regions. // Parameters: // sku - name of SKU used to filter the regions. // linuxWorkersEnabled - specify true if you want to filter to only regions that support Linux @@ -669,7 +592,7 @@ func (client BaseClient) ListGeoRegionsComplete(ctx context.Context, sku SkuName return } -// ListPremierAddOnOffers description for List all premier add-on offers. +// ListPremierAddOnOffers list all premier add-on offers. func (client BaseClient) ListPremierAddOnOffers(ctx context.Context) (result PremierAddOnOfferCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/BaseClient.ListPremierAddOnOffers") @@ -782,7 +705,7 @@ func (client BaseClient) ListPremierAddOnOffersComplete(ctx context.Context) (re return } -// ListSiteIdentifiersAssignedToHostName description for List all apps that are assigned to a hostname. +// ListSiteIdentifiersAssignedToHostName list all apps that are assigned to a hostname. // Parameters: // nameIdentifier - hostname information. func (client BaseClient) ListSiteIdentifiersAssignedToHostName(ctx context.Context, nameIdentifier NameIdentifier) (result IdentifierCollectionPage, err error) { @@ -899,7 +822,7 @@ func (client BaseClient) ListSiteIdentifiersAssignedToHostNameComplete(ctx conte return } -// ListSkus description for List all SKUs. +// ListSkus list all SKUs. func (client BaseClient) ListSkus(ctx context.Context) (result SkuInfos, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/BaseClient.ListSkus") @@ -970,7 +893,7 @@ func (client BaseClient) ListSkusResponder(resp *http.Response) (result SkuInfos return } -// ListSourceControls description for Gets the source controls available for Azure websites. +// ListSourceControls gets the source controls available for Azure websites. func (client BaseClient) ListSourceControls(ctx context.Context) (result SourceControlCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/BaseClient.ListSourceControls") @@ -1079,7 +1002,7 @@ func (client BaseClient) ListSourceControlsComplete(ctx context.Context) (result return } -// Move description for Move resources between resource groups. +// Move move resources between resource groups. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // moveResourceEnvelope - object that represents the resource to move. @@ -1169,7 +1092,7 @@ func (client BaseClient) MoveResponder(resp *http.Response) (result autorest.Res return } -// UpdatePublishingUser description for Updates publishing user +// UpdatePublishingUser updates publishing user // Parameters: // userDetails - details of publishing user func (client BaseClient) UpdatePublishingUser(ctx context.Context, userDetails User) (result User, err error) { @@ -1247,7 +1170,7 @@ func (client BaseClient) UpdatePublishingUserResponder(resp *http.Response) (res return } -// UpdateSourceControl description for Updates source control token +// UpdateSourceControl updates source control token // Parameters: // sourceControlType - type of source control // requestMessage - source control token information @@ -1323,7 +1246,7 @@ func (client BaseClient) UpdateSourceControlResponder(resp *http.Response) (resu return } -// Validate description for Validate if a resource can be created. +// Validate validate if a resource can be created. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // validateRequest - request with the resources to validate. @@ -1419,7 +1342,7 @@ func (client BaseClient) ValidateResponder(resp *http.Response) (result Validate return } -// ValidateMove description for Validate whether a resource can be moved. +// ValidateMove validate whether a resource can be moved. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // moveResourceEnvelope - object that represents the resource to move. @@ -1509,8 +1432,8 @@ func (client BaseClient) ValidateMoveResponder(resp *http.Response) (result auto return } -// VerifyHostingEnvironmentVnet description for Verifies if this VNET is compatible with an App Service Environment by -// analyzing the Network Security Group rules. +// VerifyHostingEnvironmentVnet verifies if this VNET is compatible with an App Service Environment by analyzing the +// Network Security Group rules. // Parameters: // parameters - VNET information func (client BaseClient) VerifyHostingEnvironmentVnet(ctx context.Context, parameters VnetParameters) (result VnetValidationFailureDetails, err error) { diff --git a/services/web/mgmt/2021-01-15/web/deletedwebapps.go b/services/web/mgmt/2021-01-15/web/deletedwebapps.go index 30b05ad9a6c0..37c1011c934f 100644 --- a/services/web/mgmt/2021-01-15/web/deletedwebapps.go +++ b/services/web/mgmt/2021-01-15/web/deletedwebapps.go @@ -30,7 +30,7 @@ func NewDeletedWebAppsClientWithBaseURI(baseURI string, subscriptionID string) D return DeletedWebAppsClient{NewWithBaseURI(baseURI, subscriptionID)} } -// GetDeletedWebAppByLocation description for Get deleted app for a subscription at location. +// GetDeletedWebAppByLocation get deleted app for a subscription at location. // Parameters: // deletedSiteID - the numeric ID of the deleted app, e.g. 12345 func (client DeletedWebAppsClient) GetDeletedWebAppByLocation(ctx context.Context, location string, deletedSiteID string) (result DeletedSite, err error) { @@ -105,7 +105,7 @@ func (client DeletedWebAppsClient) GetDeletedWebAppByLocationResponder(resp *htt return } -// List description for Get all deleted apps for a subscription. +// List get all deleted apps for a subscription. func (client DeletedWebAppsClient) List(ctx context.Context) (result DeletedWebAppCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/DeletedWebAppsClient.List") @@ -218,7 +218,7 @@ func (client DeletedWebAppsClient) ListComplete(ctx context.Context) (result Del return } -// ListByLocation description for Get all deleted apps for a subscription at location +// ListByLocation get all deleted apps for a subscription at location func (client DeletedWebAppsClient) ListByLocation(ctx context.Context, location string) (result DeletedWebAppCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/DeletedWebAppsClient.ListByLocation") diff --git a/services/web/mgmt/2021-01-15/web/diagnostics.go b/services/web/mgmt/2021-01-15/web/diagnostics.go index 3e64d12190f3..cb25eeee465a 100644 --- a/services/web/mgmt/2021-01-15/web/diagnostics.go +++ b/services/web/mgmt/2021-01-15/web/diagnostics.go @@ -32,7 +32,7 @@ func NewDiagnosticsClientWithBaseURI(baseURI string, subscriptionID string) Diag return DiagnosticsClient{NewWithBaseURI(baseURI, subscriptionID)} } -// ExecuteSiteAnalysis description for Execute Analysis +// ExecuteSiteAnalysis execute Analysis // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -135,7 +135,7 @@ func (client DiagnosticsClient) ExecuteSiteAnalysisResponder(resp *http.Response return } -// ExecuteSiteAnalysisSlot description for Execute Analysis +// ExecuteSiteAnalysisSlot execute Analysis // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -240,7 +240,7 @@ func (client DiagnosticsClient) ExecuteSiteAnalysisSlotResponder(resp *http.Resp return } -// ExecuteSiteDetector description for Execute Detector +// ExecuteSiteDetector execute Detector // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -343,7 +343,7 @@ func (client DiagnosticsClient) ExecuteSiteDetectorResponder(resp *http.Response return } -// ExecuteSiteDetectorSlot description for Execute Detector +// ExecuteSiteDetectorSlot execute Detector // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -448,7 +448,7 @@ func (client DiagnosticsClient) ExecuteSiteDetectorSlotResponder(resp *http.Resp return } -// GetHostingEnvironmentDetectorResponse description for Get Hosting Environment Detector Response +// GetHostingEnvironmentDetectorResponse get Hosting Environment Detector Response // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - app Service Environment Name @@ -549,7 +549,7 @@ func (client DiagnosticsClient) GetHostingEnvironmentDetectorResponseResponder(r return } -// GetSiteAnalysis description for Get Site Analysis +// GetSiteAnalysis get Site Analysis // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -637,7 +637,7 @@ func (client DiagnosticsClient) GetSiteAnalysisResponder(resp *http.Response) (r return } -// GetSiteAnalysisSlot description for Get Site Analysis +// GetSiteAnalysisSlot get Site Analysis // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -727,7 +727,7 @@ func (client DiagnosticsClient) GetSiteAnalysisSlotResponder(resp *http.Response return } -// GetSiteDetector description for Get Detector +// GetSiteDetector get Detector // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -815,7 +815,7 @@ func (client DiagnosticsClient) GetSiteDetectorResponder(resp *http.Response) (r return } -// GetSiteDetectorResponse description for Get site detector response +// GetSiteDetectorResponse get site detector response // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -916,7 +916,7 @@ func (client DiagnosticsClient) GetSiteDetectorResponseResponder(resp *http.Resp return } -// GetSiteDetectorResponseSlot description for Get site detector response +// GetSiteDetectorResponseSlot get site detector response // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -1019,7 +1019,7 @@ func (client DiagnosticsClient) GetSiteDetectorResponseSlotResponder(resp *http. return } -// GetSiteDetectorSlot description for Get Detector +// GetSiteDetectorSlot get Detector // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -1109,7 +1109,7 @@ func (client DiagnosticsClient) GetSiteDetectorSlotResponder(resp *http.Response return } -// GetSiteDiagnosticCategory description for Get Diagnostics Category +// GetSiteDiagnosticCategory get Diagnostics Category // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -1195,7 +1195,7 @@ func (client DiagnosticsClient) GetSiteDiagnosticCategoryResponder(resp *http.Re return } -// GetSiteDiagnosticCategorySlot description for Get Diagnostics Category +// GetSiteDiagnosticCategorySlot get Diagnostics Category // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -1283,7 +1283,7 @@ func (client DiagnosticsClient) GetSiteDiagnosticCategorySlotResponder(resp *htt return } -// ListHostingEnvironmentDetectorResponses description for List Hosting Environment Detector Responses +// ListHostingEnvironmentDetectorResponses list Hosting Environment Detector Responses // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site Name @@ -1409,7 +1409,7 @@ func (client DiagnosticsClient) ListHostingEnvironmentDetectorResponsesComplete( return } -// ListSiteAnalyses description for Get Site Analyses +// ListSiteAnalyses get Site Analyses // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -1537,7 +1537,7 @@ func (client DiagnosticsClient) ListSiteAnalysesComplete(ctx context.Context, re return } -// ListSiteAnalysesSlot description for Get Site Analyses +// ListSiteAnalysesSlot get Site Analyses // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -1667,7 +1667,7 @@ func (client DiagnosticsClient) ListSiteAnalysesSlotComplete(ctx context.Context return } -// ListSiteDetectorResponses description for List Site Detector Responses +// ListSiteDetectorResponses list Site Detector Responses // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -1793,7 +1793,7 @@ func (client DiagnosticsClient) ListSiteDetectorResponsesComplete(ctx context.Co return } -// ListSiteDetectorResponsesSlot description for List Site Detector Responses +// ListSiteDetectorResponsesSlot list Site Detector Responses // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -1921,7 +1921,7 @@ func (client DiagnosticsClient) ListSiteDetectorResponsesSlotComplete(ctx contex return } -// ListSiteDetectors description for Get Detectors +// ListSiteDetectors get Detectors // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -2049,7 +2049,7 @@ func (client DiagnosticsClient) ListSiteDetectorsComplete(ctx context.Context, r return } -// ListSiteDetectorsSlot description for Get Detectors +// ListSiteDetectorsSlot get Detectors // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -2179,7 +2179,7 @@ func (client DiagnosticsClient) ListSiteDetectorsSlotComplete(ctx context.Contex return } -// ListSiteDiagnosticCategories description for Get Diagnostics Categories +// ListSiteDiagnosticCategories get Diagnostics Categories // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -2305,7 +2305,7 @@ func (client DiagnosticsClient) ListSiteDiagnosticCategoriesComplete(ctx context return } -// ListSiteDiagnosticCategoriesSlot description for Get Diagnostics Categories +// ListSiteDiagnosticCategoriesSlot get Diagnostics Categories // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name diff --git a/services/web/mgmt/2021-01-15/web/domainregistrationprovider.go b/services/web/mgmt/2021-01-15/web/domainregistrationprovider.go index c74557d56bc8..70f04e8be0f7 100644 --- a/services/web/mgmt/2021-01-15/web/domainregistrationprovider.go +++ b/services/web/mgmt/2021-01-15/web/domainregistrationprovider.go @@ -31,8 +31,7 @@ func NewDomainRegistrationProviderClientWithBaseURI(baseURI string, subscription return DomainRegistrationProviderClient{NewWithBaseURI(baseURI, subscriptionID)} } -// ListOperations description for Implements Csm operations Api to exposes the list of available Csm Apis under the -// resource provider +// ListOperations implements Csm operations Api to exposes the list of available Csm Apis under the resource provider func (client DomainRegistrationProviderClient) ListOperations(ctx context.Context) (result CsmOperationCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/DomainRegistrationProviderClient.ListOperations") diff --git a/services/web/mgmt/2021-01-15/web/domains.go b/services/web/mgmt/2021-01-15/web/domains.go index 963af5fe4556..d344733ea8bf 100644 --- a/services/web/mgmt/2021-01-15/web/domains.go +++ b/services/web/mgmt/2021-01-15/web/domains.go @@ -31,7 +31,7 @@ func NewDomainsClientWithBaseURI(baseURI string, subscriptionID string) DomainsC return DomainsClient{NewWithBaseURI(baseURI, subscriptionID)} } -// CheckAvailability description for Check if a domain is available for registration. +// CheckAvailability check if a domain is available for registration. // Parameters: // identifier - name of the domain. func (client DomainsClient) CheckAvailability(ctx context.Context, identifier NameIdentifier) (result DomainAvailabilityCheckResult, err error) { @@ -106,7 +106,7 @@ func (client DomainsClient) CheckAvailabilityResponder(resp *http.Response) (res return } -// CreateOrUpdate description for Creates or updates a domain. +// CreateOrUpdate creates or updates a domain. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // domainName - name of the domain. @@ -254,8 +254,8 @@ func (client DomainsClient) CreateOrUpdateResponder(resp *http.Response) (result return } -// CreateOrUpdateOwnershipIdentifier description for Creates an ownership identifier for a domain or updates identifier -// details for an existing identifier +// CreateOrUpdateOwnershipIdentifier creates an ownership identifier for a domain or updates identifier details for an +// existing identifier // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // domainName - name of domain. @@ -344,7 +344,7 @@ func (client DomainsClient) CreateOrUpdateOwnershipIdentifierResponder(resp *htt return } -// Delete description for Delete a domain. +// Delete delete a domain. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // domainName - name of the domain. @@ -432,7 +432,7 @@ func (client DomainsClient) DeleteResponder(resp *http.Response) (result autores return } -// DeleteOwnershipIdentifier description for Delete ownership identifier for domain +// DeleteOwnershipIdentifier delete ownership identifier for domain // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // domainName - name of domain. @@ -517,7 +517,7 @@ func (client DomainsClient) DeleteOwnershipIdentifierResponder(resp *http.Respon return } -// Get description for Get a domain. +// Get get a domain. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // domainName - name of the domain. @@ -601,7 +601,7 @@ func (client DomainsClient) GetResponder(resp *http.Response) (result Domain, er return } -// GetControlCenterSsoRequest description for Generate a single sign-on request for the domain management portal. +// GetControlCenterSsoRequest generate a single sign-on request for the domain management portal. func (client DomainsClient) GetControlCenterSsoRequest(ctx context.Context) (result DomainControlCenterSsoRequest, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/DomainsClient.GetControlCenterSsoRequest") @@ -672,7 +672,7 @@ func (client DomainsClient) GetControlCenterSsoRequestResponder(resp *http.Respo return } -// GetOwnershipIdentifier description for Get ownership identifier for domain +// GetOwnershipIdentifier get ownership identifier for domain // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // domainName - name of domain. @@ -758,7 +758,7 @@ func (client DomainsClient) GetOwnershipIdentifierResponder(resp *http.Response) return } -// List description for Get all domains in a subscription. +// List get all domains in a subscription. func (client DomainsClient) List(ctx context.Context) (result DomainCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/DomainsClient.List") @@ -871,7 +871,7 @@ func (client DomainsClient) ListComplete(ctx context.Context) (result DomainColl return } -// ListByResourceGroup description for Get all domains in a resource group. +// ListByResourceGroup get all domains in a resource group. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. func (client DomainsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result DomainCollectionPage, err error) { @@ -995,7 +995,7 @@ func (client DomainsClient) ListByResourceGroupComplete(ctx context.Context, res return } -// ListOwnershipIdentifiers description for Lists domain ownership identifiers. +// ListOwnershipIdentifiers lists domain ownership identifiers. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // domainName - name of domain. @@ -1121,7 +1121,7 @@ func (client DomainsClient) ListOwnershipIdentifiersComplete(ctx context.Context return } -// ListRecommendations description for Get domain name recommendations based on keywords. +// ListRecommendations get domain name recommendations based on keywords. // Parameters: // parameters - search parameters for domain name recommendations. func (client DomainsClient) ListRecommendations(ctx context.Context, parameters DomainRecommendationSearchParameters) (result NameIdentifierCollectionPage, err error) { @@ -1238,7 +1238,7 @@ func (client DomainsClient) ListRecommendationsComplete(ctx context.Context, par return } -// Renew description for Renew a domain. +// Renew renew a domain. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // domainName - name of the domain. @@ -1321,7 +1321,7 @@ func (client DomainsClient) RenewResponder(resp *http.Response) (result autorest return } -// Update description for Creates or updates a domain. +// Update creates or updates a domain. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // domainName - name of the domain. @@ -1410,8 +1410,8 @@ func (client DomainsClient) UpdateResponder(resp *http.Response) (result Domain, return } -// UpdateOwnershipIdentifier description for Creates an ownership identifier for a domain or updates identifier details -// for an existing identifier +// UpdateOwnershipIdentifier creates an ownership identifier for a domain or updates identifier details for an existing +// identifier // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // domainName - name of domain. diff --git a/services/web/mgmt/2021-01-15/web/global.go b/services/web/mgmt/2021-01-15/web/global.go index c8b3137bdbd4..582b29eb1bce 100644 --- a/services/web/mgmt/2021-01-15/web/global.go +++ b/services/web/mgmt/2021-01-15/web/global.go @@ -30,7 +30,7 @@ func NewGlobalClientWithBaseURI(baseURI string, subscriptionID string) GlobalCli return GlobalClient{NewWithBaseURI(baseURI, subscriptionID)} } -// GetDeletedWebApp description for Get deleted app for a subscription. +// GetDeletedWebApp get deleted app for a subscription. // Parameters: // deletedSiteID - the numeric ID of the deleted app, e.g. 12345 func (client GlobalClient) GetDeletedWebApp(ctx context.Context, deletedSiteID string) (result DeletedSite, err error) { @@ -104,7 +104,7 @@ func (client GlobalClient) GetDeletedWebAppResponder(resp *http.Response) (resul return } -// GetDeletedWebAppSnapshots description for Get all deleted apps for a subscription. +// GetDeletedWebAppSnapshots get all deleted apps for a subscription. // Parameters: // deletedSiteID - the numeric ID of the deleted app, e.g. 12345 func (client GlobalClient) GetDeletedWebAppSnapshots(ctx context.Context, deletedSiteID string) (result ListSnapshot, err error) { @@ -178,7 +178,7 @@ func (client GlobalClient) GetDeletedWebAppSnapshotsResponder(resp *http.Respons return } -// GetSubscriptionOperationWithAsyncResponse description for Gets an operation in a subscription and given region +// GetSubscriptionOperationWithAsyncResponse gets an operation in a subscription and given region // Parameters: // location - location name // operationID - operation Id diff --git a/services/web/mgmt/2021-01-15/web/kubeenvironments.go b/services/web/mgmt/2021-01-15/web/kubeenvironments.go index 4a0316543c65..565cfd1fc33d 100644 --- a/services/web/mgmt/2021-01-15/web/kubeenvironments.go +++ b/services/web/mgmt/2021-01-15/web/kubeenvironments.go @@ -32,7 +32,7 @@ func NewKubeEnvironmentsClientWithBaseURI(baseURI string, subscriptionID string) return KubeEnvironmentsClient{NewWithBaseURI(baseURI, subscriptionID)} } -// CreateOrUpdate description for Creates or updates a Kubernetes Environment. +// CreateOrUpdate creates or updates a Kubernetes Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the Kubernetes Environment. @@ -122,7 +122,7 @@ func (client KubeEnvironmentsClient) CreateOrUpdateResponder(resp *http.Response return } -// Delete description for Delete a Kubernetes Environment. +// Delete delete a Kubernetes Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the Kubernetes Environment. @@ -208,7 +208,7 @@ func (client KubeEnvironmentsClient) DeleteResponder(resp *http.Response) (resul return } -// Get description for Get the properties of a Kubernetes Environment. +// Get get the properties of a Kubernetes Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the Kubernetes Environment. @@ -292,7 +292,7 @@ func (client KubeEnvironmentsClient) GetResponder(resp *http.Response) (result K return } -// ListByResourceGroup description for Get all the Kubernetes Environments in a resource group. +// ListByResourceGroup get all the Kubernetes Environments in a resource group. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. func (client KubeEnvironmentsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result KubeEnvironmentCollectionPage, err error) { @@ -416,7 +416,7 @@ func (client KubeEnvironmentsClient) ListByResourceGroupComplete(ctx context.Con return } -// ListBySubscription description for Get all Kubernetes Environments for a subscription. +// ListBySubscription get all Kubernetes Environments for a subscription. func (client KubeEnvironmentsClient) ListBySubscription(ctx context.Context) (result KubeEnvironmentCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/KubeEnvironmentsClient.ListBySubscription") @@ -529,7 +529,7 @@ func (client KubeEnvironmentsClient) ListBySubscriptionComplete(ctx context.Cont return } -// Update description for Creates or updates a Kubernetes Environment. +// Update creates or updates a Kubernetes Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the Kubernetes Environment. diff --git a/services/web/mgmt/2021-01-15/web/models.go b/services/web/mgmt/2021-01-15/web/models.go index 0f8e71a4d94a..55fb26021489 100644 --- a/services/web/mgmt/2021-01-15/web/models.go +++ b/services/web/mgmt/2021-01-15/web/models.go @@ -149,94 +149,9 @@ type AddressResponseProperties struct { VipMappings *[]VirtualIPMapping `json:"vipMappings,omitempty"` } -// AllowedAudiencesValidation ... +// AllowedAudiencesValidation the configuration settings of the Allowed Audiences validation flow. type AllowedAudiencesValidation struct { - // AllowedAudiencesValidationProperties - AllowedAudiencesValidation resource specific properties - *AllowedAudiencesValidationProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for AllowedAudiencesValidation. -func (aav AllowedAudiencesValidation) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if aav.AllowedAudiencesValidationProperties != nil { - objectMap["properties"] = aav.AllowedAudiencesValidationProperties - } - if aav.Kind != nil { - objectMap["kind"] = aav.Kind - } - return json.Marshal(objectMap) -} - -// UnmarshalJSON is the custom unmarshaler for AllowedAudiencesValidation struct. -func (aav *AllowedAudiencesValidation) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var allowedAudiencesValidationProperties AllowedAudiencesValidationProperties - err = json.Unmarshal(*v, &allowedAudiencesValidationProperties) - if err != nil { - return err - } - aav.AllowedAudiencesValidationProperties = &allowedAudiencesValidationProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - aav.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - aav.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - aav.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - aav.Type = &typeVar - } - } - } - - return nil -} - -// AllowedAudiencesValidationProperties allowedAudiencesValidation resource specific properties -type AllowedAudiencesValidationProperties struct { + // AllowedAudiences - The configuration settings of the allowed list of audiences from which to validate the JWT token. AllowedAudiences *[]string `json:"allowedAudiences,omitempty"` } @@ -987,92 +902,6 @@ func NewAppInstanceStatusCollectionPage(cur AppInstanceStatusCollection, getNext // Apple the configuration settings of the Apple provider. type Apple struct { - // AppleProperties - Apple resource specific properties - *AppleProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for Apple. -func (a Apple) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if a.AppleProperties != nil { - objectMap["properties"] = a.AppleProperties - } - if a.Kind != nil { - objectMap["kind"] = a.Kind - } - return json.Marshal(objectMap) -} - -// UnmarshalJSON is the custom unmarshaler for Apple struct. -func (a *Apple) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var appleProperties AppleProperties - err = json.Unmarshal(*v, &appleProperties) - if err != nil { - return err - } - a.AppleProperties = &appleProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - a.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - a.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - a.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - a.Type = &typeVar - } - } - } - - return nil -} - -// AppleProperties apple resource specific properties -type AppleProperties struct { // Enabled - false if the Apple provider should not be enabled despite the set registration; otherwise, true. Enabled *bool `json:"enabled,omitempty"` // Registration - The configuration settings of the Apple registration. @@ -1083,92 +912,6 @@ type AppleProperties struct { // AppleRegistration the configuration settings of the registration for the Apple provider type AppleRegistration struct { - // AppleRegistrationProperties - AppleRegistration resource specific properties - *AppleRegistrationProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for AppleRegistration. -func (ar AppleRegistration) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if ar.AppleRegistrationProperties != nil { - objectMap["properties"] = ar.AppleRegistrationProperties - } - if ar.Kind != nil { - objectMap["kind"] = ar.Kind - } - return json.Marshal(objectMap) -} - -// UnmarshalJSON is the custom unmarshaler for AppleRegistration struct. -func (ar *AppleRegistration) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var appleRegistrationProperties AppleRegistrationProperties - err = json.Unmarshal(*v, &appleRegistrationProperties) - if err != nil { - return err - } - ar.AppleRegistrationProperties = &appleRegistrationProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - ar.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - ar.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - ar.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - ar.Type = &typeVar - } - } - } - - return nil -} - -// AppleRegistrationProperties appleRegistration resource specific properties -type AppleRegistrationProperties struct { // ClientID - The Client ID of the app used for login. ClientID *string `json:"clientId,omitempty"` // ClientSecretSettingName - The app setting name that contains the client secret. @@ -1497,112 +1240,26 @@ func (amv AppMinorVersion) MarshalJSON() ([]byte, error) { // AppRegistration the configuration settings of the app registration for providers that have app ids and // app secrets type AppRegistration struct { - // AppRegistrationProperties - AppRegistration resource specific properties - *AppRegistrationProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` + // AppID - The App ID of the app used for login. + AppID *string `json:"appId,omitempty"` + // AppSecretSettingName - The app setting name that contains the app secret. + AppSecretSettingName *string `json:"appSecretSettingName,omitempty"` +} + +// AppRuntimes web App stack runtimes. +type AppRuntimes struct { + // LinuxRuntimeSettings - READ-ONLY; Linux-specific settings associated with the minor version. + LinuxRuntimeSettings *AppRuntimeSettings `json:"linuxRuntimeSettings,omitempty"` + // WindowsRuntimeSettings - READ-ONLY; Windows-specific settings associated with the minor version. + WindowsRuntimeSettings *AppRuntimeSettings `json:"windowsRuntimeSettings,omitempty"` + // LinuxContainerSettings - READ-ONLY; Linux-specific settings associated with the Java container minor version. + LinuxContainerSettings *LinuxJavaContainerSettings `json:"linuxContainerSettings,omitempty"` + // WindowsContainerSettings - READ-ONLY; Windows-specific settings associated with the Java container minor version. + WindowsContainerSettings *WindowsJavaContainerSettings `json:"windowsContainerSettings,omitempty"` } -// MarshalJSON is the custom marshaler for AppRegistration. -func (ar AppRegistration) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if ar.AppRegistrationProperties != nil { - objectMap["properties"] = ar.AppRegistrationProperties - } - if ar.Kind != nil { - objectMap["kind"] = ar.Kind - } - return json.Marshal(objectMap) -} - -// UnmarshalJSON is the custom unmarshaler for AppRegistration struct. -func (ar *AppRegistration) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var appRegistrationProperties AppRegistrationProperties - err = json.Unmarshal(*v, &appRegistrationProperties) - if err != nil { - return err - } - ar.AppRegistrationProperties = &appRegistrationProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - ar.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - ar.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - ar.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - ar.Type = &typeVar - } - } - } - - return nil -} - -// AppRegistrationProperties appRegistration resource specific properties -type AppRegistrationProperties struct { - // AppID - The App ID of the app used for login. - AppID *string `json:"appId,omitempty"` - // AppSecretSettingName - The app setting name that contains the app secret. - AppSecretSettingName *string `json:"appSecretSettingName,omitempty"` -} - -// AppRuntimes web App stack runtimes. -type AppRuntimes struct { - // LinuxRuntimeSettings - READ-ONLY; Linux-specific settings associated with the minor version. - LinuxRuntimeSettings *AppRuntimeSettings `json:"linuxRuntimeSettings,omitempty"` - // WindowsRuntimeSettings - READ-ONLY; Windows-specific settings associated with the minor version. - WindowsRuntimeSettings *AppRuntimeSettings `json:"windowsRuntimeSettings,omitempty"` - // LinuxContainerSettings - READ-ONLY; Linux-specific settings associated with the Java container minor version. - LinuxContainerSettings *LinuxJavaContainerSettings `json:"linuxContainerSettings,omitempty"` - // WindowsContainerSettings - READ-ONLY; Windows-specific settings associated with the Java container minor version. - WindowsContainerSettings *WindowsJavaContainerSettings `json:"windowsContainerSettings,omitempty"` -} - -// MarshalJSON is the custom marshaler for AppRuntimes. -func (ar AppRuntimes) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for AppRuntimes. +func (ar AppRuntimes) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) return json.Marshal(objectMap) } @@ -4180,7 +3837,6 @@ func (future *AppServiceEnvironmentsSuspendFuture) result(client AppServiceEnvir // AppserviceGithubToken github access token for Appservice CLI github integration. type AppserviceGithubToken struct { - autorest.Response `json:"-"` // AccessToken - Github access token for Appservice CLI github integration AccessToken *string `json:"accessToken,omitempty"` // Scope - Scope of the github access token @@ -6057,92 +5713,6 @@ func (avnc AseV3NetworkingConfigurationProperties) MarshalJSON() ([]byte, error) // AuthPlatform the configuration settings of the platform of App Service Authentication/Authorization. type AuthPlatform struct { - // AuthPlatformProperties - AuthPlatform resource specific properties - *AuthPlatformProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for AuthPlatform. -func (ap AuthPlatform) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if ap.AuthPlatformProperties != nil { - objectMap["properties"] = ap.AuthPlatformProperties - } - if ap.Kind != nil { - objectMap["kind"] = ap.Kind - } - return json.Marshal(objectMap) -} - -// UnmarshalJSON is the custom unmarshaler for AuthPlatform struct. -func (ap *AuthPlatform) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var authPlatformProperties AuthPlatformProperties - err = json.Unmarshal(*v, &authPlatformProperties) - if err != nil { - return err - } - ap.AuthPlatformProperties = &authPlatformProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - ap.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - ap.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - ap.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - ap.Type = &typeVar - } - } - } - - return nil -} - -// AuthPlatformProperties authPlatform resource specific properties -type AuthPlatformProperties struct { // Enabled - true if the Authentication / Authorization feature is enabled for the current app; otherwise, false. Enabled *bool `json:"enabled,omitempty"` // RuntimeVersion - The RuntimeVersion of the Authentication / Authorization feature in use for the current app. @@ -6199,205 +5769,145 @@ type AutoHealTriggers struct { // AzureActiveDirectory the configuration settings of the Azure Active directory provider. type AzureActiveDirectory struct { - // AzureActiveDirectoryProperties - AzureActiveDirectory resource specific properties - *AzureActiveDirectoryProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` + // Enabled - false if the Azure Active Directory provider should not be enabled despite the set registration; otherwise, true. + Enabled *bool `json:"enabled,omitempty"` + // Registration - The configuration settings of the Azure Active Directory app registration. + Registration *AzureActiveDirectoryRegistration `json:"registration,omitempty"` + // Login - The configuration settings of the Azure Active Directory login flow. + Login *AzureActiveDirectoryLogin `json:"login,omitempty"` + // Validation - The configuration settings of the Azure Active Directory token validation flow. + Validation *AzureActiveDirectoryValidation `json:"validation,omitempty"` + // IsAutoProvisioned - Gets a value indicating whether the Azure AD configuration was auto-provisioned using 1st party tooling. + // This is an internal flag primarily intended to support the Azure Management Portal. Users should not + // read or write to this property. + IsAutoProvisioned *bool `json:"isAutoProvisioned,omitempty"` } -// MarshalJSON is the custom marshaler for AzureActiveDirectory. -func (aad AzureActiveDirectory) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if aad.AzureActiveDirectoryProperties != nil { - objectMap["properties"] = aad.AzureActiveDirectoryProperties - } - if aad.Kind != nil { - objectMap["kind"] = aad.Kind - } - return json.Marshal(objectMap) +// AzureActiveDirectoryLogin the configuration settings of the Azure Active Directory login flow. +type AzureActiveDirectoryLogin struct { + // LoginParameters - Login parameters to send to the OpenID Connect authorization endpoint when + // a user logs in. Each parameter must be in the form "key=value". + LoginParameters *[]string `json:"loginParameters,omitempty"` + // DisableWWWAuthenticate - true if the www-authenticate provider should be omitted from the request; otherwise, false. + DisableWWWAuthenticate *bool `json:"disableWWWAuthenticate,omitempty"` } -// UnmarshalJSON is the custom unmarshaler for AzureActiveDirectory struct. -func (aad *AzureActiveDirectory) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var azureActiveDirectoryProperties AzureActiveDirectoryProperties - err = json.Unmarshal(*v, &azureActiveDirectoryProperties) - if err != nil { - return err - } - aad.AzureActiveDirectoryProperties = &azureActiveDirectoryProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - aad.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - aad.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - aad.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - aad.Type = &typeVar - } - } - } - - return nil +// AzureActiveDirectoryRegistration the configuration settings of the Azure Active Directory app +// registration. +type AzureActiveDirectoryRegistration struct { + // OpenIDIssuer - The OpenID Connect Issuer URI that represents the entity which issues access tokens for this application. + // When using Azure Active Directory, this value is the URI of the directory tenant, e.g. https://login.microsoftonline.com/v2.0/{tenant-guid}/. + // This URI is a case-sensitive identifier for the token issuer. + // More information on OpenID Connect Discovery: http://openid.net/specs/openid-connect-discovery-1_0.html + OpenIDIssuer *string `json:"openIdIssuer,omitempty"` + // ClientID - The Client ID of this relying party application, known as the client_id. + // This setting is required for enabling OpenID Connection authentication with Azure Active Directory or + // other 3rd party OpenID Connect providers. + // More information on OpenID Connect: http://openid.net/specs/openid-connect-core-1_0.html + ClientID *string `json:"clientId,omitempty"` + // ClientSecretSettingName - The app setting name that contains the client secret of the relying party application. + ClientSecretSettingName *string `json:"clientSecretSettingName,omitempty"` + // ClientSecretCertificateThumbprint - An alternative to the client secret, that is the thumbprint of a certificate used for signing purposes. This property acts as + // a replacement for the Client Secret. It is also optional. + ClientSecretCertificateThumbprint *string `json:"clientSecretCertificateThumbprint,omitempty"` + // ClientSecretCertificateSubjectAlternativeName - An alternative to the client secret thumbprint, that is the subject alternative name of a certificate used for signing purposes. This property acts as + // a replacement for the Client Secret Certificate Thumbprint. It is also optional. + ClientSecretCertificateSubjectAlternativeName *string `json:"clientSecretCertificateSubjectAlternativeName,omitempty"` + // ClientSecretCertificateIssuer - An alternative to the client secret thumbprint, that is the issuer of a certificate used for signing purposes. This property acts as + // a replacement for the Client Secret Certificate Thumbprint. It is also optional. + ClientSecretCertificateIssuer *string `json:"clientSecretCertificateIssuer,omitempty"` } -// AzureActiveDirectoryLogin the configuration settings of the Azure Active Directory login flow. -type AzureActiveDirectoryLogin struct { - // AzureActiveDirectoryLoginProperties - AzureActiveDirectoryLogin resource specific properties - *AzureActiveDirectoryLoginProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` +// AzureActiveDirectoryValidation the configuration settings of the Azure Active Directory token validation +// flow. +type AzureActiveDirectoryValidation struct { + // JwtClaimChecks - The configuration settings of the checks that should be made while validating the JWT Claims. + JwtClaimChecks *JwtClaimChecks `json:"jwtClaimChecks,omitempty"` + // AllowedAudiences - The list of audiences that can make successful authentication/authorization requests. + AllowedAudiences *[]string `json:"allowedAudiences,omitempty"` } -// MarshalJSON is the custom marshaler for AzureActiveDirectoryLogin. -func (aadl AzureActiveDirectoryLogin) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if aadl.AzureActiveDirectoryLoginProperties != nil { - objectMap["properties"] = aadl.AzureActiveDirectoryLoginProperties - } - if aadl.Kind != nil { - objectMap["kind"] = aadl.Kind - } - return json.Marshal(objectMap) +// AzureBlobStorageApplicationLogsConfig application logs azure blob storage configuration. +type AzureBlobStorageApplicationLogsConfig struct { + // Level - Log level. Possible values include: 'LogLevelOff', 'LogLevelVerbose', 'LogLevelInformation', 'LogLevelWarning', 'LogLevelError' + Level LogLevel `json:"level,omitempty"` + // SasURL - SAS url to a azure blob container with read/write/list/delete permissions. + SasURL *string `json:"sasUrl,omitempty"` + // RetentionInDays - Retention in days. + // Remove blobs older than X days. + // 0 or lower means no retention. + RetentionInDays *int32 `json:"retentionInDays,omitempty"` } -// UnmarshalJSON is the custom unmarshaler for AzureActiveDirectoryLogin struct. -func (aadl *AzureActiveDirectoryLogin) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var azureActiveDirectoryLoginProperties AzureActiveDirectoryLoginProperties - err = json.Unmarshal(*v, &azureActiveDirectoryLoginProperties) - if err != nil { - return err - } - aadl.AzureActiveDirectoryLoginProperties = &azureActiveDirectoryLoginProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - aadl.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - aadl.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - aadl.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - aadl.Type = &typeVar - } - } - } +// AzureBlobStorageHTTPLogsConfig http logs to azure blob storage configuration. +type AzureBlobStorageHTTPLogsConfig struct { + // SasURL - SAS url to a azure blob container with read/write/list/delete permissions. + SasURL *string `json:"sasUrl,omitempty"` + // RetentionInDays - Retention in days. + // Remove blobs older than X days. + // 0 or lower means no retention. + RetentionInDays *int32 `json:"retentionInDays,omitempty"` + // Enabled - True if configuration is enabled, false if it is disabled and null if configuration is not set. + Enabled *bool `json:"enabled,omitempty"` +} - return nil +// AzureStaticWebApps the configuration settings of the Azure Static Web Apps provider. +type AzureStaticWebApps struct { + // Enabled - false if the Azure Static Web Apps provider should not be enabled despite the set registration; otherwise, true. + Enabled *bool `json:"enabled,omitempty"` + // Registration - The configuration settings of the Azure Static Web Apps registration. + Registration *AzureStaticWebAppsRegistration `json:"registration,omitempty"` } -// AzureActiveDirectoryLoginProperties azureActiveDirectoryLogin resource specific properties -type AzureActiveDirectoryLoginProperties struct { - DisableWWWAuthenticate *bool `json:"disableWWWAuthenticate,omitempty"` - // LoginParameters - Login parameters to send to the OpenID Connect authorization endpoint when - // a user logs in. Each parameter must be in the form "key=value". - LoginParameters *[]string `json:"loginParameters,omitempty"` +// AzureStaticWebAppsRegistration the configuration settings of the registration for the Azure Static Web +// Apps provider +type AzureStaticWebAppsRegistration struct { + // ClientID - The Client ID of the app used for login. + ClientID *string `json:"clientId,omitempty"` } -// AzureActiveDirectoryProperties azureActiveDirectory resource specific properties -type AzureActiveDirectoryProperties struct { - // Enabled - false if the Azure Active Directory provider should not be enabled despite the set registration; otherwise, true. - Enabled *bool `json:"enabled,omitempty"` - // Registration - The configuration settings of the Azure Active Directory app registration. - Registration *AzureActiveDirectoryRegistration `json:"registration,omitempty"` - // Login - The configuration settings of the Azure Active Directory login flow. - Login *AzureActiveDirectoryLogin `json:"login,omitempty"` - // Validation - The configuration settings of the Azure Active Directory token validation flow. - Validation *AzureActiveDirectoryValidation `json:"validation,omitempty"` - // IsAutoProvisioned - Gets a value indicating whether the Azure AD configuration was auto-provisioned using 1st party tooling. - // This is an internal flag primarily intended to support the Azure Management Portal. Users should not - // read or write to this property. - IsAutoProvisioned *bool `json:"isAutoProvisioned,omitempty"` +// AzureStorageInfoValue azure Files or Blob Storage access information value for dictionary storage. +type AzureStorageInfoValue struct { + // Type - Type of storage. Possible values include: 'AzureStorageTypeAzureFiles', 'AzureStorageTypeAzureBlob' + Type AzureStorageType `json:"type,omitempty"` + // AccountName - Name of the storage account. + AccountName *string `json:"accountName,omitempty"` + // ShareName - Name of the file share (container name, for Blob storage). + ShareName *string `json:"shareName,omitempty"` + // AccessKey - Access key for the storage account. + AccessKey *string `json:"accessKey,omitempty"` + // MountPath - Path to mount the storage within the site's runtime environment. + MountPath *string `json:"mountPath,omitempty"` + // State - READ-ONLY; State of the storage account. Possible values include: 'AzureStorageStateOk', 'AzureStorageStateInvalidCredentials', 'AzureStorageStateInvalidShare', 'AzureStorageStateNotValidated' + State AzureStorageState `json:"state,omitempty"` } -// AzureActiveDirectoryRegistration the configuration settings of the Azure Active Directory app -// registration. -type AzureActiveDirectoryRegistration struct { - // AzureActiveDirectoryRegistrationProperties - AzureActiveDirectoryRegistration resource specific properties - *AzureActiveDirectoryRegistrationProperties `json:"properties,omitempty"` +// MarshalJSON is the custom marshaler for AzureStorageInfoValue. +func (asiv AzureStorageInfoValue) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if asiv.Type != "" { + objectMap["type"] = asiv.Type + } + if asiv.AccountName != nil { + objectMap["accountName"] = asiv.AccountName + } + if asiv.ShareName != nil { + objectMap["shareName"] = asiv.ShareName + } + if asiv.AccessKey != nil { + objectMap["accessKey"] = asiv.AccessKey + } + if asiv.MountPath != nil { + objectMap["mountPath"] = asiv.MountPath + } + return json.Marshal(objectMap) +} + +// AzureStoragePropertyDictionaryResource azureStorageInfo dictionary resource. +type AzureStoragePropertyDictionaryResource struct { + autorest.Response `json:"-"` + // Properties - Azure storage accounts. + Properties map[string]*AzureStorageInfoValue `json:"properties"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. @@ -6408,102 +5918,31 @@ type AzureActiveDirectoryRegistration struct { Type *string `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for AzureActiveDirectoryRegistration. -func (aadr AzureActiveDirectoryRegistration) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for AzureStoragePropertyDictionaryResource. +func (aspdr AzureStoragePropertyDictionaryResource) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if aadr.AzureActiveDirectoryRegistrationProperties != nil { - objectMap["properties"] = aadr.AzureActiveDirectoryRegistrationProperties + if aspdr.Properties != nil { + objectMap["properties"] = aspdr.Properties } - if aadr.Kind != nil { - objectMap["kind"] = aadr.Kind + if aspdr.Kind != nil { + objectMap["kind"] = aspdr.Kind } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for AzureActiveDirectoryRegistration struct. -func (aadr *AzureActiveDirectoryRegistration) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var azureActiveDirectoryRegistrationProperties AzureActiveDirectoryRegistrationProperties - err = json.Unmarshal(*v, &azureActiveDirectoryRegistrationProperties) - if err != nil { - return err - } - aadr.AzureActiveDirectoryRegistrationProperties = &azureActiveDirectoryRegistrationProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - aadr.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - aadr.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - aadr.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - aadr.Type = &typeVar - } - } - } - - return nil -} - -// AzureActiveDirectoryRegistrationProperties azureActiveDirectoryRegistration resource specific properties -type AzureActiveDirectoryRegistrationProperties struct { - // OpenIDIssuer - The OpenID Connect Issuer URI that represents the entity which issues access tokens for this application. - // When using Azure Active Directory, this value is the URI of the directory tenant, e.g. https://login.microsoftonline.com/v2.0/{tenant-guid}/. - // This URI is a case-sensitive identifier for the token issuer. - // More information on OpenID Connect Discovery: http://openid.net/specs/openid-connect-discovery-1_0.html - OpenIDIssuer *string `json:"openIdIssuer,omitempty"` - // ClientID - The Client ID of this relying party application, known as the client_id. - // This setting is required for enabling OpenID Connection authentication with Azure Active Directory or - // other 3rd party OpenID Connect providers. - // More information on OpenID Connect: http://openid.net/specs/openid-connect-core-1_0.html - ClientID *string `json:"clientId,omitempty"` - // ClientSecretSettingName - The app setting name that contains the client secret of the relying party application. - ClientSecretSettingName *string `json:"clientSecretSettingName,omitempty"` - // ClientSecretCertificateThumbprint - An alternative to the client secret, that is the thumbprint of a certificate used for signing purposes. This property acts as - // a replacement for the Client Secret. It is also optional. - ClientSecretCertificateThumbprint *string `json:"clientSecretCertificateThumbprint,omitempty"` +// AzureTableStorageApplicationLogsConfig application logs to Azure table storage configuration. +type AzureTableStorageApplicationLogsConfig struct { + // Level - Log level. Possible values include: 'LogLevelOff', 'LogLevelVerbose', 'LogLevelInformation', 'LogLevelWarning', 'LogLevelError' + Level LogLevel `json:"level,omitempty"` + // SasURL - SAS URL to an Azure table with add/query/delete permissions. + SasURL *string `json:"sasUrl,omitempty"` } -// AzureActiveDirectoryValidation the configuration settings of the Azure Active Directory token validation -// flow. -type AzureActiveDirectoryValidation struct { - // AzureActiveDirectoryValidationProperties - AzureActiveDirectoryValidation resource specific properties - *AzureActiveDirectoryValidationProperties `json:"properties,omitempty"` +// BackupItem backup description. +type BackupItem struct { + autorest.Response `json:"-"` + // BackupItemProperties - BackupItem resource specific properties + *BackupItemProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. @@ -6514,20 +5953,20 @@ type AzureActiveDirectoryValidation struct { Type *string `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for AzureActiveDirectoryValidation. -func (aadv AzureActiveDirectoryValidation) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for BackupItem. +func (bi BackupItem) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if aadv.AzureActiveDirectoryValidationProperties != nil { - objectMap["properties"] = aadv.AzureActiveDirectoryValidationProperties + if bi.BackupItemProperties != nil { + objectMap["properties"] = bi.BackupItemProperties } - if aadv.Kind != nil { - objectMap["kind"] = aadv.Kind + if bi.Kind != nil { + objectMap["kind"] = bi.Kind } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for AzureActiveDirectoryValidation struct. -func (aadv *AzureActiveDirectoryValidation) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for BackupItem struct. +func (bi *BackupItem) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -6537,12 +5976,12 @@ func (aadv *AzureActiveDirectoryValidation) UnmarshalJSON(body []byte) error { switch k { case "properties": if v != nil { - var azureActiveDirectoryValidationProperties AzureActiveDirectoryValidationProperties - err = json.Unmarshal(*v, &azureActiveDirectoryValidationProperties) + var backupItemProperties BackupItemProperties + err = json.Unmarshal(*v, &backupItemProperties) if err != nil { return err } - aadv.AzureActiveDirectoryValidationProperties = &azureActiveDirectoryValidationProperties + bi.BackupItemProperties = &backupItemProperties } case "id": if v != nil { @@ -6551,7 +5990,7 @@ func (aadv *AzureActiveDirectoryValidation) UnmarshalJSON(body []byte) error { if err != nil { return err } - aadv.ID = &ID + bi.ID = &ID } case "name": if v != nil { @@ -6560,7 +5999,7 @@ func (aadv *AzureActiveDirectoryValidation) UnmarshalJSON(body []byte) error { if err != nil { return err } - aadv.Name = &name + bi.Name = &name } case "kind": if v != nil { @@ -6569,7 +6008,7 @@ func (aadv *AzureActiveDirectoryValidation) UnmarshalJSON(body []byte) error { if err != nil { return err } - aadv.Kind = &kind + bi.Kind = &kind } case "type": if v != nil { @@ -6578,7 +6017,7 @@ func (aadv *AzureActiveDirectoryValidation) UnmarshalJSON(body []byte) error { if err != nil { return err } - aadv.Type = &typeVar + bi.Type = &typeVar } } } @@ -6586,42 +6025,217 @@ func (aadv *AzureActiveDirectoryValidation) UnmarshalJSON(body []byte) error { return nil } -// AzureActiveDirectoryValidationProperties azureActiveDirectoryValidation resource specific properties -type AzureActiveDirectoryValidationProperties struct { - // JwtClaimChecks - The configuration settings of the checks that should be made while validating the JWT Claims. - JwtClaimChecks *JwtClaimChecks `json:"jwtClaimChecks,omitempty"` - // AllowedAudiences - The list of audiences that can make successful authentication/authorization requests. - AllowedAudiences *[]string `json:"allowedAudiences,omitempty"` -} - -// AzureBlobStorageApplicationLogsConfig application logs azure blob storage configuration. -type AzureBlobStorageApplicationLogsConfig struct { - // Level - Log level. Possible values include: 'LogLevelOff', 'LogLevelVerbose', 'LogLevelInformation', 'LogLevelWarning', 'LogLevelError' - Level LogLevel `json:"level,omitempty"` - // SasURL - SAS url to a azure blob container with read/write/list/delete permissions. - SasURL *string `json:"sasUrl,omitempty"` - // RetentionInDays - Retention in days. - // Remove blobs older than X days. - // 0 or lower means no retention. - RetentionInDays *int32 `json:"retentionInDays,omitempty"` +// BackupItemCollection collection of backup items. +type BackupItemCollection struct { + autorest.Response `json:"-"` + // Value - Collection of resources. + Value *[]BackupItem `json:"value,omitempty"` + // NextLink - READ-ONLY; Link to next page of resources. + NextLink *string `json:"nextLink,omitempty"` } -// AzureBlobStorageHTTPLogsConfig http logs to azure blob storage configuration. -type AzureBlobStorageHTTPLogsConfig struct { - // SasURL - SAS url to a azure blob container with read/write/list/delete permissions. - SasURL *string `json:"sasUrl,omitempty"` - // RetentionInDays - Retention in days. - // Remove blobs older than X days. - // 0 or lower means no retention. - RetentionInDays *int32 `json:"retentionInDays,omitempty"` - // Enabled - True if configuration is enabled, false if it is disabled and null if configuration is not set. - Enabled *bool `json:"enabled,omitempty"` +// MarshalJSON is the custom marshaler for BackupItemCollection. +func (bic BackupItemCollection) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if bic.Value != nil { + objectMap["value"] = bic.Value + } + return json.Marshal(objectMap) } -// AzureStaticWebApps the configuration settings of the Azure Static Web Apps provider. -type AzureStaticWebApps struct { - // AzureStaticWebAppsProperties - AzureStaticWebApps resource specific properties - *AzureStaticWebAppsProperties `json:"properties,omitempty"` +// BackupItemCollectionIterator provides access to a complete listing of BackupItem values. +type BackupItemCollectionIterator struct { + i int + page BackupItemCollectionPage +} + +// NextWithContext advances to the next value. If there was an error making +// the request the iterator does not advance and the error is returned. +func (iter *BackupItemCollectionIterator) NextWithContext(ctx context.Context) (err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/BackupItemCollectionIterator.NextWithContext") + defer func() { + sc := -1 + if iter.Response().Response.Response != nil { + sc = iter.Response().Response.Response.StatusCode + } + tracing.EndSpan(ctx, sc, err) + }() + } + iter.i++ + if iter.i < len(iter.page.Values()) { + return nil + } + err = iter.page.NextWithContext(ctx) + if err != nil { + iter.i-- + return err + } + iter.i = 0 + return nil +} + +// Next advances to the next value. If there was an error making +// the request the iterator does not advance and the error is returned. +// Deprecated: Use NextWithContext() instead. +func (iter *BackupItemCollectionIterator) Next() error { + return iter.NextWithContext(context.Background()) +} + +// NotDone returns true if the enumeration should be started or is not yet complete. +func (iter BackupItemCollectionIterator) NotDone() bool { + return iter.page.NotDone() && iter.i < len(iter.page.Values()) +} + +// Response returns the raw server response from the last page request. +func (iter BackupItemCollectionIterator) Response() BackupItemCollection { + return iter.page.Response() +} + +// Value returns the current value or a zero-initialized value if the +// iterator has advanced beyond the end of the collection. +func (iter BackupItemCollectionIterator) Value() BackupItem { + if !iter.page.NotDone() { + return BackupItem{} + } + return iter.page.Values()[iter.i] +} + +// Creates a new instance of the BackupItemCollectionIterator type. +func NewBackupItemCollectionIterator(page BackupItemCollectionPage) BackupItemCollectionIterator { + return BackupItemCollectionIterator{page: page} +} + +// IsEmpty returns true if the ListResult contains no values. +func (bic BackupItemCollection) IsEmpty() bool { + return bic.Value == nil || len(*bic.Value) == 0 +} + +// hasNextLink returns true if the NextLink is not empty. +func (bic BackupItemCollection) hasNextLink() bool { + return bic.NextLink != nil && len(*bic.NextLink) != 0 +} + +// backupItemCollectionPreparer prepares a request to retrieve the next set of results. +// It returns nil if no more results exist. +func (bic BackupItemCollection) backupItemCollectionPreparer(ctx context.Context) (*http.Request, error) { + if !bic.hasNextLink() { + return nil, nil + } + return autorest.Prepare((&http.Request{}).WithContext(ctx), + autorest.AsJSON(), + autorest.AsGet(), + autorest.WithBaseURL(to.String(bic.NextLink))) +} + +// BackupItemCollectionPage contains a page of BackupItem values. +type BackupItemCollectionPage struct { + fn func(context.Context, BackupItemCollection) (BackupItemCollection, error) + bic BackupItemCollection +} + +// NextWithContext advances to the next page of values. If there was an error making +// the request the page does not advance and the error is returned. +func (page *BackupItemCollectionPage) NextWithContext(ctx context.Context) (err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/BackupItemCollectionPage.NextWithContext") + defer func() { + sc := -1 + if page.Response().Response.Response != nil { + sc = page.Response().Response.Response.StatusCode + } + tracing.EndSpan(ctx, sc, err) + }() + } + for { + next, err := page.fn(ctx, page.bic) + if err != nil { + return err + } + page.bic = next + if !next.hasNextLink() || !next.IsEmpty() { + break + } + } + return nil +} + +// Next advances to the next page of values. If there was an error making +// the request the page does not advance and the error is returned. +// Deprecated: Use NextWithContext() instead. +func (page *BackupItemCollectionPage) Next() error { + return page.NextWithContext(context.Background()) +} + +// NotDone returns true if the page enumeration should be started or is not yet complete. +func (page BackupItemCollectionPage) NotDone() bool { + return !page.bic.IsEmpty() +} + +// Response returns the raw server response from the last page request. +func (page BackupItemCollectionPage) Response() BackupItemCollection { + return page.bic +} + +// Values returns the slice of values for the current page or nil if there are no values. +func (page BackupItemCollectionPage) Values() []BackupItem { + if page.bic.IsEmpty() { + return nil + } + return *page.bic.Value +} + +// Creates a new instance of the BackupItemCollectionPage type. +func NewBackupItemCollectionPage(cur BackupItemCollection, getNextPage func(context.Context, BackupItemCollection) (BackupItemCollection, error)) BackupItemCollectionPage { + return BackupItemCollectionPage{ + fn: getNextPage, + bic: cur, + } +} + +// BackupItemProperties backupItem resource specific properties +type BackupItemProperties struct { + // BackupID - READ-ONLY; Id of the backup. + BackupID *int32 `json:"id,omitempty"` + // StorageAccountURL - READ-ONLY; SAS URL for the storage account container which contains this backup. + StorageAccountURL *string `json:"storageAccountUrl,omitempty"` + // BlobName - READ-ONLY; Name of the blob which contains data for this backup. + BlobName *string `json:"blobName,omitempty"` + // Name - READ-ONLY; Name of this backup. + Name *string `json:"name,omitempty"` + // Status - READ-ONLY; Backup status. Possible values include: 'BackupItemStatusInProgress', 'BackupItemStatusFailed', 'BackupItemStatusSucceeded', 'BackupItemStatusTimedOut', 'BackupItemStatusCreated', 'BackupItemStatusSkipped', 'BackupItemStatusPartiallySucceeded', 'BackupItemStatusDeleteInProgress', 'BackupItemStatusDeleteFailed', 'BackupItemStatusDeleted' + Status BackupItemStatus `json:"status,omitempty"` + // SizeInBytes - READ-ONLY; Size of the backup in bytes. + SizeInBytes *int64 `json:"sizeInBytes,omitempty"` + // Created - READ-ONLY; Timestamp of the backup creation. + Created *date.Time `json:"created,omitempty"` + // Log - READ-ONLY; Details regarding this backup. Might contain an error message. + Log *string `json:"log,omitempty"` + // Databases - READ-ONLY; List of databases included in the backup. + Databases *[]DatabaseBackupSetting `json:"databases,omitempty"` + // Scheduled - READ-ONLY; True if this backup has been created due to a schedule being triggered. + Scheduled *bool `json:"scheduled,omitempty"` + // LastRestoreTimeStamp - READ-ONLY; Timestamp of a last restore operation which used this backup. + LastRestoreTimeStamp *date.Time `json:"lastRestoreTimeStamp,omitempty"` + // FinishedTimeStamp - READ-ONLY; Timestamp when this backup finished. + FinishedTimeStamp *date.Time `json:"finishedTimeStamp,omitempty"` + // CorrelationID - READ-ONLY; Unique correlation identifier. Please use this along with the timestamp while communicating with Azure support. + CorrelationID *string `json:"correlationId,omitempty"` + // WebsiteSizeInBytes - READ-ONLY; Size of the original web app which has been backed up. + WebsiteSizeInBytes *int64 `json:"websiteSizeInBytes,omitempty"` +} + +// MarshalJSON is the custom marshaler for BackupItemProperties. +func (bi BackupItemProperties) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + return json.Marshal(objectMap) +} + +// BackupRequest description of a backup which will be performed. +type BackupRequest struct { + autorest.Response `json:"-"` + // BackupRequestProperties - BackupRequest resource specific properties + *BackupRequestProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. @@ -6632,20 +6246,20 @@ type AzureStaticWebApps struct { Type *string `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for AzureStaticWebApps. -func (aswa AzureStaticWebApps) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for BackupRequest. +func (br BackupRequest) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if aswa.AzureStaticWebAppsProperties != nil { - objectMap["properties"] = aswa.AzureStaticWebAppsProperties + if br.BackupRequestProperties != nil { + objectMap["properties"] = br.BackupRequestProperties } - if aswa.Kind != nil { - objectMap["kind"] = aswa.Kind + if br.Kind != nil { + objectMap["kind"] = br.Kind } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for AzureStaticWebApps struct. -func (aswa *AzureStaticWebApps) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for BackupRequest struct. +func (br *BackupRequest) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -6655,12 +6269,12 @@ func (aswa *AzureStaticWebApps) UnmarshalJSON(body []byte) error { switch k { case "properties": if v != nil { - var azureStaticWebAppsProperties AzureStaticWebAppsProperties - err = json.Unmarshal(*v, &azureStaticWebAppsProperties) + var backupRequestProperties BackupRequestProperties + err = json.Unmarshal(*v, &backupRequestProperties) if err != nil { return err } - aswa.AzureStaticWebAppsProperties = &azureStaticWebAppsProperties + br.BackupRequestProperties = &backupRequestProperties } case "id": if v != nil { @@ -6669,7 +6283,7 @@ func (aswa *AzureStaticWebApps) UnmarshalJSON(body []byte) error { if err != nil { return err } - aswa.ID = &ID + br.ID = &ID } case "name": if v != nil { @@ -6678,7 +6292,7 @@ func (aswa *AzureStaticWebApps) UnmarshalJSON(body []byte) error { if err != nil { return err } - aswa.Name = &name + br.Name = &name } case "kind": if v != nil { @@ -6687,7 +6301,7 @@ func (aswa *AzureStaticWebApps) UnmarshalJSON(body []byte) error { if err != nil { return err } - aswa.Kind = &kind + br.Kind = &kind } case "type": if v != nil { @@ -6696,7 +6310,7 @@ func (aswa *AzureStaticWebApps) UnmarshalJSON(body []byte) error { if err != nil { return err } - aswa.Type = &typeVar + br.Type = &typeVar } } } @@ -6704,184 +6318,63 @@ func (aswa *AzureStaticWebApps) UnmarshalJSON(body []byte) error { return nil } -// AzureStaticWebAppsProperties azureStaticWebApps resource specific properties -type AzureStaticWebAppsProperties struct { - // Enabled - false if the Azure Static Web Apps provider should not be enabled despite the set registration; otherwise, true. +// BackupRequestProperties backupRequest resource specific properties +type BackupRequestProperties struct { + // BackupName - Name of the backup. + BackupName *string `json:"backupName,omitempty"` + // Enabled - True if the backup schedule is enabled (must be included in that case), false if the backup schedule should be disabled. Enabled *bool `json:"enabled,omitempty"` - // Registration - The configuration settings of the Azure Static Web Apps registration. - Registration *AzureStaticWebAppsRegistration `json:"registration,omitempty"` -} - -// AzureStaticWebAppsRegistration the configuration settings of the registration for the Azure Static Web -// Apps provider -type AzureStaticWebAppsRegistration struct { - // AzureStaticWebAppsRegistrationProperties - AzureStaticWebAppsRegistration resource specific properties - *AzureStaticWebAppsRegistrationProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` + // StorageAccountURL - SAS URL to the container. + StorageAccountURL *string `json:"storageAccountUrl,omitempty"` + // BackupSchedule - Schedule for the backup if it is executed periodically. + BackupSchedule *BackupSchedule `json:"backupSchedule,omitempty"` + // Databases - Databases included in the backup. + Databases *[]DatabaseBackupSetting `json:"databases,omitempty"` } -// MarshalJSON is the custom marshaler for AzureStaticWebAppsRegistration. -func (aswar AzureStaticWebAppsRegistration) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if aswar.AzureStaticWebAppsRegistrationProperties != nil { - objectMap["properties"] = aswar.AzureStaticWebAppsRegistrationProperties - } - if aswar.Kind != nil { - objectMap["kind"] = aswar.Kind - } - return json.Marshal(objectMap) -} - -// UnmarshalJSON is the custom unmarshaler for AzureStaticWebAppsRegistration struct. -func (aswar *AzureStaticWebAppsRegistration) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var azureStaticWebAppsRegistrationProperties AzureStaticWebAppsRegistrationProperties - err = json.Unmarshal(*v, &azureStaticWebAppsRegistrationProperties) - if err != nil { - return err - } - aswar.AzureStaticWebAppsRegistrationProperties = &azureStaticWebAppsRegistrationProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - aswar.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - aswar.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - aswar.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - aswar.Type = &typeVar - } - } - } - - return nil -} - -// AzureStaticWebAppsRegistrationProperties azureStaticWebAppsRegistration resource specific properties -type AzureStaticWebAppsRegistrationProperties struct { - // ClientID - The Client ID of the app used for login. - ClientID *string `json:"clientId,omitempty"` -} - -// AzureStorageInfoValue azure Files or Blob Storage access information value for dictionary storage. -type AzureStorageInfoValue struct { - // Type - Type of storage. Possible values include: 'AzureStorageTypeAzureFiles', 'AzureStorageTypeAzureBlob' - Type AzureStorageType `json:"type,omitempty"` - // AccountName - Name of the storage account. - AccountName *string `json:"accountName,omitempty"` - // ShareName - Name of the file share (container name, for Blob storage). - ShareName *string `json:"shareName,omitempty"` - // AccessKey - Access key for the storage account. - AccessKey *string `json:"accessKey,omitempty"` - // MountPath - Path to mount the storage within the site's runtime environment. - MountPath *string `json:"mountPath,omitempty"` - // State - READ-ONLY; State of the storage account. Possible values include: 'AzureStorageStateOk', 'AzureStorageStateInvalidCredentials', 'AzureStorageStateInvalidShare', 'AzureStorageStateNotValidated' - State AzureStorageState `json:"state,omitempty"` +// BackupSchedule description of a backup schedule. Describes how often should be the backup performed and +// what should be the retention policy. +type BackupSchedule struct { + // FrequencyInterval - How often the backup should be executed (e.g. for weekly backup, this should be set to 7 and FrequencyUnit should be set to Day) + FrequencyInterval *int32 `json:"frequencyInterval,omitempty"` + // FrequencyUnit - The unit of time for how often the backup should be executed (e.g. for weekly backup, this should be set to Day and FrequencyInterval should be set to 7). Possible values include: 'FrequencyUnitDay', 'FrequencyUnitHour' + FrequencyUnit FrequencyUnit `json:"frequencyUnit,omitempty"` + // KeepAtLeastOneBackup - True if the retention policy should always keep at least one backup in the storage account, regardless how old it is; false otherwise. + KeepAtLeastOneBackup *bool `json:"keepAtLeastOneBackup,omitempty"` + // RetentionPeriodInDays - After how many days backups should be deleted. + RetentionPeriodInDays *int32 `json:"retentionPeriodInDays,omitempty"` + // StartTime - When the schedule should start working. + StartTime *date.Time `json:"startTime,omitempty"` + // LastExecutionTime - READ-ONLY; Last time when this schedule was triggered. + LastExecutionTime *date.Time `json:"lastExecutionTime,omitempty"` } -// MarshalJSON is the custom marshaler for AzureStorageInfoValue. -func (asiv AzureStorageInfoValue) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for BackupSchedule. +func (bs BackupSchedule) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if asiv.Type != "" { - objectMap["type"] = asiv.Type - } - if asiv.AccountName != nil { - objectMap["accountName"] = asiv.AccountName - } - if asiv.ShareName != nil { - objectMap["shareName"] = asiv.ShareName + if bs.FrequencyInterval != nil { + objectMap["frequencyInterval"] = bs.FrequencyInterval } - if asiv.AccessKey != nil { - objectMap["accessKey"] = asiv.AccessKey + if bs.FrequencyUnit != "" { + objectMap["frequencyUnit"] = bs.FrequencyUnit } - if asiv.MountPath != nil { - objectMap["mountPath"] = asiv.MountPath + if bs.KeepAtLeastOneBackup != nil { + objectMap["keepAtLeastOneBackup"] = bs.KeepAtLeastOneBackup } - return json.Marshal(objectMap) -} - -// AzureStoragePropertyDictionaryResource azureStorageInfo dictionary resource. -type AzureStoragePropertyDictionaryResource struct { - autorest.Response `json:"-"` - // Properties - Azure storage accounts. - Properties map[string]*AzureStorageInfoValue `json:"properties"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for AzureStoragePropertyDictionaryResource. -func (aspdr AzureStoragePropertyDictionaryResource) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if aspdr.Properties != nil { - objectMap["properties"] = aspdr.Properties + if bs.RetentionPeriodInDays != nil { + objectMap["retentionPeriodInDays"] = bs.RetentionPeriodInDays } - if aspdr.Kind != nil { - objectMap["kind"] = aspdr.Kind + if bs.StartTime != nil { + objectMap["startTime"] = bs.StartTime } return json.Marshal(objectMap) } -// AzureTableStorageApplicationLogsConfig application logs to Azure table storage configuration. -type AzureTableStorageApplicationLogsConfig struct { - // Level - Log level. Possible values include: 'LogLevelOff', 'LogLevelVerbose', 'LogLevelInformation', 'LogLevelWarning', 'LogLevelError' - Level LogLevel `json:"level,omitempty"` - // SasURL - SAS URL to an Azure table with add/query/delete permissions. - SasURL *string `json:"sasUrl,omitempty"` -} - -// BackupItem backup description. -type BackupItem struct { - autorest.Response `json:"-"` - // BackupItemProperties - BackupItem resource specific properties - *BackupItemProperties `json:"properties,omitempty"` +// BillingMeter app Service billing entity that contains information about meter which the Azure billing +// system utilizes to charge users for services. +type BillingMeter struct { + // BillingMeterProperties - BillingMeter resource specific properties + *BillingMeterProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. @@ -6892,20 +6385,20 @@ type BackupItem struct { Type *string `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for BackupItem. -func (bi BackupItem) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for BillingMeter. +func (bm BillingMeter) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if bi.BackupItemProperties != nil { - objectMap["properties"] = bi.BackupItemProperties + if bm.BillingMeterProperties != nil { + objectMap["properties"] = bm.BillingMeterProperties } - if bi.Kind != nil { - objectMap["kind"] = bi.Kind + if bm.Kind != nil { + objectMap["kind"] = bm.Kind } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for BackupItem struct. -func (bi *BackupItem) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for BillingMeter struct. +func (bm *BillingMeter) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -6915,12 +6408,12 @@ func (bi *BackupItem) UnmarshalJSON(body []byte) error { switch k { case "properties": if v != nil { - var backupItemProperties BackupItemProperties - err = json.Unmarshal(*v, &backupItemProperties) + var billingMeterProperties BillingMeterProperties + err = json.Unmarshal(*v, &billingMeterProperties) if err != nil { return err } - bi.BackupItemProperties = &backupItemProperties + bm.BillingMeterProperties = &billingMeterProperties } case "id": if v != nil { @@ -6929,7 +6422,7 @@ func (bi *BackupItem) UnmarshalJSON(body []byte) error { if err != nil { return err } - bi.ID = &ID + bm.ID = &ID } case "name": if v != nil { @@ -6938,7 +6431,7 @@ func (bi *BackupItem) UnmarshalJSON(body []byte) error { if err != nil { return err } - bi.Name = &name + bm.Name = &name } case "kind": if v != nil { @@ -6947,7 +6440,7 @@ func (bi *BackupItem) UnmarshalJSON(body []byte) error { if err != nil { return err } - bi.Kind = &kind + bm.Kind = &kind } case "type": if v != nil { @@ -6956,7 +6449,7 @@ func (bi *BackupItem) UnmarshalJSON(body []byte) error { if err != nil { return err } - bi.Type = &typeVar + bm.Type = &typeVar } } } @@ -6964,35 +6457,35 @@ func (bi *BackupItem) UnmarshalJSON(body []byte) error { return nil } -// BackupItemCollection collection of backup items. -type BackupItemCollection struct { +// BillingMeterCollection collection of Billing Meters +type BillingMeterCollection struct { autorest.Response `json:"-"` // Value - Collection of resources. - Value *[]BackupItem `json:"value,omitempty"` + Value *[]BillingMeter `json:"value,omitempty"` // NextLink - READ-ONLY; Link to next page of resources. NextLink *string `json:"nextLink,omitempty"` } -// MarshalJSON is the custom marshaler for BackupItemCollection. -func (bic BackupItemCollection) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for BillingMeterCollection. +func (bmc BillingMeterCollection) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if bic.Value != nil { - objectMap["value"] = bic.Value + if bmc.Value != nil { + objectMap["value"] = bmc.Value } return json.Marshal(objectMap) } -// BackupItemCollectionIterator provides access to a complete listing of BackupItem values. -type BackupItemCollectionIterator struct { +// BillingMeterCollectionIterator provides access to a complete listing of BillingMeter values. +type BillingMeterCollectionIterator struct { i int - page BackupItemCollectionPage + page BillingMeterCollectionPage } // NextWithContext advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. -func (iter *BackupItemCollectionIterator) NextWithContext(ctx context.Context) (err error) { +func (iter *BillingMeterCollectionIterator) NextWithContext(ctx context.Context) (err error) { if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/BackupItemCollectionIterator.NextWithContext") + ctx = tracing.StartSpan(ctx, fqdn+"/BillingMeterCollectionIterator.NextWithContext") defer func() { sc := -1 if iter.Response().Response.Response != nil { @@ -7017,67 +6510,67 @@ func (iter *BackupItemCollectionIterator) NextWithContext(ctx context.Context) ( // Next advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. // Deprecated: Use NextWithContext() instead. -func (iter *BackupItemCollectionIterator) Next() error { +func (iter *BillingMeterCollectionIterator) Next() error { return iter.NextWithContext(context.Background()) } // NotDone returns true if the enumeration should be started or is not yet complete. -func (iter BackupItemCollectionIterator) NotDone() bool { +func (iter BillingMeterCollectionIterator) NotDone() bool { return iter.page.NotDone() && iter.i < len(iter.page.Values()) } // Response returns the raw server response from the last page request. -func (iter BackupItemCollectionIterator) Response() BackupItemCollection { +func (iter BillingMeterCollectionIterator) Response() BillingMeterCollection { return iter.page.Response() } // Value returns the current value or a zero-initialized value if the // iterator has advanced beyond the end of the collection. -func (iter BackupItemCollectionIterator) Value() BackupItem { +func (iter BillingMeterCollectionIterator) Value() BillingMeter { if !iter.page.NotDone() { - return BackupItem{} + return BillingMeter{} } return iter.page.Values()[iter.i] } -// Creates a new instance of the BackupItemCollectionIterator type. -func NewBackupItemCollectionIterator(page BackupItemCollectionPage) BackupItemCollectionIterator { - return BackupItemCollectionIterator{page: page} +// Creates a new instance of the BillingMeterCollectionIterator type. +func NewBillingMeterCollectionIterator(page BillingMeterCollectionPage) BillingMeterCollectionIterator { + return BillingMeterCollectionIterator{page: page} } // IsEmpty returns true if the ListResult contains no values. -func (bic BackupItemCollection) IsEmpty() bool { - return bic.Value == nil || len(*bic.Value) == 0 +func (bmc BillingMeterCollection) IsEmpty() bool { + return bmc.Value == nil || len(*bmc.Value) == 0 } // hasNextLink returns true if the NextLink is not empty. -func (bic BackupItemCollection) hasNextLink() bool { - return bic.NextLink != nil && len(*bic.NextLink) != 0 +func (bmc BillingMeterCollection) hasNextLink() bool { + return bmc.NextLink != nil && len(*bmc.NextLink) != 0 } -// backupItemCollectionPreparer prepares a request to retrieve the next set of results. +// billingMeterCollectionPreparer prepares a request to retrieve the next set of results. // It returns nil if no more results exist. -func (bic BackupItemCollection) backupItemCollectionPreparer(ctx context.Context) (*http.Request, error) { - if !bic.hasNextLink() { +func (bmc BillingMeterCollection) billingMeterCollectionPreparer(ctx context.Context) (*http.Request, error) { + if !bmc.hasNextLink() { return nil, nil } return autorest.Prepare((&http.Request{}).WithContext(ctx), autorest.AsJSON(), autorest.AsGet(), - autorest.WithBaseURL(to.String(bic.NextLink))) + autorest.WithBaseURL(to.String(bmc.NextLink))) } -// BackupItemCollectionPage contains a page of BackupItem values. -type BackupItemCollectionPage struct { - fn func(context.Context, BackupItemCollection) (BackupItemCollection, error) - bic BackupItemCollection +// BillingMeterCollectionPage contains a page of BillingMeter values. +type BillingMeterCollectionPage struct { + fn func(context.Context, BillingMeterCollection) (BillingMeterCollection, error) + bmc BillingMeterCollection } // NextWithContext advances to the next page of values. If there was an error making // the request the page does not advance and the error is returned. -func (page *BackupItemCollectionPage) NextWithContext(ctx context.Context) (err error) { +func (page *BillingMeterCollectionPage) NextWithContext(ctx context.Context) (err error) { if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/BackupItemCollectionPage.NextWithContext") + ctx = tracing.StartSpan(ctx, fqdn+"/BillingMeterCollectionPage.NextWithContext") defer func() { sc := -1 if page.Response().Response.Response != nil { @@ -7087,11 +6580,11 @@ func (page *BackupItemCollectionPage) NextWithContext(ctx context.Context) (err }() } for { - next, err := page.fn(ctx, page.bic) + next, err := page.fn(ctx, page.bmc) if err != nil { return err } - page.bic = next + page.bmc = next if !next.hasNextLink() || !next.IsEmpty() { break } @@ -7102,103 +6595,109 @@ func (page *BackupItemCollectionPage) NextWithContext(ctx context.Context) (err // Next advances to the next page of values. If there was an error making // the request the page does not advance and the error is returned. // Deprecated: Use NextWithContext() instead. -func (page *BackupItemCollectionPage) Next() error { +func (page *BillingMeterCollectionPage) Next() error { return page.NextWithContext(context.Background()) } // NotDone returns true if the page enumeration should be started or is not yet complete. -func (page BackupItemCollectionPage) NotDone() bool { - return !page.bic.IsEmpty() +func (page BillingMeterCollectionPage) NotDone() bool { + return !page.bmc.IsEmpty() } // Response returns the raw server response from the last page request. -func (page BackupItemCollectionPage) Response() BackupItemCollection { - return page.bic +func (page BillingMeterCollectionPage) Response() BillingMeterCollection { + return page.bmc } // Values returns the slice of values for the current page or nil if there are no values. -func (page BackupItemCollectionPage) Values() []BackupItem { - if page.bic.IsEmpty() { +func (page BillingMeterCollectionPage) Values() []BillingMeter { + if page.bmc.IsEmpty() { return nil } - return *page.bic.Value + return *page.bmc.Value } -// Creates a new instance of the BackupItemCollectionPage type. -func NewBackupItemCollectionPage(cur BackupItemCollection, getNextPage func(context.Context, BackupItemCollection) (BackupItemCollection, error)) BackupItemCollectionPage { - return BackupItemCollectionPage{ +// Creates a new instance of the BillingMeterCollectionPage type. +func NewBillingMeterCollectionPage(cur BillingMeterCollection, getNextPage func(context.Context, BillingMeterCollection) (BillingMeterCollection, error)) BillingMeterCollectionPage { + return BillingMeterCollectionPage{ fn: getNextPage, - bic: cur, + bmc: cur, } } -// BackupItemProperties backupItem resource specific properties -type BackupItemProperties struct { - // BackupID - READ-ONLY; Id of the backup. - BackupID *int32 `json:"id,omitempty"` - // StorageAccountURL - READ-ONLY; SAS URL for the storage account container which contains this backup. - StorageAccountURL *string `json:"storageAccountUrl,omitempty"` - // BlobName - READ-ONLY; Name of the blob which contains data for this backup. - BlobName *string `json:"blobName,omitempty"` - // Name - READ-ONLY; Name of this backup. - Name *string `json:"name,omitempty"` - // Status - READ-ONLY; Backup status. Possible values include: 'BackupItemStatusInProgress', 'BackupItemStatusFailed', 'BackupItemStatusSucceeded', 'BackupItemStatusTimedOut', 'BackupItemStatusCreated', 'BackupItemStatusSkipped', 'BackupItemStatusPartiallySucceeded', 'BackupItemStatusDeleteInProgress', 'BackupItemStatusDeleteFailed', 'BackupItemStatusDeleted' - Status BackupItemStatus `json:"status,omitempty"` - // SizeInBytes - READ-ONLY; Size of the backup in bytes. - SizeInBytes *int64 `json:"sizeInBytes,omitempty"` - // Created - READ-ONLY; Timestamp of the backup creation. - Created *date.Time `json:"created,omitempty"` - // Log - READ-ONLY; Details regarding this backup. Might contain an error message. - Log *string `json:"log,omitempty"` - // Databases - READ-ONLY; List of databases included in the backup. - Databases *[]DatabaseBackupSetting `json:"databases,omitempty"` - // Scheduled - READ-ONLY; True if this backup has been created due to a schedule being triggered. - Scheduled *bool `json:"scheduled,omitempty"` - // LastRestoreTimeStamp - READ-ONLY; Timestamp of a last restore operation which used this backup. - LastRestoreTimeStamp *date.Time `json:"lastRestoreTimeStamp,omitempty"` - // FinishedTimeStamp - READ-ONLY; Timestamp when this backup finished. - FinishedTimeStamp *date.Time `json:"finishedTimeStamp,omitempty"` - // CorrelationID - READ-ONLY; Unique correlation identifier. Please use this along with the timestamp while communicating with Azure support. - CorrelationID *string `json:"correlationId,omitempty"` - // WebsiteSizeInBytes - READ-ONLY; Size of the original web app which has been backed up. - WebsiteSizeInBytes *int64 `json:"websiteSizeInBytes,omitempty"` +// BillingMeterProperties billingMeter resource specific properties +type BillingMeterProperties struct { + // MeterID - Meter GUID onboarded in Commerce + MeterID *string `json:"meterId,omitempty"` + // BillingLocation - Azure Location of billable resource + BillingLocation *string `json:"billingLocation,omitempty"` + // ShortName - Short Name from App Service Azure pricing Page + ShortName *string `json:"shortName,omitempty"` + // FriendlyName - Friendly name of the meter + FriendlyName *string `json:"friendlyName,omitempty"` + // ResourceType - App Service ResourceType meter used for + ResourceType *string `json:"resourceType,omitempty"` + // OsType - App Service OS type meter used for + OsType *string `json:"osType,omitempty"` + // Multiplier - Meter Multiplier + Multiplier *float64 `json:"multiplier,omitempty"` } -// MarshalJSON is the custom marshaler for BackupItemProperties. -func (bi BackupItemProperties) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - return json.Marshal(objectMap) +// BlobStorageTokenStore the configuration settings of the storage of the tokens if blob storage is used. +type BlobStorageTokenStore struct { + // SasURLSettingName - The name of the app setting containing the SAS URL of the blob storage containing the tokens. + SasURLSettingName *string `json:"sasUrlSettingName,omitempty"` } -// BackupRequest description of a backup which will be performed. -type BackupRequest struct { +// Capability describes the capabilities/features allowed for a specific SKU. +type Capability struct { + // Name - Name of the SKU capability. + Name *string `json:"name,omitempty"` + // Value - Value of the SKU capability. + Value *string `json:"value,omitempty"` + // Reason - Reason of the SKU capability. + Reason *string `json:"reason,omitempty"` +} + +// Certificate SSL certificate for an app. +type Certificate struct { autorest.Response `json:"-"` - // BackupRequestProperties - BackupRequest resource specific properties - *BackupRequestProperties `json:"properties,omitempty"` + // CertificateProperties - Certificate resource specific properties + *CertificateProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` + // Location - Resource Location. + Location *string `json:"location,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` + // Tags - Resource tags. + Tags map[string]*string `json:"tags"` } -// MarshalJSON is the custom marshaler for BackupRequest. -func (br BackupRequest) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for Certificate. +func (c Certificate) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if br.BackupRequestProperties != nil { - objectMap["properties"] = br.BackupRequestProperties + if c.CertificateProperties != nil { + objectMap["properties"] = c.CertificateProperties } - if br.Kind != nil { - objectMap["kind"] = br.Kind + if c.Kind != nil { + objectMap["kind"] = c.Kind + } + if c.Location != nil { + objectMap["location"] = c.Location + } + if c.Tags != nil { + objectMap["tags"] = c.Tags } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for BackupRequest struct. -func (br *BackupRequest) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for Certificate struct. +func (c *Certificate) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -7208,12 +6707,12 @@ func (br *BackupRequest) UnmarshalJSON(body []byte) error { switch k { case "properties": if v != nil { - var backupRequestProperties BackupRequestProperties - err = json.Unmarshal(*v, &backupRequestProperties) + var certificateProperties CertificateProperties + err = json.Unmarshal(*v, &certificateProperties) if err != nil { return err } - br.BackupRequestProperties = &backupRequestProperties + c.CertificateProperties = &certificateProperties } case "id": if v != nil { @@ -7222,7 +6721,7 @@ func (br *BackupRequest) UnmarshalJSON(body []byte) error { if err != nil { return err } - br.ID = &ID + c.ID = &ID } case "name": if v != nil { @@ -7231,7 +6730,7 @@ func (br *BackupRequest) UnmarshalJSON(body []byte) error { if err != nil { return err } - br.Name = &name + c.Name = &name } case "kind": if v != nil { @@ -7240,7 +6739,16 @@ func (br *BackupRequest) UnmarshalJSON(body []byte) error { if err != nil { return err } - br.Kind = &kind + c.Kind = &kind + } + case "location": + if v != nil { + var location string + err = json.Unmarshal(*v, &location) + if err != nil { + return err + } + c.Location = &location } case "type": if v != nil { @@ -7249,7 +6757,16 @@ func (br *BackupRequest) UnmarshalJSON(body []byte) error { if err != nil { return err } - br.Type = &typeVar + c.Type = &typeVar + } + case "tags": + if v != nil { + var tags map[string]*string + err = json.Unmarshal(*v, &tags) + if err != nil { + return err + } + c.Tags = tags } } } @@ -7257,185 +6774,46 @@ func (br *BackupRequest) UnmarshalJSON(body []byte) error { return nil } -// BackupRequestProperties backupRequest resource specific properties -type BackupRequestProperties struct { - // BackupName - Name of the backup. - BackupName *string `json:"backupName,omitempty"` - // Enabled - True if the backup schedule is enabled (must be included in that case), false if the backup schedule should be disabled. - Enabled *bool `json:"enabled,omitempty"` - // StorageAccountURL - SAS URL to the container. - StorageAccountURL *string `json:"storageAccountUrl,omitempty"` - // BackupSchedule - Schedule for the backup if it is executed periodically. - BackupSchedule *BackupSchedule `json:"backupSchedule,omitempty"` - // Databases - Databases included in the backup. - Databases *[]DatabaseBackupSetting `json:"databases,omitempty"` -} - -// BackupSchedule description of a backup schedule. Describes how often should be the backup performed and -// what should be the retention policy. -type BackupSchedule struct { - // FrequencyInterval - How often the backup should be executed (e.g. for weekly backup, this should be set to 7 and FrequencyUnit should be set to Day) - FrequencyInterval *int32 `json:"frequencyInterval,omitempty"` - // FrequencyUnit - The unit of time for how often the backup should be executed (e.g. for weekly backup, this should be set to Day and FrequencyInterval should be set to 7). Possible values include: 'FrequencyUnitDay', 'FrequencyUnitHour' - FrequencyUnit FrequencyUnit `json:"frequencyUnit,omitempty"` - // KeepAtLeastOneBackup - True if the retention policy should always keep at least one backup in the storage account, regardless how old it is; false otherwise. - KeepAtLeastOneBackup *bool `json:"keepAtLeastOneBackup,omitempty"` - // RetentionPeriodInDays - After how many days backups should be deleted. - RetentionPeriodInDays *int32 `json:"retentionPeriodInDays,omitempty"` - // StartTime - When the schedule should start working. - StartTime *date.Time `json:"startTime,omitempty"` - // LastExecutionTime - READ-ONLY; Last time when this schedule was triggered. - LastExecutionTime *date.Time `json:"lastExecutionTime,omitempty"` +// CertificateCollection collection of certificates. +type CertificateCollection struct { + autorest.Response `json:"-"` + // Value - Collection of resources. + Value *[]Certificate `json:"value,omitempty"` + // NextLink - READ-ONLY; Link to next page of resources. + NextLink *string `json:"nextLink,omitempty"` } -// MarshalJSON is the custom marshaler for BackupSchedule. -func (bs BackupSchedule) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for CertificateCollection. +func (cc CertificateCollection) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if bs.FrequencyInterval != nil { - objectMap["frequencyInterval"] = bs.FrequencyInterval - } - if bs.FrequencyUnit != "" { - objectMap["frequencyUnit"] = bs.FrequencyUnit - } - if bs.KeepAtLeastOneBackup != nil { - objectMap["keepAtLeastOneBackup"] = bs.KeepAtLeastOneBackup - } - if bs.RetentionPeriodInDays != nil { - objectMap["retentionPeriodInDays"] = bs.RetentionPeriodInDays - } - if bs.StartTime != nil { - objectMap["startTime"] = bs.StartTime + if cc.Value != nil { + objectMap["value"] = cc.Value } return json.Marshal(objectMap) } -// BillingMeter app Service billing entity that contains information about meter which the Azure billing -// system utilizes to charge users for services. -type BillingMeter struct { - // BillingMeterProperties - BillingMeter resource specific properties - *BillingMeterProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` +// CertificateCollectionIterator provides access to a complete listing of Certificate values. +type CertificateCollectionIterator struct { + i int + page CertificateCollectionPage } -// MarshalJSON is the custom marshaler for BillingMeter. -func (bm BillingMeter) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if bm.BillingMeterProperties != nil { - objectMap["properties"] = bm.BillingMeterProperties +// NextWithContext advances to the next value. If there was an error making +// the request the iterator does not advance and the error is returned. +func (iter *CertificateCollectionIterator) NextWithContext(ctx context.Context) (err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/CertificateCollectionIterator.NextWithContext") + defer func() { + sc := -1 + if iter.Response().Response.Response != nil { + sc = iter.Response().Response.Response.StatusCode + } + tracing.EndSpan(ctx, sc, err) + }() } - if bm.Kind != nil { - objectMap["kind"] = bm.Kind - } - return json.Marshal(objectMap) -} - -// UnmarshalJSON is the custom unmarshaler for BillingMeter struct. -func (bm *BillingMeter) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var billingMeterProperties BillingMeterProperties - err = json.Unmarshal(*v, &billingMeterProperties) - if err != nil { - return err - } - bm.BillingMeterProperties = &billingMeterProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - bm.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - bm.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - bm.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - bm.Type = &typeVar - } - } - } - - return nil -} - -// BillingMeterCollection collection of Billing Meters -type BillingMeterCollection struct { - autorest.Response `json:"-"` - // Value - Collection of resources. - Value *[]BillingMeter `json:"value,omitempty"` - // NextLink - READ-ONLY; Link to next page of resources. - NextLink *string `json:"nextLink,omitempty"` -} - -// MarshalJSON is the custom marshaler for BillingMeterCollection. -func (bmc BillingMeterCollection) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if bmc.Value != nil { - objectMap["value"] = bmc.Value - } - return json.Marshal(objectMap) -} - -// BillingMeterCollectionIterator provides access to a complete listing of BillingMeter values. -type BillingMeterCollectionIterator struct { - i int - page BillingMeterCollectionPage -} - -// NextWithContext advances to the next value. If there was an error making -// the request the iterator does not advance and the error is returned. -func (iter *BillingMeterCollectionIterator) NextWithContext(ctx context.Context) (err error) { - if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/BillingMeterCollectionIterator.NextWithContext") - defer func() { - sc := -1 - if iter.Response().Response.Response != nil { - sc = iter.Response().Response.Response.StatusCode - } - tracing.EndSpan(ctx, sc, err) - }() - } - iter.i++ - if iter.i < len(iter.page.Values()) { - return nil + iter.i++ + if iter.i < len(iter.page.Values()) { + return nil } err = iter.page.NextWithContext(ctx) if err != nil { @@ -7449,67 +6827,67 @@ func (iter *BillingMeterCollectionIterator) NextWithContext(ctx context.Context) // Next advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. // Deprecated: Use NextWithContext() instead. -func (iter *BillingMeterCollectionIterator) Next() error { +func (iter *CertificateCollectionIterator) Next() error { return iter.NextWithContext(context.Background()) } // NotDone returns true if the enumeration should be started or is not yet complete. -func (iter BillingMeterCollectionIterator) NotDone() bool { +func (iter CertificateCollectionIterator) NotDone() bool { return iter.page.NotDone() && iter.i < len(iter.page.Values()) } // Response returns the raw server response from the last page request. -func (iter BillingMeterCollectionIterator) Response() BillingMeterCollection { +func (iter CertificateCollectionIterator) Response() CertificateCollection { return iter.page.Response() } // Value returns the current value or a zero-initialized value if the // iterator has advanced beyond the end of the collection. -func (iter BillingMeterCollectionIterator) Value() BillingMeter { +func (iter CertificateCollectionIterator) Value() Certificate { if !iter.page.NotDone() { - return BillingMeter{} + return Certificate{} } return iter.page.Values()[iter.i] } -// Creates a new instance of the BillingMeterCollectionIterator type. -func NewBillingMeterCollectionIterator(page BillingMeterCollectionPage) BillingMeterCollectionIterator { - return BillingMeterCollectionIterator{page: page} +// Creates a new instance of the CertificateCollectionIterator type. +func NewCertificateCollectionIterator(page CertificateCollectionPage) CertificateCollectionIterator { + return CertificateCollectionIterator{page: page} } // IsEmpty returns true if the ListResult contains no values. -func (bmc BillingMeterCollection) IsEmpty() bool { - return bmc.Value == nil || len(*bmc.Value) == 0 +func (cc CertificateCollection) IsEmpty() bool { + return cc.Value == nil || len(*cc.Value) == 0 } // hasNextLink returns true if the NextLink is not empty. -func (bmc BillingMeterCollection) hasNextLink() bool { - return bmc.NextLink != nil && len(*bmc.NextLink) != 0 +func (cc CertificateCollection) hasNextLink() bool { + return cc.NextLink != nil && len(*cc.NextLink) != 0 } -// billingMeterCollectionPreparer prepares a request to retrieve the next set of results. +// certificateCollectionPreparer prepares a request to retrieve the next set of results. // It returns nil if no more results exist. -func (bmc BillingMeterCollection) billingMeterCollectionPreparer(ctx context.Context) (*http.Request, error) { - if !bmc.hasNextLink() { +func (cc CertificateCollection) certificateCollectionPreparer(ctx context.Context) (*http.Request, error) { + if !cc.hasNextLink() { return nil, nil } return autorest.Prepare((&http.Request{}).WithContext(ctx), autorest.AsJSON(), autorest.AsGet(), - autorest.WithBaseURL(to.String(bmc.NextLink))) + autorest.WithBaseURL(to.String(cc.NextLink))) } -// BillingMeterCollectionPage contains a page of BillingMeter values. -type BillingMeterCollectionPage struct { - fn func(context.Context, BillingMeterCollection) (BillingMeterCollection, error) - bmc BillingMeterCollection +// CertificateCollectionPage contains a page of Certificate values. +type CertificateCollectionPage struct { + fn func(context.Context, CertificateCollection) (CertificateCollection, error) + cc CertificateCollection } // NextWithContext advances to the next page of values. If there was an error making // the request the page does not advance and the error is returned. -func (page *BillingMeterCollectionPage) NextWithContext(ctx context.Context) (err error) { +func (page *CertificateCollectionPage) NextWithContext(ctx context.Context) (err error) { if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/BillingMeterCollectionPage.NextWithContext") + ctx = tracing.StartSpan(ctx, fqdn+"/CertificateCollectionPage.NextWithContext") defer func() { sc := -1 if page.Response().Response.Response != nil { @@ -7519,11 +6897,11 @@ func (page *BillingMeterCollectionPage) NextWithContext(ctx context.Context) (er }() } for { - next, err := page.fn(ctx, page.bmc) + next, err := page.fn(ctx, page.cc) if err != nil { return err } - page.bmc = next + page.cc = next if !next.hasNextLink() || !next.IsEmpty() { break } @@ -7534,58 +6912,68 @@ func (page *BillingMeterCollectionPage) NextWithContext(ctx context.Context) (er // Next advances to the next page of values. If there was an error making // the request the page does not advance and the error is returned. // Deprecated: Use NextWithContext() instead. -func (page *BillingMeterCollectionPage) Next() error { +func (page *CertificateCollectionPage) Next() error { return page.NextWithContext(context.Background()) } // NotDone returns true if the page enumeration should be started or is not yet complete. -func (page BillingMeterCollectionPage) NotDone() bool { - return !page.bmc.IsEmpty() +func (page CertificateCollectionPage) NotDone() bool { + return !page.cc.IsEmpty() } // Response returns the raw server response from the last page request. -func (page BillingMeterCollectionPage) Response() BillingMeterCollection { - return page.bmc +func (page CertificateCollectionPage) Response() CertificateCollection { + return page.cc } // Values returns the slice of values for the current page or nil if there are no values. -func (page BillingMeterCollectionPage) Values() []BillingMeter { - if page.bmc.IsEmpty() { +func (page CertificateCollectionPage) Values() []Certificate { + if page.cc.IsEmpty() { return nil } - return *page.bmc.Value + return *page.cc.Value } -// Creates a new instance of the BillingMeterCollectionPage type. -func NewBillingMeterCollectionPage(cur BillingMeterCollection, getNextPage func(context.Context, BillingMeterCollection) (BillingMeterCollection, error)) BillingMeterCollectionPage { - return BillingMeterCollectionPage{ - fn: getNextPage, - bmc: cur, +// Creates a new instance of the CertificateCollectionPage type. +func NewCertificateCollectionPage(cur CertificateCollection, getNextPage func(context.Context, CertificateCollection) (CertificateCollection, error)) CertificateCollectionPage { + return CertificateCollectionPage{ + fn: getNextPage, + cc: cur, } } -// BillingMeterProperties billingMeter resource specific properties -type BillingMeterProperties struct { - // MeterID - Meter GUID onboarded in Commerce - MeterID *string `json:"meterId,omitempty"` - // BillingLocation - Azure Location of billable resource - BillingLocation *string `json:"billingLocation,omitempty"` - // ShortName - Short Name from App Service Azure pricing Page - ShortName *string `json:"shortName,omitempty"` - // FriendlyName - Friendly name of the meter - FriendlyName *string `json:"friendlyName,omitempty"` - // ResourceType - App Service ResourceType meter used for - ResourceType *string `json:"resourceType,omitempty"` - // OsType - App Service OS type meter used for - OsType *string `json:"osType,omitempty"` - // Multiplier - Meter Multiplier - Multiplier *float64 `json:"multiplier,omitempty"` +// CertificateDetails SSL certificate details. +type CertificateDetails struct { + // Version - READ-ONLY; Certificate Version. + Version *int32 `json:"version,omitempty"` + // SerialNumber - READ-ONLY; Certificate Serial Number. + SerialNumber *string `json:"serialNumber,omitempty"` + // Thumbprint - READ-ONLY; Certificate Thumbprint. + Thumbprint *string `json:"thumbprint,omitempty"` + // Subject - READ-ONLY; Certificate Subject. + Subject *string `json:"subject,omitempty"` + // NotBefore - READ-ONLY; Date Certificate is valid from. + NotBefore *date.Time `json:"notBefore,omitempty"` + // NotAfter - READ-ONLY; Date Certificate is valid to. + NotAfter *date.Time `json:"notAfter,omitempty"` + // SignatureAlgorithm - READ-ONLY; Certificate Signature algorithm. + SignatureAlgorithm *string `json:"signatureAlgorithm,omitempty"` + // Issuer - READ-ONLY; Certificate Issuer. + Issuer *string `json:"issuer,omitempty"` + // RawData - READ-ONLY; Raw certificate data. + RawData *string `json:"rawData,omitempty"` } -// BlobStorageTokenStore the configuration settings of the storage of the tokens if blob storage is used. -type BlobStorageTokenStore struct { - // BlobStorageTokenStoreProperties - BlobStorageTokenStore resource specific properties - *BlobStorageTokenStoreProperties `json:"properties,omitempty"` +// MarshalJSON is the custom marshaler for CertificateDetails. +func (cd CertificateDetails) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + return json.Marshal(objectMap) +} + +// CertificateEmail SSL certificate email. +type CertificateEmail struct { + // CertificateEmailProperties - CertificateEmail resource specific properties + *CertificateEmailProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. @@ -7596,20 +6984,20 @@ type BlobStorageTokenStore struct { Type *string `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for BlobStorageTokenStore. -func (bsts BlobStorageTokenStore) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for CertificateEmail. +func (ce CertificateEmail) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if bsts.BlobStorageTokenStoreProperties != nil { - objectMap["properties"] = bsts.BlobStorageTokenStoreProperties + if ce.CertificateEmailProperties != nil { + objectMap["properties"] = ce.CertificateEmailProperties } - if bsts.Kind != nil { - objectMap["kind"] = bsts.Kind + if ce.Kind != nil { + objectMap["kind"] = ce.Kind } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for BlobStorageTokenStore struct. -func (bsts *BlobStorageTokenStore) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for CertificateEmail struct. +func (ce *CertificateEmail) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -7619,12 +7007,12 @@ func (bsts *BlobStorageTokenStore) UnmarshalJSON(body []byte) error { switch k { case "properties": if v != nil { - var blobStorageTokenStoreProperties BlobStorageTokenStoreProperties - err = json.Unmarshal(*v, &blobStorageTokenStoreProperties) + var certificateEmailProperties CertificateEmailProperties + err = json.Unmarshal(*v, &certificateEmailProperties) if err != nil { return err } - bsts.BlobStorageTokenStoreProperties = &blobStorageTokenStoreProperties + ce.CertificateEmailProperties = &certificateEmailProperties } case "id": if v != nil { @@ -7633,7 +7021,7 @@ func (bsts *BlobStorageTokenStore) UnmarshalJSON(body []byte) error { if err != nil { return err } - bsts.ID = &ID + ce.ID = &ID } case "name": if v != nil { @@ -7642,7 +7030,7 @@ func (bsts *BlobStorageTokenStore) UnmarshalJSON(body []byte) error { if err != nil { return err } - bsts.Name = &name + ce.Name = &name } case "kind": if v != nil { @@ -7651,7 +7039,7 @@ func (bsts *BlobStorageTokenStore) UnmarshalJSON(body []byte) error { if err != nil { return err } - bsts.Kind = &kind + ce.Kind = &kind } case "type": if v != nil { @@ -7660,7 +7048,7 @@ func (bsts *BlobStorageTokenStore) UnmarshalJSON(body []byte) error { if err != nil { return err } - bsts.Type = &typeVar + ce.Type = &typeVar } } } @@ -7668,61 +7056,42 @@ func (bsts *BlobStorageTokenStore) UnmarshalJSON(body []byte) error { return nil } -// BlobStorageTokenStoreProperties blobStorageTokenStore resource specific properties -type BlobStorageTokenStoreProperties struct { - // SasURLSettingName - The name of the app setting containing the SAS URL of the blob storage containing the tokens. - SasURLSettingName *string `json:"sasUrlSettingName,omitempty"` +// CertificateEmailProperties certificateEmail resource specific properties +type CertificateEmailProperties struct { + // EmailID - Email id. + EmailID *string `json:"emailId,omitempty"` + // TimeStamp - Time stamp. + TimeStamp *date.Time `json:"timeStamp,omitempty"` } -// Capability describes the capabilities/features allowed for a specific SKU. -type Capability struct { - // Name - Name of the SKU capability. - Name *string `json:"name,omitempty"` - // Value - Value of the SKU capability. - Value *string `json:"value,omitempty"` - // Reason - Reason of the SKU capability. - Reason *string `json:"reason,omitempty"` -} - -// Certificate SSL certificate for an app. -type Certificate struct { - autorest.Response `json:"-"` - // CertificateProperties - Certificate resource specific properties - *CertificateProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. +// CertificateOrderAction certificate order action. +type CertificateOrderAction struct { + // CertificateOrderActionProperties - CertificateOrderAction resource specific properties + *CertificateOrderActionProperties `json:"properties,omitempty"` + // ID - READ-ONLY; Resource Id. + ID *string `json:"id,omitempty"` + // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` - // Location - Resource Location. - Location *string `json:"location,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` - // Tags - Resource tags. - Tags map[string]*string `json:"tags"` } -// MarshalJSON is the custom marshaler for Certificate. -func (c Certificate) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for CertificateOrderAction. +func (coa CertificateOrderAction) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if c.CertificateProperties != nil { - objectMap["properties"] = c.CertificateProperties - } - if c.Kind != nil { - objectMap["kind"] = c.Kind - } - if c.Location != nil { - objectMap["location"] = c.Location + if coa.CertificateOrderActionProperties != nil { + objectMap["properties"] = coa.CertificateOrderActionProperties } - if c.Tags != nil { - objectMap["tags"] = c.Tags + if coa.Kind != nil { + objectMap["kind"] = coa.Kind } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for Certificate struct. -func (c *Certificate) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for CertificateOrderAction struct. +func (coa *CertificateOrderAction) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -7732,12 +7101,12 @@ func (c *Certificate) UnmarshalJSON(body []byte) error { switch k { case "properties": if v != nil { - var certificateProperties CertificateProperties - err = json.Unmarshal(*v, &certificateProperties) + var certificateOrderActionProperties CertificateOrderActionProperties + err = json.Unmarshal(*v, &certificateOrderActionProperties) if err != nil { return err } - c.CertificateProperties = &certificateProperties + coa.CertificateOrderActionProperties = &certificateOrderActionProperties } case "id": if v != nil { @@ -7746,7 +7115,7 @@ func (c *Certificate) UnmarshalJSON(body []byte) error { if err != nil { return err } - c.ID = &ID + coa.ID = &ID } case "name": if v != nil { @@ -7755,7 +7124,7 @@ func (c *Certificate) UnmarshalJSON(body []byte) error { if err != nil { return err } - c.Name = &name + coa.Name = &name } case "kind": if v != nil { @@ -7764,16 +7133,7 @@ func (c *Certificate) UnmarshalJSON(body []byte) error { if err != nil { return err } - c.Kind = &kind - } - case "location": - if v != nil { - var location string - err = json.Unmarshal(*v, &location) - if err != nil { - return err - } - c.Location = &location + coa.Kind = &kind } case "type": if v != nil { @@ -7782,16 +7142,7 @@ func (c *Certificate) UnmarshalJSON(body []byte) error { if err != nil { return err } - c.Type = &typeVar - } - case "tags": - if v != nil { - var tags map[string]*string - err = json.Unmarshal(*v, &tags) - if err != nil { - return err - } - c.Tags = tags + coa.Type = &typeVar } } } @@ -7799,3544 +7150,473 @@ func (c *Certificate) UnmarshalJSON(body []byte) error { return nil } -// CertificateCollection collection of certificates. -type CertificateCollection struct { - autorest.Response `json:"-"` - // Value - Collection of resources. - Value *[]Certificate `json:"value,omitempty"` - // NextLink - READ-ONLY; Link to next page of resources. - NextLink *string `json:"nextLink,omitempty"` +// CertificateOrderActionProperties certificateOrderAction resource specific properties +type CertificateOrderActionProperties struct { + // ActionType - READ-ONLY; Action type. Possible values include: 'CertificateOrderActionTypeCertificateIssued', 'CertificateOrderActionTypeCertificateOrderCanceled', 'CertificateOrderActionTypeCertificateOrderCreated', 'CertificateOrderActionTypeCertificateRevoked', 'CertificateOrderActionTypeDomainValidationComplete', 'CertificateOrderActionTypeFraudDetected', 'CertificateOrderActionTypeOrgNameChange', 'CertificateOrderActionTypeOrgValidationComplete', 'CertificateOrderActionTypeSanDrop', 'CertificateOrderActionTypeFraudCleared', 'CertificateOrderActionTypeCertificateExpired', 'CertificateOrderActionTypeCertificateExpirationWarning', 'CertificateOrderActionTypeFraudDocumentationRequired', 'CertificateOrderActionTypeUnknown' + ActionType CertificateOrderActionType `json:"actionType,omitempty"` + // CreatedAt - READ-ONLY; Time at which the certificate action was performed. + CreatedAt *date.Time `json:"createdAt,omitempty"` } -// MarshalJSON is the custom marshaler for CertificateCollection. -func (cc CertificateCollection) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for CertificateOrderActionProperties. +func (coa CertificateOrderActionProperties) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if cc.Value != nil { - objectMap["value"] = cc.Value - } return json.Marshal(objectMap) } -// CertificateCollectionIterator provides access to a complete listing of Certificate values. -type CertificateCollectionIterator struct { - i int - page CertificateCollectionPage +// CertificateOrderContact ... +type CertificateOrderContact struct { + Email *string `json:"email,omitempty"` + NameFirst *string `json:"nameFirst,omitempty"` + NameLast *string `json:"nameLast,omitempty"` + Phone *string `json:"phone,omitempty"` } -// NextWithContext advances to the next value. If there was an error making -// the request the iterator does not advance and the error is returned. -func (iter *CertificateCollectionIterator) NextWithContext(ctx context.Context) (err error) { - if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/CertificateCollectionIterator.NextWithContext") - defer func() { - sc := -1 - if iter.Response().Response.Response != nil { - sc = iter.Response().Response.Response.StatusCode - } - tracing.EndSpan(ctx, sc, err) - }() +// CertificatePatchResource ARM resource for a certificate. +type CertificatePatchResource struct { + // CertificatePatchResourceProperties - CertificatePatchResource resource specific properties + *CertificatePatchResourceProperties `json:"properties,omitempty"` + // ID - READ-ONLY; Resource Id. + ID *string `json:"id,omitempty"` + // Name - READ-ONLY; Resource Name. + Name *string `json:"name,omitempty"` + // Kind - Kind of resource. + Kind *string `json:"kind,omitempty"` + // Type - READ-ONLY; Resource type. + Type *string `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for CertificatePatchResource. +func (cpr CertificatePatchResource) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if cpr.CertificatePatchResourceProperties != nil { + objectMap["properties"] = cpr.CertificatePatchResourceProperties } - iter.i++ - if iter.i < len(iter.page.Values()) { - return nil + if cpr.Kind != nil { + objectMap["kind"] = cpr.Kind } - err = iter.page.NextWithContext(ctx) + return json.Marshal(objectMap) +} + +// UnmarshalJSON is the custom unmarshaler for CertificatePatchResource struct. +func (cpr *CertificatePatchResource) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) if err != nil { - iter.i-- return err } - iter.i = 0 - return nil -} - -// Next advances to the next value. If there was an error making -// the request the iterator does not advance and the error is returned. -// Deprecated: Use NextWithContext() instead. -func (iter *CertificateCollectionIterator) Next() error { - return iter.NextWithContext(context.Background()) -} + for k, v := range m { + switch k { + case "properties": + if v != nil { + var certificatePatchResourceProperties CertificatePatchResourceProperties + err = json.Unmarshal(*v, &certificatePatchResourceProperties) + if err != nil { + return err + } + cpr.CertificatePatchResourceProperties = &certificatePatchResourceProperties + } + case "id": + if v != nil { + var ID string + err = json.Unmarshal(*v, &ID) + if err != nil { + return err + } + cpr.ID = &ID + } + case "name": + if v != nil { + var name string + err = json.Unmarshal(*v, &name) + if err != nil { + return err + } + cpr.Name = &name + } + case "kind": + if v != nil { + var kind string + err = json.Unmarshal(*v, &kind) + if err != nil { + return err + } + cpr.Kind = &kind + } + case "type": + if v != nil { + var typeVar string + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + cpr.Type = &typeVar + } + } + } -// NotDone returns true if the enumeration should be started or is not yet complete. -func (iter CertificateCollectionIterator) NotDone() bool { - return iter.page.NotDone() && iter.i < len(iter.page.Values()) + return nil } -// Response returns the raw server response from the last page request. -func (iter CertificateCollectionIterator) Response() CertificateCollection { - return iter.page.Response() +// CertificatePatchResourceProperties certificatePatchResource resource specific properties +type CertificatePatchResourceProperties struct { + // Password - Certificate password. + Password *string `json:"password,omitempty"` + // FriendlyName - READ-ONLY; Friendly name of the certificate. + FriendlyName *string `json:"friendlyName,omitempty"` + // SubjectName - READ-ONLY; Subject name of the certificate. + SubjectName *string `json:"subjectName,omitempty"` + // HostNames - Host names the certificate applies to. + HostNames *[]string `json:"hostNames,omitempty"` + // PfxBlob - Pfx blob. + PfxBlob *[]byte `json:"pfxBlob,omitempty"` + // SiteName - READ-ONLY; App name. + SiteName *string `json:"siteName,omitempty"` + // SelfLink - READ-ONLY; Self link. + SelfLink *string `json:"selfLink,omitempty"` + // Issuer - READ-ONLY; Certificate issuer. + Issuer *string `json:"issuer,omitempty"` + // IssueDate - READ-ONLY; Certificate issue Date. + IssueDate *date.Time `json:"issueDate,omitempty"` + // ExpirationDate - READ-ONLY; Certificate expiration date. + ExpirationDate *date.Time `json:"expirationDate,omitempty"` + // Thumbprint - READ-ONLY; Certificate thumbprint. + Thumbprint *string `json:"thumbprint,omitempty"` + // Valid - READ-ONLY; Is the certificate valid?. + Valid *bool `json:"valid,omitempty"` + // CerBlob - READ-ONLY; Raw bytes of .cer file + CerBlob *[]byte `json:"cerBlob,omitempty"` + // PublicKeyHash - READ-ONLY; Public key hash. + PublicKeyHash *string `json:"publicKeyHash,omitempty"` + // HostingEnvironmentProfile - READ-ONLY; Specification for the App Service Environment to use for the certificate. + HostingEnvironmentProfile *HostingEnvironmentProfile `json:"hostingEnvironmentProfile,omitempty"` + // KeyVaultID - Key Vault Csm resource Id. + KeyVaultID *string `json:"keyVaultId,omitempty"` + // KeyVaultSecretName - Key Vault secret name. + KeyVaultSecretName *string `json:"keyVaultSecretName,omitempty"` + // KeyVaultSecretStatus - READ-ONLY; Status of the Key Vault secret. Possible values include: 'KeyVaultSecretStatusInitialized', 'KeyVaultSecretStatusWaitingOnCertificateOrder', 'KeyVaultSecretStatusSucceeded', 'KeyVaultSecretStatusCertificateOrderFailed', 'KeyVaultSecretStatusOperationNotPermittedOnKeyVault', 'KeyVaultSecretStatusAzureServiceUnauthorizedToAccessKeyVault', 'KeyVaultSecretStatusKeyVaultDoesNotExist', 'KeyVaultSecretStatusKeyVaultSecretDoesNotExist', 'KeyVaultSecretStatusUnknownError', 'KeyVaultSecretStatusExternalPrivateKey', 'KeyVaultSecretStatusUnknown' + KeyVaultSecretStatus KeyVaultSecretStatus `json:"keyVaultSecretStatus,omitempty"` + // ServerFarmID - Resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}". + ServerFarmID *string `json:"serverFarmId,omitempty"` + // CanonicalName - CNAME of the certificate to be issued via free certificate + CanonicalName *string `json:"canonicalName,omitempty"` + // DomainValidationMethod - Method of domain validation for free cert + DomainValidationMethod *string `json:"domainValidationMethod,omitempty"` } -// Value returns the current value or a zero-initialized value if the -// iterator has advanced beyond the end of the collection. -func (iter CertificateCollectionIterator) Value() Certificate { - if !iter.page.NotDone() { - return Certificate{} - } - return iter.page.Values()[iter.i] -} - -// Creates a new instance of the CertificateCollectionIterator type. -func NewCertificateCollectionIterator(page CertificateCollectionPage) CertificateCollectionIterator { - return CertificateCollectionIterator{page: page} -} - -// IsEmpty returns true if the ListResult contains no values. -func (cc CertificateCollection) IsEmpty() bool { - return cc.Value == nil || len(*cc.Value) == 0 -} - -// hasNextLink returns true if the NextLink is not empty. -func (cc CertificateCollection) hasNextLink() bool { - return cc.NextLink != nil && len(*cc.NextLink) != 0 -} - -// certificateCollectionPreparer prepares a request to retrieve the next set of results. -// It returns nil if no more results exist. -func (cc CertificateCollection) certificateCollectionPreparer(ctx context.Context) (*http.Request, error) { - if !cc.hasNextLink() { - return nil, nil - } - return autorest.Prepare((&http.Request{}).WithContext(ctx), - autorest.AsJSON(), - autorest.AsGet(), - autorest.WithBaseURL(to.String(cc.NextLink))) -} - -// CertificateCollectionPage contains a page of Certificate values. -type CertificateCollectionPage struct { - fn func(context.Context, CertificateCollection) (CertificateCollection, error) - cc CertificateCollection -} - -// NextWithContext advances to the next page of values. If there was an error making -// the request the page does not advance and the error is returned. -func (page *CertificateCollectionPage) NextWithContext(ctx context.Context) (err error) { - if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/CertificateCollectionPage.NextWithContext") - defer func() { - sc := -1 - if page.Response().Response.Response != nil { - sc = page.Response().Response.Response.StatusCode - } - tracing.EndSpan(ctx, sc, err) - }() - } - for { - next, err := page.fn(ctx, page.cc) - if err != nil { - return err - } - page.cc = next - if !next.hasNextLink() || !next.IsEmpty() { - break - } - } - return nil -} - -// Next advances to the next page of values. If there was an error making -// the request the page does not advance and the error is returned. -// Deprecated: Use NextWithContext() instead. -func (page *CertificateCollectionPage) Next() error { - return page.NextWithContext(context.Background()) -} - -// NotDone returns true if the page enumeration should be started or is not yet complete. -func (page CertificateCollectionPage) NotDone() bool { - return !page.cc.IsEmpty() -} - -// Response returns the raw server response from the last page request. -func (page CertificateCollectionPage) Response() CertificateCollection { - return page.cc -} - -// Values returns the slice of values for the current page or nil if there are no values. -func (page CertificateCollectionPage) Values() []Certificate { - if page.cc.IsEmpty() { - return nil - } - return *page.cc.Value -} - -// Creates a new instance of the CertificateCollectionPage type. -func NewCertificateCollectionPage(cur CertificateCollection, getNextPage func(context.Context, CertificateCollection) (CertificateCollection, error)) CertificateCollectionPage { - return CertificateCollectionPage{ - fn: getNextPage, - cc: cur, - } -} - -// CertificateDetails SSL certificate details. -type CertificateDetails struct { - // Version - READ-ONLY; Certificate Version. - Version *int32 `json:"version,omitempty"` - // SerialNumber - READ-ONLY; Certificate Serial Number. - SerialNumber *string `json:"serialNumber,omitempty"` - // Thumbprint - READ-ONLY; Certificate Thumbprint. - Thumbprint *string `json:"thumbprint,omitempty"` - // Subject - READ-ONLY; Certificate Subject. - Subject *string `json:"subject,omitempty"` - // NotBefore - READ-ONLY; Date Certificate is valid from. - NotBefore *date.Time `json:"notBefore,omitempty"` - // NotAfter - READ-ONLY; Date Certificate is valid to. - NotAfter *date.Time `json:"notAfter,omitempty"` - // SignatureAlgorithm - READ-ONLY; Certificate Signature algorithm. - SignatureAlgorithm *string `json:"signatureAlgorithm,omitempty"` - // Issuer - READ-ONLY; Certificate Issuer. - Issuer *string `json:"issuer,omitempty"` - // RawData - READ-ONLY; Raw certificate data. - RawData *string `json:"rawData,omitempty"` -} - -// MarshalJSON is the custom marshaler for CertificateDetails. -func (cd CertificateDetails) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - return json.Marshal(objectMap) -} - -// CertificateEmail SSL certificate email. -type CertificateEmail struct { - // CertificateEmailProperties - CertificateEmail resource specific properties - *CertificateEmailProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for CertificateEmail. -func (ce CertificateEmail) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if ce.CertificateEmailProperties != nil { - objectMap["properties"] = ce.CertificateEmailProperties - } - if ce.Kind != nil { - objectMap["kind"] = ce.Kind - } - return json.Marshal(objectMap) -} - -// UnmarshalJSON is the custom unmarshaler for CertificateEmail struct. -func (ce *CertificateEmail) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var certificateEmailProperties CertificateEmailProperties - err = json.Unmarshal(*v, &certificateEmailProperties) - if err != nil { - return err - } - ce.CertificateEmailProperties = &certificateEmailProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - ce.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - ce.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - ce.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - ce.Type = &typeVar - } - } - } - - return nil -} - -// CertificateEmailProperties certificateEmail resource specific properties -type CertificateEmailProperties struct { - // EmailID - Email id. - EmailID *string `json:"emailId,omitempty"` - // TimeStamp - Time stamp. - TimeStamp *date.Time `json:"timeStamp,omitempty"` -} - -// CertificateOrderAction certificate order action. -type CertificateOrderAction struct { - // CertificateOrderActionProperties - CertificateOrderAction resource specific properties - *CertificateOrderActionProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for CertificateOrderAction. -func (coa CertificateOrderAction) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if coa.CertificateOrderActionProperties != nil { - objectMap["properties"] = coa.CertificateOrderActionProperties - } - if coa.Kind != nil { - objectMap["kind"] = coa.Kind - } - return json.Marshal(objectMap) -} - -// UnmarshalJSON is the custom unmarshaler for CertificateOrderAction struct. -func (coa *CertificateOrderAction) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var certificateOrderActionProperties CertificateOrderActionProperties - err = json.Unmarshal(*v, &certificateOrderActionProperties) - if err != nil { - return err - } - coa.CertificateOrderActionProperties = &certificateOrderActionProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - coa.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - coa.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - coa.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - coa.Type = &typeVar - } - } - } - - return nil -} - -// CertificateOrderActionProperties certificateOrderAction resource specific properties -type CertificateOrderActionProperties struct { - // ActionType - READ-ONLY; Action type. Possible values include: 'CertificateOrderActionTypeCertificateIssued', 'CertificateOrderActionTypeCertificateOrderCanceled', 'CertificateOrderActionTypeCertificateOrderCreated', 'CertificateOrderActionTypeCertificateRevoked', 'CertificateOrderActionTypeDomainValidationComplete', 'CertificateOrderActionTypeFraudDetected', 'CertificateOrderActionTypeOrgNameChange', 'CertificateOrderActionTypeOrgValidationComplete', 'CertificateOrderActionTypeSanDrop', 'CertificateOrderActionTypeFraudCleared', 'CertificateOrderActionTypeCertificateExpired', 'CertificateOrderActionTypeCertificateExpirationWarning', 'CertificateOrderActionTypeFraudDocumentationRequired', 'CertificateOrderActionTypeUnknown' - ActionType CertificateOrderActionType `json:"actionType,omitempty"` - // CreatedAt - READ-ONLY; Time at which the certificate action was performed. - CreatedAt *date.Time `json:"createdAt,omitempty"` -} - -// MarshalJSON is the custom marshaler for CertificateOrderActionProperties. -func (coa CertificateOrderActionProperties) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - return json.Marshal(objectMap) -} - -// CertificateOrderContact ... -type CertificateOrderContact struct { - Email *string `json:"email,omitempty"` - NameFirst *string `json:"nameFirst,omitempty"` - NameLast *string `json:"nameLast,omitempty"` - Phone *string `json:"phone,omitempty"` -} - -// CertificatePatchResource ARM resource for a certificate. -type CertificatePatchResource struct { - // CertificatePatchResourceProperties - CertificatePatchResource resource specific properties - *CertificatePatchResourceProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for CertificatePatchResource. -func (cpr CertificatePatchResource) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if cpr.CertificatePatchResourceProperties != nil { - objectMap["properties"] = cpr.CertificatePatchResourceProperties - } - if cpr.Kind != nil { - objectMap["kind"] = cpr.Kind - } - return json.Marshal(objectMap) -} - -// UnmarshalJSON is the custom unmarshaler for CertificatePatchResource struct. -func (cpr *CertificatePatchResource) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var certificatePatchResourceProperties CertificatePatchResourceProperties - err = json.Unmarshal(*v, &certificatePatchResourceProperties) - if err != nil { - return err - } - cpr.CertificatePatchResourceProperties = &certificatePatchResourceProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - cpr.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - cpr.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - cpr.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - cpr.Type = &typeVar - } - } - } - - return nil -} - -// CertificatePatchResourceProperties certificatePatchResource resource specific properties -type CertificatePatchResourceProperties struct { - // Password - Certificate password. - Password *string `json:"password,omitempty"` - // FriendlyName - READ-ONLY; Friendly name of the certificate. - FriendlyName *string `json:"friendlyName,omitempty"` - // SubjectName - READ-ONLY; Subject name of the certificate. - SubjectName *string `json:"subjectName,omitempty"` - // HostNames - Host names the certificate applies to. - HostNames *[]string `json:"hostNames,omitempty"` - // PfxBlob - Pfx blob. - PfxBlob *[]byte `json:"pfxBlob,omitempty"` - // SiteName - READ-ONLY; App name. - SiteName *string `json:"siteName,omitempty"` - // SelfLink - READ-ONLY; Self link. - SelfLink *string `json:"selfLink,omitempty"` - // Issuer - READ-ONLY; Certificate issuer. - Issuer *string `json:"issuer,omitempty"` - // IssueDate - READ-ONLY; Certificate issue Date. - IssueDate *date.Time `json:"issueDate,omitempty"` - // ExpirationDate - READ-ONLY; Certificate expiration date. - ExpirationDate *date.Time `json:"expirationDate,omitempty"` - // Thumbprint - READ-ONLY; Certificate thumbprint. - Thumbprint *string `json:"thumbprint,omitempty"` - // Valid - READ-ONLY; Is the certificate valid?. - Valid *bool `json:"valid,omitempty"` - // CerBlob - READ-ONLY; Raw bytes of .cer file - CerBlob *[]byte `json:"cerBlob,omitempty"` - // PublicKeyHash - READ-ONLY; Public key hash. - PublicKeyHash *string `json:"publicKeyHash,omitempty"` - // HostingEnvironmentProfile - READ-ONLY; Specification for the App Service Environment to use for the certificate. - HostingEnvironmentProfile *HostingEnvironmentProfile `json:"hostingEnvironmentProfile,omitempty"` - // KeyVaultID - Key Vault Csm resource Id. - KeyVaultID *string `json:"keyVaultId,omitempty"` - // KeyVaultSecretName - Key Vault secret name. - KeyVaultSecretName *string `json:"keyVaultSecretName,omitempty"` - // KeyVaultSecretStatus - READ-ONLY; Status of the Key Vault secret. Possible values include: 'KeyVaultSecretStatusInitialized', 'KeyVaultSecretStatusWaitingOnCertificateOrder', 'KeyVaultSecretStatusSucceeded', 'KeyVaultSecretStatusCertificateOrderFailed', 'KeyVaultSecretStatusOperationNotPermittedOnKeyVault', 'KeyVaultSecretStatusAzureServiceUnauthorizedToAccessKeyVault', 'KeyVaultSecretStatusKeyVaultDoesNotExist', 'KeyVaultSecretStatusKeyVaultSecretDoesNotExist', 'KeyVaultSecretStatusUnknownError', 'KeyVaultSecretStatusExternalPrivateKey', 'KeyVaultSecretStatusUnknown' - KeyVaultSecretStatus KeyVaultSecretStatus `json:"keyVaultSecretStatus,omitempty"` - // ServerFarmID - Resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}". - ServerFarmID *string `json:"serverFarmId,omitempty"` - // CanonicalName - CNAME of the certificate to be issued via free certificate - CanonicalName *string `json:"canonicalName,omitempty"` - // DomainValidationMethod - Method of domain validation for free cert - DomainValidationMethod *string `json:"domainValidationMethod,omitempty"` -} - -// MarshalJSON is the custom marshaler for CertificatePatchResourceProperties. -func (cpr CertificatePatchResourceProperties) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if cpr.Password != nil { - objectMap["password"] = cpr.Password - } - if cpr.HostNames != nil { - objectMap["hostNames"] = cpr.HostNames - } - if cpr.PfxBlob != nil { - objectMap["pfxBlob"] = cpr.PfxBlob - } - if cpr.KeyVaultID != nil { - objectMap["keyVaultId"] = cpr.KeyVaultID - } - if cpr.KeyVaultSecretName != nil { - objectMap["keyVaultSecretName"] = cpr.KeyVaultSecretName - } - if cpr.ServerFarmID != nil { - objectMap["serverFarmId"] = cpr.ServerFarmID - } - if cpr.CanonicalName != nil { - objectMap["canonicalName"] = cpr.CanonicalName - } - if cpr.DomainValidationMethod != nil { - objectMap["domainValidationMethod"] = cpr.DomainValidationMethod - } - return json.Marshal(objectMap) -} - -// CertificateProperties certificate resource specific properties -type CertificateProperties struct { - // Password - Certificate password. - Password *string `json:"password,omitempty"` - // FriendlyName - READ-ONLY; Friendly name of the certificate. - FriendlyName *string `json:"friendlyName,omitempty"` - // SubjectName - READ-ONLY; Subject name of the certificate. - SubjectName *string `json:"subjectName,omitempty"` - // HostNames - Host names the certificate applies to. - HostNames *[]string `json:"hostNames,omitempty"` - // PfxBlob - Pfx blob. - PfxBlob *[]byte `json:"pfxBlob,omitempty"` - // SiteName - READ-ONLY; App name. - SiteName *string `json:"siteName,omitempty"` - // SelfLink - READ-ONLY; Self link. - SelfLink *string `json:"selfLink,omitempty"` - // Issuer - READ-ONLY; Certificate issuer. - Issuer *string `json:"issuer,omitempty"` - // IssueDate - READ-ONLY; Certificate issue Date. - IssueDate *date.Time `json:"issueDate,omitempty"` - // ExpirationDate - READ-ONLY; Certificate expiration date. - ExpirationDate *date.Time `json:"expirationDate,omitempty"` - // Thumbprint - READ-ONLY; Certificate thumbprint. - Thumbprint *string `json:"thumbprint,omitempty"` - // Valid - READ-ONLY; Is the certificate valid?. - Valid *bool `json:"valid,omitempty"` - // CerBlob - READ-ONLY; Raw bytes of .cer file - CerBlob *[]byte `json:"cerBlob,omitempty"` - // PublicKeyHash - READ-ONLY; Public key hash. - PublicKeyHash *string `json:"publicKeyHash,omitempty"` - // HostingEnvironmentProfile - READ-ONLY; Specification for the App Service Environment to use for the certificate. - HostingEnvironmentProfile *HostingEnvironmentProfile `json:"hostingEnvironmentProfile,omitempty"` - // KeyVaultID - Key Vault Csm resource Id. - KeyVaultID *string `json:"keyVaultId,omitempty"` - // KeyVaultSecretName - Key Vault secret name. - KeyVaultSecretName *string `json:"keyVaultSecretName,omitempty"` - // KeyVaultSecretStatus - READ-ONLY; Status of the Key Vault secret. Possible values include: 'KeyVaultSecretStatusInitialized', 'KeyVaultSecretStatusWaitingOnCertificateOrder', 'KeyVaultSecretStatusSucceeded', 'KeyVaultSecretStatusCertificateOrderFailed', 'KeyVaultSecretStatusOperationNotPermittedOnKeyVault', 'KeyVaultSecretStatusAzureServiceUnauthorizedToAccessKeyVault', 'KeyVaultSecretStatusKeyVaultDoesNotExist', 'KeyVaultSecretStatusKeyVaultSecretDoesNotExist', 'KeyVaultSecretStatusUnknownError', 'KeyVaultSecretStatusExternalPrivateKey', 'KeyVaultSecretStatusUnknown' - KeyVaultSecretStatus KeyVaultSecretStatus `json:"keyVaultSecretStatus,omitempty"` - // ServerFarmID - Resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}". - ServerFarmID *string `json:"serverFarmId,omitempty"` - // CanonicalName - CNAME of the certificate to be issued via free certificate - CanonicalName *string `json:"canonicalName,omitempty"` - // DomainValidationMethod - Method of domain validation for free cert - DomainValidationMethod *string `json:"domainValidationMethod,omitempty"` -} - -// MarshalJSON is the custom marshaler for CertificateProperties. -func (c CertificateProperties) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if c.Password != nil { - objectMap["password"] = c.Password - } - if c.HostNames != nil { - objectMap["hostNames"] = c.HostNames - } - if c.PfxBlob != nil { - objectMap["pfxBlob"] = c.PfxBlob - } - if c.KeyVaultID != nil { - objectMap["keyVaultId"] = c.KeyVaultID - } - if c.KeyVaultSecretName != nil { - objectMap["keyVaultSecretName"] = c.KeyVaultSecretName - } - if c.ServerFarmID != nil { - objectMap["serverFarmId"] = c.ServerFarmID - } - if c.CanonicalName != nil { - objectMap["canonicalName"] = c.CanonicalName - } - if c.DomainValidationMethod != nil { - objectMap["domainValidationMethod"] = c.DomainValidationMethod - } - return json.Marshal(objectMap) -} - -// ClientRegistration the configuration settings of the app registration for providers that have client ids -// and client secrets -type ClientRegistration struct { - // ClientRegistrationProperties - ClientRegistration resource specific properties - *ClientRegistrationProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for ClientRegistration. -func (cr ClientRegistration) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if cr.ClientRegistrationProperties != nil { - objectMap["properties"] = cr.ClientRegistrationProperties - } - if cr.Kind != nil { - objectMap["kind"] = cr.Kind - } - return json.Marshal(objectMap) -} - -// UnmarshalJSON is the custom unmarshaler for ClientRegistration struct. -func (cr *ClientRegistration) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var clientRegistrationProperties ClientRegistrationProperties - err = json.Unmarshal(*v, &clientRegistrationProperties) - if err != nil { - return err - } - cr.ClientRegistrationProperties = &clientRegistrationProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - cr.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - cr.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - cr.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - cr.Type = &typeVar - } - } - } - - return nil -} - -// ClientRegistrationProperties clientRegistration resource specific properties -type ClientRegistrationProperties struct { - // ClientID - The Client ID of the app used for login. - ClientID *string `json:"clientId,omitempty"` - // ClientSecretSettingName - The app setting name that contains the client secret. - ClientSecretSettingName *string `json:"clientSecretSettingName,omitempty"` -} - -// CloningInfo information needed for cloning operation. -type CloningInfo struct { - // CorrelationID - Correlation ID of cloning operation. This ID ties multiple cloning operations - // together to use the same snapshot. - CorrelationID *uuid.UUID `json:"correlationId,omitempty"` - // Overwrite - true to overwrite destination app; otherwise, false. - Overwrite *bool `json:"overwrite,omitempty"` - // CloneCustomHostNames - true to clone custom hostnames from source app; otherwise, false. - CloneCustomHostNames *bool `json:"cloneCustomHostNames,omitempty"` - // CloneSourceControl - true to clone source control from source app; otherwise, false. - CloneSourceControl *bool `json:"cloneSourceControl,omitempty"` - // SourceWebAppID - ARM resource ID of the source app. App resource ID is of the form - // /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and - // /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots. - SourceWebAppID *string `json:"sourceWebAppId,omitempty"` - // SourceWebAppLocation - Location of source app ex: West US or North Europe - SourceWebAppLocation *string `json:"sourceWebAppLocation,omitempty"` - // HostingEnvironment - App Service Environment. - HostingEnvironment *string `json:"hostingEnvironment,omitempty"` - // AppSettingsOverrides - Application setting overrides for cloned app. If specified, these settings override the settings cloned - // from source app. Otherwise, application settings from source app are retained. - AppSettingsOverrides map[string]*string `json:"appSettingsOverrides"` - // ConfigureLoadBalancing - true to configure load balancing for source and destination app. - ConfigureLoadBalancing *bool `json:"configureLoadBalancing,omitempty"` - // TrafficManagerProfileID - ARM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form - // /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}. - TrafficManagerProfileID *string `json:"trafficManagerProfileId,omitempty"` - // TrafficManagerProfileName - Name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist. - TrafficManagerProfileName *string `json:"trafficManagerProfileName,omitempty"` -} - -// MarshalJSON is the custom marshaler for CloningInfo. -func (ci CloningInfo) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if ci.CorrelationID != nil { - objectMap["correlationId"] = ci.CorrelationID - } - if ci.Overwrite != nil { - objectMap["overwrite"] = ci.Overwrite - } - if ci.CloneCustomHostNames != nil { - objectMap["cloneCustomHostNames"] = ci.CloneCustomHostNames - } - if ci.CloneSourceControl != nil { - objectMap["cloneSourceControl"] = ci.CloneSourceControl - } - if ci.SourceWebAppID != nil { - objectMap["sourceWebAppId"] = ci.SourceWebAppID - } - if ci.SourceWebAppLocation != nil { - objectMap["sourceWebAppLocation"] = ci.SourceWebAppLocation - } - if ci.HostingEnvironment != nil { - objectMap["hostingEnvironment"] = ci.HostingEnvironment - } - if ci.AppSettingsOverrides != nil { - objectMap["appSettingsOverrides"] = ci.AppSettingsOverrides - } - if ci.ConfigureLoadBalancing != nil { - objectMap["configureLoadBalancing"] = ci.ConfigureLoadBalancing - } - if ci.TrafficManagerProfileID != nil { - objectMap["trafficManagerProfileId"] = ci.TrafficManagerProfileID - } - if ci.TrafficManagerProfileName != nil { - objectMap["trafficManagerProfileName"] = ci.TrafficManagerProfileName - } - return json.Marshal(objectMap) -} - -// ConnectionStringDictionary string dictionary resource. -type ConnectionStringDictionary struct { - autorest.Response `json:"-"` - // Properties - Connection strings. - Properties map[string]*ConnStringValueTypePair `json:"properties"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for ConnectionStringDictionary. -func (csd ConnectionStringDictionary) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if csd.Properties != nil { - objectMap["properties"] = csd.Properties - } - if csd.Kind != nil { - objectMap["kind"] = csd.Kind - } - return json.Marshal(objectMap) -} - -// ConnStringInfo database connection string information. -type ConnStringInfo struct { - // Name - Name of connection string. - Name *string `json:"name,omitempty"` - // ConnectionString - Connection string value. - ConnectionString *string `json:"connectionString,omitempty"` - // Type - Type of database. Possible values include: 'ConnectionStringTypeMySQL', 'ConnectionStringTypeSQLServer', 'ConnectionStringTypeSQLAzure', 'ConnectionStringTypeCustom', 'ConnectionStringTypeNotificationHub', 'ConnectionStringTypeServiceBus', 'ConnectionStringTypeEventHub', 'ConnectionStringTypeAPIHub', 'ConnectionStringTypeDocDb', 'ConnectionStringTypeRedisCache', 'ConnectionStringTypePostgreSQL' - Type ConnectionStringType `json:"type,omitempty"` -} - -// ConnStringValueTypePair database connection string value to type pair. -type ConnStringValueTypePair struct { - // Value - Value of pair. - Value *string `json:"value,omitempty"` - // Type - Type of database. Possible values include: 'ConnectionStringTypeMySQL', 'ConnectionStringTypeSQLServer', 'ConnectionStringTypeSQLAzure', 'ConnectionStringTypeCustom', 'ConnectionStringTypeNotificationHub', 'ConnectionStringTypeServiceBus', 'ConnectionStringTypeEventHub', 'ConnectionStringTypeAPIHub', 'ConnectionStringTypeDocDb', 'ConnectionStringTypeRedisCache', 'ConnectionStringTypePostgreSQL' - Type ConnectionStringType `json:"type,omitempty"` -} - -// Contact contact information for domain registration. If 'Domain Privacy' option is not selected then the -// contact information is made publicly available through the Whois -// directories as per ICANN requirements. -type Contact struct { - // AddressMailing - Mailing address. - AddressMailing *Address `json:"addressMailing,omitempty"` - // Email - Email address. - Email *string `json:"email,omitempty"` - // Fax - Fax number. - Fax *string `json:"fax,omitempty"` - // JobTitle - Job title. - JobTitle *string `json:"jobTitle,omitempty"` - // NameFirst - First name. - NameFirst *string `json:"nameFirst,omitempty"` - // NameLast - Last name. - NameLast *string `json:"nameLast,omitempty"` - // NameMiddle - Middle name. - NameMiddle *string `json:"nameMiddle,omitempty"` - // Organization - Organization contact belongs to. - Organization *string `json:"organization,omitempty"` - // Phone - Phone number. - Phone *string `json:"phone,omitempty"` -} - -// ContainerCPUStatistics ... -type ContainerCPUStatistics struct { - CPUUsage *ContainerCPUUsage `json:"cpuUsage,omitempty"` - SystemCPUUsage *int64 `json:"systemCpuUsage,omitempty"` - OnlineCPUCount *int32 `json:"onlineCpuCount,omitempty"` - ThrottlingData *ContainerThrottlingData `json:"throttlingData,omitempty"` -} - -// ContainerCPUUsage ... -type ContainerCPUUsage struct { - TotalUsage *int64 `json:"totalUsage,omitempty"` - PerCPUUsage *[]int64 `json:"perCpuUsage,omitempty"` - KernelModeUsage *int64 `json:"kernelModeUsage,omitempty"` - UserModeUsage *int64 `json:"userModeUsage,omitempty"` -} - -// ContainerInfo ... -type ContainerInfo struct { - CurrentTimeStamp *date.Time `json:"currentTimeStamp,omitempty"` - PreviousTimeStamp *date.Time `json:"previousTimeStamp,omitempty"` - CurrentCPUStats *ContainerCPUStatistics `json:"currentCpuStats,omitempty"` - PreviousCPUStats *ContainerCPUStatistics `json:"previousCpuStats,omitempty"` - MemoryStats *ContainerMemoryStatistics `json:"memoryStats,omitempty"` - Name *string `json:"name,omitempty"` - ID *string `json:"id,omitempty"` - Eth0 *ContainerNetworkInterfaceStatistics `json:"eth0,omitempty"` -} - -// ContainerMemoryStatistics ... -type ContainerMemoryStatistics struct { - Usage *int64 `json:"usage,omitempty"` - MaxUsage *int64 `json:"maxUsage,omitempty"` - Limit *int64 `json:"limit,omitempty"` -} - -// ContainerNetworkInterfaceStatistics ... -type ContainerNetworkInterfaceStatistics struct { - RxBytes *int64 `json:"rxBytes,omitempty"` - RxPackets *int64 `json:"rxPackets,omitempty"` - RxErrors *int64 `json:"rxErrors,omitempty"` - RxDropped *int64 `json:"rxDropped,omitempty"` - TxBytes *int64 `json:"txBytes,omitempty"` - TxPackets *int64 `json:"txPackets,omitempty"` - TxErrors *int64 `json:"txErrors,omitempty"` - TxDropped *int64 `json:"txDropped,omitempty"` -} - -// ContainerThrottlingData ... -type ContainerThrottlingData struct { - Periods *int32 `json:"periods,omitempty"` - ThrottledPeriods *int32 `json:"throttledPeriods,omitempty"` - ThrottledTime *int32 `json:"throttledTime,omitempty"` -} - -// ContinuousWebJob continuous Web Job Information. -type ContinuousWebJob struct { - autorest.Response `json:"-"` - // ContinuousWebJobProperties - ContinuousWebJob resource specific properties - *ContinuousWebJobProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for ContinuousWebJob. -func (cwj ContinuousWebJob) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if cwj.ContinuousWebJobProperties != nil { - objectMap["properties"] = cwj.ContinuousWebJobProperties - } - if cwj.Kind != nil { - objectMap["kind"] = cwj.Kind - } - return json.Marshal(objectMap) -} - -// UnmarshalJSON is the custom unmarshaler for ContinuousWebJob struct. -func (cwj *ContinuousWebJob) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var continuousWebJobProperties ContinuousWebJobProperties - err = json.Unmarshal(*v, &continuousWebJobProperties) - if err != nil { - return err - } - cwj.ContinuousWebJobProperties = &continuousWebJobProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - cwj.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - cwj.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - cwj.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - cwj.Type = &typeVar - } - } - } - - return nil -} - -// ContinuousWebJobCollection collection of Kudu continuous web job information elements. -type ContinuousWebJobCollection struct { - autorest.Response `json:"-"` - // Value - Collection of resources. - Value *[]ContinuousWebJob `json:"value,omitempty"` - // NextLink - READ-ONLY; Link to next page of resources. - NextLink *string `json:"nextLink,omitempty"` -} - -// MarshalJSON is the custom marshaler for ContinuousWebJobCollection. -func (cwjc ContinuousWebJobCollection) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if cwjc.Value != nil { - objectMap["value"] = cwjc.Value - } - return json.Marshal(objectMap) -} - -// ContinuousWebJobCollectionIterator provides access to a complete listing of ContinuousWebJob values. -type ContinuousWebJobCollectionIterator struct { - i int - page ContinuousWebJobCollectionPage -} - -// NextWithContext advances to the next value. If there was an error making -// the request the iterator does not advance and the error is returned. -func (iter *ContinuousWebJobCollectionIterator) NextWithContext(ctx context.Context) (err error) { - if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/ContinuousWebJobCollectionIterator.NextWithContext") - defer func() { - sc := -1 - if iter.Response().Response.Response != nil { - sc = iter.Response().Response.Response.StatusCode - } - tracing.EndSpan(ctx, sc, err) - }() - } - iter.i++ - if iter.i < len(iter.page.Values()) { - return nil - } - err = iter.page.NextWithContext(ctx) - if err != nil { - iter.i-- - return err - } - iter.i = 0 - return nil -} - -// Next advances to the next value. If there was an error making -// the request the iterator does not advance and the error is returned. -// Deprecated: Use NextWithContext() instead. -func (iter *ContinuousWebJobCollectionIterator) Next() error { - return iter.NextWithContext(context.Background()) -} - -// NotDone returns true if the enumeration should be started or is not yet complete. -func (iter ContinuousWebJobCollectionIterator) NotDone() bool { - return iter.page.NotDone() && iter.i < len(iter.page.Values()) -} - -// Response returns the raw server response from the last page request. -func (iter ContinuousWebJobCollectionIterator) Response() ContinuousWebJobCollection { - return iter.page.Response() -} - -// Value returns the current value or a zero-initialized value if the -// iterator has advanced beyond the end of the collection. -func (iter ContinuousWebJobCollectionIterator) Value() ContinuousWebJob { - if !iter.page.NotDone() { - return ContinuousWebJob{} - } - return iter.page.Values()[iter.i] -} - -// Creates a new instance of the ContinuousWebJobCollectionIterator type. -func NewContinuousWebJobCollectionIterator(page ContinuousWebJobCollectionPage) ContinuousWebJobCollectionIterator { - return ContinuousWebJobCollectionIterator{page: page} -} - -// IsEmpty returns true if the ListResult contains no values. -func (cwjc ContinuousWebJobCollection) IsEmpty() bool { - return cwjc.Value == nil || len(*cwjc.Value) == 0 -} - -// hasNextLink returns true if the NextLink is not empty. -func (cwjc ContinuousWebJobCollection) hasNextLink() bool { - return cwjc.NextLink != nil && len(*cwjc.NextLink) != 0 -} - -// continuousWebJobCollectionPreparer prepares a request to retrieve the next set of results. -// It returns nil if no more results exist. -func (cwjc ContinuousWebJobCollection) continuousWebJobCollectionPreparer(ctx context.Context) (*http.Request, error) { - if !cwjc.hasNextLink() { - return nil, nil - } - return autorest.Prepare((&http.Request{}).WithContext(ctx), - autorest.AsJSON(), - autorest.AsGet(), - autorest.WithBaseURL(to.String(cwjc.NextLink))) -} - -// ContinuousWebJobCollectionPage contains a page of ContinuousWebJob values. -type ContinuousWebJobCollectionPage struct { - fn func(context.Context, ContinuousWebJobCollection) (ContinuousWebJobCollection, error) - cwjc ContinuousWebJobCollection -} - -// NextWithContext advances to the next page of values. If there was an error making -// the request the page does not advance and the error is returned. -func (page *ContinuousWebJobCollectionPage) NextWithContext(ctx context.Context) (err error) { - if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/ContinuousWebJobCollectionPage.NextWithContext") - defer func() { - sc := -1 - if page.Response().Response.Response != nil { - sc = page.Response().Response.Response.StatusCode - } - tracing.EndSpan(ctx, sc, err) - }() - } - for { - next, err := page.fn(ctx, page.cwjc) - if err != nil { - return err - } - page.cwjc = next - if !next.hasNextLink() || !next.IsEmpty() { - break - } - } - return nil -} - -// Next advances to the next page of values. If there was an error making -// the request the page does not advance and the error is returned. -// Deprecated: Use NextWithContext() instead. -func (page *ContinuousWebJobCollectionPage) Next() error { - return page.NextWithContext(context.Background()) -} - -// NotDone returns true if the page enumeration should be started or is not yet complete. -func (page ContinuousWebJobCollectionPage) NotDone() bool { - return !page.cwjc.IsEmpty() -} - -// Response returns the raw server response from the last page request. -func (page ContinuousWebJobCollectionPage) Response() ContinuousWebJobCollection { - return page.cwjc -} - -// Values returns the slice of values for the current page or nil if there are no values. -func (page ContinuousWebJobCollectionPage) Values() []ContinuousWebJob { - if page.cwjc.IsEmpty() { - return nil - } - return *page.cwjc.Value -} - -// Creates a new instance of the ContinuousWebJobCollectionPage type. -func NewContinuousWebJobCollectionPage(cur ContinuousWebJobCollection, getNextPage func(context.Context, ContinuousWebJobCollection) (ContinuousWebJobCollection, error)) ContinuousWebJobCollectionPage { - return ContinuousWebJobCollectionPage{ - fn: getNextPage, - cwjc: cur, - } -} - -// ContinuousWebJobProperties continuousWebJob resource specific properties -type ContinuousWebJobProperties struct { - // Status - Job status. Possible values include: 'ContinuousWebJobStatusInitializing', 'ContinuousWebJobStatusStarting', 'ContinuousWebJobStatusRunning', 'ContinuousWebJobStatusPendingRestart', 'ContinuousWebJobStatusStopped' - Status ContinuousWebJobStatus `json:"status,omitempty"` - // DetailedStatus - Detailed status. - DetailedStatus *string `json:"detailed_status,omitempty"` - // LogURL - Log URL. - LogURL *string `json:"log_url,omitempty"` - // RunCommand - Run command. - RunCommand *string `json:"run_command,omitempty"` - // URL - Job URL. - URL *string `json:"url,omitempty"` - // ExtraInfoURL - Extra Info URL. - ExtraInfoURL *string `json:"extra_info_url,omitempty"` - // WebJobType - Job type. Possible values include: 'JobTypeContinuous', 'JobTypeTriggered' - WebJobType JobType `json:"web_job_type,omitempty"` - // Error - Error information. - Error *string `json:"error,omitempty"` - // UsingSdk - Using SDK? - UsingSdk *bool `json:"using_sdk,omitempty"` - // Settings - Job settings. - Settings map[string]interface{} `json:"settings"` -} - -// MarshalJSON is the custom marshaler for ContinuousWebJobProperties. -func (cwj ContinuousWebJobProperties) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if cwj.Status != "" { - objectMap["status"] = cwj.Status - } - if cwj.DetailedStatus != nil { - objectMap["detailed_status"] = cwj.DetailedStatus - } - if cwj.LogURL != nil { - objectMap["log_url"] = cwj.LogURL - } - if cwj.RunCommand != nil { - objectMap["run_command"] = cwj.RunCommand - } - if cwj.URL != nil { - objectMap["url"] = cwj.URL - } - if cwj.ExtraInfoURL != nil { - objectMap["extra_info_url"] = cwj.ExtraInfoURL - } - if cwj.WebJobType != "" { - objectMap["web_job_type"] = cwj.WebJobType - } - if cwj.Error != nil { - objectMap["error"] = cwj.Error - } - if cwj.UsingSdk != nil { - objectMap["using_sdk"] = cwj.UsingSdk - } - if cwj.Settings != nil { - objectMap["settings"] = cwj.Settings - } - return json.Marshal(objectMap) -} - -// CookieExpiration the configuration settings of the session cookie's expiration. -type CookieExpiration struct { - // CookieExpirationProperties - CookieExpiration resource specific properties - *CookieExpirationProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for CookieExpiration. -func (ce CookieExpiration) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if ce.CookieExpirationProperties != nil { - objectMap["properties"] = ce.CookieExpirationProperties - } - if ce.Kind != nil { - objectMap["kind"] = ce.Kind - } - return json.Marshal(objectMap) -} - -// UnmarshalJSON is the custom unmarshaler for CookieExpiration struct. -func (ce *CookieExpiration) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var cookieExpirationProperties CookieExpirationProperties - err = json.Unmarshal(*v, &cookieExpirationProperties) - if err != nil { - return err - } - ce.CookieExpirationProperties = &cookieExpirationProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - ce.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - ce.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - ce.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - ce.Type = &typeVar - } - } - } - - return nil -} - -// CookieExpirationProperties cookieExpiration resource specific properties -type CookieExpirationProperties struct { - // Convention - The convention used when determining the session cookie's expiration. Possible values include: 'CookieExpirationConventionFixedTime', 'CookieExpirationConventionIdentityProviderDerived' - Convention CookieExpirationConvention `json:"convention,omitempty"` - // TimeToExpiration - The time after the request is made when the session cookie should expire. - TimeToExpiration *string `json:"timeToExpiration,omitempty"` -} - -// CorsSettings cross-Origin Resource Sharing (CORS) settings for the app. -type CorsSettings struct { - // AllowedOrigins - Gets or sets the list of origins that should be allowed to make cross-origin - // calls (for example: http://example.com:12345). Use "*" to allow all. - AllowedOrigins *[]string `json:"allowedOrigins,omitempty"` - // SupportCredentials - Gets or sets whether CORS requests with credentials are allowed. See - // https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#Requests_with_credentials - // for more details. - SupportCredentials *bool `json:"supportCredentials,omitempty"` -} - -// CsmMoveResourceEnvelope object with a list of the resources that need to be moved and the resource group -// they should be moved to. -type CsmMoveResourceEnvelope struct { - TargetResourceGroup *string `json:"targetResourceGroup,omitempty"` - Resources *[]string `json:"resources,omitempty"` -} - -// CsmOperationCollection collection of Azure resource manager operation metadata. -type CsmOperationCollection struct { - autorest.Response `json:"-"` - // Value - Collection of resources. - Value *[]CsmOperationDescription `json:"value,omitempty"` - // NextLink - READ-ONLY; Link to next page of resources. - NextLink *string `json:"nextLink,omitempty"` -} - -// MarshalJSON is the custom marshaler for CsmOperationCollection. -func (coc CsmOperationCollection) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if coc.Value != nil { - objectMap["value"] = coc.Value - } - return json.Marshal(objectMap) -} - -// CsmOperationCollectionIterator provides access to a complete listing of CsmOperationDescription values. -type CsmOperationCollectionIterator struct { - i int - page CsmOperationCollectionPage -} - -// NextWithContext advances to the next value. If there was an error making -// the request the iterator does not advance and the error is returned. -func (iter *CsmOperationCollectionIterator) NextWithContext(ctx context.Context) (err error) { - if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/CsmOperationCollectionIterator.NextWithContext") - defer func() { - sc := -1 - if iter.Response().Response.Response != nil { - sc = iter.Response().Response.Response.StatusCode - } - tracing.EndSpan(ctx, sc, err) - }() - } - iter.i++ - if iter.i < len(iter.page.Values()) { - return nil - } - err = iter.page.NextWithContext(ctx) - if err != nil { - iter.i-- - return err - } - iter.i = 0 - return nil -} - -// Next advances to the next value. If there was an error making -// the request the iterator does not advance and the error is returned. -// Deprecated: Use NextWithContext() instead. -func (iter *CsmOperationCollectionIterator) Next() error { - return iter.NextWithContext(context.Background()) -} - -// NotDone returns true if the enumeration should be started or is not yet complete. -func (iter CsmOperationCollectionIterator) NotDone() bool { - return iter.page.NotDone() && iter.i < len(iter.page.Values()) -} - -// Response returns the raw server response from the last page request. -func (iter CsmOperationCollectionIterator) Response() CsmOperationCollection { - return iter.page.Response() -} - -// Value returns the current value or a zero-initialized value if the -// iterator has advanced beyond the end of the collection. -func (iter CsmOperationCollectionIterator) Value() CsmOperationDescription { - if !iter.page.NotDone() { - return CsmOperationDescription{} - } - return iter.page.Values()[iter.i] -} - -// Creates a new instance of the CsmOperationCollectionIterator type. -func NewCsmOperationCollectionIterator(page CsmOperationCollectionPage) CsmOperationCollectionIterator { - return CsmOperationCollectionIterator{page: page} -} - -// IsEmpty returns true if the ListResult contains no values. -func (coc CsmOperationCollection) IsEmpty() bool { - return coc.Value == nil || len(*coc.Value) == 0 -} - -// hasNextLink returns true if the NextLink is not empty. -func (coc CsmOperationCollection) hasNextLink() bool { - return coc.NextLink != nil && len(*coc.NextLink) != 0 -} - -// csmOperationCollectionPreparer prepares a request to retrieve the next set of results. -// It returns nil if no more results exist. -func (coc CsmOperationCollection) csmOperationCollectionPreparer(ctx context.Context) (*http.Request, error) { - if !coc.hasNextLink() { - return nil, nil - } - return autorest.Prepare((&http.Request{}).WithContext(ctx), - autorest.AsJSON(), - autorest.AsGet(), - autorest.WithBaseURL(to.String(coc.NextLink))) -} - -// CsmOperationCollectionPage contains a page of CsmOperationDescription values. -type CsmOperationCollectionPage struct { - fn func(context.Context, CsmOperationCollection) (CsmOperationCollection, error) - coc CsmOperationCollection -} - -// NextWithContext advances to the next page of values. If there was an error making -// the request the page does not advance and the error is returned. -func (page *CsmOperationCollectionPage) NextWithContext(ctx context.Context) (err error) { - if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/CsmOperationCollectionPage.NextWithContext") - defer func() { - sc := -1 - if page.Response().Response.Response != nil { - sc = page.Response().Response.Response.StatusCode - } - tracing.EndSpan(ctx, sc, err) - }() - } - for { - next, err := page.fn(ctx, page.coc) - if err != nil { - return err - } - page.coc = next - if !next.hasNextLink() || !next.IsEmpty() { - break - } - } - return nil -} - -// Next advances to the next page of values. If there was an error making -// the request the page does not advance and the error is returned. -// Deprecated: Use NextWithContext() instead. -func (page *CsmOperationCollectionPage) Next() error { - return page.NextWithContext(context.Background()) -} - -// NotDone returns true if the page enumeration should be started or is not yet complete. -func (page CsmOperationCollectionPage) NotDone() bool { - return !page.coc.IsEmpty() -} - -// Response returns the raw server response from the last page request. -func (page CsmOperationCollectionPage) Response() CsmOperationCollection { - return page.coc -} - -// Values returns the slice of values for the current page or nil if there are no values. -func (page CsmOperationCollectionPage) Values() []CsmOperationDescription { - if page.coc.IsEmpty() { - return nil - } - return *page.coc.Value -} - -// Creates a new instance of the CsmOperationCollectionPage type. -func NewCsmOperationCollectionPage(cur CsmOperationCollection, getNextPage func(context.Context, CsmOperationCollection) (CsmOperationCollection, error)) CsmOperationCollectionPage { - return CsmOperationCollectionPage{ - fn: getNextPage, - coc: cur, - } -} - -// CsmOperationDescription description of an operation available for Microsoft.Web resource provider. -type CsmOperationDescription struct { - Name *string `json:"name,omitempty"` - IsDataAction *bool `json:"isDataAction,omitempty"` - Display *CsmOperationDisplay `json:"display,omitempty"` - Origin *string `json:"origin,omitempty"` - Properties *CsmOperationDescriptionProperties `json:"properties,omitempty"` -} - -// CsmOperationDescriptionProperties properties available for a Microsoft.Web resource provider operation. -type CsmOperationDescriptionProperties struct { - ServiceSpecification *ServiceSpecification `json:"serviceSpecification,omitempty"` -} - -// CsmOperationDisplay meta data about operation used for display in portal. -type CsmOperationDisplay struct { - Provider *string `json:"provider,omitempty"` - Resource *string `json:"resource,omitempty"` - Operation *string `json:"operation,omitempty"` - Description *string `json:"description,omitempty"` -} - -// CsmPublishingCredentialsPoliciesEntity publishing Credentials Policies parameters. -type CsmPublishingCredentialsPoliciesEntity struct { - autorest.Response `json:"-"` - // CsmPublishingCredentialsPoliciesEntityProperties - CsmPublishingCredentialsPoliciesEntity resource specific properties - *CsmPublishingCredentialsPoliciesEntityProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for CsmPublishingCredentialsPoliciesEntity. -func (cpcpe CsmPublishingCredentialsPoliciesEntity) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if cpcpe.CsmPublishingCredentialsPoliciesEntityProperties != nil { - objectMap["properties"] = cpcpe.CsmPublishingCredentialsPoliciesEntityProperties - } - if cpcpe.Kind != nil { - objectMap["kind"] = cpcpe.Kind - } - return json.Marshal(objectMap) -} - -// UnmarshalJSON is the custom unmarshaler for CsmPublishingCredentialsPoliciesEntity struct. -func (cpcpe *CsmPublishingCredentialsPoliciesEntity) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var csmPublishingCredentialsPoliciesEntityProperties CsmPublishingCredentialsPoliciesEntityProperties - err = json.Unmarshal(*v, &csmPublishingCredentialsPoliciesEntityProperties) - if err != nil { - return err - } - cpcpe.CsmPublishingCredentialsPoliciesEntityProperties = &csmPublishingCredentialsPoliciesEntityProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - cpcpe.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - cpcpe.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - cpcpe.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - cpcpe.Type = &typeVar - } - } - } - - return nil -} - -// CsmPublishingCredentialsPoliciesEntityProperties csmPublishingCredentialsPoliciesEntity resource -// specific properties -type CsmPublishingCredentialsPoliciesEntityProperties struct { - // Allow - true to allow access to a publishing method; otherwise, false. - Allow *bool `json:"allow,omitempty"` -} - -// CsmPublishingProfileOptions publishing options for requested profile. -type CsmPublishingProfileOptions struct { - // Format - Name of the format. Valid values are: - // FileZilla3 - // WebDeploy -- default - // Ftp. Possible values include: 'PublishingProfileFormatFileZilla3', 'PublishingProfileFormatWebDeploy', 'PublishingProfileFormatFtp' - Format PublishingProfileFormat `json:"format,omitempty"` - // IncludeDisasterRecoveryEndpoints - Include the DisasterRecover endpoint if true - IncludeDisasterRecoveryEndpoints *bool `json:"includeDisasterRecoveryEndpoints,omitempty"` -} - -// CsmSlotEntity deployment slot parameters. -type CsmSlotEntity struct { - // TargetSlot - Destination deployment slot during swap operation. - TargetSlot *string `json:"targetSlot,omitempty"` - // PreserveVnet - true to preserve Virtual Network to the slot during swap; otherwise, false. - PreserveVnet *bool `json:"preserveVnet,omitempty"` -} - -// CsmUsageQuota usage of the quota resource. -type CsmUsageQuota struct { - // Unit - Units of measurement for the quota resource. - Unit *string `json:"unit,omitempty"` - // NextResetTime - Next reset time for the resource counter. - NextResetTime *date.Time `json:"nextResetTime,omitempty"` - // CurrentValue - The current value of the resource counter. - CurrentValue *int64 `json:"currentValue,omitempty"` - // Limit - The resource limit. - Limit *int64 `json:"limit,omitempty"` - // Name - Quota name. - Name *LocalizableString `json:"name,omitempty"` -} - -// CsmUsageQuotaCollection collection of CSM usage quotas. -type CsmUsageQuotaCollection struct { - autorest.Response `json:"-"` - // Value - Collection of resources. - Value *[]CsmUsageQuota `json:"value,omitempty"` - // NextLink - READ-ONLY; Link to next page of resources. - NextLink *string `json:"nextLink,omitempty"` -} - -// MarshalJSON is the custom marshaler for CsmUsageQuotaCollection. -func (cuqc CsmUsageQuotaCollection) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if cuqc.Value != nil { - objectMap["value"] = cuqc.Value - } - return json.Marshal(objectMap) -} - -// CsmUsageQuotaCollectionIterator provides access to a complete listing of CsmUsageQuota values. -type CsmUsageQuotaCollectionIterator struct { - i int - page CsmUsageQuotaCollectionPage -} - -// NextWithContext advances to the next value. If there was an error making -// the request the iterator does not advance and the error is returned. -func (iter *CsmUsageQuotaCollectionIterator) NextWithContext(ctx context.Context) (err error) { - if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/CsmUsageQuotaCollectionIterator.NextWithContext") - defer func() { - sc := -1 - if iter.Response().Response.Response != nil { - sc = iter.Response().Response.Response.StatusCode - } - tracing.EndSpan(ctx, sc, err) - }() - } - iter.i++ - if iter.i < len(iter.page.Values()) { - return nil - } - err = iter.page.NextWithContext(ctx) - if err != nil { - iter.i-- - return err - } - iter.i = 0 - return nil -} - -// Next advances to the next value. If there was an error making -// the request the iterator does not advance and the error is returned. -// Deprecated: Use NextWithContext() instead. -func (iter *CsmUsageQuotaCollectionIterator) Next() error { - return iter.NextWithContext(context.Background()) -} - -// NotDone returns true if the enumeration should be started or is not yet complete. -func (iter CsmUsageQuotaCollectionIterator) NotDone() bool { - return iter.page.NotDone() && iter.i < len(iter.page.Values()) -} - -// Response returns the raw server response from the last page request. -func (iter CsmUsageQuotaCollectionIterator) Response() CsmUsageQuotaCollection { - return iter.page.Response() -} - -// Value returns the current value or a zero-initialized value if the -// iterator has advanced beyond the end of the collection. -func (iter CsmUsageQuotaCollectionIterator) Value() CsmUsageQuota { - if !iter.page.NotDone() { - return CsmUsageQuota{} - } - return iter.page.Values()[iter.i] -} - -// Creates a new instance of the CsmUsageQuotaCollectionIterator type. -func NewCsmUsageQuotaCollectionIterator(page CsmUsageQuotaCollectionPage) CsmUsageQuotaCollectionIterator { - return CsmUsageQuotaCollectionIterator{page: page} -} - -// IsEmpty returns true if the ListResult contains no values. -func (cuqc CsmUsageQuotaCollection) IsEmpty() bool { - return cuqc.Value == nil || len(*cuqc.Value) == 0 -} - -// hasNextLink returns true if the NextLink is not empty. -func (cuqc CsmUsageQuotaCollection) hasNextLink() bool { - return cuqc.NextLink != nil && len(*cuqc.NextLink) != 0 -} - -// csmUsageQuotaCollectionPreparer prepares a request to retrieve the next set of results. -// It returns nil if no more results exist. -func (cuqc CsmUsageQuotaCollection) csmUsageQuotaCollectionPreparer(ctx context.Context) (*http.Request, error) { - if !cuqc.hasNextLink() { - return nil, nil - } - return autorest.Prepare((&http.Request{}).WithContext(ctx), - autorest.AsJSON(), - autorest.AsGet(), - autorest.WithBaseURL(to.String(cuqc.NextLink))) -} - -// CsmUsageQuotaCollectionPage contains a page of CsmUsageQuota values. -type CsmUsageQuotaCollectionPage struct { - fn func(context.Context, CsmUsageQuotaCollection) (CsmUsageQuotaCollection, error) - cuqc CsmUsageQuotaCollection -} - -// NextWithContext advances to the next page of values. If there was an error making -// the request the page does not advance and the error is returned. -func (page *CsmUsageQuotaCollectionPage) NextWithContext(ctx context.Context) (err error) { - if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/CsmUsageQuotaCollectionPage.NextWithContext") - defer func() { - sc := -1 - if page.Response().Response.Response != nil { - sc = page.Response().Response.Response.StatusCode - } - tracing.EndSpan(ctx, sc, err) - }() - } - for { - next, err := page.fn(ctx, page.cuqc) - if err != nil { - return err - } - page.cuqc = next - if !next.hasNextLink() || !next.IsEmpty() { - break - } - } - return nil -} - -// Next advances to the next page of values. If there was an error making -// the request the page does not advance and the error is returned. -// Deprecated: Use NextWithContext() instead. -func (page *CsmUsageQuotaCollectionPage) Next() error { - return page.NextWithContext(context.Background()) -} - -// NotDone returns true if the page enumeration should be started or is not yet complete. -func (page CsmUsageQuotaCollectionPage) NotDone() bool { - return !page.cuqc.IsEmpty() -} - -// Response returns the raw server response from the last page request. -func (page CsmUsageQuotaCollectionPage) Response() CsmUsageQuotaCollection { - return page.cuqc -} - -// Values returns the slice of values for the current page or nil if there are no values. -func (page CsmUsageQuotaCollectionPage) Values() []CsmUsageQuota { - if page.cuqc.IsEmpty() { - return nil - } - return *page.cuqc.Value -} - -// Creates a new instance of the CsmUsageQuotaCollectionPage type. -func NewCsmUsageQuotaCollectionPage(cur CsmUsageQuotaCollection, getNextPage func(context.Context, CsmUsageQuotaCollection) (CsmUsageQuotaCollection, error)) CsmUsageQuotaCollectionPage { - return CsmUsageQuotaCollectionPage{ - fn: getNextPage, - cuqc: cur, - } -} - -// CustomHostnameAnalysisResult custom domain analysis. -type CustomHostnameAnalysisResult struct { - autorest.Response `json:"-"` - // CustomHostnameAnalysisResultProperties - CustomHostnameAnalysisResult resource specific properties - *CustomHostnameAnalysisResultProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for CustomHostnameAnalysisResult. -func (char CustomHostnameAnalysisResult) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if char.CustomHostnameAnalysisResultProperties != nil { - objectMap["properties"] = char.CustomHostnameAnalysisResultProperties - } - if char.Kind != nil { - objectMap["kind"] = char.Kind - } - return json.Marshal(objectMap) -} - -// UnmarshalJSON is the custom unmarshaler for CustomHostnameAnalysisResult struct. -func (char *CustomHostnameAnalysisResult) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var customHostnameAnalysisResultProperties CustomHostnameAnalysisResultProperties - err = json.Unmarshal(*v, &customHostnameAnalysisResultProperties) - if err != nil { - return err - } - char.CustomHostnameAnalysisResultProperties = &customHostnameAnalysisResultProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - char.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - char.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - char.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - char.Type = &typeVar - } - } - } - - return nil -} - -// CustomHostnameAnalysisResultProperties customHostnameAnalysisResult resource specific properties -type CustomHostnameAnalysisResultProperties struct { - // IsHostnameAlreadyVerified - READ-ONLY; true if hostname is already verified; otherwise, false. - IsHostnameAlreadyVerified *bool `json:"isHostnameAlreadyVerified,omitempty"` - // CustomDomainVerificationTest - READ-ONLY; DNS verification test result. Possible values include: 'DNSVerificationTestResultPassed', 'DNSVerificationTestResultFailed', 'DNSVerificationTestResultSkipped' - CustomDomainVerificationTest DNSVerificationTestResult `json:"customDomainVerificationTest,omitempty"` - // CustomDomainVerificationFailureInfo - READ-ONLY; Raw failure information if DNS verification fails. - CustomDomainVerificationFailureInfo *ErrorEntity `json:"customDomainVerificationFailureInfo,omitempty"` - // HasConflictOnScaleUnit - READ-ONLY; true if there is a conflict on a scale unit; otherwise, false. - HasConflictOnScaleUnit *bool `json:"hasConflictOnScaleUnit,omitempty"` - // HasConflictAcrossSubscription - READ-ONLY; true if there is a conflict across subscriptions; otherwise, false. - HasConflictAcrossSubscription *bool `json:"hasConflictAcrossSubscription,omitempty"` - // ConflictingAppResourceID - READ-ONLY; Name of the conflicting app on scale unit if it's within the same subscription. - ConflictingAppResourceID *string `json:"conflictingAppResourceId,omitempty"` - // CNameRecords - CName records controller can see for this hostname. - CNameRecords *[]string `json:"cNameRecords,omitempty"` - // TxtRecords - TXT records controller can see for this hostname. - TxtRecords *[]string `json:"txtRecords,omitempty"` - // ARecords - A records controller can see for this hostname. - ARecords *[]string `json:"aRecords,omitempty"` - // AlternateCNameRecords - Alternate CName records controller can see for this hostname. - AlternateCNameRecords *[]string `json:"alternateCNameRecords,omitempty"` - // AlternateTxtRecords - Alternate TXT records controller can see for this hostname. - AlternateTxtRecords *[]string `json:"alternateTxtRecords,omitempty"` -} - -// MarshalJSON is the custom marshaler for CustomHostnameAnalysisResultProperties. -func (char CustomHostnameAnalysisResultProperties) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if char.CNameRecords != nil { - objectMap["cNameRecords"] = char.CNameRecords - } - if char.TxtRecords != nil { - objectMap["txtRecords"] = char.TxtRecords - } - if char.ARecords != nil { - objectMap["aRecords"] = char.ARecords - } - if char.AlternateCNameRecords != nil { - objectMap["alternateCNameRecords"] = char.AlternateCNameRecords - } - if char.AlternateTxtRecords != nil { - objectMap["alternateTxtRecords"] = char.AlternateTxtRecords - } - return json.Marshal(objectMap) -} - -// CustomOpenIDConnectProvider the configuration settings of the custom Open ID Connect provider. -type CustomOpenIDConnectProvider struct { - // CustomOpenIDConnectProviderProperties - CustomOpenIdConnectProvider resource specific properties - *CustomOpenIDConnectProviderProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for CustomOpenIDConnectProvider. -func (coicp CustomOpenIDConnectProvider) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if coicp.CustomOpenIDConnectProviderProperties != nil { - objectMap["properties"] = coicp.CustomOpenIDConnectProviderProperties - } - if coicp.Kind != nil { - objectMap["kind"] = coicp.Kind - } - return json.Marshal(objectMap) -} - -// UnmarshalJSON is the custom unmarshaler for CustomOpenIDConnectProvider struct. -func (coicp *CustomOpenIDConnectProvider) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var customOpenIDConnectProviderProperties CustomOpenIDConnectProviderProperties - err = json.Unmarshal(*v, &customOpenIDConnectProviderProperties) - if err != nil { - return err - } - coicp.CustomOpenIDConnectProviderProperties = &customOpenIDConnectProviderProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - coicp.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - coicp.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - coicp.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - coicp.Type = &typeVar - } - } - } - - return nil -} - -// CustomOpenIDConnectProviderProperties customOpenIdConnectProvider resource specific properties -type CustomOpenIDConnectProviderProperties struct { - // Enabled - false if the custom Open ID provider provider should not be enabled; otherwise, true. - Enabled *bool `json:"enabled,omitempty"` - // Registration - The configuration settings of the app registration for the custom Open ID Connect provider. - Registration *OpenIDConnectRegistration `json:"registration,omitempty"` - // Login - The configuration settings of the login flow of the custom Open ID Connect provider. - Login *OpenIDConnectLogin `json:"login,omitempty"` -} - -// DatabaseBackupSetting database backup settings. -type DatabaseBackupSetting struct { - // DatabaseType - Database type (e.g. SqlAzure / MySql). Possible values include: 'DatabaseTypeSQLAzure', 'DatabaseTypeMySQL', 'DatabaseTypeLocalMySQL', 'DatabaseTypePostgreSQL' - DatabaseType DatabaseType `json:"databaseType,omitempty"` - Name *string `json:"name,omitempty"` - // ConnectionStringName - Contains a connection string name that is linked to the SiteConfig.ConnectionStrings. - // This is used during restore with overwrite connection strings options. - ConnectionStringName *string `json:"connectionStringName,omitempty"` - // ConnectionString - Contains a connection string to a database which is being backed up or restored. If the restore should happen to a new database, the database name inside is the new one. - ConnectionString *string `json:"connectionString,omitempty"` -} - -// DataProviderMetadata additional configuration for a data providers -type DataProviderMetadata struct { - ProviderName *string `json:"providerName,omitempty"` - // PropertyBag - READ-ONLY; Settings for the data provider - PropertyBag *[]KeyValuePairStringObject `json:"propertyBag,omitempty"` -} - -// MarshalJSON is the custom marshaler for DataProviderMetadata. -func (dpm DataProviderMetadata) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if dpm.ProviderName != nil { - objectMap["providerName"] = dpm.ProviderName - } - return json.Marshal(objectMap) -} - -// DataSource class representing data source used by the detectors -type DataSource struct { - // Instructions - Instructions if any for the data source - Instructions *[]string `json:"instructions,omitempty"` - // DataSourceURI - Datasource Uri Links - DataSourceURI *[]NameValuePair `json:"dataSourceUri,omitempty"` -} - -// DataTableResponseColumn column definition -type DataTableResponseColumn struct { - // ColumnName - Name of the column - ColumnName *string `json:"columnName,omitempty"` - // DataType - Data type which looks like 'String' or 'Int32'. - DataType *string `json:"dataType,omitempty"` - // ColumnType - Column Type - ColumnType *string `json:"columnType,omitempty"` -} - -// DataTableResponseObject data Table which defines columns and raw row values -type DataTableResponseObject struct { - // TableName - Name of the table - TableName *string `json:"tableName,omitempty"` - // Columns - List of columns with data types - Columns *[]DataTableResponseColumn `json:"columns,omitempty"` - // Rows - Raw row values - Rows *[][]string `json:"rows,omitempty"` -} - -// DefaultErrorResponse app Service error response. -type DefaultErrorResponse struct { - // Error - READ-ONLY; Error model. - Error *DefaultErrorResponseError `json:"error,omitempty"` -} - -// MarshalJSON is the custom marshaler for DefaultErrorResponse. -func (der DefaultErrorResponse) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - return json.Marshal(objectMap) -} - -// DefaultErrorResponseError error model. -type DefaultErrorResponseError struct { - // Code - READ-ONLY; Standardized string to programmatically identify the error. - Code *string `json:"code,omitempty"` - // Message - READ-ONLY; Detailed error description and debugging information. - Message *string `json:"message,omitempty"` - // Target - READ-ONLY; Detailed error description and debugging information. - Target *string `json:"target,omitempty"` - Details *[]DefaultErrorResponseErrorDetailsItem `json:"details,omitempty"` - // Innererror - READ-ONLY; More information to debug error. - Innererror *string `json:"innererror,omitempty"` -} - -// MarshalJSON is the custom marshaler for DefaultErrorResponseError. -func (der DefaultErrorResponseError) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if der.Details != nil { - objectMap["details"] = der.Details - } - return json.Marshal(objectMap) -} - -// DefaultErrorResponseErrorDetailsItem detailed errors. -type DefaultErrorResponseErrorDetailsItem struct { - // Code - READ-ONLY; Standardized string to programmatically identify the error. - Code *string `json:"code,omitempty"` - // Message - READ-ONLY; Detailed error description and debugging information. - Message *string `json:"message,omitempty"` - // Target - READ-ONLY; Detailed error description and debugging information. - Target *string `json:"target,omitempty"` -} - -// MarshalJSON is the custom marshaler for DefaultErrorResponseErrorDetailsItem. -func (derI DefaultErrorResponseErrorDetailsItem) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - return json.Marshal(objectMap) -} - -// DeletedAppRestoreRequest details about restoring a deleted app. -type DeletedAppRestoreRequest struct { - // DeletedAppRestoreRequestProperties - DeletedAppRestoreRequest resource specific properties - *DeletedAppRestoreRequestProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for DeletedAppRestoreRequest. -func (darr DeletedAppRestoreRequest) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if darr.DeletedAppRestoreRequestProperties != nil { - objectMap["properties"] = darr.DeletedAppRestoreRequestProperties - } - if darr.Kind != nil { - objectMap["kind"] = darr.Kind - } - return json.Marshal(objectMap) -} - -// UnmarshalJSON is the custom unmarshaler for DeletedAppRestoreRequest struct. -func (darr *DeletedAppRestoreRequest) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var deletedAppRestoreRequestProperties DeletedAppRestoreRequestProperties - err = json.Unmarshal(*v, &deletedAppRestoreRequestProperties) - if err != nil { - return err - } - darr.DeletedAppRestoreRequestProperties = &deletedAppRestoreRequestProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - darr.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - darr.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - darr.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - darr.Type = &typeVar - } - } - } - - return nil -} - -// DeletedAppRestoreRequestProperties deletedAppRestoreRequest resource specific properties -type DeletedAppRestoreRequestProperties struct { - // DeletedSiteID - ARM resource ID of the deleted app. Example: - // /subscriptions/{subId}/providers/Microsoft.Web/deletedSites/{deletedSiteId} - DeletedSiteID *string `json:"deletedSiteId,omitempty"` - // RecoverConfiguration - If true, deleted site configuration, in addition to content, will be restored. - RecoverConfiguration *bool `json:"recoverConfiguration,omitempty"` - // SnapshotTime - Point in time to restore the deleted app from, formatted as a DateTime string. - // If unspecified, default value is the time that the app was deleted. - SnapshotTime *string `json:"snapshotTime,omitempty"` - // UseDRSecondary - If true, the snapshot is retrieved from DRSecondary endpoint. - UseDRSecondary *bool `json:"useDRSecondary,omitempty"` -} - -// DeletedSite a deleted app. -type DeletedSite struct { - autorest.Response `json:"-"` - // DeletedSiteProperties - DeletedSite resource specific properties - *DeletedSiteProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for DeletedSite. -func (ds DeletedSite) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if ds.DeletedSiteProperties != nil { - objectMap["properties"] = ds.DeletedSiteProperties - } - if ds.Kind != nil { - objectMap["kind"] = ds.Kind - } - return json.Marshal(objectMap) -} - -// UnmarshalJSON is the custom unmarshaler for DeletedSite struct. -func (ds *DeletedSite) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var deletedSiteProperties DeletedSiteProperties - err = json.Unmarshal(*v, &deletedSiteProperties) - if err != nil { - return err - } - ds.DeletedSiteProperties = &deletedSiteProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - ds.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - ds.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - ds.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - ds.Type = &typeVar - } - } - } - - return nil -} - -// DeletedSiteProperties deletedSite resource specific properties -type DeletedSiteProperties struct { - // DeletedSiteID - READ-ONLY; Numeric id for the deleted site - DeletedSiteID *int32 `json:"deletedSiteId,omitempty"` - // DeletedTimestamp - READ-ONLY; Time in UTC when the app was deleted. - DeletedTimestamp *string `json:"deletedTimestamp,omitempty"` - // Subscription - READ-ONLY; Subscription containing the deleted site - Subscription *string `json:"subscription,omitempty"` - // ResourceGroup - READ-ONLY; ResourceGroup that contained the deleted site - ResourceGroup *string `json:"resourceGroup,omitempty"` - // DeletedSiteName - READ-ONLY; Name of the deleted site - DeletedSiteName *string `json:"deletedSiteName,omitempty"` - // Slot - READ-ONLY; Slot of the deleted site - Slot *string `json:"slot,omitempty"` - // Kind - READ-ONLY; Kind of site that was deleted - Kind *string `json:"kind,omitempty"` - // GeoRegionName - READ-ONLY; Geo Region of the deleted site - GeoRegionName *string `json:"geoRegionName,omitempty"` -} - -// MarshalJSON is the custom marshaler for DeletedSiteProperties. -func (ds DeletedSiteProperties) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - return json.Marshal(objectMap) -} - -// DeletedWebAppCollection collection of deleted apps. -type DeletedWebAppCollection struct { - autorest.Response `json:"-"` - // Value - Collection of resources. - Value *[]DeletedSite `json:"value,omitempty"` - // NextLink - READ-ONLY; Link to next page of resources. - NextLink *string `json:"nextLink,omitempty"` -} - -// MarshalJSON is the custom marshaler for DeletedWebAppCollection. -func (dwac DeletedWebAppCollection) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if dwac.Value != nil { - objectMap["value"] = dwac.Value - } - return json.Marshal(objectMap) -} - -// DeletedWebAppCollectionIterator provides access to a complete listing of DeletedSite values. -type DeletedWebAppCollectionIterator struct { - i int - page DeletedWebAppCollectionPage -} - -// NextWithContext advances to the next value. If there was an error making -// the request the iterator does not advance and the error is returned. -func (iter *DeletedWebAppCollectionIterator) NextWithContext(ctx context.Context) (err error) { - if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/DeletedWebAppCollectionIterator.NextWithContext") - defer func() { - sc := -1 - if iter.Response().Response.Response != nil { - sc = iter.Response().Response.Response.StatusCode - } - tracing.EndSpan(ctx, sc, err) - }() - } - iter.i++ - if iter.i < len(iter.page.Values()) { - return nil - } - err = iter.page.NextWithContext(ctx) - if err != nil { - iter.i-- - return err - } - iter.i = 0 - return nil -} - -// Next advances to the next value. If there was an error making -// the request the iterator does not advance and the error is returned. -// Deprecated: Use NextWithContext() instead. -func (iter *DeletedWebAppCollectionIterator) Next() error { - return iter.NextWithContext(context.Background()) -} - -// NotDone returns true if the enumeration should be started or is not yet complete. -func (iter DeletedWebAppCollectionIterator) NotDone() bool { - return iter.page.NotDone() && iter.i < len(iter.page.Values()) -} - -// Response returns the raw server response from the last page request. -func (iter DeletedWebAppCollectionIterator) Response() DeletedWebAppCollection { - return iter.page.Response() -} - -// Value returns the current value or a zero-initialized value if the -// iterator has advanced beyond the end of the collection. -func (iter DeletedWebAppCollectionIterator) Value() DeletedSite { - if !iter.page.NotDone() { - return DeletedSite{} - } - return iter.page.Values()[iter.i] -} - -// Creates a new instance of the DeletedWebAppCollectionIterator type. -func NewDeletedWebAppCollectionIterator(page DeletedWebAppCollectionPage) DeletedWebAppCollectionIterator { - return DeletedWebAppCollectionIterator{page: page} -} - -// IsEmpty returns true if the ListResult contains no values. -func (dwac DeletedWebAppCollection) IsEmpty() bool { - return dwac.Value == nil || len(*dwac.Value) == 0 -} - -// hasNextLink returns true if the NextLink is not empty. -func (dwac DeletedWebAppCollection) hasNextLink() bool { - return dwac.NextLink != nil && len(*dwac.NextLink) != 0 -} - -// deletedWebAppCollectionPreparer prepares a request to retrieve the next set of results. -// It returns nil if no more results exist. -func (dwac DeletedWebAppCollection) deletedWebAppCollectionPreparer(ctx context.Context) (*http.Request, error) { - if !dwac.hasNextLink() { - return nil, nil - } - return autorest.Prepare((&http.Request{}).WithContext(ctx), - autorest.AsJSON(), - autorest.AsGet(), - autorest.WithBaseURL(to.String(dwac.NextLink))) -} - -// DeletedWebAppCollectionPage contains a page of DeletedSite values. -type DeletedWebAppCollectionPage struct { - fn func(context.Context, DeletedWebAppCollection) (DeletedWebAppCollection, error) - dwac DeletedWebAppCollection -} - -// NextWithContext advances to the next page of values. If there was an error making -// the request the page does not advance and the error is returned. -func (page *DeletedWebAppCollectionPage) NextWithContext(ctx context.Context) (err error) { - if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/DeletedWebAppCollectionPage.NextWithContext") - defer func() { - sc := -1 - if page.Response().Response.Response != nil { - sc = page.Response().Response.Response.StatusCode - } - tracing.EndSpan(ctx, sc, err) - }() - } - for { - next, err := page.fn(ctx, page.dwac) - if err != nil { - return err - } - page.dwac = next - if !next.hasNextLink() || !next.IsEmpty() { - break - } - } - return nil -} - -// Next advances to the next page of values. If there was an error making -// the request the page does not advance and the error is returned. -// Deprecated: Use NextWithContext() instead. -func (page *DeletedWebAppCollectionPage) Next() error { - return page.NextWithContext(context.Background()) -} - -// NotDone returns true if the page enumeration should be started or is not yet complete. -func (page DeletedWebAppCollectionPage) NotDone() bool { - return !page.dwac.IsEmpty() -} - -// Response returns the raw server response from the last page request. -func (page DeletedWebAppCollectionPage) Response() DeletedWebAppCollection { - return page.dwac -} - -// Values returns the slice of values for the current page or nil if there are no values. -func (page DeletedWebAppCollectionPage) Values() []DeletedSite { - if page.dwac.IsEmpty() { - return nil - } - return *page.dwac.Value -} - -// Creates a new instance of the DeletedWebAppCollectionPage type. -func NewDeletedWebAppCollectionPage(cur DeletedWebAppCollection, getNextPage func(context.Context, DeletedWebAppCollection) (DeletedWebAppCollection, error)) DeletedWebAppCollectionPage { - return DeletedWebAppCollectionPage{ - fn: getNextPage, - dwac: cur, - } -} - -// Deployment user credentials used for publishing activity. -type Deployment struct { - autorest.Response `json:"-"` - // DeploymentProperties - Deployment resource specific properties - *DeploymentProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for Deployment. -func (d Deployment) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if d.DeploymentProperties != nil { - objectMap["properties"] = d.DeploymentProperties - } - if d.Kind != nil { - objectMap["kind"] = d.Kind - } - return json.Marshal(objectMap) -} - -// UnmarshalJSON is the custom unmarshaler for Deployment struct. -func (d *Deployment) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var deploymentProperties DeploymentProperties - err = json.Unmarshal(*v, &deploymentProperties) - if err != nil { - return err - } - d.DeploymentProperties = &deploymentProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - d.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - d.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - d.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - d.Type = &typeVar - } - } - } - - return nil -} - -// DeploymentCollection collection of app deployments. -type DeploymentCollection struct { - autorest.Response `json:"-"` - // Value - Collection of resources. - Value *[]Deployment `json:"value,omitempty"` - // NextLink - READ-ONLY; Link to next page of resources. - NextLink *string `json:"nextLink,omitempty"` -} - -// MarshalJSON is the custom marshaler for DeploymentCollection. -func (dc DeploymentCollection) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if dc.Value != nil { - objectMap["value"] = dc.Value - } - return json.Marshal(objectMap) -} - -// DeploymentCollectionIterator provides access to a complete listing of Deployment values. -type DeploymentCollectionIterator struct { - i int - page DeploymentCollectionPage -} - -// NextWithContext advances to the next value. If there was an error making -// the request the iterator does not advance and the error is returned. -func (iter *DeploymentCollectionIterator) NextWithContext(ctx context.Context) (err error) { - if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/DeploymentCollectionIterator.NextWithContext") - defer func() { - sc := -1 - if iter.Response().Response.Response != nil { - sc = iter.Response().Response.Response.StatusCode - } - tracing.EndSpan(ctx, sc, err) - }() - } - iter.i++ - if iter.i < len(iter.page.Values()) { - return nil - } - err = iter.page.NextWithContext(ctx) - if err != nil { - iter.i-- - return err - } - iter.i = 0 - return nil -} - -// Next advances to the next value. If there was an error making -// the request the iterator does not advance and the error is returned. -// Deprecated: Use NextWithContext() instead. -func (iter *DeploymentCollectionIterator) Next() error { - return iter.NextWithContext(context.Background()) -} - -// NotDone returns true if the enumeration should be started or is not yet complete. -func (iter DeploymentCollectionIterator) NotDone() bool { - return iter.page.NotDone() && iter.i < len(iter.page.Values()) -} - -// Response returns the raw server response from the last page request. -func (iter DeploymentCollectionIterator) Response() DeploymentCollection { - return iter.page.Response() -} - -// Value returns the current value or a zero-initialized value if the -// iterator has advanced beyond the end of the collection. -func (iter DeploymentCollectionIterator) Value() Deployment { - if !iter.page.NotDone() { - return Deployment{} - } - return iter.page.Values()[iter.i] -} - -// Creates a new instance of the DeploymentCollectionIterator type. -func NewDeploymentCollectionIterator(page DeploymentCollectionPage) DeploymentCollectionIterator { - return DeploymentCollectionIterator{page: page} -} - -// IsEmpty returns true if the ListResult contains no values. -func (dc DeploymentCollection) IsEmpty() bool { - return dc.Value == nil || len(*dc.Value) == 0 -} - -// hasNextLink returns true if the NextLink is not empty. -func (dc DeploymentCollection) hasNextLink() bool { - return dc.NextLink != nil && len(*dc.NextLink) != 0 -} - -// deploymentCollectionPreparer prepares a request to retrieve the next set of results. -// It returns nil if no more results exist. -func (dc DeploymentCollection) deploymentCollectionPreparer(ctx context.Context) (*http.Request, error) { - if !dc.hasNextLink() { - return nil, nil - } - return autorest.Prepare((&http.Request{}).WithContext(ctx), - autorest.AsJSON(), - autorest.AsGet(), - autorest.WithBaseURL(to.String(dc.NextLink))) -} - -// DeploymentCollectionPage contains a page of Deployment values. -type DeploymentCollectionPage struct { - fn func(context.Context, DeploymentCollection) (DeploymentCollection, error) - dc DeploymentCollection -} - -// NextWithContext advances to the next page of values. If there was an error making -// the request the page does not advance and the error is returned. -func (page *DeploymentCollectionPage) NextWithContext(ctx context.Context) (err error) { - if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/DeploymentCollectionPage.NextWithContext") - defer func() { - sc := -1 - if page.Response().Response.Response != nil { - sc = page.Response().Response.Response.StatusCode - } - tracing.EndSpan(ctx, sc, err) - }() - } - for { - next, err := page.fn(ctx, page.dc) - if err != nil { - return err - } - page.dc = next - if !next.hasNextLink() || !next.IsEmpty() { - break - } - } - return nil -} - -// Next advances to the next page of values. If there was an error making -// the request the page does not advance and the error is returned. -// Deprecated: Use NextWithContext() instead. -func (page *DeploymentCollectionPage) Next() error { - return page.NextWithContext(context.Background()) -} - -// NotDone returns true if the page enumeration should be started or is not yet complete. -func (page DeploymentCollectionPage) NotDone() bool { - return !page.dc.IsEmpty() -} - -// Response returns the raw server response from the last page request. -func (page DeploymentCollectionPage) Response() DeploymentCollection { - return page.dc -} - -// Values returns the slice of values for the current page or nil if there are no values. -func (page DeploymentCollectionPage) Values() []Deployment { - if page.dc.IsEmpty() { - return nil - } - return *page.dc.Value -} - -// Creates a new instance of the DeploymentCollectionPage type. -func NewDeploymentCollectionPage(cur DeploymentCollection, getNextPage func(context.Context, DeploymentCollection) (DeploymentCollection, error)) DeploymentCollectionPage { - return DeploymentCollectionPage{ - fn: getNextPage, - dc: cur, - } -} - -// DeploymentLocations list of available locations (regions or App Service Environments) for -// deployment of App Service resources. -type DeploymentLocations struct { - autorest.Response `json:"-"` - // Locations - Available regions. - Locations *[]GeoRegion `json:"locations,omitempty"` - // HostingEnvironments - Available App Service Environments with full descriptions of the environments. - HostingEnvironments *[]AppServiceEnvironment `json:"hostingEnvironments,omitempty"` - // HostingEnvironmentDeploymentInfos - Available App Service Environments with basic information. - HostingEnvironmentDeploymentInfos *[]HostingEnvironmentDeploymentInfo `json:"hostingEnvironmentDeploymentInfos,omitempty"` -} - -// DeploymentProperties deployment resource specific properties -type DeploymentProperties struct { - // Status - Deployment status. - Status *int32 `json:"status,omitempty"` - // Message - Details about deployment status. - Message *string `json:"message,omitempty"` - // Author - Who authored the deployment. - Author *string `json:"author,omitempty"` - // Deployer - Who performed the deployment. - Deployer *string `json:"deployer,omitempty"` - // AuthorEmail - Author email. - AuthorEmail *string `json:"author_email,omitempty"` - // StartTime - Start time. - StartTime *date.Time `json:"start_time,omitempty"` - // EndTime - End time. - EndTime *date.Time `json:"end_time,omitempty"` - // Active - True if deployment is currently active, false if completed and null if not started. - Active *bool `json:"active,omitempty"` - // Details - Details on deployment. - Details *string `json:"details,omitempty"` -} - -// DetectorAbnormalTimePeriod class representing Abnormal Time Period detected. -type DetectorAbnormalTimePeriod struct { - // StartTime - Start time of the correlated event - StartTime *date.Time `json:"startTime,omitempty"` - // EndTime - End time of the correlated event - EndTime *date.Time `json:"endTime,omitempty"` - // Message - Message describing the event - Message *string `json:"message,omitempty"` - // Source - Represents the name of the Detector - Source *string `json:"source,omitempty"` - // Priority - Represents the rank of the Detector - Priority *float64 `json:"priority,omitempty"` - // MetaData - Downtime metadata - MetaData *[][]NameValuePair `json:"metaData,omitempty"` - // Type - Represents the type of the Detector. Possible values include: 'IssueTypeServiceIncident', 'IssueTypeAppDeployment', 'IssueTypeAppCrash', 'IssueTypeRuntimeIssueDetected', 'IssueTypeAseDeployment', 'IssueTypeUserIssue', 'IssueTypePlatformIssue', 'IssueTypeOther' - Type IssueType `json:"type,omitempty"` - // Solutions - List of proposed solutions - Solutions *[]Solution `json:"solutions,omitempty"` -} - -// DetectorDefinition class representing detector definition -type DetectorDefinition struct { - autorest.Response `json:"-"` - // DetectorDefinitionProperties - DetectorDefinition resource specific properties - *DetectorDefinitionProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for DetectorDefinition. -func (dd DetectorDefinition) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if dd.DetectorDefinitionProperties != nil { - objectMap["properties"] = dd.DetectorDefinitionProperties - } - if dd.Kind != nil { - objectMap["kind"] = dd.Kind - } - return json.Marshal(objectMap) -} - -// UnmarshalJSON is the custom unmarshaler for DetectorDefinition struct. -func (dd *DetectorDefinition) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var detectorDefinitionProperties DetectorDefinitionProperties - err = json.Unmarshal(*v, &detectorDefinitionProperties) - if err != nil { - return err - } - dd.DetectorDefinitionProperties = &detectorDefinitionProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - dd.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - dd.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - dd.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - dd.Type = &typeVar - } - } - } - - return nil -} - -// DetectorDefinitionProperties detectorDefinition resource specific properties -type DetectorDefinitionProperties struct { - // DisplayName - READ-ONLY; Display name of the detector - DisplayName *string `json:"displayName,omitempty"` - // Description - READ-ONLY; Description of the detector - Description *string `json:"description,omitempty"` - // Rank - READ-ONLY; Detector Rank - Rank *float64 `json:"rank,omitempty"` - // IsEnabled - READ-ONLY; Flag representing whether detector is enabled or not. - IsEnabled *bool `json:"isEnabled,omitempty"` -} - -// MarshalJSON is the custom marshaler for DetectorDefinitionProperties. -func (dd DetectorDefinitionProperties) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - return json.Marshal(objectMap) -} - -// DetectorInfo definition of Detector -type DetectorInfo struct { - // ID - READ-ONLY; Id of detector - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Name of detector - Name *string `json:"name,omitempty"` - // Description - READ-ONLY; Short description of the detector and its purpose. - Description *string `json:"description,omitempty"` - // Author - READ-ONLY; Author of the detector. - Author *string `json:"author,omitempty"` - // Category - READ-ONLY; Problem category. This serves for organizing group for detectors. - Category *string `json:"category,omitempty"` - // SupportTopicList - READ-ONLY; List of Support Topics for which this detector is enabled. - SupportTopicList *[]SupportTopic `json:"supportTopicList,omitempty"` - // AnalysisType - READ-ONLY; Analysis Types for which this detector should apply to. - AnalysisType *[]string `json:"analysisType,omitempty"` - // Type - READ-ONLY; Whether this detector is an Analysis Detector or not. Possible values include: 'DetectorTypeDetector', 'DetectorTypeAnalysis', 'DetectorTypeCategoryOverview' - Type DetectorType `json:"type,omitempty"` - // Score - READ-ONLY; Defines score of a detector to power ML based matching. - Score *float64 `json:"score,omitempty"` -} - -// MarshalJSON is the custom marshaler for DetectorInfo. -func (di DetectorInfo) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - return json.Marshal(objectMap) -} - -// DetectorResponse class representing Response from Detector -type DetectorResponse struct { - autorest.Response `json:"-"` - // DetectorResponseProperties - DetectorResponse resource specific properties - *DetectorResponseProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for DetectorResponse. -func (dr DetectorResponse) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if dr.DetectorResponseProperties != nil { - objectMap["properties"] = dr.DetectorResponseProperties - } - if dr.Kind != nil { - objectMap["kind"] = dr.Kind - } - return json.Marshal(objectMap) -} - -// UnmarshalJSON is the custom unmarshaler for DetectorResponse struct. -func (dr *DetectorResponse) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var detectorResponseProperties DetectorResponseProperties - err = json.Unmarshal(*v, &detectorResponseProperties) - if err != nil { - return err - } - dr.DetectorResponseProperties = &detectorResponseProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - dr.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - dr.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - dr.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - dr.Type = &typeVar - } - } - } - - return nil -} - -// DetectorResponseCollection collection of detector responses -type DetectorResponseCollection struct { - autorest.Response `json:"-"` - // Value - Collection of resources. - Value *[]DetectorResponse `json:"value,omitempty"` - // NextLink - READ-ONLY; Link to next page of resources. - NextLink *string `json:"nextLink,omitempty"` -} - -// MarshalJSON is the custom marshaler for DetectorResponseCollection. -func (drc DetectorResponseCollection) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if drc.Value != nil { - objectMap["value"] = drc.Value - } - return json.Marshal(objectMap) -} - -// DetectorResponseCollectionIterator provides access to a complete listing of DetectorResponse values. -type DetectorResponseCollectionIterator struct { - i int - page DetectorResponseCollectionPage -} - -// NextWithContext advances to the next value. If there was an error making -// the request the iterator does not advance and the error is returned. -func (iter *DetectorResponseCollectionIterator) NextWithContext(ctx context.Context) (err error) { - if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/DetectorResponseCollectionIterator.NextWithContext") - defer func() { - sc := -1 - if iter.Response().Response.Response != nil { - sc = iter.Response().Response.Response.StatusCode - } - tracing.EndSpan(ctx, sc, err) - }() - } - iter.i++ - if iter.i < len(iter.page.Values()) { - return nil - } - err = iter.page.NextWithContext(ctx) - if err != nil { - iter.i-- - return err - } - iter.i = 0 - return nil -} - -// Next advances to the next value. If there was an error making -// the request the iterator does not advance and the error is returned. -// Deprecated: Use NextWithContext() instead. -func (iter *DetectorResponseCollectionIterator) Next() error { - return iter.NextWithContext(context.Background()) -} - -// NotDone returns true if the enumeration should be started or is not yet complete. -func (iter DetectorResponseCollectionIterator) NotDone() bool { - return iter.page.NotDone() && iter.i < len(iter.page.Values()) -} - -// Response returns the raw server response from the last page request. -func (iter DetectorResponseCollectionIterator) Response() DetectorResponseCollection { - return iter.page.Response() -} - -// Value returns the current value or a zero-initialized value if the -// iterator has advanced beyond the end of the collection. -func (iter DetectorResponseCollectionIterator) Value() DetectorResponse { - if !iter.page.NotDone() { - return DetectorResponse{} - } - return iter.page.Values()[iter.i] -} - -// Creates a new instance of the DetectorResponseCollectionIterator type. -func NewDetectorResponseCollectionIterator(page DetectorResponseCollectionPage) DetectorResponseCollectionIterator { - return DetectorResponseCollectionIterator{page: page} -} - -// IsEmpty returns true if the ListResult contains no values. -func (drc DetectorResponseCollection) IsEmpty() bool { - return drc.Value == nil || len(*drc.Value) == 0 -} - -// hasNextLink returns true if the NextLink is not empty. -func (drc DetectorResponseCollection) hasNextLink() bool { - return drc.NextLink != nil && len(*drc.NextLink) != 0 -} - -// detectorResponseCollectionPreparer prepares a request to retrieve the next set of results. -// It returns nil if no more results exist. -func (drc DetectorResponseCollection) detectorResponseCollectionPreparer(ctx context.Context) (*http.Request, error) { - if !drc.hasNextLink() { - return nil, nil - } - return autorest.Prepare((&http.Request{}).WithContext(ctx), - autorest.AsJSON(), - autorest.AsGet(), - autorest.WithBaseURL(to.String(drc.NextLink))) -} - -// DetectorResponseCollectionPage contains a page of DetectorResponse values. -type DetectorResponseCollectionPage struct { - fn func(context.Context, DetectorResponseCollection) (DetectorResponseCollection, error) - drc DetectorResponseCollection -} - -// NextWithContext advances to the next page of values. If there was an error making -// the request the page does not advance and the error is returned. -func (page *DetectorResponseCollectionPage) NextWithContext(ctx context.Context) (err error) { - if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/DetectorResponseCollectionPage.NextWithContext") - defer func() { - sc := -1 - if page.Response().Response.Response != nil { - sc = page.Response().Response.Response.StatusCode - } - tracing.EndSpan(ctx, sc, err) - }() - } - for { - next, err := page.fn(ctx, page.drc) - if err != nil { - return err - } - page.drc = next - if !next.hasNextLink() || !next.IsEmpty() { - break - } +// MarshalJSON is the custom marshaler for CertificatePatchResourceProperties. +func (cpr CertificatePatchResourceProperties) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if cpr.Password != nil { + objectMap["password"] = cpr.Password } - return nil -} - -// Next advances to the next page of values. If there was an error making -// the request the page does not advance and the error is returned. -// Deprecated: Use NextWithContext() instead. -func (page *DetectorResponseCollectionPage) Next() error { - return page.NextWithContext(context.Background()) -} - -// NotDone returns true if the page enumeration should be started or is not yet complete. -func (page DetectorResponseCollectionPage) NotDone() bool { - return !page.drc.IsEmpty() -} - -// Response returns the raw server response from the last page request. -func (page DetectorResponseCollectionPage) Response() DetectorResponseCollection { - return page.drc -} - -// Values returns the slice of values for the current page or nil if there are no values. -func (page DetectorResponseCollectionPage) Values() []DetectorResponse { - if page.drc.IsEmpty() { - return nil + if cpr.HostNames != nil { + objectMap["hostNames"] = cpr.HostNames } - return *page.drc.Value -} - -// Creates a new instance of the DetectorResponseCollectionPage type. -func NewDetectorResponseCollectionPage(cur DetectorResponseCollection, getNextPage func(context.Context, DetectorResponseCollection) (DetectorResponseCollection, error)) DetectorResponseCollectionPage { - return DetectorResponseCollectionPage{ - fn: getNextPage, - drc: cur, + if cpr.PfxBlob != nil { + objectMap["pfxBlob"] = cpr.PfxBlob } -} - -// DetectorResponseProperties detectorResponse resource specific properties -type DetectorResponseProperties struct { - // Metadata - metadata for the detector - Metadata *DetectorInfo `json:"metadata,omitempty"` - // Dataset - Data Set - Dataset *[]DiagnosticData `json:"dataset,omitempty"` - // Status - Indicates status of the most severe insight. - Status *Status `json:"status,omitempty"` - // DataProvidersMetadata - Additional configuration for different data providers to be used by the UI - DataProvidersMetadata *[]DataProviderMetadata `json:"dataProvidersMetadata,omitempty"` - // SuggestedUtterances - Suggested utterances where the detector can be applicable. - SuggestedUtterances *QueryUtterancesResults `json:"suggestedUtterances,omitempty"` -} - -// DiagnosticAnalysis class representing a diagnostic analysis done on an application -type DiagnosticAnalysis struct { - autorest.Response `json:"-"` - // DiagnosticAnalysisProperties - DiagnosticAnalysis resource specific properties - *DiagnosticAnalysisProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for DiagnosticAnalysis. -func (da DiagnosticAnalysis) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if da.DiagnosticAnalysisProperties != nil { - objectMap["properties"] = da.DiagnosticAnalysisProperties + if cpr.KeyVaultID != nil { + objectMap["keyVaultId"] = cpr.KeyVaultID } - if da.Kind != nil { - objectMap["kind"] = da.Kind + if cpr.KeyVaultSecretName != nil { + objectMap["keyVaultSecretName"] = cpr.KeyVaultSecretName } - return json.Marshal(objectMap) -} - -// UnmarshalJSON is the custom unmarshaler for DiagnosticAnalysis struct. -func (da *DiagnosticAnalysis) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err + if cpr.ServerFarmID != nil { + objectMap["serverFarmId"] = cpr.ServerFarmID } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var diagnosticAnalysisProperties DiagnosticAnalysisProperties - err = json.Unmarshal(*v, &diagnosticAnalysisProperties) - if err != nil { - return err - } - da.DiagnosticAnalysisProperties = &diagnosticAnalysisProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - da.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - da.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - da.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - da.Type = &typeVar - } - } + if cpr.CanonicalName != nil { + objectMap["canonicalName"] = cpr.CanonicalName } - - return nil -} - -// DiagnosticAnalysisCollection collection of Diagnostic Analyses -type DiagnosticAnalysisCollection struct { - autorest.Response `json:"-"` - // Value - Collection of resources. - Value *[]AnalysisDefinition `json:"value,omitempty"` - // NextLink - READ-ONLY; Link to next page of resources. - NextLink *string `json:"nextLink,omitempty"` -} - -// MarshalJSON is the custom marshaler for DiagnosticAnalysisCollection. -func (dac DiagnosticAnalysisCollection) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if dac.Value != nil { - objectMap["value"] = dac.Value + if cpr.DomainValidationMethod != nil { + objectMap["domainValidationMethod"] = cpr.DomainValidationMethod } return json.Marshal(objectMap) } -// DiagnosticAnalysisCollectionIterator provides access to a complete listing of AnalysisDefinition values. -type DiagnosticAnalysisCollectionIterator struct { - i int - page DiagnosticAnalysisCollectionPage +// CertificateProperties certificate resource specific properties +type CertificateProperties struct { + // Password - Certificate password. + Password *string `json:"password,omitempty"` + // FriendlyName - READ-ONLY; Friendly name of the certificate. + FriendlyName *string `json:"friendlyName,omitempty"` + // SubjectName - READ-ONLY; Subject name of the certificate. + SubjectName *string `json:"subjectName,omitempty"` + // HostNames - Host names the certificate applies to. + HostNames *[]string `json:"hostNames,omitempty"` + // PfxBlob - Pfx blob. + PfxBlob *[]byte `json:"pfxBlob,omitempty"` + // SiteName - READ-ONLY; App name. + SiteName *string `json:"siteName,omitempty"` + // SelfLink - READ-ONLY; Self link. + SelfLink *string `json:"selfLink,omitempty"` + // Issuer - READ-ONLY; Certificate issuer. + Issuer *string `json:"issuer,omitempty"` + // IssueDate - READ-ONLY; Certificate issue Date. + IssueDate *date.Time `json:"issueDate,omitempty"` + // ExpirationDate - READ-ONLY; Certificate expiration date. + ExpirationDate *date.Time `json:"expirationDate,omitempty"` + // Thumbprint - READ-ONLY; Certificate thumbprint. + Thumbprint *string `json:"thumbprint,omitempty"` + // Valid - READ-ONLY; Is the certificate valid?. + Valid *bool `json:"valid,omitempty"` + // CerBlob - READ-ONLY; Raw bytes of .cer file + CerBlob *[]byte `json:"cerBlob,omitempty"` + // PublicKeyHash - READ-ONLY; Public key hash. + PublicKeyHash *string `json:"publicKeyHash,omitempty"` + // HostingEnvironmentProfile - READ-ONLY; Specification for the App Service Environment to use for the certificate. + HostingEnvironmentProfile *HostingEnvironmentProfile `json:"hostingEnvironmentProfile,omitempty"` + // KeyVaultID - Key Vault Csm resource Id. + KeyVaultID *string `json:"keyVaultId,omitempty"` + // KeyVaultSecretName - Key Vault secret name. + KeyVaultSecretName *string `json:"keyVaultSecretName,omitempty"` + // KeyVaultSecretStatus - READ-ONLY; Status of the Key Vault secret. Possible values include: 'KeyVaultSecretStatusInitialized', 'KeyVaultSecretStatusWaitingOnCertificateOrder', 'KeyVaultSecretStatusSucceeded', 'KeyVaultSecretStatusCertificateOrderFailed', 'KeyVaultSecretStatusOperationNotPermittedOnKeyVault', 'KeyVaultSecretStatusAzureServiceUnauthorizedToAccessKeyVault', 'KeyVaultSecretStatusKeyVaultDoesNotExist', 'KeyVaultSecretStatusKeyVaultSecretDoesNotExist', 'KeyVaultSecretStatusUnknownError', 'KeyVaultSecretStatusExternalPrivateKey', 'KeyVaultSecretStatusUnknown' + KeyVaultSecretStatus KeyVaultSecretStatus `json:"keyVaultSecretStatus,omitempty"` + // ServerFarmID - Resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}". + ServerFarmID *string `json:"serverFarmId,omitempty"` + // CanonicalName - CNAME of the certificate to be issued via free certificate + CanonicalName *string `json:"canonicalName,omitempty"` + // DomainValidationMethod - Method of domain validation for free cert. Possible values include: 'CNameValidationValue', 'HttpTokenValidationValue' + DomainValidationMethod *string `json:"domainValidationMethod,omitempty"` } -// NextWithContext advances to the next value. If there was an error making -// the request the iterator does not advance and the error is returned. -func (iter *DiagnosticAnalysisCollectionIterator) NextWithContext(ctx context.Context) (err error) { - if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/DiagnosticAnalysisCollectionIterator.NextWithContext") - defer func() { - sc := -1 - if iter.Response().Response.Response != nil { - sc = iter.Response().Response.Response.StatusCode - } - tracing.EndSpan(ctx, sc, err) - }() +// MarshalJSON is the custom marshaler for CertificateProperties. +func (c CertificateProperties) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if c.Password != nil { + objectMap["password"] = c.Password } - iter.i++ - if iter.i < len(iter.page.Values()) { - return nil + if c.HostNames != nil { + objectMap["hostNames"] = c.HostNames } - err = iter.page.NextWithContext(ctx) - if err != nil { - iter.i-- - return err + if c.PfxBlob != nil { + objectMap["pfxBlob"] = c.PfxBlob } - iter.i = 0 - return nil -} - -// Next advances to the next value. If there was an error making -// the request the iterator does not advance and the error is returned. -// Deprecated: Use NextWithContext() instead. -func (iter *DiagnosticAnalysisCollectionIterator) Next() error { - return iter.NextWithContext(context.Background()) + if c.KeyVaultID != nil { + objectMap["keyVaultId"] = c.KeyVaultID + } + if c.KeyVaultSecretName != nil { + objectMap["keyVaultSecretName"] = c.KeyVaultSecretName + } + if c.ServerFarmID != nil { + objectMap["serverFarmId"] = c.ServerFarmID + } + if c.CanonicalName != nil { + objectMap["canonicalName"] = c.CanonicalName + } + if c.DomainValidationMethod != nil { + objectMap["domainValidationMethod"] = c.DomainValidationMethod + } + return json.Marshal(objectMap) } -// NotDone returns true if the enumeration should be started or is not yet complete. -func (iter DiagnosticAnalysisCollectionIterator) NotDone() bool { - return iter.page.NotDone() && iter.i < len(iter.page.Values()) +// ClientRegistration the configuration settings of the app registration for providers that have client ids +// and client secrets +type ClientRegistration struct { + // ClientID - The Client ID of the app used for login. + ClientID *string `json:"clientId,omitempty"` + // ClientSecretSettingName - The app setting name that contains the client secret. + ClientSecretSettingName *string `json:"clientSecretSettingName,omitempty"` } -// Response returns the raw server response from the last page request. -func (iter DiagnosticAnalysisCollectionIterator) Response() DiagnosticAnalysisCollection { - return iter.page.Response() +// CloningInfo information needed for cloning operation. +type CloningInfo struct { + // CorrelationID - Correlation ID of cloning operation. This ID ties multiple cloning operations + // together to use the same snapshot. + CorrelationID *uuid.UUID `json:"correlationId,omitempty"` + // Overwrite - true to overwrite destination app; otherwise, false. + Overwrite *bool `json:"overwrite,omitempty"` + // CloneCustomHostNames - true to clone custom hostnames from source app; otherwise, false. + CloneCustomHostNames *bool `json:"cloneCustomHostNames,omitempty"` + // CloneSourceControl - true to clone source control from source app; otherwise, false. + CloneSourceControl *bool `json:"cloneSourceControl,omitempty"` + // SourceWebAppID - ARM resource ID of the source app. App resource ID is of the form + // /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and + // /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots. + SourceWebAppID *string `json:"sourceWebAppId,omitempty"` + // SourceWebAppLocation - Location of source app ex: West US or North Europe + SourceWebAppLocation *string `json:"sourceWebAppLocation,omitempty"` + // HostingEnvironment - App Service Environment. + HostingEnvironment *string `json:"hostingEnvironment,omitempty"` + // AppSettingsOverrides - Application setting overrides for cloned app. If specified, these settings override the settings cloned + // from source app. Otherwise, application settings from source app are retained. + AppSettingsOverrides map[string]*string `json:"appSettingsOverrides"` + // ConfigureLoadBalancing - true to configure load balancing for source and destination app. + ConfigureLoadBalancing *bool `json:"configureLoadBalancing,omitempty"` + // TrafficManagerProfileID - ARM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form + // /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}. + TrafficManagerProfileID *string `json:"trafficManagerProfileId,omitempty"` + // TrafficManagerProfileName - Name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist. + TrafficManagerProfileName *string `json:"trafficManagerProfileName,omitempty"` } -// Value returns the current value or a zero-initialized value if the -// iterator has advanced beyond the end of the collection. -func (iter DiagnosticAnalysisCollectionIterator) Value() AnalysisDefinition { - if !iter.page.NotDone() { - return AnalysisDefinition{} +// MarshalJSON is the custom marshaler for CloningInfo. +func (ci CloningInfo) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if ci.CorrelationID != nil { + objectMap["correlationId"] = ci.CorrelationID } - return iter.page.Values()[iter.i] -} - -// Creates a new instance of the DiagnosticAnalysisCollectionIterator type. -func NewDiagnosticAnalysisCollectionIterator(page DiagnosticAnalysisCollectionPage) DiagnosticAnalysisCollectionIterator { - return DiagnosticAnalysisCollectionIterator{page: page} -} - -// IsEmpty returns true if the ListResult contains no values. -func (dac DiagnosticAnalysisCollection) IsEmpty() bool { - return dac.Value == nil || len(*dac.Value) == 0 + if ci.Overwrite != nil { + objectMap["overwrite"] = ci.Overwrite + } + if ci.CloneCustomHostNames != nil { + objectMap["cloneCustomHostNames"] = ci.CloneCustomHostNames + } + if ci.CloneSourceControl != nil { + objectMap["cloneSourceControl"] = ci.CloneSourceControl + } + if ci.SourceWebAppID != nil { + objectMap["sourceWebAppId"] = ci.SourceWebAppID + } + if ci.SourceWebAppLocation != nil { + objectMap["sourceWebAppLocation"] = ci.SourceWebAppLocation + } + if ci.HostingEnvironment != nil { + objectMap["hostingEnvironment"] = ci.HostingEnvironment + } + if ci.AppSettingsOverrides != nil { + objectMap["appSettingsOverrides"] = ci.AppSettingsOverrides + } + if ci.ConfigureLoadBalancing != nil { + objectMap["configureLoadBalancing"] = ci.ConfigureLoadBalancing + } + if ci.TrafficManagerProfileID != nil { + objectMap["trafficManagerProfileId"] = ci.TrafficManagerProfileID + } + if ci.TrafficManagerProfileName != nil { + objectMap["trafficManagerProfileName"] = ci.TrafficManagerProfileName + } + return json.Marshal(objectMap) } -// hasNextLink returns true if the NextLink is not empty. -func (dac DiagnosticAnalysisCollection) hasNextLink() bool { - return dac.NextLink != nil && len(*dac.NextLink) != 0 +// ConnectionStringDictionary string dictionary resource. +type ConnectionStringDictionary struct { + autorest.Response `json:"-"` + // Properties - Connection strings. + Properties map[string]*ConnStringValueTypePair `json:"properties"` + // ID - READ-ONLY; Resource Id. + ID *string `json:"id,omitempty"` + // Name - READ-ONLY; Resource Name. + Name *string `json:"name,omitempty"` + // Kind - Kind of resource. + Kind *string `json:"kind,omitempty"` + // Type - READ-ONLY; Resource type. + Type *string `json:"type,omitempty"` } -// diagnosticAnalysisCollectionPreparer prepares a request to retrieve the next set of results. -// It returns nil if no more results exist. -func (dac DiagnosticAnalysisCollection) diagnosticAnalysisCollectionPreparer(ctx context.Context) (*http.Request, error) { - if !dac.hasNextLink() { - return nil, nil +// MarshalJSON is the custom marshaler for ConnectionStringDictionary. +func (csd ConnectionStringDictionary) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if csd.Properties != nil { + objectMap["properties"] = csd.Properties } - return autorest.Prepare((&http.Request{}).WithContext(ctx), - autorest.AsJSON(), - autorest.AsGet(), - autorest.WithBaseURL(to.String(dac.NextLink))) + if csd.Kind != nil { + objectMap["kind"] = csd.Kind + } + return json.Marshal(objectMap) } -// DiagnosticAnalysisCollectionPage contains a page of AnalysisDefinition values. -type DiagnosticAnalysisCollectionPage struct { - fn func(context.Context, DiagnosticAnalysisCollection) (DiagnosticAnalysisCollection, error) - dac DiagnosticAnalysisCollection +// ConnStringInfo database connection string information. +type ConnStringInfo struct { + // Name - Name of connection string. + Name *string `json:"name,omitempty"` + // ConnectionString - Connection string value. + ConnectionString *string `json:"connectionString,omitempty"` + // Type - Type of database. Possible values include: 'ConnectionStringTypeMySQL', 'ConnectionStringTypeSQLServer', 'ConnectionStringTypeSQLAzure', 'ConnectionStringTypeCustom', 'ConnectionStringTypeNotificationHub', 'ConnectionStringTypeServiceBus', 'ConnectionStringTypeEventHub', 'ConnectionStringTypeAPIHub', 'ConnectionStringTypeDocDb', 'ConnectionStringTypeRedisCache', 'ConnectionStringTypePostgreSQL' + Type ConnectionStringType `json:"type,omitempty"` } -// NextWithContext advances to the next page of values. If there was an error making -// the request the page does not advance and the error is returned. -func (page *DiagnosticAnalysisCollectionPage) NextWithContext(ctx context.Context) (err error) { - if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/DiagnosticAnalysisCollectionPage.NextWithContext") - defer func() { - sc := -1 - if page.Response().Response.Response != nil { - sc = page.Response().Response.Response.StatusCode - } - tracing.EndSpan(ctx, sc, err) - }() - } - for { - next, err := page.fn(ctx, page.dac) - if err != nil { - return err - } - page.dac = next - if !next.hasNextLink() || !next.IsEmpty() { - break - } - } - return nil +// ConnStringValueTypePair database connection string value to type pair. +type ConnStringValueTypePair struct { + // Value - Value of pair. + Value *string `json:"value,omitempty"` + // Type - Type of database. Possible values include: 'ConnectionStringTypeMySQL', 'ConnectionStringTypeSQLServer', 'ConnectionStringTypeSQLAzure', 'ConnectionStringTypeCustom', 'ConnectionStringTypeNotificationHub', 'ConnectionStringTypeServiceBus', 'ConnectionStringTypeEventHub', 'ConnectionStringTypeAPIHub', 'ConnectionStringTypeDocDb', 'ConnectionStringTypeRedisCache', 'ConnectionStringTypePostgreSQL' + Type ConnectionStringType `json:"type,omitempty"` } -// Next advances to the next page of values. If there was an error making -// the request the page does not advance and the error is returned. -// Deprecated: Use NextWithContext() instead. -func (page *DiagnosticAnalysisCollectionPage) Next() error { - return page.NextWithContext(context.Background()) +// Contact contact information for domain registration. If 'Domain Privacy' option is not selected then the +// contact information is made publicly available through the Whois +// directories as per ICANN requirements. +type Contact struct { + // AddressMailing - Mailing address. + AddressMailing *Address `json:"addressMailing,omitempty"` + // Email - Email address. + Email *string `json:"email,omitempty"` + // Fax - Fax number. + Fax *string `json:"fax,omitempty"` + // JobTitle - Job title. + JobTitle *string `json:"jobTitle,omitempty"` + // NameFirst - First name. + NameFirst *string `json:"nameFirst,omitempty"` + // NameLast - Last name. + NameLast *string `json:"nameLast,omitempty"` + // NameMiddle - Middle name. + NameMiddle *string `json:"nameMiddle,omitempty"` + // Organization - Organization contact belongs to. + Organization *string `json:"organization,omitempty"` + // Phone - Phone number. + Phone *string `json:"phone,omitempty"` } -// NotDone returns true if the page enumeration should be started or is not yet complete. -func (page DiagnosticAnalysisCollectionPage) NotDone() bool { - return !page.dac.IsEmpty() +// ContainerCPUStatistics ... +type ContainerCPUStatistics struct { + CPUUsage *ContainerCPUUsage `json:"cpuUsage,omitempty"` + SystemCPUUsage *int64 `json:"systemCpuUsage,omitempty"` + OnlineCPUCount *int32 `json:"onlineCpuCount,omitempty"` + ThrottlingData *ContainerThrottlingData `json:"throttlingData,omitempty"` } -// Response returns the raw server response from the last page request. -func (page DiagnosticAnalysisCollectionPage) Response() DiagnosticAnalysisCollection { - return page.dac +// ContainerCPUUsage ... +type ContainerCPUUsage struct { + TotalUsage *int64 `json:"totalUsage,omitempty"` + PerCPUUsage *[]int64 `json:"perCpuUsage,omitempty"` + KernelModeUsage *int64 `json:"kernelModeUsage,omitempty"` + UserModeUsage *int64 `json:"userModeUsage,omitempty"` } -// Values returns the slice of values for the current page or nil if there are no values. -func (page DiagnosticAnalysisCollectionPage) Values() []AnalysisDefinition { - if page.dac.IsEmpty() { - return nil - } - return *page.dac.Value +// ContainerInfo ... +type ContainerInfo struct { + CurrentTimeStamp *date.Time `json:"currentTimeStamp,omitempty"` + PreviousTimeStamp *date.Time `json:"previousTimeStamp,omitempty"` + CurrentCPUStats *ContainerCPUStatistics `json:"currentCpuStats,omitempty"` + PreviousCPUStats *ContainerCPUStatistics `json:"previousCpuStats,omitempty"` + MemoryStats *ContainerMemoryStatistics `json:"memoryStats,omitempty"` + Name *string `json:"name,omitempty"` + ID *string `json:"id,omitempty"` + Eth0 *ContainerNetworkInterfaceStatistics `json:"eth0,omitempty"` } -// Creates a new instance of the DiagnosticAnalysisCollectionPage type. -func NewDiagnosticAnalysisCollectionPage(cur DiagnosticAnalysisCollection, getNextPage func(context.Context, DiagnosticAnalysisCollection) (DiagnosticAnalysisCollection, error)) DiagnosticAnalysisCollectionPage { - return DiagnosticAnalysisCollectionPage{ - fn: getNextPage, - dac: cur, - } +// ContainerMemoryStatistics ... +type ContainerMemoryStatistics struct { + Usage *int64 `json:"usage,omitempty"` + MaxUsage *int64 `json:"maxUsage,omitempty"` + Limit *int64 `json:"limit,omitempty"` } -// DiagnosticAnalysisProperties diagnosticAnalysis resource specific properties -type DiagnosticAnalysisProperties struct { - // StartTime - Start time of the period - StartTime *date.Time `json:"startTime,omitempty"` - // EndTime - End time of the period - EndTime *date.Time `json:"endTime,omitempty"` - // AbnormalTimePeriods - List of time periods. - AbnormalTimePeriods *[]AbnormalTimePeriod `json:"abnormalTimePeriods,omitempty"` - // Payload - Data by each detector - Payload *[]AnalysisData `json:"payload,omitempty"` - // NonCorrelatedDetectors - Data by each detector for detectors that did not corelate - NonCorrelatedDetectors *[]DetectorDefinition `json:"nonCorrelatedDetectors,omitempty"` +// ContainerNetworkInterfaceStatistics ... +type ContainerNetworkInterfaceStatistics struct { + RxBytes *int64 `json:"rxBytes,omitempty"` + RxPackets *int64 `json:"rxPackets,omitempty"` + RxErrors *int64 `json:"rxErrors,omitempty"` + RxDropped *int64 `json:"rxDropped,omitempty"` + TxBytes *int64 `json:"txBytes,omitempty"` + TxPackets *int64 `json:"txPackets,omitempty"` + TxErrors *int64 `json:"txErrors,omitempty"` + TxDropped *int64 `json:"txDropped,omitempty"` } -// DiagnosticCategory class representing detector definition -type DiagnosticCategory struct { +// ContainerThrottlingData ... +type ContainerThrottlingData struct { + Periods *int32 `json:"periods,omitempty"` + ThrottledPeriods *int32 `json:"throttledPeriods,omitempty"` + ThrottledTime *int32 `json:"throttledTime,omitempty"` +} + +// ContinuousWebJob continuous Web Job Information. +type ContinuousWebJob struct { autorest.Response `json:"-"` - // DiagnosticCategoryProperties - DiagnosticCategory resource specific properties - *DiagnosticCategoryProperties `json:"properties,omitempty"` + // ContinuousWebJobProperties - ContinuousWebJob resource specific properties + *ContinuousWebJobProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. @@ -11347,20 +7627,20 @@ type DiagnosticCategory struct { Type *string `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for DiagnosticCategory. -func (dc DiagnosticCategory) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for ContinuousWebJob. +func (cwj ContinuousWebJob) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if dc.DiagnosticCategoryProperties != nil { - objectMap["properties"] = dc.DiagnosticCategoryProperties + if cwj.ContinuousWebJobProperties != nil { + objectMap["properties"] = cwj.ContinuousWebJobProperties } - if dc.Kind != nil { - objectMap["kind"] = dc.Kind + if cwj.Kind != nil { + objectMap["kind"] = cwj.Kind } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for DiagnosticCategory struct. -func (dc *DiagnosticCategory) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for ContinuousWebJob struct. +func (cwj *ContinuousWebJob) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -11370,12 +7650,12 @@ func (dc *DiagnosticCategory) UnmarshalJSON(body []byte) error { switch k { case "properties": if v != nil { - var diagnosticCategoryProperties DiagnosticCategoryProperties - err = json.Unmarshal(*v, &diagnosticCategoryProperties) + var continuousWebJobProperties ContinuousWebJobProperties + err = json.Unmarshal(*v, &continuousWebJobProperties) if err != nil { return err } - dc.DiagnosticCategoryProperties = &diagnosticCategoryProperties + cwj.ContinuousWebJobProperties = &continuousWebJobProperties } case "id": if v != nil { @@ -11384,7 +7664,7 @@ func (dc *DiagnosticCategory) UnmarshalJSON(body []byte) error { if err != nil { return err } - dc.ID = &ID + cwj.ID = &ID } case "name": if v != nil { @@ -11393,7 +7673,7 @@ func (dc *DiagnosticCategory) UnmarshalJSON(body []byte) error { if err != nil { return err } - dc.Name = &name + cwj.Name = &name } case "kind": if v != nil { @@ -11402,7 +7682,7 @@ func (dc *DiagnosticCategory) UnmarshalJSON(body []byte) error { if err != nil { return err } - dc.Kind = &kind + cwj.Kind = &kind } case "type": if v != nil { @@ -11411,7 +7691,7 @@ func (dc *DiagnosticCategory) UnmarshalJSON(body []byte) error { if err != nil { return err } - dc.Type = &typeVar + cwj.Type = &typeVar } } } @@ -11419,35 +7699,35 @@ func (dc *DiagnosticCategory) UnmarshalJSON(body []byte) error { return nil } -// DiagnosticCategoryCollection collection of Diagnostic Categories -type DiagnosticCategoryCollection struct { +// ContinuousWebJobCollection collection of Kudu continuous web job information elements. +type ContinuousWebJobCollection struct { autorest.Response `json:"-"` // Value - Collection of resources. - Value *[]DiagnosticCategory `json:"value,omitempty"` + Value *[]ContinuousWebJob `json:"value,omitempty"` // NextLink - READ-ONLY; Link to next page of resources. NextLink *string `json:"nextLink,omitempty"` } -// MarshalJSON is the custom marshaler for DiagnosticCategoryCollection. -func (dcc DiagnosticCategoryCollection) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for ContinuousWebJobCollection. +func (cwjc ContinuousWebJobCollection) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if dcc.Value != nil { - objectMap["value"] = dcc.Value + if cwjc.Value != nil { + objectMap["value"] = cwjc.Value } return json.Marshal(objectMap) } -// DiagnosticCategoryCollectionIterator provides access to a complete listing of DiagnosticCategory values. -type DiagnosticCategoryCollectionIterator struct { +// ContinuousWebJobCollectionIterator provides access to a complete listing of ContinuousWebJob values. +type ContinuousWebJobCollectionIterator struct { i int - page DiagnosticCategoryCollectionPage + page ContinuousWebJobCollectionPage } // NextWithContext advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. -func (iter *DiagnosticCategoryCollectionIterator) NextWithContext(ctx context.Context) (err error) { +func (iter *ContinuousWebJobCollectionIterator) NextWithContext(ctx context.Context) (err error) { if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/DiagnosticCategoryCollectionIterator.NextWithContext") + ctx = tracing.StartSpan(ctx, fqdn+"/ContinuousWebJobCollectionIterator.NextWithContext") defer func() { sc := -1 if iter.Response().Response.Response != nil { @@ -11472,67 +7752,67 @@ func (iter *DiagnosticCategoryCollectionIterator) NextWithContext(ctx context.Co // Next advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. // Deprecated: Use NextWithContext() instead. -func (iter *DiagnosticCategoryCollectionIterator) Next() error { +func (iter *ContinuousWebJobCollectionIterator) Next() error { return iter.NextWithContext(context.Background()) } // NotDone returns true if the enumeration should be started or is not yet complete. -func (iter DiagnosticCategoryCollectionIterator) NotDone() bool { +func (iter ContinuousWebJobCollectionIterator) NotDone() bool { return iter.page.NotDone() && iter.i < len(iter.page.Values()) } // Response returns the raw server response from the last page request. -func (iter DiagnosticCategoryCollectionIterator) Response() DiagnosticCategoryCollection { +func (iter ContinuousWebJobCollectionIterator) Response() ContinuousWebJobCollection { return iter.page.Response() } // Value returns the current value or a zero-initialized value if the // iterator has advanced beyond the end of the collection. -func (iter DiagnosticCategoryCollectionIterator) Value() DiagnosticCategory { +func (iter ContinuousWebJobCollectionIterator) Value() ContinuousWebJob { if !iter.page.NotDone() { - return DiagnosticCategory{} + return ContinuousWebJob{} } return iter.page.Values()[iter.i] } -// Creates a new instance of the DiagnosticCategoryCollectionIterator type. -func NewDiagnosticCategoryCollectionIterator(page DiagnosticCategoryCollectionPage) DiagnosticCategoryCollectionIterator { - return DiagnosticCategoryCollectionIterator{page: page} +// Creates a new instance of the ContinuousWebJobCollectionIterator type. +func NewContinuousWebJobCollectionIterator(page ContinuousWebJobCollectionPage) ContinuousWebJobCollectionIterator { + return ContinuousWebJobCollectionIterator{page: page} } // IsEmpty returns true if the ListResult contains no values. -func (dcc DiagnosticCategoryCollection) IsEmpty() bool { - return dcc.Value == nil || len(*dcc.Value) == 0 +func (cwjc ContinuousWebJobCollection) IsEmpty() bool { + return cwjc.Value == nil || len(*cwjc.Value) == 0 } // hasNextLink returns true if the NextLink is not empty. -func (dcc DiagnosticCategoryCollection) hasNextLink() bool { - return dcc.NextLink != nil && len(*dcc.NextLink) != 0 +func (cwjc ContinuousWebJobCollection) hasNextLink() bool { + return cwjc.NextLink != nil && len(*cwjc.NextLink) != 0 } -// diagnosticCategoryCollectionPreparer prepares a request to retrieve the next set of results. +// continuousWebJobCollectionPreparer prepares a request to retrieve the next set of results. // It returns nil if no more results exist. -func (dcc DiagnosticCategoryCollection) diagnosticCategoryCollectionPreparer(ctx context.Context) (*http.Request, error) { - if !dcc.hasNextLink() { +func (cwjc ContinuousWebJobCollection) continuousWebJobCollectionPreparer(ctx context.Context) (*http.Request, error) { + if !cwjc.hasNextLink() { return nil, nil } return autorest.Prepare((&http.Request{}).WithContext(ctx), autorest.AsJSON(), autorest.AsGet(), - autorest.WithBaseURL(to.String(dcc.NextLink))) + autorest.WithBaseURL(to.String(cwjc.NextLink))) } -// DiagnosticCategoryCollectionPage contains a page of DiagnosticCategory values. -type DiagnosticCategoryCollectionPage struct { - fn func(context.Context, DiagnosticCategoryCollection) (DiagnosticCategoryCollection, error) - dcc DiagnosticCategoryCollection +// ContinuousWebJobCollectionPage contains a page of ContinuousWebJob values. +type ContinuousWebJobCollectionPage struct { + fn func(context.Context, ContinuousWebJobCollection) (ContinuousWebJobCollection, error) + cwjc ContinuousWebJobCollection } // NextWithContext advances to the next page of values. If there was an error making // the request the page does not advance and the error is returned. -func (page *DiagnosticCategoryCollectionPage) NextWithContext(ctx context.Context) (err error) { +func (page *ContinuousWebJobCollectionPage) NextWithContext(ctx context.Context) (err error) { if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/DiagnosticCategoryCollectionPage.NextWithContext") + ctx = tracing.StartSpan(ctx, fqdn+"/ContinuousWebJobCollectionPage.NextWithContext") defer func() { sc := -1 if page.Response().Response.Response != nil { @@ -11542,11 +7822,11 @@ func (page *DiagnosticCategoryCollectionPage) NextWithContext(ctx context.Contex }() } for { - next, err := page.fn(ctx, page.dcc) + next, err := page.fn(ctx, page.cwjc) if err != nil { return err } - page.dcc = next + page.cwjc = next if !next.hasNextLink() || !next.IsEmpty() { break } @@ -11557,85 +7837,151 @@ func (page *DiagnosticCategoryCollectionPage) NextWithContext(ctx context.Contex // Next advances to the next page of values. If there was an error making // the request the page does not advance and the error is returned. // Deprecated: Use NextWithContext() instead. -func (page *DiagnosticCategoryCollectionPage) Next() error { +func (page *ContinuousWebJobCollectionPage) Next() error { return page.NextWithContext(context.Background()) } // NotDone returns true if the page enumeration should be started or is not yet complete. -func (page DiagnosticCategoryCollectionPage) NotDone() bool { - return !page.dcc.IsEmpty() +func (page ContinuousWebJobCollectionPage) NotDone() bool { + return !page.cwjc.IsEmpty() } // Response returns the raw server response from the last page request. -func (page DiagnosticCategoryCollectionPage) Response() DiagnosticCategoryCollection { - return page.dcc +func (page ContinuousWebJobCollectionPage) Response() ContinuousWebJobCollection { + return page.cwjc } // Values returns the slice of values for the current page or nil if there are no values. -func (page DiagnosticCategoryCollectionPage) Values() []DiagnosticCategory { - if page.dcc.IsEmpty() { +func (page ContinuousWebJobCollectionPage) Values() []ContinuousWebJob { + if page.cwjc.IsEmpty() { return nil } - return *page.dcc.Value -} - -// Creates a new instance of the DiagnosticCategoryCollectionPage type. -func NewDiagnosticCategoryCollectionPage(cur DiagnosticCategoryCollection, getNextPage func(context.Context, DiagnosticCategoryCollection) (DiagnosticCategoryCollection, error)) DiagnosticCategoryCollectionPage { - return DiagnosticCategoryCollectionPage{ - fn: getNextPage, - dcc: cur, + return *page.cwjc.Value +} + +// Creates a new instance of the ContinuousWebJobCollectionPage type. +func NewContinuousWebJobCollectionPage(cur ContinuousWebJobCollection, getNextPage func(context.Context, ContinuousWebJobCollection) (ContinuousWebJobCollection, error)) ContinuousWebJobCollectionPage { + return ContinuousWebJobCollectionPage{ + fn: getNextPage, + cwjc: cur, + } +} + +// ContinuousWebJobProperties continuousWebJob resource specific properties +type ContinuousWebJobProperties struct { + // Status - Job status. Possible values include: 'ContinuousWebJobStatusInitializing', 'ContinuousWebJobStatusStarting', 'ContinuousWebJobStatusRunning', 'ContinuousWebJobStatusPendingRestart', 'ContinuousWebJobStatusStopped' + Status ContinuousWebJobStatus `json:"status,omitempty"` + // DetailedStatus - Detailed status. + DetailedStatus *string `json:"detailed_status,omitempty"` + // LogURL - Log URL. + LogURL *string `json:"log_url,omitempty"` + // RunCommand - Run command. + RunCommand *string `json:"run_command,omitempty"` + // URL - Job URL. + URL *string `json:"url,omitempty"` + // ExtraInfoURL - Extra Info URL. + ExtraInfoURL *string `json:"extra_info_url,omitempty"` + // WebJobType - Job type. Possible values include: 'JobTypeContinuous', 'JobTypeTriggered' + WebJobType JobType `json:"web_job_type,omitempty"` + // Error - Error information. + Error *string `json:"error,omitempty"` + // UsingSdk - Using SDK? + UsingSdk *bool `json:"using_sdk,omitempty"` + // Settings - Job settings. + Settings map[string]interface{} `json:"settings"` +} + +// MarshalJSON is the custom marshaler for ContinuousWebJobProperties. +func (cwj ContinuousWebJobProperties) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if cwj.Status != "" { + objectMap["status"] = cwj.Status + } + if cwj.DetailedStatus != nil { + objectMap["detailed_status"] = cwj.DetailedStatus + } + if cwj.LogURL != nil { + objectMap["log_url"] = cwj.LogURL + } + if cwj.RunCommand != nil { + objectMap["run_command"] = cwj.RunCommand + } + if cwj.URL != nil { + objectMap["url"] = cwj.URL + } + if cwj.ExtraInfoURL != nil { + objectMap["extra_info_url"] = cwj.ExtraInfoURL + } + if cwj.WebJobType != "" { + objectMap["web_job_type"] = cwj.WebJobType + } + if cwj.Error != nil { + objectMap["error"] = cwj.Error + } + if cwj.UsingSdk != nil { + objectMap["using_sdk"] = cwj.UsingSdk + } + if cwj.Settings != nil { + objectMap["settings"] = cwj.Settings } + return json.Marshal(objectMap) } -// DiagnosticCategoryProperties diagnosticCategory resource specific properties -type DiagnosticCategoryProperties struct { - // Description - READ-ONLY; Description of the diagnostic category - Description *string `json:"description,omitempty"` +// CookieExpiration the configuration settings of the session cookie's expiration. +type CookieExpiration struct { + // Convention - The convention used when determining the session cookie's expiration. Possible values include: 'CookieExpirationConventionFixedTime', 'CookieExpirationConventionIdentityProviderDerived' + Convention CookieExpirationConvention `json:"convention,omitempty"` + // TimeToExpiration - The time after the request is made when the session cookie should expire. + TimeToExpiration *string `json:"timeToExpiration,omitempty"` } -// MarshalJSON is the custom marshaler for DiagnosticCategoryProperties. -func (dc DiagnosticCategoryProperties) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - return json.Marshal(objectMap) +// CorsSettings cross-Origin Resource Sharing (CORS) settings for the app. +type CorsSettings struct { + // AllowedOrigins - Gets or sets the list of origins that should be allowed to make cross-origin + // calls (for example: http://example.com:12345). Use "*" to allow all. + AllowedOrigins *[]string `json:"allowedOrigins,omitempty"` + // SupportCredentials - Gets or sets whether CORS requests with credentials are allowed. See + // https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#Requests_with_credentials + // for more details. + SupportCredentials *bool `json:"supportCredentials,omitempty"` } -// DiagnosticData set of data with rendering instructions -type DiagnosticData struct { - // Table - Data in table form - Table *DataTableResponseObject `json:"table,omitempty"` - // RenderingProperties - Properties that describe how the table should be rendered - RenderingProperties *Rendering `json:"renderingProperties,omitempty"` +// CsmMoveResourceEnvelope object with a list of the resources that need to be moved and the resource group +// they should be moved to. +type CsmMoveResourceEnvelope struct { + TargetResourceGroup *string `json:"targetResourceGroup,omitempty"` + Resources *[]string `json:"resources,omitempty"` } -// DiagnosticDetectorCollection collection of Diagnostic Detectors -type DiagnosticDetectorCollection struct { +// CsmOperationCollection collection of Azure resource manager operation metadata. +type CsmOperationCollection struct { autorest.Response `json:"-"` // Value - Collection of resources. - Value *[]DetectorDefinition `json:"value,omitempty"` + Value *[]CsmOperationDescription `json:"value,omitempty"` // NextLink - READ-ONLY; Link to next page of resources. NextLink *string `json:"nextLink,omitempty"` } -// MarshalJSON is the custom marshaler for DiagnosticDetectorCollection. -func (ddc DiagnosticDetectorCollection) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for CsmOperationCollection. +func (coc CsmOperationCollection) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if ddc.Value != nil { - objectMap["value"] = ddc.Value + if coc.Value != nil { + objectMap["value"] = coc.Value } return json.Marshal(objectMap) } -// DiagnosticDetectorCollectionIterator provides access to a complete listing of DetectorDefinition values. -type DiagnosticDetectorCollectionIterator struct { +// CsmOperationCollectionIterator provides access to a complete listing of CsmOperationDescription values. +type CsmOperationCollectionIterator struct { i int - page DiagnosticDetectorCollectionPage + page CsmOperationCollectionPage } // NextWithContext advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. -func (iter *DiagnosticDetectorCollectionIterator) NextWithContext(ctx context.Context) (err error) { +func (iter *CsmOperationCollectionIterator) NextWithContext(ctx context.Context) (err error) { if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/DiagnosticDetectorCollectionIterator.NextWithContext") + ctx = tracing.StartSpan(ctx, fqdn+"/CsmOperationCollectionIterator.NextWithContext") defer func() { sc := -1 if iter.Response().Response.Response != nil { @@ -11660,67 +8006,67 @@ func (iter *DiagnosticDetectorCollectionIterator) NextWithContext(ctx context.Co // Next advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. // Deprecated: Use NextWithContext() instead. -func (iter *DiagnosticDetectorCollectionIterator) Next() error { +func (iter *CsmOperationCollectionIterator) Next() error { return iter.NextWithContext(context.Background()) } // NotDone returns true if the enumeration should be started or is not yet complete. -func (iter DiagnosticDetectorCollectionIterator) NotDone() bool { +func (iter CsmOperationCollectionIterator) NotDone() bool { return iter.page.NotDone() && iter.i < len(iter.page.Values()) } // Response returns the raw server response from the last page request. -func (iter DiagnosticDetectorCollectionIterator) Response() DiagnosticDetectorCollection { +func (iter CsmOperationCollectionIterator) Response() CsmOperationCollection { return iter.page.Response() } // Value returns the current value or a zero-initialized value if the // iterator has advanced beyond the end of the collection. -func (iter DiagnosticDetectorCollectionIterator) Value() DetectorDefinition { +func (iter CsmOperationCollectionIterator) Value() CsmOperationDescription { if !iter.page.NotDone() { - return DetectorDefinition{} + return CsmOperationDescription{} } return iter.page.Values()[iter.i] } -// Creates a new instance of the DiagnosticDetectorCollectionIterator type. -func NewDiagnosticDetectorCollectionIterator(page DiagnosticDetectorCollectionPage) DiagnosticDetectorCollectionIterator { - return DiagnosticDetectorCollectionIterator{page: page} +// Creates a new instance of the CsmOperationCollectionIterator type. +func NewCsmOperationCollectionIterator(page CsmOperationCollectionPage) CsmOperationCollectionIterator { + return CsmOperationCollectionIterator{page: page} } // IsEmpty returns true if the ListResult contains no values. -func (ddc DiagnosticDetectorCollection) IsEmpty() bool { - return ddc.Value == nil || len(*ddc.Value) == 0 +func (coc CsmOperationCollection) IsEmpty() bool { + return coc.Value == nil || len(*coc.Value) == 0 } // hasNextLink returns true if the NextLink is not empty. -func (ddc DiagnosticDetectorCollection) hasNextLink() bool { - return ddc.NextLink != nil && len(*ddc.NextLink) != 0 +func (coc CsmOperationCollection) hasNextLink() bool { + return coc.NextLink != nil && len(*coc.NextLink) != 0 } -// diagnosticDetectorCollectionPreparer prepares a request to retrieve the next set of results. +// csmOperationCollectionPreparer prepares a request to retrieve the next set of results. // It returns nil if no more results exist. -func (ddc DiagnosticDetectorCollection) diagnosticDetectorCollectionPreparer(ctx context.Context) (*http.Request, error) { - if !ddc.hasNextLink() { +func (coc CsmOperationCollection) csmOperationCollectionPreparer(ctx context.Context) (*http.Request, error) { + if !coc.hasNextLink() { return nil, nil } return autorest.Prepare((&http.Request{}).WithContext(ctx), autorest.AsJSON(), autorest.AsGet(), - autorest.WithBaseURL(to.String(ddc.NextLink))) + autorest.WithBaseURL(to.String(coc.NextLink))) } -// DiagnosticDetectorCollectionPage contains a page of DetectorDefinition values. -type DiagnosticDetectorCollectionPage struct { - fn func(context.Context, DiagnosticDetectorCollection) (DiagnosticDetectorCollection, error) - ddc DiagnosticDetectorCollection +// CsmOperationCollectionPage contains a page of CsmOperationDescription values. +type CsmOperationCollectionPage struct { + fn func(context.Context, CsmOperationCollection) (CsmOperationCollection, error) + coc CsmOperationCollection } // NextWithContext advances to the next page of values. If there was an error making // the request the page does not advance and the error is returned. -func (page *DiagnosticDetectorCollectionPage) NextWithContext(ctx context.Context) (err error) { +func (page *CsmOperationCollectionPage) NextWithContext(ctx context.Context) (err error) { if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/DiagnosticDetectorCollectionPage.NextWithContext") + ctx = tracing.StartSpan(ctx, fqdn+"/CsmOperationCollectionPage.NextWithContext") defer func() { sc := -1 if page.Response().Response.Response != nil { @@ -11730,11 +8076,11 @@ func (page *DiagnosticDetectorCollectionPage) NextWithContext(ctx context.Contex }() } for { - next, err := page.fn(ctx, page.ddc) + next, err := page.fn(ctx, page.coc) if err != nil { return err } - page.ddc = next + page.coc = next if !next.hasNextLink() || !next.IsEmpty() { break } @@ -11745,226 +8091,87 @@ func (page *DiagnosticDetectorCollectionPage) NextWithContext(ctx context.Contex // Next advances to the next page of values. If there was an error making // the request the page does not advance and the error is returned. // Deprecated: Use NextWithContext() instead. -func (page *DiagnosticDetectorCollectionPage) Next() error { +func (page *CsmOperationCollectionPage) Next() error { return page.NextWithContext(context.Background()) } // NotDone returns true if the page enumeration should be started or is not yet complete. -func (page DiagnosticDetectorCollectionPage) NotDone() bool { - return !page.ddc.IsEmpty() +func (page CsmOperationCollectionPage) NotDone() bool { + return !page.coc.IsEmpty() } // Response returns the raw server response from the last page request. -func (page DiagnosticDetectorCollectionPage) Response() DiagnosticDetectorCollection { - return page.ddc +func (page CsmOperationCollectionPage) Response() CsmOperationCollection { + return page.coc } // Values returns the slice of values for the current page or nil if there are no values. -func (page DiagnosticDetectorCollectionPage) Values() []DetectorDefinition { - if page.ddc.IsEmpty() { +func (page CsmOperationCollectionPage) Values() []CsmOperationDescription { + if page.coc.IsEmpty() { return nil } - return *page.ddc.Value + return *page.coc.Value } -// Creates a new instance of the DiagnosticDetectorCollectionPage type. -func NewDiagnosticDetectorCollectionPage(cur DiagnosticDetectorCollection, getNextPage func(context.Context, DiagnosticDetectorCollection) (DiagnosticDetectorCollection, error)) DiagnosticDetectorCollectionPage { - return DiagnosticDetectorCollectionPage{ +// Creates a new instance of the CsmOperationCollectionPage type. +func NewCsmOperationCollectionPage(cur CsmOperationCollection, getNextPage func(context.Context, CsmOperationCollection) (CsmOperationCollection, error)) CsmOperationCollectionPage { + return CsmOperationCollectionPage{ fn: getNextPage, - ddc: cur, - } -} - -// DiagnosticDetectorResponse class representing Response from Diagnostic Detectors -type DiagnosticDetectorResponse struct { - autorest.Response `json:"-"` - // DiagnosticDetectorResponseProperties - DiagnosticDetectorResponse resource specific properties - *DiagnosticDetectorResponseProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for DiagnosticDetectorResponse. -func (ddr DiagnosticDetectorResponse) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if ddr.DiagnosticDetectorResponseProperties != nil { - objectMap["properties"] = ddr.DiagnosticDetectorResponseProperties - } - if ddr.Kind != nil { - objectMap["kind"] = ddr.Kind - } - return json.Marshal(objectMap) -} - -// UnmarshalJSON is the custom unmarshaler for DiagnosticDetectorResponse struct. -func (ddr *DiagnosticDetectorResponse) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var diagnosticDetectorResponseProperties DiagnosticDetectorResponseProperties - err = json.Unmarshal(*v, &diagnosticDetectorResponseProperties) - if err != nil { - return err - } - ddr.DiagnosticDetectorResponseProperties = &diagnosticDetectorResponseProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - ddr.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - ddr.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - ddr.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - ddr.Type = &typeVar - } - } + coc: cur, } - - return nil -} - -// DiagnosticDetectorResponseProperties diagnosticDetectorResponse resource specific properties -type DiagnosticDetectorResponseProperties struct { - // StartTime - Start time of the period - StartTime *date.Time `json:"startTime,omitempty"` - // EndTime - End time of the period - EndTime *date.Time `json:"endTime,omitempty"` - // IssueDetected - Flag representing Issue was detected. - IssueDetected *bool `json:"issueDetected,omitempty"` - // DetectorDefinition - Detector's definition - DetectorDefinition *DetectorDefinition `json:"detectorDefinition,omitempty"` - // Metrics - Metrics provided by the detector - Metrics *[]DiagnosticMetricSet `json:"metrics,omitempty"` - // AbnormalTimePeriods - List of Correlated events found by the detector - AbnormalTimePeriods *[]DetectorAbnormalTimePeriod `json:"abnormalTimePeriods,omitempty"` - // Data - Additional Data that detector wants to send. - Data *[][]NameValuePair `json:"data,omitempty"` - // ResponseMetaData - Meta Data - ResponseMetaData *ResponseMetaData `json:"responseMetaData,omitempty"` } -// DiagnosticMetricSample class representing Diagnostic Metric -type DiagnosticMetricSample struct { - // Timestamp - Time at which metric is measured - Timestamp *date.Time `json:"timestamp,omitempty"` - // RoleInstance - Role Instance. Null if this counter is not per instance - // This is returned and should be whichever instance name we desire to be returned - // i.e. CPU and Memory return RDWORKERNAME (LargeDed..._IN_0) - // where RDWORKERNAME is Machine name below and RoleInstance name in parenthesis - RoleInstance *string `json:"roleInstance,omitempty"` - // Total - Total value of the metric. If multiple measurements are made this will have sum of all. - Total *float64 `json:"total,omitempty"` - // Maximum - Maximum of the metric sampled during the time period - Maximum *float64 `json:"maximum,omitempty"` - // Minimum - Minimum of the metric sampled during the time period - Minimum *float64 `json:"minimum,omitempty"` - // IsAggregated - Whether the values are aggregates across all workers or not - IsAggregated *bool `json:"isAggregated,omitempty"` +// CsmOperationDescription description of an operation available for Microsoft.Web resource provider. +type CsmOperationDescription struct { + Name *string `json:"name,omitempty"` + IsDataAction *bool `json:"isDataAction,omitempty"` + Display *CsmOperationDisplay `json:"display,omitempty"` + Origin *string `json:"origin,omitempty"` + Properties *CsmOperationDescriptionProperties `json:"properties,omitempty"` } -// DiagnosticMetricSet class representing Diagnostic Metric information -type DiagnosticMetricSet struct { - // Name - Name of the metric - Name *string `json:"name,omitempty"` - // Unit - Metric's unit - Unit *string `json:"unit,omitempty"` - // StartTime - Start time of the period - StartTime *date.Time `json:"startTime,omitempty"` - // EndTime - End time of the period - EndTime *date.Time `json:"endTime,omitempty"` - // TimeGrain - Presented time grain. Supported grains at the moment are PT1M, PT1H, P1D - TimeGrain *string `json:"timeGrain,omitempty"` - // Values - Collection of metric values for the selected period based on the {Microsoft.Web.Hosting.Administration.DiagnosticMetricSet.TimeGrain} - Values *[]DiagnosticMetricSample `json:"values,omitempty"` +// CsmOperationDescriptionProperties properties available for a Microsoft.Web resource provider operation. +type CsmOperationDescriptionProperties struct { + ServiceSpecification *ServiceSpecification `json:"serviceSpecification,omitempty"` } -// Dimension dimension of a resource metric. For e.g. instance specific HTTP requests for a web app, -// where instance name is dimension of the metric HTTP request -type Dimension struct { - Name *string `json:"name,omitempty"` - DisplayName *string `json:"displayName,omitempty"` - InternalName *string `json:"internalName,omitempty"` - ToBeExportedForShoebox *bool `json:"toBeExportedForShoebox,omitempty"` +// CsmOperationDisplay meta data about operation used for display in portal. +type CsmOperationDisplay struct { + Provider *string `json:"provider,omitempty"` + Resource *string `json:"resource,omitempty"` + Operation *string `json:"operation,omitempty"` + Description *string `json:"description,omitempty"` } -// Domain information about a domain. -type Domain struct { +// CsmPublishingCredentialsPoliciesEntity publishing Credentials Policies parameters. +type CsmPublishingCredentialsPoliciesEntity struct { autorest.Response `json:"-"` - // DomainProperties - Domain resource specific properties - *DomainProperties `json:"properties,omitempty"` + // CsmPublishingCredentialsPoliciesEntityProperties - CsmPublishingCredentialsPoliciesEntity resource specific properties + *CsmPublishingCredentialsPoliciesEntityProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` - // Location - Resource Location. - Location *string `json:"location,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` - // Tags - Resource tags. - Tags map[string]*string `json:"tags"` } -// MarshalJSON is the custom marshaler for Domain. -func (d Domain) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for CsmPublishingCredentialsPoliciesEntity. +func (cpcpe CsmPublishingCredentialsPoliciesEntity) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if d.DomainProperties != nil { - objectMap["properties"] = d.DomainProperties - } - if d.Kind != nil { - objectMap["kind"] = d.Kind - } - if d.Location != nil { - objectMap["location"] = d.Location + if cpcpe.CsmPublishingCredentialsPoliciesEntityProperties != nil { + objectMap["properties"] = cpcpe.CsmPublishingCredentialsPoliciesEntityProperties } - if d.Tags != nil { - objectMap["tags"] = d.Tags + if cpcpe.Kind != nil { + objectMap["kind"] = cpcpe.Kind } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for Domain struct. -func (d *Domain) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for CsmPublishingCredentialsPoliciesEntity struct. +func (cpcpe *CsmPublishingCredentialsPoliciesEntity) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -11974,12 +8181,12 @@ func (d *Domain) UnmarshalJSON(body []byte) error { switch k { case "properties": if v != nil { - var domainProperties DomainProperties - err = json.Unmarshal(*v, &domainProperties) + var csmPublishingCredentialsPoliciesEntityProperties CsmPublishingCredentialsPoliciesEntityProperties + err = json.Unmarshal(*v, &csmPublishingCredentialsPoliciesEntityProperties) if err != nil { return err } - d.DomainProperties = &domainProperties + cpcpe.CsmPublishingCredentialsPoliciesEntityProperties = &csmPublishingCredentialsPoliciesEntityProperties } case "id": if v != nil { @@ -11988,7 +8195,7 @@ func (d *Domain) UnmarshalJSON(body []byte) error { if err != nil { return err } - d.ID = &ID + cpcpe.ID = &ID } case "name": if v != nil { @@ -11997,7 +8204,7 @@ func (d *Domain) UnmarshalJSON(body []byte) error { if err != nil { return err } - d.Name = &name + cpcpe.Name = &name } case "kind": if v != nil { @@ -12006,16 +8213,7 @@ func (d *Domain) UnmarshalJSON(body []byte) error { if err != nil { return err } - d.Kind = &kind - } - case "location": - if v != nil { - var location string - err = json.Unmarshal(*v, &location) - if err != nil { - return err - } - d.Location = &location + cpcpe.Kind = &kind } case "type": if v != nil { @@ -12024,16 +8222,7 @@ func (d *Domain) UnmarshalJSON(body []byte) error { if err != nil { return err } - d.Type = &typeVar - } - case "tags": - if v != nil { - var tags map[string]*string - err = json.Unmarshal(*v, &tags) - if err != nil { - return err - } - d.Tags = tags + cpcpe.Type = &typeVar } } } @@ -12041,46 +8230,75 @@ func (d *Domain) UnmarshalJSON(body []byte) error { return nil } -// DomainAvailabilityCheckResult domain availability check result. -type DomainAvailabilityCheckResult struct { - autorest.Response `json:"-"` - // Name - Name of the domain. - Name *string `json:"name,omitempty"` - // Available - true if domain can be purchased using CreateDomain API; otherwise, false. - Available *bool `json:"available,omitempty"` - // DomainType - Valid values are Regular domain: Azure will charge the full price of domain registration, SoftDeleted: Purchasing this domain will simply restore it and this operation will not cost anything. Possible values include: 'DomainTypeRegular', 'DomainTypeSoftDeleted' - DomainType DomainType `json:"domainType,omitempty"` +// CsmPublishingCredentialsPoliciesEntityProperties csmPublishingCredentialsPoliciesEntity resource +// specific properties +type CsmPublishingCredentialsPoliciesEntityProperties struct { + // Allow - true to allow access to a publishing method; otherwise, false. + Allow *bool `json:"allow,omitempty"` } -// DomainCollection collection of domains. -type DomainCollection struct { +// CsmPublishingProfileOptions publishing options for requested profile. +type CsmPublishingProfileOptions struct { + // Format - Name of the format. Valid values are: + // FileZilla3 + // WebDeploy -- default + // Ftp. Possible values include: 'PublishingProfileFormatFileZilla3', 'PublishingProfileFormatWebDeploy', 'PublishingProfileFormatFtp' + Format PublishingProfileFormat `json:"format,omitempty"` + // IncludeDisasterRecoveryEndpoints - Include the DisasterRecover endpoint if true + IncludeDisasterRecoveryEndpoints *bool `json:"includeDisasterRecoveryEndpoints,omitempty"` +} + +// CsmSlotEntity deployment slot parameters. +type CsmSlotEntity struct { + // TargetSlot - Destination deployment slot during swap operation. + TargetSlot *string `json:"targetSlot,omitempty"` + // PreserveVnet - true to preserve Virtual Network to the slot during swap; otherwise, false. + PreserveVnet *bool `json:"preserveVnet,omitempty"` +} + +// CsmUsageQuota usage of the quota resource. +type CsmUsageQuota struct { + // Unit - Units of measurement for the quota resource. + Unit *string `json:"unit,omitempty"` + // NextResetTime - Next reset time for the resource counter. + NextResetTime *date.Time `json:"nextResetTime,omitempty"` + // CurrentValue - The current value of the resource counter. + CurrentValue *int64 `json:"currentValue,omitempty"` + // Limit - The resource limit. + Limit *int64 `json:"limit,omitempty"` + // Name - Quota name. + Name *LocalizableString `json:"name,omitempty"` +} + +// CsmUsageQuotaCollection collection of CSM usage quotas. +type CsmUsageQuotaCollection struct { autorest.Response `json:"-"` // Value - Collection of resources. - Value *[]Domain `json:"value,omitempty"` + Value *[]CsmUsageQuota `json:"value,omitempty"` // NextLink - READ-ONLY; Link to next page of resources. NextLink *string `json:"nextLink,omitempty"` } -// MarshalJSON is the custom marshaler for DomainCollection. -func (dc DomainCollection) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for CsmUsageQuotaCollection. +func (cuqc CsmUsageQuotaCollection) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if dc.Value != nil { - objectMap["value"] = dc.Value + if cuqc.Value != nil { + objectMap["value"] = cuqc.Value } return json.Marshal(objectMap) } -// DomainCollectionIterator provides access to a complete listing of Domain values. -type DomainCollectionIterator struct { +// CsmUsageQuotaCollectionIterator provides access to a complete listing of CsmUsageQuota values. +type CsmUsageQuotaCollectionIterator struct { i int - page DomainCollectionPage + page CsmUsageQuotaCollectionPage } // NextWithContext advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. -func (iter *DomainCollectionIterator) NextWithContext(ctx context.Context) (err error) { +func (iter *CsmUsageQuotaCollectionIterator) NextWithContext(ctx context.Context) (err error) { if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/DomainCollectionIterator.NextWithContext") + ctx = tracing.StartSpan(ctx, fqdn+"/CsmUsageQuotaCollectionIterator.NextWithContext") defer func() { sc := -1 if iter.Response().Response.Response != nil { @@ -12105,67 +8323,67 @@ func (iter *DomainCollectionIterator) NextWithContext(ctx context.Context) (err // Next advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. // Deprecated: Use NextWithContext() instead. -func (iter *DomainCollectionIterator) Next() error { +func (iter *CsmUsageQuotaCollectionIterator) Next() error { return iter.NextWithContext(context.Background()) } // NotDone returns true if the enumeration should be started or is not yet complete. -func (iter DomainCollectionIterator) NotDone() bool { +func (iter CsmUsageQuotaCollectionIterator) NotDone() bool { return iter.page.NotDone() && iter.i < len(iter.page.Values()) } // Response returns the raw server response from the last page request. -func (iter DomainCollectionIterator) Response() DomainCollection { +func (iter CsmUsageQuotaCollectionIterator) Response() CsmUsageQuotaCollection { return iter.page.Response() } // Value returns the current value or a zero-initialized value if the // iterator has advanced beyond the end of the collection. -func (iter DomainCollectionIterator) Value() Domain { +func (iter CsmUsageQuotaCollectionIterator) Value() CsmUsageQuota { if !iter.page.NotDone() { - return Domain{} + return CsmUsageQuota{} } return iter.page.Values()[iter.i] } -// Creates a new instance of the DomainCollectionIterator type. -func NewDomainCollectionIterator(page DomainCollectionPage) DomainCollectionIterator { - return DomainCollectionIterator{page: page} +// Creates a new instance of the CsmUsageQuotaCollectionIterator type. +func NewCsmUsageQuotaCollectionIterator(page CsmUsageQuotaCollectionPage) CsmUsageQuotaCollectionIterator { + return CsmUsageQuotaCollectionIterator{page: page} } // IsEmpty returns true if the ListResult contains no values. -func (dc DomainCollection) IsEmpty() bool { - return dc.Value == nil || len(*dc.Value) == 0 +func (cuqc CsmUsageQuotaCollection) IsEmpty() bool { + return cuqc.Value == nil || len(*cuqc.Value) == 0 } // hasNextLink returns true if the NextLink is not empty. -func (dc DomainCollection) hasNextLink() bool { - return dc.NextLink != nil && len(*dc.NextLink) != 0 +func (cuqc CsmUsageQuotaCollection) hasNextLink() bool { + return cuqc.NextLink != nil && len(*cuqc.NextLink) != 0 } -// domainCollectionPreparer prepares a request to retrieve the next set of results. +// csmUsageQuotaCollectionPreparer prepares a request to retrieve the next set of results. // It returns nil if no more results exist. -func (dc DomainCollection) domainCollectionPreparer(ctx context.Context) (*http.Request, error) { - if !dc.hasNextLink() { +func (cuqc CsmUsageQuotaCollection) csmUsageQuotaCollectionPreparer(ctx context.Context) (*http.Request, error) { + if !cuqc.hasNextLink() { return nil, nil } return autorest.Prepare((&http.Request{}).WithContext(ctx), autorest.AsJSON(), autorest.AsGet(), - autorest.WithBaseURL(to.String(dc.NextLink))) + autorest.WithBaseURL(to.String(cuqc.NextLink))) } -// DomainCollectionPage contains a page of Domain values. -type DomainCollectionPage struct { - fn func(context.Context, DomainCollection) (DomainCollection, error) - dc DomainCollection +// CsmUsageQuotaCollectionPage contains a page of CsmUsageQuota values. +type CsmUsageQuotaCollectionPage struct { + fn func(context.Context, CsmUsageQuotaCollection) (CsmUsageQuotaCollection, error) + cuqc CsmUsageQuotaCollection } // NextWithContext advances to the next page of values. If there was an error making // the request the page does not advance and the error is returned. -func (page *DomainCollectionPage) NextWithContext(ctx context.Context) (err error) { +func (page *CsmUsageQuotaCollectionPage) NextWithContext(ctx context.Context) (err error) { if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/DomainCollectionPage.NextWithContext") + ctx = tracing.StartSpan(ctx, fqdn+"/CsmUsageQuotaCollectionPage.NextWithContext") defer func() { sc := -1 if page.Response().Response.Response != nil { @@ -12175,11 +8393,11 @@ func (page *DomainCollectionPage) NextWithContext(ctx context.Context) (err erro }() } for { - next, err := page.fn(ctx, page.dc) + next, err := page.fn(ctx, page.cuqc) if err != nil { return err } - page.dc = next + page.cuqc = next if !next.hasNextLink() || !next.IsEmpty() { break } @@ -12190,58 +8408,41 @@ func (page *DomainCollectionPage) NextWithContext(ctx context.Context) (err erro // Next advances to the next page of values. If there was an error making // the request the page does not advance and the error is returned. // Deprecated: Use NextWithContext() instead. -func (page *DomainCollectionPage) Next() error { +func (page *CsmUsageQuotaCollectionPage) Next() error { return page.NextWithContext(context.Background()) } // NotDone returns true if the page enumeration should be started or is not yet complete. -func (page DomainCollectionPage) NotDone() bool { - return !page.dc.IsEmpty() +func (page CsmUsageQuotaCollectionPage) NotDone() bool { + return !page.cuqc.IsEmpty() } // Response returns the raw server response from the last page request. -func (page DomainCollectionPage) Response() DomainCollection { - return page.dc -} - -// Values returns the slice of values for the current page or nil if there are no values. -func (page DomainCollectionPage) Values() []Domain { - if page.dc.IsEmpty() { - return nil - } - return *page.dc.Value +func (page CsmUsageQuotaCollectionPage) Response() CsmUsageQuotaCollection { + return page.cuqc } -// Creates a new instance of the DomainCollectionPage type. -func NewDomainCollectionPage(cur DomainCollection, getNextPage func(context.Context, DomainCollection) (DomainCollection, error)) DomainCollectionPage { - return DomainCollectionPage{ - fn: getNextPage, - dc: cur, +// Values returns the slice of values for the current page or nil if there are no values. +func (page CsmUsageQuotaCollectionPage) Values() []CsmUsageQuota { + if page.cuqc.IsEmpty() { + return nil } + return *page.cuqc.Value } -// DomainControlCenterSsoRequest single sign-on request information for domain management. -type DomainControlCenterSsoRequest struct { - autorest.Response `json:"-"` - // URL - READ-ONLY; URL where the single sign-on request is to be made. - URL *string `json:"url,omitempty"` - // PostParameterKey - READ-ONLY; Post parameter key. - PostParameterKey *string `json:"postParameterKey,omitempty"` - // PostParameterValue - READ-ONLY; Post parameter value. Client should use 'application/x-www-form-urlencoded' encoding for this value. - PostParameterValue *string `json:"postParameterValue,omitempty"` -} - -// MarshalJSON is the custom marshaler for DomainControlCenterSsoRequest. -func (dccsr DomainControlCenterSsoRequest) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - return json.Marshal(objectMap) +// Creates a new instance of the CsmUsageQuotaCollectionPage type. +func NewCsmUsageQuotaCollectionPage(cur CsmUsageQuotaCollection, getNextPage func(context.Context, CsmUsageQuotaCollection) (CsmUsageQuotaCollection, error)) CsmUsageQuotaCollectionPage { + return CsmUsageQuotaCollectionPage{ + fn: getNextPage, + cuqc: cur, + } } -// DomainOwnershipIdentifier domain ownership Identifier. -type DomainOwnershipIdentifier struct { +// CustomHostnameAnalysisResult custom domain analysis. +type CustomHostnameAnalysisResult struct { autorest.Response `json:"-"` - // DomainOwnershipIdentifierProperties - DomainOwnershipIdentifier resource specific properties - *DomainOwnershipIdentifierProperties `json:"properties,omitempty"` + // CustomHostnameAnalysisResultProperties - CustomHostnameAnalysisResult resource specific properties + *CustomHostnameAnalysisResultProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. @@ -12252,20 +8453,20 @@ type DomainOwnershipIdentifier struct { Type *string `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for DomainOwnershipIdentifier. -func (doi DomainOwnershipIdentifier) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for CustomHostnameAnalysisResult. +func (char CustomHostnameAnalysisResult) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if doi.DomainOwnershipIdentifierProperties != nil { - objectMap["properties"] = doi.DomainOwnershipIdentifierProperties + if char.CustomHostnameAnalysisResultProperties != nil { + objectMap["properties"] = char.CustomHostnameAnalysisResultProperties } - if doi.Kind != nil { - objectMap["kind"] = doi.Kind + if char.Kind != nil { + objectMap["kind"] = char.Kind } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for DomainOwnershipIdentifier struct. -func (doi *DomainOwnershipIdentifier) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for CustomHostnameAnalysisResult struct. +func (char *CustomHostnameAnalysisResult) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -12275,12 +8476,12 @@ func (doi *DomainOwnershipIdentifier) UnmarshalJSON(body []byte) error { switch k { case "properties": if v != nil { - var domainOwnershipIdentifierProperties DomainOwnershipIdentifierProperties - err = json.Unmarshal(*v, &domainOwnershipIdentifierProperties) + var customHostnameAnalysisResultProperties CustomHostnameAnalysisResultProperties + err = json.Unmarshal(*v, &customHostnameAnalysisResultProperties) if err != nil { return err } - doi.DomainOwnershipIdentifierProperties = &domainOwnershipIdentifierProperties + char.CustomHostnameAnalysisResultProperties = &customHostnameAnalysisResultProperties } case "id": if v != nil { @@ -12289,7 +8490,7 @@ func (doi *DomainOwnershipIdentifier) UnmarshalJSON(body []byte) error { if err != nil { return err } - doi.ID = &ID + char.ID = &ID } case "name": if v != nil { @@ -12298,7 +8499,7 @@ func (doi *DomainOwnershipIdentifier) UnmarshalJSON(body []byte) error { if err != nil { return err } - doi.Name = &name + char.Name = &name } case "kind": if v != nil { @@ -12307,7 +8508,7 @@ func (doi *DomainOwnershipIdentifier) UnmarshalJSON(body []byte) error { if err != nil { return err } - doi.Kind = &kind + char.Kind = &kind } case "type": if v != nil { @@ -12316,7 +8517,7 @@ func (doi *DomainOwnershipIdentifier) UnmarshalJSON(body []byte) error { if err != nil { return err } - doi.Type = &typeVar + char.Type = &typeVar } } } @@ -12324,185 +8525,173 @@ func (doi *DomainOwnershipIdentifier) UnmarshalJSON(body []byte) error { return nil } -// DomainOwnershipIdentifierCollection collection of domain ownership identifiers. -type DomainOwnershipIdentifierCollection struct { - autorest.Response `json:"-"` - // Value - Collection of resources. - Value *[]DomainOwnershipIdentifier `json:"value,omitempty"` - // NextLink - READ-ONLY; Link to next page of resources. - NextLink *string `json:"nextLink,omitempty"` +// CustomHostnameAnalysisResultProperties customHostnameAnalysisResult resource specific properties +type CustomHostnameAnalysisResultProperties struct { + // IsHostnameAlreadyVerified - READ-ONLY; true if hostname is already verified; otherwise, false. + IsHostnameAlreadyVerified *bool `json:"isHostnameAlreadyVerified,omitempty"` + // CustomDomainVerificationTest - READ-ONLY; DNS verification test result. Possible values include: 'DNSVerificationTestResultPassed', 'DNSVerificationTestResultFailed', 'DNSVerificationTestResultSkipped' + CustomDomainVerificationTest DNSVerificationTestResult `json:"customDomainVerificationTest,omitempty"` + // CustomDomainVerificationFailureInfo - READ-ONLY; Raw failure information if DNS verification fails. + CustomDomainVerificationFailureInfo *ErrorEntity `json:"customDomainVerificationFailureInfo,omitempty"` + // HasConflictOnScaleUnit - READ-ONLY; true if there is a conflict on a scale unit; otherwise, false. + HasConflictOnScaleUnit *bool `json:"hasConflictOnScaleUnit,omitempty"` + // HasConflictAcrossSubscription - READ-ONLY; true if there is a conflict across subscriptions; otherwise, false. + HasConflictAcrossSubscription *bool `json:"hasConflictAcrossSubscription,omitempty"` + // ConflictingAppResourceID - READ-ONLY; Name of the conflicting app on scale unit if it's within the same subscription. + ConflictingAppResourceID *string `json:"conflictingAppResourceId,omitempty"` + // CNameRecords - CName records controller can see for this hostname. + CNameRecords *[]string `json:"cNameRecords,omitempty"` + // TxtRecords - TXT records controller can see for this hostname. + TxtRecords *[]string `json:"txtRecords,omitempty"` + // ARecords - A records controller can see for this hostname. + ARecords *[]string `json:"aRecords,omitempty"` + // AlternateCNameRecords - Alternate CName records controller can see for this hostname. + AlternateCNameRecords *[]string `json:"alternateCNameRecords,omitempty"` + // AlternateTxtRecords - Alternate TXT records controller can see for this hostname. + AlternateTxtRecords *[]string `json:"alternateTxtRecords,omitempty"` } -// MarshalJSON is the custom marshaler for DomainOwnershipIdentifierCollection. -func (doic DomainOwnershipIdentifierCollection) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for CustomHostnameAnalysisResultProperties. +func (char CustomHostnameAnalysisResultProperties) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if doic.Value != nil { - objectMap["value"] = doic.Value + if char.CNameRecords != nil { + objectMap["cNameRecords"] = char.CNameRecords } - return json.Marshal(objectMap) -} - -// DomainOwnershipIdentifierCollectionIterator provides access to a complete listing of -// DomainOwnershipIdentifier values. -type DomainOwnershipIdentifierCollectionIterator struct { - i int - page DomainOwnershipIdentifierCollectionPage -} - -// NextWithContext advances to the next value. If there was an error making -// the request the iterator does not advance and the error is returned. -func (iter *DomainOwnershipIdentifierCollectionIterator) NextWithContext(ctx context.Context) (err error) { - if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/DomainOwnershipIdentifierCollectionIterator.NextWithContext") - defer func() { - sc := -1 - if iter.Response().Response.Response != nil { - sc = iter.Response().Response.Response.StatusCode - } - tracing.EndSpan(ctx, sc, err) - }() + if char.TxtRecords != nil { + objectMap["txtRecords"] = char.TxtRecords } - iter.i++ - if iter.i < len(iter.page.Values()) { - return nil + if char.ARecords != nil { + objectMap["aRecords"] = char.ARecords } - err = iter.page.NextWithContext(ctx) - if err != nil { - iter.i-- - return err + if char.AlternateCNameRecords != nil { + objectMap["alternateCNameRecords"] = char.AlternateCNameRecords } - iter.i = 0 - return nil -} - -// Next advances to the next value. If there was an error making -// the request the iterator does not advance and the error is returned. -// Deprecated: Use NextWithContext() instead. -func (iter *DomainOwnershipIdentifierCollectionIterator) Next() error { - return iter.NextWithContext(context.Background()) -} - -// NotDone returns true if the enumeration should be started or is not yet complete. -func (iter DomainOwnershipIdentifierCollectionIterator) NotDone() bool { - return iter.page.NotDone() && iter.i < len(iter.page.Values()) -} - -// Response returns the raw server response from the last page request. -func (iter DomainOwnershipIdentifierCollectionIterator) Response() DomainOwnershipIdentifierCollection { - return iter.page.Response() -} - -// Value returns the current value or a zero-initialized value if the -// iterator has advanced beyond the end of the collection. -func (iter DomainOwnershipIdentifierCollectionIterator) Value() DomainOwnershipIdentifier { - if !iter.page.NotDone() { - return DomainOwnershipIdentifier{} + if char.AlternateTxtRecords != nil { + objectMap["alternateTxtRecords"] = char.AlternateTxtRecords } - return iter.page.Values()[iter.i] + return json.Marshal(objectMap) } -// Creates a new instance of the DomainOwnershipIdentifierCollectionIterator type. -func NewDomainOwnershipIdentifierCollectionIterator(page DomainOwnershipIdentifierCollectionPage) DomainOwnershipIdentifierCollectionIterator { - return DomainOwnershipIdentifierCollectionIterator{page: page} +// CustomOpenIDConnectProvider the configuration settings of the custom Open ID Connect provider. +type CustomOpenIDConnectProvider struct { + // Enabled - false if the custom Open ID provider provider should not be enabled; otherwise, true. + Enabled *bool `json:"enabled,omitempty"` + // Registration - The configuration settings of the app registration for the custom Open ID Connect provider. + Registration *OpenIDConnectRegistration `json:"registration,omitempty"` + // Login - The configuration settings of the login flow of the custom Open ID Connect provider. + Login *OpenIDConnectLogin `json:"login,omitempty"` } -// IsEmpty returns true if the ListResult contains no values. -func (doic DomainOwnershipIdentifierCollection) IsEmpty() bool { - return doic.Value == nil || len(*doic.Value) == 0 +// DatabaseBackupSetting database backup settings. +type DatabaseBackupSetting struct { + // DatabaseType - Database type (e.g. SqlAzure / MySql). Possible values include: 'DatabaseTypeSQLAzure', 'DatabaseTypeMySQL', 'DatabaseTypeLocalMySQL', 'DatabaseTypePostgreSQL' + DatabaseType DatabaseType `json:"databaseType,omitempty"` + Name *string `json:"name,omitempty"` + // ConnectionStringName - Contains a connection string name that is linked to the SiteConfig.ConnectionStrings. + // This is used during restore with overwrite connection strings options. + ConnectionStringName *string `json:"connectionStringName,omitempty"` + // ConnectionString - Contains a connection string to a database which is being backed up or restored. If the restore should happen to a new database, the database name inside is the new one. + ConnectionString *string `json:"connectionString,omitempty"` } -// hasNextLink returns true if the NextLink is not empty. -func (doic DomainOwnershipIdentifierCollection) hasNextLink() bool { - return doic.NextLink != nil && len(*doic.NextLink) != 0 +// DataProviderMetadata additional configuration for a data providers +type DataProviderMetadata struct { + ProviderName *string `json:"providerName,omitempty"` + // PropertyBag - READ-ONLY; Settings for the data provider + PropertyBag *[]KeyValuePairStringObject `json:"propertyBag,omitempty"` } -// domainOwnershipIdentifierCollectionPreparer prepares a request to retrieve the next set of results. -// It returns nil if no more results exist. -func (doic DomainOwnershipIdentifierCollection) domainOwnershipIdentifierCollectionPreparer(ctx context.Context) (*http.Request, error) { - if !doic.hasNextLink() { - return nil, nil +// MarshalJSON is the custom marshaler for DataProviderMetadata. +func (dpm DataProviderMetadata) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if dpm.ProviderName != nil { + objectMap["providerName"] = dpm.ProviderName } - return autorest.Prepare((&http.Request{}).WithContext(ctx), - autorest.AsJSON(), - autorest.AsGet(), - autorest.WithBaseURL(to.String(doic.NextLink))) + return json.Marshal(objectMap) } -// DomainOwnershipIdentifierCollectionPage contains a page of DomainOwnershipIdentifier values. -type DomainOwnershipIdentifierCollectionPage struct { - fn func(context.Context, DomainOwnershipIdentifierCollection) (DomainOwnershipIdentifierCollection, error) - doic DomainOwnershipIdentifierCollection +// DataSource class representing data source used by the detectors +type DataSource struct { + // Instructions - Instructions if any for the data source + Instructions *[]string `json:"instructions,omitempty"` + // DataSourceURI - Datasource Uri Links + DataSourceURI *[]NameValuePair `json:"dataSourceUri,omitempty"` } - -// NextWithContext advances to the next page of values. If there was an error making -// the request the page does not advance and the error is returned. -func (page *DomainOwnershipIdentifierCollectionPage) NextWithContext(ctx context.Context) (err error) { - if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/DomainOwnershipIdentifierCollectionPage.NextWithContext") - defer func() { - sc := -1 - if page.Response().Response.Response != nil { - sc = page.Response().Response.Response.StatusCode - } - tracing.EndSpan(ctx, sc, err) - }() - } - for { - next, err := page.fn(ctx, page.doic) - if err != nil { - return err - } - page.doic = next - if !next.hasNextLink() || !next.IsEmpty() { - break - } - } - return nil + +// DataTableResponseColumn column definition +type DataTableResponseColumn struct { + // ColumnName - Name of the column + ColumnName *string `json:"columnName,omitempty"` + // DataType - Data type which looks like 'String' or 'Int32'. + DataType *string `json:"dataType,omitempty"` + // ColumnType - Column Type + ColumnType *string `json:"columnType,omitempty"` } -// Next advances to the next page of values. If there was an error making -// the request the page does not advance and the error is returned. -// Deprecated: Use NextWithContext() instead. -func (page *DomainOwnershipIdentifierCollectionPage) Next() error { - return page.NextWithContext(context.Background()) +// DataTableResponseObject data Table which defines columns and raw row values +type DataTableResponseObject struct { + // TableName - Name of the table + TableName *string `json:"tableName,omitempty"` + // Columns - List of columns with data types + Columns *[]DataTableResponseColumn `json:"columns,omitempty"` + // Rows - Raw row values + Rows *[][]string `json:"rows,omitempty"` } -// NotDone returns true if the page enumeration should be started or is not yet complete. -func (page DomainOwnershipIdentifierCollectionPage) NotDone() bool { - return !page.doic.IsEmpty() +// DefaultErrorResponse app Service error response. +type DefaultErrorResponse struct { + // Error - READ-ONLY; Error model. + Error *DefaultErrorResponseError `json:"error,omitempty"` } -// Response returns the raw server response from the last page request. -func (page DomainOwnershipIdentifierCollectionPage) Response() DomainOwnershipIdentifierCollection { - return page.doic +// MarshalJSON is the custom marshaler for DefaultErrorResponse. +func (der DefaultErrorResponse) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + return json.Marshal(objectMap) } -// Values returns the slice of values for the current page or nil if there are no values. -func (page DomainOwnershipIdentifierCollectionPage) Values() []DomainOwnershipIdentifier { - if page.doic.IsEmpty() { - return nil - } - return *page.doic.Value +// DefaultErrorResponseError error model. +type DefaultErrorResponseError struct { + // Code - READ-ONLY; Standardized string to programmatically identify the error. + Code *string `json:"code,omitempty"` + // Message - READ-ONLY; Detailed error description and debugging information. + Message *string `json:"message,omitempty"` + // Target - READ-ONLY; Detailed error description and debugging information. + Target *string `json:"target,omitempty"` + Details *[]DefaultErrorResponseErrorDetailsItem `json:"details,omitempty"` + // Innererror - READ-ONLY; More information to debug error. + Innererror *string `json:"innererror,omitempty"` } -// Creates a new instance of the DomainOwnershipIdentifierCollectionPage type. -func NewDomainOwnershipIdentifierCollectionPage(cur DomainOwnershipIdentifierCollection, getNextPage func(context.Context, DomainOwnershipIdentifierCollection) (DomainOwnershipIdentifierCollection, error)) DomainOwnershipIdentifierCollectionPage { - return DomainOwnershipIdentifierCollectionPage{ - fn: getNextPage, - doic: cur, +// MarshalJSON is the custom marshaler for DefaultErrorResponseError. +func (der DefaultErrorResponseError) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if der.Details != nil { + objectMap["details"] = der.Details } + return json.Marshal(objectMap) } -// DomainOwnershipIdentifierProperties domainOwnershipIdentifier resource specific properties -type DomainOwnershipIdentifierProperties struct { - // OwnershipID - Ownership Id. - OwnershipID *string `json:"ownershipId,omitempty"` +// DefaultErrorResponseErrorDetailsItem detailed errors. +type DefaultErrorResponseErrorDetailsItem struct { + // Code - READ-ONLY; Standardized string to programmatically identify the error. + Code *string `json:"code,omitempty"` + // Message - READ-ONLY; Detailed error description and debugging information. + Message *string `json:"message,omitempty"` + // Target - READ-ONLY; Detailed error description and debugging information. + Target *string `json:"target,omitempty"` } -// DomainPatchResource ARM resource for a domain. -type DomainPatchResource struct { - // DomainPatchResourceProperties - DomainPatchResource resource specific properties - *DomainPatchResourceProperties `json:"properties,omitempty"` +// MarshalJSON is the custom marshaler for DefaultErrorResponseErrorDetailsItem. +func (derI DefaultErrorResponseErrorDetailsItem) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + return json.Marshal(objectMap) +} + +// DeletedAppRestoreRequest details about restoring a deleted app. +type DeletedAppRestoreRequest struct { + // DeletedAppRestoreRequestProperties - DeletedAppRestoreRequest resource specific properties + *DeletedAppRestoreRequestProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. @@ -12513,20 +8702,20 @@ type DomainPatchResource struct { Type *string `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for DomainPatchResource. -func (dpr DomainPatchResource) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for DeletedAppRestoreRequest. +func (darr DeletedAppRestoreRequest) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if dpr.DomainPatchResourceProperties != nil { - objectMap["properties"] = dpr.DomainPatchResourceProperties + if darr.DeletedAppRestoreRequestProperties != nil { + objectMap["properties"] = darr.DeletedAppRestoreRequestProperties } - if dpr.Kind != nil { - objectMap["kind"] = dpr.Kind + if darr.Kind != nil { + objectMap["kind"] = darr.Kind } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for DomainPatchResource struct. -func (dpr *DomainPatchResource) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for DeletedAppRestoreRequest struct. +func (darr *DeletedAppRestoreRequest) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -12536,12 +8725,12 @@ func (dpr *DomainPatchResource) UnmarshalJSON(body []byte) error { switch k { case "properties": if v != nil { - var domainPatchResourceProperties DomainPatchResourceProperties - err = json.Unmarshal(*v, &domainPatchResourceProperties) + var deletedAppRestoreRequestProperties DeletedAppRestoreRequestProperties + err = json.Unmarshal(*v, &deletedAppRestoreRequestProperties) if err != nil { return err } - dpr.DomainPatchResourceProperties = &domainPatchResourceProperties + darr.DeletedAppRestoreRequestProperties = &deletedAppRestoreRequestProperties } case "id": if v != nil { @@ -12550,7 +8739,7 @@ func (dpr *DomainPatchResource) UnmarshalJSON(body []byte) error { if err != nil { return err } - dpr.ID = &ID + darr.ID = &ID } case "name": if v != nil { @@ -12559,7 +8748,7 @@ func (dpr *DomainPatchResource) UnmarshalJSON(body []byte) error { if err != nil { return err } - dpr.Name = &name + darr.Name = &name } case "kind": if v != nil { @@ -12568,7 +8757,7 @@ func (dpr *DomainPatchResource) UnmarshalJSON(body []byte) error { if err != nil { return err } - dpr.Kind = &kind + darr.Kind = &kind } case "type": if v != nil { @@ -12577,7 +8766,7 @@ func (dpr *DomainPatchResource) UnmarshalJSON(body []byte) error { if err != nil { return err } - dpr.Type = &typeVar + darr.Type = &typeVar } } } @@ -12585,305 +8774,306 @@ func (dpr *DomainPatchResource) UnmarshalJSON(body []byte) error { return nil } -// DomainPatchResourceProperties domainPatchResource resource specific properties -type DomainPatchResourceProperties struct { - // ContactAdmin - Administrative contact. - ContactAdmin *Contact `json:"contactAdmin,omitempty"` - // ContactBilling - Billing contact. - ContactBilling *Contact `json:"contactBilling,omitempty"` - // ContactRegistrant - Registrant contact. - ContactRegistrant *Contact `json:"contactRegistrant,omitempty"` - // ContactTech - Technical contact. - ContactTech *Contact `json:"contactTech,omitempty"` - // RegistrationStatus - READ-ONLY; Domain registration status. Possible values include: 'DomainStatusActive', 'DomainStatusAwaiting', 'DomainStatusCancelled', 'DomainStatusConfiscated', 'DomainStatusDisabled', 'DomainStatusExcluded', 'DomainStatusExpired', 'DomainStatusFailed', 'DomainStatusHeld', 'DomainStatusLocked', 'DomainStatusParked', 'DomainStatusPending', 'DomainStatusReserved', 'DomainStatusReverted', 'DomainStatusSuspended', 'DomainStatusTransferred', 'DomainStatusUnknown', 'DomainStatusUnlocked', 'DomainStatusUnparked', 'DomainStatusUpdated', 'DomainStatusJSONConverterFailed' - RegistrationStatus DomainStatus `json:"registrationStatus,omitempty"` - // ProvisioningState - READ-ONLY; Domain provisioning state. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateFailed', 'ProvisioningStateCanceled', 'ProvisioningStateInProgress', 'ProvisioningStateDeleting' - ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` - // NameServers - READ-ONLY; Name servers. - NameServers *[]string `json:"nameServers,omitempty"` - // Privacy - true if domain privacy is enabled for this domain; otherwise, false. - Privacy *bool `json:"privacy,omitempty"` - // CreatedTime - READ-ONLY; Domain creation timestamp. - CreatedTime *date.Time `json:"createdTime,omitempty"` - // ExpirationTime - READ-ONLY; Domain expiration timestamp. - ExpirationTime *date.Time `json:"expirationTime,omitempty"` - // LastRenewedTime - READ-ONLY; Timestamp when the domain was renewed last time. - LastRenewedTime *date.Time `json:"lastRenewedTime,omitempty"` - // AutoRenew - true if the domain should be automatically renewed; otherwise, false. - AutoRenew *bool `json:"autoRenew,omitempty"` - // ReadyForDNSRecordManagement - READ-ONLY; true if Azure can assign this domain to App Service apps; otherwise, false. This value will be true if domain registration status is active and - // it is hosted on name servers Azure has programmatic access to. - ReadyForDNSRecordManagement *bool `json:"readyForDnsRecordManagement,omitempty"` - // ManagedHostNames - READ-ONLY; All hostnames derived from the domain and assigned to Azure resources. - ManagedHostNames *[]HostName `json:"managedHostNames,omitempty"` - // Consent - Legal agreement consent. - Consent *DomainPurchaseConsent `json:"consent,omitempty"` - // DomainNotRenewableReasons - READ-ONLY; Reasons why domain is not renewable. - DomainNotRenewableReasons *[]string `json:"domainNotRenewableReasons,omitempty"` - // DNSType - Current DNS type. Possible values include: 'DNSTypeAzureDNS', 'DNSTypeDefaultDomainRegistrarDNS' - DNSType DNSType `json:"dnsType,omitempty"` - // DNSZoneID - Azure DNS Zone to use - DNSZoneID *string `json:"dnsZoneId,omitempty"` - // TargetDNSType - Target DNS type (would be used for migration). Possible values include: 'DNSTypeAzureDNS', 'DNSTypeDefaultDomainRegistrarDNS' - TargetDNSType DNSType `json:"targetDnsType,omitempty"` - AuthCode *string `json:"authCode,omitempty"` +// DeletedAppRestoreRequestProperties deletedAppRestoreRequest resource specific properties +type DeletedAppRestoreRequestProperties struct { + // DeletedSiteID - ARM resource ID of the deleted app. Example: + // /subscriptions/{subId}/providers/Microsoft.Web/deletedSites/{deletedSiteId} + DeletedSiteID *string `json:"deletedSiteId,omitempty"` + // RecoverConfiguration - If true, deleted site configuration, in addition to content, will be restored. + RecoverConfiguration *bool `json:"recoverConfiguration,omitempty"` + // SnapshotTime - Point in time to restore the deleted app from, formatted as a DateTime string. + // If unspecified, default value is the time that the app was deleted. + SnapshotTime *string `json:"snapshotTime,omitempty"` + // UseDRSecondary - If true, the snapshot is retrieved from DRSecondary endpoint. + UseDRSecondary *bool `json:"useDRSecondary,omitempty"` +} + +// DeletedSite a deleted app. +type DeletedSite struct { + autorest.Response `json:"-"` + // DeletedSiteProperties - DeletedSite resource specific properties + *DeletedSiteProperties `json:"properties,omitempty"` + // ID - READ-ONLY; Resource Id. + ID *string `json:"id,omitempty"` + // Name - READ-ONLY; Resource Name. + Name *string `json:"name,omitempty"` + // Kind - Kind of resource. + Kind *string `json:"kind,omitempty"` + // Type - READ-ONLY; Resource type. + Type *string `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for DeletedSite. +func (ds DeletedSite) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if ds.DeletedSiteProperties != nil { + objectMap["properties"] = ds.DeletedSiteProperties + } + if ds.Kind != nil { + objectMap["kind"] = ds.Kind + } + return json.Marshal(objectMap) +} + +// UnmarshalJSON is the custom unmarshaler for DeletedSite struct. +func (ds *DeletedSite) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "properties": + if v != nil { + var deletedSiteProperties DeletedSiteProperties + err = json.Unmarshal(*v, &deletedSiteProperties) + if err != nil { + return err + } + ds.DeletedSiteProperties = &deletedSiteProperties + } + case "id": + if v != nil { + var ID string + err = json.Unmarshal(*v, &ID) + if err != nil { + return err + } + ds.ID = &ID + } + case "name": + if v != nil { + var name string + err = json.Unmarshal(*v, &name) + if err != nil { + return err + } + ds.Name = &name + } + case "kind": + if v != nil { + var kind string + err = json.Unmarshal(*v, &kind) + if err != nil { + return err + } + ds.Kind = &kind + } + case "type": + if v != nil { + var typeVar string + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + ds.Type = &typeVar + } + } + } + + return nil } -// MarshalJSON is the custom marshaler for DomainPatchResourceProperties. -func (dpr DomainPatchResourceProperties) MarshalJSON() ([]byte, error) { +// DeletedSiteProperties deletedSite resource specific properties +type DeletedSiteProperties struct { + // DeletedSiteID - READ-ONLY; Numeric id for the deleted site + DeletedSiteID *int32 `json:"deletedSiteId,omitempty"` + // DeletedTimestamp - READ-ONLY; Time in UTC when the app was deleted. + DeletedTimestamp *string `json:"deletedTimestamp,omitempty"` + // Subscription - READ-ONLY; Subscription containing the deleted site + Subscription *string `json:"subscription,omitempty"` + // ResourceGroup - READ-ONLY; ResourceGroup that contained the deleted site + ResourceGroup *string `json:"resourceGroup,omitempty"` + // DeletedSiteName - READ-ONLY; Name of the deleted site + DeletedSiteName *string `json:"deletedSiteName,omitempty"` + // Slot - READ-ONLY; Slot of the deleted site + Slot *string `json:"slot,omitempty"` + // Kind - READ-ONLY; Kind of site that was deleted + Kind *string `json:"kind,omitempty"` + // GeoRegionName - READ-ONLY; Geo Region of the deleted site + GeoRegionName *string `json:"geoRegionName,omitempty"` +} + +// MarshalJSON is the custom marshaler for DeletedSiteProperties. +func (ds DeletedSiteProperties) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if dpr.ContactAdmin != nil { - objectMap["contactAdmin"] = dpr.ContactAdmin - } - if dpr.ContactBilling != nil { - objectMap["contactBilling"] = dpr.ContactBilling - } - if dpr.ContactRegistrant != nil { - objectMap["contactRegistrant"] = dpr.ContactRegistrant - } - if dpr.ContactTech != nil { - objectMap["contactTech"] = dpr.ContactTech - } - if dpr.Privacy != nil { - objectMap["privacy"] = dpr.Privacy - } - if dpr.AutoRenew != nil { - objectMap["autoRenew"] = dpr.AutoRenew - } - if dpr.Consent != nil { - objectMap["consent"] = dpr.Consent - } - if dpr.DNSType != "" { - objectMap["dnsType"] = dpr.DNSType - } - if dpr.DNSZoneID != nil { - objectMap["dnsZoneId"] = dpr.DNSZoneID - } - if dpr.TargetDNSType != "" { - objectMap["targetDnsType"] = dpr.TargetDNSType - } - if dpr.AuthCode != nil { - objectMap["authCode"] = dpr.AuthCode - } return json.Marshal(objectMap) } -// DomainProperties domain resource specific properties -type DomainProperties struct { - // ContactAdmin - Administrative contact. - ContactAdmin *Contact `json:"contactAdmin,omitempty"` - // ContactBilling - Billing contact. - ContactBilling *Contact `json:"contactBilling,omitempty"` - // ContactRegistrant - Registrant contact. - ContactRegistrant *Contact `json:"contactRegistrant,omitempty"` - // ContactTech - Technical contact. - ContactTech *Contact `json:"contactTech,omitempty"` - // RegistrationStatus - READ-ONLY; Domain registration status. Possible values include: 'DomainStatusActive', 'DomainStatusAwaiting', 'DomainStatusCancelled', 'DomainStatusConfiscated', 'DomainStatusDisabled', 'DomainStatusExcluded', 'DomainStatusExpired', 'DomainStatusFailed', 'DomainStatusHeld', 'DomainStatusLocked', 'DomainStatusParked', 'DomainStatusPending', 'DomainStatusReserved', 'DomainStatusReverted', 'DomainStatusSuspended', 'DomainStatusTransferred', 'DomainStatusUnknown', 'DomainStatusUnlocked', 'DomainStatusUnparked', 'DomainStatusUpdated', 'DomainStatusJSONConverterFailed' - RegistrationStatus DomainStatus `json:"registrationStatus,omitempty"` - // ProvisioningState - READ-ONLY; Domain provisioning state. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateFailed', 'ProvisioningStateCanceled', 'ProvisioningStateInProgress', 'ProvisioningStateDeleting' - ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` - // NameServers - READ-ONLY; Name servers. - NameServers *[]string `json:"nameServers,omitempty"` - // Privacy - true if domain privacy is enabled for this domain; otherwise, false. - Privacy *bool `json:"privacy,omitempty"` - // CreatedTime - READ-ONLY; Domain creation timestamp. - CreatedTime *date.Time `json:"createdTime,omitempty"` - // ExpirationTime - READ-ONLY; Domain expiration timestamp. - ExpirationTime *date.Time `json:"expirationTime,omitempty"` - // LastRenewedTime - READ-ONLY; Timestamp when the domain was renewed last time. - LastRenewedTime *date.Time `json:"lastRenewedTime,omitempty"` - // AutoRenew - true if the domain should be automatically renewed; otherwise, false. - AutoRenew *bool `json:"autoRenew,omitempty"` - // ReadyForDNSRecordManagement - READ-ONLY; true if Azure can assign this domain to App Service apps; otherwise, false. This value will be true if domain registration status is active and - // it is hosted on name servers Azure has programmatic access to. - ReadyForDNSRecordManagement *bool `json:"readyForDnsRecordManagement,omitempty"` - // ManagedHostNames - READ-ONLY; All hostnames derived from the domain and assigned to Azure resources. - ManagedHostNames *[]HostName `json:"managedHostNames,omitempty"` - // Consent - Legal agreement consent. - Consent *DomainPurchaseConsent `json:"consent,omitempty"` - // DomainNotRenewableReasons - READ-ONLY; Reasons why domain is not renewable. - DomainNotRenewableReasons *[]string `json:"domainNotRenewableReasons,omitempty"` - // DNSType - Current DNS type. Possible values include: 'DNSTypeAzureDNS', 'DNSTypeDefaultDomainRegistrarDNS' - DNSType DNSType `json:"dnsType,omitempty"` - // DNSZoneID - Azure DNS Zone to use - DNSZoneID *string `json:"dnsZoneId,omitempty"` - // TargetDNSType - Target DNS type (would be used for migration). Possible values include: 'DNSTypeAzureDNS', 'DNSTypeDefaultDomainRegistrarDNS' - TargetDNSType DNSType `json:"targetDnsType,omitempty"` - AuthCode *string `json:"authCode,omitempty"` +// DeletedWebAppCollection collection of deleted apps. +type DeletedWebAppCollection struct { + autorest.Response `json:"-"` + // Value - Collection of resources. + Value *[]DeletedSite `json:"value,omitempty"` + // NextLink - READ-ONLY; Link to next page of resources. + NextLink *string `json:"nextLink,omitempty"` } -// MarshalJSON is the custom marshaler for DomainProperties. -func (d DomainProperties) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for DeletedWebAppCollection. +func (dwac DeletedWebAppCollection) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if d.ContactAdmin != nil { - objectMap["contactAdmin"] = d.ContactAdmin - } - if d.ContactBilling != nil { - objectMap["contactBilling"] = d.ContactBilling - } - if d.ContactRegistrant != nil { - objectMap["contactRegistrant"] = d.ContactRegistrant - } - if d.ContactTech != nil { - objectMap["contactTech"] = d.ContactTech - } - if d.Privacy != nil { - objectMap["privacy"] = d.Privacy - } - if d.AutoRenew != nil { - objectMap["autoRenew"] = d.AutoRenew - } - if d.Consent != nil { - objectMap["consent"] = d.Consent - } - if d.DNSType != "" { - objectMap["dnsType"] = d.DNSType + if dwac.Value != nil { + objectMap["value"] = dwac.Value } - if d.DNSZoneID != nil { - objectMap["dnsZoneId"] = d.DNSZoneID + return json.Marshal(objectMap) +} + +// DeletedWebAppCollectionIterator provides access to a complete listing of DeletedSite values. +type DeletedWebAppCollectionIterator struct { + i int + page DeletedWebAppCollectionPage +} + +// NextWithContext advances to the next value. If there was an error making +// the request the iterator does not advance and the error is returned. +func (iter *DeletedWebAppCollectionIterator) NextWithContext(ctx context.Context) (err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/DeletedWebAppCollectionIterator.NextWithContext") + defer func() { + sc := -1 + if iter.Response().Response.Response != nil { + sc = iter.Response().Response.Response.StatusCode + } + tracing.EndSpan(ctx, sc, err) + }() } - if d.TargetDNSType != "" { - objectMap["targetDnsType"] = d.TargetDNSType + iter.i++ + if iter.i < len(iter.page.Values()) { + return nil } - if d.AuthCode != nil { - objectMap["authCode"] = d.AuthCode + err = iter.page.NextWithContext(ctx) + if err != nil { + iter.i-- + return err } - return json.Marshal(objectMap) + iter.i = 0 + return nil } -// DomainPurchaseConsent domain purchase consent object, representing acceptance of applicable legal -// agreements. -type DomainPurchaseConsent struct { - // AgreementKeys - List of applicable legal agreement keys. This list can be retrieved using ListLegalAgreements API under TopLevelDomain resource. - AgreementKeys *[]string `json:"agreementKeys,omitempty"` - // AgreedBy - Client IP address. - AgreedBy *string `json:"agreedBy,omitempty"` - // AgreedAt - Timestamp when the agreements were accepted. - AgreedAt *date.Time `json:"agreedAt,omitempty"` +// Next advances to the next value. If there was an error making +// the request the iterator does not advance and the error is returned. +// Deprecated: Use NextWithContext() instead. +func (iter *DeletedWebAppCollectionIterator) Next() error { + return iter.NextWithContext(context.Background()) } -// DomainRecommendationSearchParameters domain recommendation search parameters. -type DomainRecommendationSearchParameters struct { - // Keywords - Keywords to be used for generating domain recommendations. - Keywords *string `json:"keywords,omitempty"` - // MaxDomainRecommendations - Maximum number of recommendations. - MaxDomainRecommendations *int32 `json:"maxDomainRecommendations,omitempty"` +// NotDone returns true if the enumeration should be started or is not yet complete. +func (iter DeletedWebAppCollectionIterator) NotDone() bool { + return iter.page.NotDone() && iter.i < len(iter.page.Values()) } -// DomainsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running -// operation. -type DomainsCreateOrUpdateFuture struct { - azure.FutureAPI - // Result returns the result of the asynchronous operation. - // If the operation has not completed it will return an error. - Result func(DomainsClient) (Domain, error) +// Response returns the raw server response from the last page request. +func (iter DeletedWebAppCollectionIterator) Response() DeletedWebAppCollection { + return iter.page.Response() } -// UnmarshalJSON is the custom unmarshaller for CreateFuture. -func (future *DomainsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error { - var azFuture azure.Future - if err := json.Unmarshal(body, &azFuture); err != nil { - return err +// Value returns the current value or a zero-initialized value if the +// iterator has advanced beyond the end of the collection. +func (iter DeletedWebAppCollectionIterator) Value() DeletedSite { + if !iter.page.NotDone() { + return DeletedSite{} } - future.FutureAPI = &azFuture - future.Result = future.result - return nil + return iter.page.Values()[iter.i] } -// result is the default implementation for DomainsCreateOrUpdateFuture.Result. -func (future *DomainsCreateOrUpdateFuture) result(client DomainsClient) (d Domain, err error) { - var done bool - done, err = future.DoneWithContext(context.Background(), client) - if err != nil { - err = autorest.NewErrorWithError(err, "web.DomainsCreateOrUpdateFuture", "Result", future.Response(), "Polling failure") - return - } - if !done { - d.Response.Response = future.Response() - err = azure.NewAsyncOpIncompleteError("web.DomainsCreateOrUpdateFuture") - return - } - sender := autorest.DecorateSender(client, autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...)) - if d.Response.Response, err = future.GetResult(sender); err == nil && d.Response.Response.StatusCode != http.StatusNoContent { - d, err = client.CreateOrUpdateResponder(d.Response.Response) - if err != nil { - err = autorest.NewErrorWithError(err, "web.DomainsCreateOrUpdateFuture", "Result", d.Response.Response, "Failure responding to request") - } +// Creates a new instance of the DeletedWebAppCollectionIterator type. +func NewDeletedWebAppCollectionIterator(page DeletedWebAppCollectionPage) DeletedWebAppCollectionIterator { + return DeletedWebAppCollectionIterator{page: page} +} + +// IsEmpty returns true if the ListResult contains no values. +func (dwac DeletedWebAppCollection) IsEmpty() bool { + return dwac.Value == nil || len(*dwac.Value) == 0 +} + +// hasNextLink returns true if the NextLink is not empty. +func (dwac DeletedWebAppCollection) hasNextLink() bool { + return dwac.NextLink != nil && len(*dwac.NextLink) != 0 +} + +// deletedWebAppCollectionPreparer prepares a request to retrieve the next set of results. +// It returns nil if no more results exist. +func (dwac DeletedWebAppCollection) deletedWebAppCollectionPreparer(ctx context.Context) (*http.Request, error) { + if !dwac.hasNextLink() { + return nil, nil } - return + return autorest.Prepare((&http.Request{}).WithContext(ctx), + autorest.AsJSON(), + autorest.AsGet(), + autorest.WithBaseURL(to.String(dwac.NextLink))) } -// EnabledConfig enabled configuration. -type EnabledConfig struct { - // Enabled - True if configuration is enabled, false if it is disabled and null if configuration is not set. - Enabled *bool `json:"enabled,omitempty"` +// DeletedWebAppCollectionPage contains a page of DeletedSite values. +type DeletedWebAppCollectionPage struct { + fn func(context.Context, DeletedWebAppCollection) (DeletedWebAppCollection, error) + dwac DeletedWebAppCollection } -// EndpointDependency a domain name that a service is reached at, including details of the current -// connection status. -type EndpointDependency struct { - // DomainName - The domain name of the dependency. - DomainName *string `json:"domainName,omitempty"` - // EndpointDetails - The IP Addresses and Ports used when connecting to DomainName. - EndpointDetails *[]EndpointDetail `json:"endpointDetails,omitempty"` +// NextWithContext advances to the next page of values. If there was an error making +// the request the page does not advance and the error is returned. +func (page *DeletedWebAppCollectionPage) NextWithContext(ctx context.Context) (err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/DeletedWebAppCollectionPage.NextWithContext") + defer func() { + sc := -1 + if page.Response().Response.Response != nil { + sc = page.Response().Response.Response.StatusCode + } + tracing.EndSpan(ctx, sc, err) + }() + } + for { + next, err := page.fn(ctx, page.dwac) + if err != nil { + return err + } + page.dwac = next + if !next.hasNextLink() || !next.IsEmpty() { + break + } + } + return nil } -// EndpointDetail current TCP connectivity information from the App Service Environment to a single -// endpoint. -type EndpointDetail struct { - // IPAddress - An IP Address that Domain Name currently resolves to. - IPAddress *string `json:"ipAddress,omitempty"` - // Port - The port an endpoint is connected to. - Port *int32 `json:"port,omitempty"` - // Latency - The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. - Latency *float64 `json:"latency,omitempty"` - // IsAccessible - Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. - IsAccessible *bool `json:"isAccessible,omitempty"` +// Next advances to the next page of values. If there was an error making +// the request the page does not advance and the error is returned. +// Deprecated: Use NextWithContext() instead. +func (page *DeletedWebAppCollectionPage) Next() error { + return page.NextWithContext(context.Background()) } -// ErrorEntity body of the error response returned from the API. -type ErrorEntity struct { - // ExtendedCode - Type of error. - ExtendedCode *string `json:"extendedCode,omitempty"` - // MessageTemplate - Message template. - MessageTemplate *string `json:"messageTemplate,omitempty"` - // Parameters - Parameters for the template. - Parameters *[]string `json:"parameters,omitempty"` - // InnerErrors - Inner errors. - InnerErrors *[]ErrorEntity `json:"innerErrors,omitempty"` - // Code - Basic error code. - Code *string `json:"code,omitempty"` - // Message - Any details of the error. - Message *string `json:"message,omitempty"` +// NotDone returns true if the page enumeration should be started or is not yet complete. +func (page DeletedWebAppCollectionPage) NotDone() bool { + return !page.dwac.IsEmpty() } -// Experiments routing rules in production experiments. -type Experiments struct { - // RampUpRules - List of ramp-up rules. - RampUpRules *[]RampUpRule `json:"rampUpRules,omitempty"` +// Response returns the raw server response from the last page request. +func (page DeletedWebAppCollectionPage) Response() DeletedWebAppCollection { + return page.dwac } -// ExtendedLocation extended Location. -type ExtendedLocation struct { - // Name - Name of extended location. - Name *string `json:"name,omitempty"` - // Type - READ-ONLY; Type of extended location. - Type *string `json:"type,omitempty"` +// Values returns the slice of values for the current page or nil if there are no values. +func (page DeletedWebAppCollectionPage) Values() []DeletedSite { + if page.dwac.IsEmpty() { + return nil + } + return *page.dwac.Value } -// MarshalJSON is the custom marshaler for ExtendedLocation. -func (el ExtendedLocation) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if el.Name != nil { - objectMap["name"] = el.Name +// Creates a new instance of the DeletedWebAppCollectionPage type. +func NewDeletedWebAppCollectionPage(cur DeletedWebAppCollection, getNextPage func(context.Context, DeletedWebAppCollection) (DeletedWebAppCollection, error)) DeletedWebAppCollectionPage { + return DeletedWebAppCollectionPage{ + fn: getNextPage, + dwac: cur, } - return json.Marshal(objectMap) } -// Facebook the configuration settings of the Facebook provider. -type Facebook struct { - // FacebookProperties - Facebook resource specific properties - *FacebookProperties `json:"properties,omitempty"` +// Deployment user credentials used for publishing activity. +type Deployment struct { + autorest.Response `json:"-"` + // DeploymentProperties - Deployment resource specific properties + *DeploymentProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. @@ -12894,20 +9084,20 @@ type Facebook struct { Type *string `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for Facebook. -func (f Facebook) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for Deployment. +func (d Deployment) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if f.FacebookProperties != nil { - objectMap["properties"] = f.FacebookProperties + if d.DeploymentProperties != nil { + objectMap["properties"] = d.DeploymentProperties } - if f.Kind != nil { - objectMap["kind"] = f.Kind + if d.Kind != nil { + objectMap["kind"] = d.Kind } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for Facebook struct. -func (f *Facebook) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for Deployment struct. +func (d *Deployment) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -12917,12 +9107,12 @@ func (f *Facebook) UnmarshalJSON(body []byte) error { switch k { case "properties": if v != nil { - var facebookProperties FacebookProperties - err = json.Unmarshal(*v, &facebookProperties) + var deploymentProperties DeploymentProperties + err = json.Unmarshal(*v, &deploymentProperties) if err != nil { return err } - f.FacebookProperties = &facebookProperties + d.DeploymentProperties = &deploymentProperties } case "id": if v != nil { @@ -12931,7 +9121,7 @@ func (f *Facebook) UnmarshalJSON(body []byte) error { if err != nil { return err } - f.ID = &ID + d.ID = &ID } case "name": if v != nil { @@ -12940,7 +9130,7 @@ func (f *Facebook) UnmarshalJSON(body []byte) error { if err != nil { return err } - f.Name = &name + d.Name = &name } case "kind": if v != nil { @@ -12949,7 +9139,7 @@ func (f *Facebook) UnmarshalJSON(body []byte) error { if err != nil { return err } - f.Kind = &kind + d.Kind = &kind } case "type": if v != nil { @@ -12958,142 +9148,241 @@ func (f *Facebook) UnmarshalJSON(body []byte) error { if err != nil { return err } - f.Type = &typeVar + d.Type = &typeVar + } + } + } + + return nil +} + +// DeploymentCollection collection of app deployments. +type DeploymentCollection struct { + autorest.Response `json:"-"` + // Value - Collection of resources. + Value *[]Deployment `json:"value,omitempty"` + // NextLink - READ-ONLY; Link to next page of resources. + NextLink *string `json:"nextLink,omitempty"` +} + +// MarshalJSON is the custom marshaler for DeploymentCollection. +func (dc DeploymentCollection) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if dc.Value != nil { + objectMap["value"] = dc.Value + } + return json.Marshal(objectMap) +} + +// DeploymentCollectionIterator provides access to a complete listing of Deployment values. +type DeploymentCollectionIterator struct { + i int + page DeploymentCollectionPage +} + +// NextWithContext advances to the next value. If there was an error making +// the request the iterator does not advance and the error is returned. +func (iter *DeploymentCollectionIterator) NextWithContext(ctx context.Context) (err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/DeploymentCollectionIterator.NextWithContext") + defer func() { + sc := -1 + if iter.Response().Response.Response != nil { + sc = iter.Response().Response.Response.StatusCode + } + tracing.EndSpan(ctx, sc, err) + }() + } + iter.i++ + if iter.i < len(iter.page.Values()) { + return nil + } + err = iter.page.NextWithContext(ctx) + if err != nil { + iter.i-- + return err + } + iter.i = 0 + return nil +} + +// Next advances to the next value. If there was an error making +// the request the iterator does not advance and the error is returned. +// Deprecated: Use NextWithContext() instead. +func (iter *DeploymentCollectionIterator) Next() error { + return iter.NextWithContext(context.Background()) +} + +// NotDone returns true if the enumeration should be started or is not yet complete. +func (iter DeploymentCollectionIterator) NotDone() bool { + return iter.page.NotDone() && iter.i < len(iter.page.Values()) +} + +// Response returns the raw server response from the last page request. +func (iter DeploymentCollectionIterator) Response() DeploymentCollection { + return iter.page.Response() +} + +// Value returns the current value or a zero-initialized value if the +// iterator has advanced beyond the end of the collection. +func (iter DeploymentCollectionIterator) Value() Deployment { + if !iter.page.NotDone() { + return Deployment{} + } + return iter.page.Values()[iter.i] +} + +// Creates a new instance of the DeploymentCollectionIterator type. +func NewDeploymentCollectionIterator(page DeploymentCollectionPage) DeploymentCollectionIterator { + return DeploymentCollectionIterator{page: page} +} + +// IsEmpty returns true if the ListResult contains no values. +func (dc DeploymentCollection) IsEmpty() bool { + return dc.Value == nil || len(*dc.Value) == 0 +} + +// hasNextLink returns true if the NextLink is not empty. +func (dc DeploymentCollection) hasNextLink() bool { + return dc.NextLink != nil && len(*dc.NextLink) != 0 +} + +// deploymentCollectionPreparer prepares a request to retrieve the next set of results. +// It returns nil if no more results exist. +func (dc DeploymentCollection) deploymentCollectionPreparer(ctx context.Context) (*http.Request, error) { + if !dc.hasNextLink() { + return nil, nil + } + return autorest.Prepare((&http.Request{}).WithContext(ctx), + autorest.AsJSON(), + autorest.AsGet(), + autorest.WithBaseURL(to.String(dc.NextLink))) +} + +// DeploymentCollectionPage contains a page of Deployment values. +type DeploymentCollectionPage struct { + fn func(context.Context, DeploymentCollection) (DeploymentCollection, error) + dc DeploymentCollection +} + +// NextWithContext advances to the next page of values. If there was an error making +// the request the page does not advance and the error is returned. +func (page *DeploymentCollectionPage) NextWithContext(ctx context.Context) (err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/DeploymentCollectionPage.NextWithContext") + defer func() { + sc := -1 + if page.Response().Response.Response != nil { + sc = page.Response().Response.Response.StatusCode } + tracing.EndSpan(ctx, sc, err) + }() + } + for { + next, err := page.fn(ctx, page.dc) + if err != nil { + return err + } + page.dc = next + if !next.hasNextLink() || !next.IsEmpty() { + break } } - return nil } -// FacebookProperties facebook resource specific properties -type FacebookProperties struct { - // Enabled - false if the Facebook provider should not be enabled despite the set registration; otherwise, true. - Enabled *bool `json:"enabled,omitempty"` - // Registration - The configuration settings of the app registration for the Facebook provider. - Registration *AppRegistration `json:"registration,omitempty"` - // GraphAPIVersion - The version of the Facebook api to be used while logging in. - GraphAPIVersion *string `json:"graphApiVersion,omitempty"` - // Login - The configuration settings of the login flow. - Login *LoginScopes `json:"login,omitempty"` +// Next advances to the next page of values. If there was an error making +// the request the page does not advance and the error is returned. +// Deprecated: Use NextWithContext() instead. +func (page *DeploymentCollectionPage) Next() error { + return page.NextWithContext(context.Background()) } -// FileSystemApplicationLogsConfig application logs to file system configuration. -type FileSystemApplicationLogsConfig struct { - // Level - Log level. Possible values include: 'LogLevelOff', 'LogLevelVerbose', 'LogLevelInformation', 'LogLevelWarning', 'LogLevelError' - Level LogLevel `json:"level,omitempty"` +// NotDone returns true if the page enumeration should be started or is not yet complete. +func (page DeploymentCollectionPage) NotDone() bool { + return !page.dc.IsEmpty() } -// FileSystemHTTPLogsConfig http logs to file system configuration. -type FileSystemHTTPLogsConfig struct { - // RetentionInMb - Maximum size in megabytes that http log files can use. - // When reached old log files will be removed to make space for new ones. - // Value can range between 25 and 100. - RetentionInMb *int32 `json:"retentionInMb,omitempty"` - // RetentionInDays - Retention in days. - // Remove files older than X days. - // 0 or lower means no retention. - RetentionInDays *int32 `json:"retentionInDays,omitempty"` - // Enabled - True if configuration is enabled, false if it is disabled and null if configuration is not set. - Enabled *bool `json:"enabled,omitempty"` +// Response returns the raw server response from the last page request. +func (page DeploymentCollectionPage) Response() DeploymentCollection { + return page.dc } -// FileSystemTokenStore the configuration settings of the storage of the tokens if a file system is used. -type FileSystemTokenStore struct { - // FileSystemTokenStoreProperties - FileSystemTokenStore resource specific properties - *FileSystemTokenStoreProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` +// Values returns the slice of values for the current page or nil if there are no values. +func (page DeploymentCollectionPage) Values() []Deployment { + if page.dc.IsEmpty() { + return nil + } + return *page.dc.Value } -// MarshalJSON is the custom marshaler for FileSystemTokenStore. -func (fsts FileSystemTokenStore) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if fsts.FileSystemTokenStoreProperties != nil { - objectMap["properties"] = fsts.FileSystemTokenStoreProperties - } - if fsts.Kind != nil { - objectMap["kind"] = fsts.Kind +// Creates a new instance of the DeploymentCollectionPage type. +func NewDeploymentCollectionPage(cur DeploymentCollection, getNextPage func(context.Context, DeploymentCollection) (DeploymentCollection, error)) DeploymentCollectionPage { + return DeploymentCollectionPage{ + fn: getNextPage, + dc: cur, } - return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for FileSystemTokenStore struct. -func (fsts *FileSystemTokenStore) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var fileSystemTokenStoreProperties FileSystemTokenStoreProperties - err = json.Unmarshal(*v, &fileSystemTokenStoreProperties) - if err != nil { - return err - } - fsts.FileSystemTokenStoreProperties = &fileSystemTokenStoreProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - fsts.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - fsts.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - fsts.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - fsts.Type = &typeVar - } - } - } +// DeploymentLocations list of available locations (regions or App Service Environments) for +// deployment of App Service resources. +type DeploymentLocations struct { + autorest.Response `json:"-"` + // Locations - Available regions. + Locations *[]GeoRegion `json:"locations,omitempty"` + // HostingEnvironments - Available App Service Environments with full descriptions of the environments. + HostingEnvironments *[]AppServiceEnvironment `json:"hostingEnvironments,omitempty"` + // HostingEnvironmentDeploymentInfos - Available App Service Environments with basic information. + HostingEnvironmentDeploymentInfos *[]HostingEnvironmentDeploymentInfo `json:"hostingEnvironmentDeploymentInfos,omitempty"` +} - return nil +// DeploymentProperties deployment resource specific properties +type DeploymentProperties struct { + // Status - Deployment status. + Status *int32 `json:"status,omitempty"` + // Message - Details about deployment status. + Message *string `json:"message,omitempty"` + // Author - Who authored the deployment. + Author *string `json:"author,omitempty"` + // Deployer - Who performed the deployment. + Deployer *string `json:"deployer,omitempty"` + // AuthorEmail - Author email. + AuthorEmail *string `json:"author_email,omitempty"` + // StartTime - Start time. + StartTime *date.Time `json:"start_time,omitempty"` + // EndTime - End time. + EndTime *date.Time `json:"end_time,omitempty"` + // Active - True if deployment is currently active, false if completed and null if not started. + Active *bool `json:"active,omitempty"` + // Details - Details on deployment. + Details *string `json:"details,omitempty"` } -// FileSystemTokenStoreProperties fileSystemTokenStore resource specific properties -type FileSystemTokenStoreProperties struct { - // Directory - The directory in which the tokens will be stored. - Directory *string `json:"directory,omitempty"` +// DetectorAbnormalTimePeriod class representing Abnormal Time Period detected. +type DetectorAbnormalTimePeriod struct { + // StartTime - Start time of the correlated event + StartTime *date.Time `json:"startTime,omitempty"` + // EndTime - End time of the correlated event + EndTime *date.Time `json:"endTime,omitempty"` + // Message - Message describing the event + Message *string `json:"message,omitempty"` + // Source - Represents the name of the Detector + Source *string `json:"source,omitempty"` + // Priority - Represents the rank of the Detector + Priority *float64 `json:"priority,omitempty"` + // MetaData - Downtime metadata + MetaData *[][]NameValuePair `json:"metaData,omitempty"` + // Type - Represents the type of the Detector. Possible values include: 'IssueTypeServiceIncident', 'IssueTypeAppDeployment', 'IssueTypeAppCrash', 'IssueTypeRuntimeIssueDetected', 'IssueTypeAseDeployment', 'IssueTypeUserIssue', 'IssueTypePlatformIssue', 'IssueTypeOther' + Type IssueType `json:"type,omitempty"` + // Solutions - List of proposed solutions + Solutions *[]Solution `json:"solutions,omitempty"` } -// ForwardProxy the configuration settings of a forward proxy used to make the requests. -type ForwardProxy struct { - // ForwardProxyProperties - ForwardProxy resource specific properties - *ForwardProxyProperties `json:"properties,omitempty"` +// DetectorDefinition class representing detector definition +type DetectorDefinition struct { + autorest.Response `json:"-"` + // DetectorDefinitionProperties - DetectorDefinition resource specific properties + *DetectorDefinitionProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. @@ -13104,20 +9393,20 @@ type ForwardProxy struct { Type *string `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for ForwardProxy. -func (fp ForwardProxy) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for DetectorDefinition. +func (dd DetectorDefinition) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if fp.ForwardProxyProperties != nil { - objectMap["properties"] = fp.ForwardProxyProperties + if dd.DetectorDefinitionProperties != nil { + objectMap["properties"] = dd.DetectorDefinitionProperties } - if fp.Kind != nil { - objectMap["kind"] = fp.Kind + if dd.Kind != nil { + objectMap["kind"] = dd.Kind } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for ForwardProxy struct. -func (fp *ForwardProxy) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for DetectorDefinition struct. +func (dd *DetectorDefinition) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -13127,12 +9416,12 @@ func (fp *ForwardProxy) UnmarshalJSON(body []byte) error { switch k { case "properties": if v != nil { - var forwardProxyProperties ForwardProxyProperties - err = json.Unmarshal(*v, &forwardProxyProperties) + var detectorDefinitionProperties DetectorDefinitionProperties + err = json.Unmarshal(*v, &detectorDefinitionProperties) if err != nil { return err } - fp.ForwardProxyProperties = &forwardProxyProperties + dd.DetectorDefinitionProperties = &detectorDefinitionProperties } case "id": if v != nil { @@ -13141,7 +9430,7 @@ func (fp *ForwardProxy) UnmarshalJSON(body []byte) error { if err != nil { return err } - fp.ID = &ID + dd.ID = &ID } case "name": if v != nil { @@ -13150,138 +9439,83 @@ func (fp *ForwardProxy) UnmarshalJSON(body []byte) error { if err != nil { return err } - fp.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - fp.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - fp.Type = &typeVar + dd.Name = &name } - } - } - - return nil -} - -// ForwardProxyProperties forwardProxy resource specific properties -type ForwardProxyProperties struct { - // Convention - The convention used to determine the url of the request made. Possible values include: 'ForwardProxyConventionNoProxy', 'ForwardProxyConventionStandard', 'ForwardProxyConventionCustom' - Convention ForwardProxyConvention `json:"convention,omitempty"` - // CustomHostHeaderName - The name of the header containing the host of the request. - CustomHostHeaderName *string `json:"customHostHeaderName,omitempty"` - // CustomProtoHeaderName - The name of the header containing the scheme of the request. - CustomProtoHeaderName *string `json:"customProtoHeaderName,omitempty"` -} - -// FrontEndConfiguration ... -type FrontEndConfiguration struct { - // Kind - Possible values include: 'FrontEndServiceTypeNodePort', 'FrontEndServiceTypeLoadBalancer' - Kind FrontEndServiceType `json:"kind,omitempty"` -} - -// FunctionAppMajorVersion function App stack major version. -type FunctionAppMajorVersion struct { - // DisplayText - READ-ONLY; Function App stack major version (display only). - DisplayText *string `json:"displayText,omitempty"` - // Value - READ-ONLY; Function App stack major version name. - Value *string `json:"value,omitempty"` - // MinorVersions - READ-ONLY; Minor versions associated with the major version. - MinorVersions *[]FunctionAppMinorVersion `json:"minorVersions,omitempty"` -} - -// MarshalJSON is the custom marshaler for FunctionAppMajorVersion. -func (famv FunctionAppMajorVersion) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - return json.Marshal(objectMap) -} - -// FunctionAppMinorVersion function App stack minor version. -type FunctionAppMinorVersion struct { - // DisplayText - READ-ONLY; Function App stack (display only). - DisplayText *string `json:"displayText,omitempty"` - // Value - READ-ONLY; Function App stack name. - Value *string `json:"value,omitempty"` - // StackSettings - READ-ONLY; Settings associated with the minor version. - StackSettings *FunctionAppRuntimes `json:"stackSettings,omitempty"` -} + case "kind": + if v != nil { + var kind string + err = json.Unmarshal(*v, &kind) + if err != nil { + return err + } + dd.Kind = &kind + } + case "type": + if v != nil { + var typeVar string + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + dd.Type = &typeVar + } + } + } -// MarshalJSON is the custom marshaler for FunctionAppMinorVersion. -func (famv FunctionAppMinorVersion) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - return json.Marshal(objectMap) + return nil } -// FunctionAppRuntimes function App stack runtimes. -type FunctionAppRuntimes struct { - // LinuxRuntimeSettings - READ-ONLY; Linux-specific settings associated with the minor version. - LinuxRuntimeSettings *FunctionAppRuntimeSettings `json:"linuxRuntimeSettings,omitempty"` - // WindowsRuntimeSettings - READ-ONLY; Windows-specific settings associated with the minor version. - WindowsRuntimeSettings *FunctionAppRuntimeSettings `json:"windowsRuntimeSettings,omitempty"` +// DetectorDefinitionProperties detectorDefinition resource specific properties +type DetectorDefinitionProperties struct { + // DisplayName - READ-ONLY; Display name of the detector + DisplayName *string `json:"displayName,omitempty"` + // Description - READ-ONLY; Description of the detector + Description *string `json:"description,omitempty"` + // Rank - READ-ONLY; Detector Rank + Rank *float64 `json:"rank,omitempty"` + // IsEnabled - READ-ONLY; Flag representing whether detector is enabled or not. + IsEnabled *bool `json:"isEnabled,omitempty"` } -// MarshalJSON is the custom marshaler for FunctionAppRuntimes. -func (far FunctionAppRuntimes) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for DetectorDefinitionProperties. +func (dd DetectorDefinitionProperties) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) return json.Marshal(objectMap) } -// FunctionAppRuntimeSettings function App runtime settings. -type FunctionAppRuntimeSettings struct { - // RuntimeVersion - READ-ONLY; Function App stack minor version (runtime only). - RuntimeVersion *string `json:"runtimeVersion,omitempty"` - // RemoteDebuggingSupported - READ-ONLY; true if remote debugging is supported for the stack; otherwise, false. - RemoteDebuggingSupported *bool `json:"remoteDebuggingSupported,omitempty"` - // AppInsightsSettings - READ-ONLY; Application Insights settings associated with the minor version. - AppInsightsSettings *AppInsightsWebAppStackSettings `json:"appInsightsSettings,omitempty"` - // GitHubActionSettings - READ-ONLY; GitHub Actions settings associated with the minor version. - GitHubActionSettings *GitHubActionWebAppStackSettings `json:"gitHubActionSettings,omitempty"` - // AppSettingsDictionary - READ-ONLY; Application settings associated with the minor version. - AppSettingsDictionary map[string]*string `json:"appSettingsDictionary"` - // SiteConfigPropertiesDictionary - READ-ONLY; Configuration settings associated with the minor version. - SiteConfigPropertiesDictionary *SiteConfigPropertiesDictionary `json:"siteConfigPropertiesDictionary,omitempty"` - // SupportedFunctionsExtensionVersions - READ-ONLY; List of supported Functions extension versions. - SupportedFunctionsExtensionVersions *[]string `json:"supportedFunctionsExtensionVersions,omitempty"` - // IsPreview - READ-ONLY; true if the stack is in preview; otherwise, false. - IsPreview *bool `json:"isPreview,omitempty"` - // IsDeprecated - READ-ONLY; true if the stack is deprecated; otherwise, false. - IsDeprecated *bool `json:"isDeprecated,omitempty"` - // IsHidden - READ-ONLY; true if the stack should be hidden; otherwise, false. - IsHidden *bool `json:"isHidden,omitempty"` - // EndOfLifeDate - READ-ONLY; End-of-life date for the minor version. - EndOfLifeDate *date.Time `json:"endOfLifeDate,omitempty"` - // IsAutoUpdate - READ-ONLY; true if the stack version is auto-updated; otherwise, false. - IsAutoUpdate *bool `json:"isAutoUpdate,omitempty"` - // IsEarlyAccess - READ-ONLY; true if the minor version is early-access; otherwise, false. - IsEarlyAccess *bool `json:"isEarlyAccess,omitempty"` - // IsDefault - READ-ONLY; true if the minor version the default; otherwise, false. - IsDefault *bool `json:"isDefault,omitempty"` +// DetectorInfo definition of Detector +type DetectorInfo struct { + // ID - READ-ONLY; Id of detector + ID *string `json:"id,omitempty"` + // Name - READ-ONLY; Name of detector + Name *string `json:"name,omitempty"` + // Description - READ-ONLY; Short description of the detector and its purpose. + Description *string `json:"description,omitempty"` + // Author - READ-ONLY; Author of the detector. + Author *string `json:"author,omitempty"` + // Category - READ-ONLY; Problem category. This serves for organizing group for detectors. + Category *string `json:"category,omitempty"` + // SupportTopicList - READ-ONLY; List of Support Topics for which this detector is enabled. + SupportTopicList *[]SupportTopic `json:"supportTopicList,omitempty"` + // AnalysisType - READ-ONLY; Analysis Types for which this detector should apply to. + AnalysisType *[]string `json:"analysisType,omitempty"` + // Type - READ-ONLY; Whether this detector is an Analysis Detector or not. Possible values include: 'DetectorTypeDetector', 'DetectorTypeAnalysis', 'DetectorTypeCategoryOverview' + Type DetectorType `json:"type,omitempty"` + // Score - READ-ONLY; Defines score of a detector to power ML based matching. + Score *float64 `json:"score,omitempty"` } -// MarshalJSON is the custom marshaler for FunctionAppRuntimeSettings. -func (fars FunctionAppRuntimeSettings) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for DetectorInfo. +func (di DetectorInfo) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) return json.Marshal(objectMap) } -// FunctionAppStack function App Stack. -type FunctionAppStack struct { - // Location - READ-ONLY; Function App stack location. - Location *string `json:"location,omitempty"` - // FunctionAppStackProperties - FunctionAppStack resource specific properties - *FunctionAppStackProperties `json:"properties,omitempty"` +// DetectorResponse class representing Response from Detector +type DetectorResponse struct { + autorest.Response `json:"-"` + // DetectorResponseProperties - DetectorResponse resource specific properties + *DetectorResponseProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. @@ -13292,20 +9526,20 @@ type FunctionAppStack struct { Type *string `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for FunctionAppStack. -func (fas FunctionAppStack) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for DetectorResponse. +func (dr DetectorResponse) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if fas.FunctionAppStackProperties != nil { - objectMap["properties"] = fas.FunctionAppStackProperties + if dr.DetectorResponseProperties != nil { + objectMap["properties"] = dr.DetectorResponseProperties } - if fas.Kind != nil { - objectMap["kind"] = fas.Kind + if dr.Kind != nil { + objectMap["kind"] = dr.Kind } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for FunctionAppStack struct. -func (fas *FunctionAppStack) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for DetectorResponse struct. +func (dr *DetectorResponse) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -13313,23 +9547,14 @@ func (fas *FunctionAppStack) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "location": - if v != nil { - var location string - err = json.Unmarshal(*v, &location) - if err != nil { - return err - } - fas.Location = &location - } case "properties": if v != nil { - var functionAppStackProperties FunctionAppStackProperties - err = json.Unmarshal(*v, &functionAppStackProperties) + var detectorResponseProperties DetectorResponseProperties + err = json.Unmarshal(*v, &detectorResponseProperties) if err != nil { return err } - fas.FunctionAppStackProperties = &functionAppStackProperties + dr.DetectorResponseProperties = &detectorResponseProperties } case "id": if v != nil { @@ -13338,7 +9563,7 @@ func (fas *FunctionAppStack) UnmarshalJSON(body []byte) error { if err != nil { return err } - fas.ID = &ID + dr.ID = &ID } case "name": if v != nil { @@ -13347,7 +9572,7 @@ func (fas *FunctionAppStack) UnmarshalJSON(body []byte) error { if err != nil { return err } - fas.Name = &name + dr.Name = &name } case "kind": if v != nil { @@ -13356,7 +9581,7 @@ func (fas *FunctionAppStack) UnmarshalJSON(body []byte) error { if err != nil { return err } - fas.Kind = &kind + dr.Kind = &kind } case "type": if v != nil { @@ -13365,7 +9590,7 @@ func (fas *FunctionAppStack) UnmarshalJSON(body []byte) error { if err != nil { return err } - fas.Type = &typeVar + dr.Type = &typeVar } } } @@ -13373,35 +9598,35 @@ func (fas *FunctionAppStack) UnmarshalJSON(body []byte) error { return nil } -// FunctionAppStackCollection collection of Function app Stacks -type FunctionAppStackCollection struct { +// DetectorResponseCollection collection of detector responses +type DetectorResponseCollection struct { autorest.Response `json:"-"` // Value - Collection of resources. - Value *[]FunctionAppStack `json:"value,omitempty"` + Value *[]DetectorResponse `json:"value,omitempty"` // NextLink - READ-ONLY; Link to next page of resources. NextLink *string `json:"nextLink,omitempty"` } -// MarshalJSON is the custom marshaler for FunctionAppStackCollection. -func (fasc FunctionAppStackCollection) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for DetectorResponseCollection. +func (drc DetectorResponseCollection) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if fasc.Value != nil { - objectMap["value"] = fasc.Value + if drc.Value != nil { + objectMap["value"] = drc.Value } return json.Marshal(objectMap) } -// FunctionAppStackCollectionIterator provides access to a complete listing of FunctionAppStack values. -type FunctionAppStackCollectionIterator struct { +// DetectorResponseCollectionIterator provides access to a complete listing of DetectorResponse values. +type DetectorResponseCollectionIterator struct { i int - page FunctionAppStackCollectionPage + page DetectorResponseCollectionPage } // NextWithContext advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. -func (iter *FunctionAppStackCollectionIterator) NextWithContext(ctx context.Context) (err error) { +func (iter *DetectorResponseCollectionIterator) NextWithContext(ctx context.Context) (err error) { if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/FunctionAppStackCollectionIterator.NextWithContext") + ctx = tracing.StartSpan(ctx, fqdn+"/DetectorResponseCollectionIterator.NextWithContext") defer func() { sc := -1 if iter.Response().Response.Response != nil { @@ -13426,67 +9651,67 @@ func (iter *FunctionAppStackCollectionIterator) NextWithContext(ctx context.Cont // Next advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. // Deprecated: Use NextWithContext() instead. -func (iter *FunctionAppStackCollectionIterator) Next() error { +func (iter *DetectorResponseCollectionIterator) Next() error { return iter.NextWithContext(context.Background()) } // NotDone returns true if the enumeration should be started or is not yet complete. -func (iter FunctionAppStackCollectionIterator) NotDone() bool { +func (iter DetectorResponseCollectionIterator) NotDone() bool { return iter.page.NotDone() && iter.i < len(iter.page.Values()) } // Response returns the raw server response from the last page request. -func (iter FunctionAppStackCollectionIterator) Response() FunctionAppStackCollection { +func (iter DetectorResponseCollectionIterator) Response() DetectorResponseCollection { return iter.page.Response() } // Value returns the current value or a zero-initialized value if the // iterator has advanced beyond the end of the collection. -func (iter FunctionAppStackCollectionIterator) Value() FunctionAppStack { +func (iter DetectorResponseCollectionIterator) Value() DetectorResponse { if !iter.page.NotDone() { - return FunctionAppStack{} + return DetectorResponse{} } return iter.page.Values()[iter.i] } -// Creates a new instance of the FunctionAppStackCollectionIterator type. -func NewFunctionAppStackCollectionIterator(page FunctionAppStackCollectionPage) FunctionAppStackCollectionIterator { - return FunctionAppStackCollectionIterator{page: page} +// Creates a new instance of the DetectorResponseCollectionIterator type. +func NewDetectorResponseCollectionIterator(page DetectorResponseCollectionPage) DetectorResponseCollectionIterator { + return DetectorResponseCollectionIterator{page: page} } // IsEmpty returns true if the ListResult contains no values. -func (fasc FunctionAppStackCollection) IsEmpty() bool { - return fasc.Value == nil || len(*fasc.Value) == 0 +func (drc DetectorResponseCollection) IsEmpty() bool { + return drc.Value == nil || len(*drc.Value) == 0 } // hasNextLink returns true if the NextLink is not empty. -func (fasc FunctionAppStackCollection) hasNextLink() bool { - return fasc.NextLink != nil && len(*fasc.NextLink) != 0 +func (drc DetectorResponseCollection) hasNextLink() bool { + return drc.NextLink != nil && len(*drc.NextLink) != 0 } -// functionAppStackCollectionPreparer prepares a request to retrieve the next set of results. +// detectorResponseCollectionPreparer prepares a request to retrieve the next set of results. // It returns nil if no more results exist. -func (fasc FunctionAppStackCollection) functionAppStackCollectionPreparer(ctx context.Context) (*http.Request, error) { - if !fasc.hasNextLink() { +func (drc DetectorResponseCollection) detectorResponseCollectionPreparer(ctx context.Context) (*http.Request, error) { + if !drc.hasNextLink() { return nil, nil } return autorest.Prepare((&http.Request{}).WithContext(ctx), autorest.AsJSON(), autorest.AsGet(), - autorest.WithBaseURL(to.String(fasc.NextLink))) + autorest.WithBaseURL(to.String(drc.NextLink))) } -// FunctionAppStackCollectionPage contains a page of FunctionAppStack values. -type FunctionAppStackCollectionPage struct { - fn func(context.Context, FunctionAppStackCollection) (FunctionAppStackCollection, error) - fasc FunctionAppStackCollection +// DetectorResponseCollectionPage contains a page of DetectorResponse values. +type DetectorResponseCollectionPage struct { + fn func(context.Context, DetectorResponseCollection) (DetectorResponseCollection, error) + drc DetectorResponseCollection } // NextWithContext advances to the next page of values. If there was an error making // the request the page does not advance and the error is returned. -func (page *FunctionAppStackCollectionPage) NextWithContext(ctx context.Context) (err error) { +func (page *DetectorResponseCollectionPage) NextWithContext(ctx context.Context) (err error) { if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/FunctionAppStackCollectionPage.NextWithContext") + ctx = tracing.StartSpan(ctx, fqdn+"/DetectorResponseCollectionPage.NextWithContext") defer func() { sc := -1 if page.Response().Response.Response != nil { @@ -13496,11 +9721,11 @@ func (page *FunctionAppStackCollectionPage) NextWithContext(ctx context.Context) }() } for { - next, err := page.fn(ctx, page.fasc) + next, err := page.fn(ctx, page.drc) if err != nil { return err } - page.fasc = next + page.drc = next if !next.hasNextLink() || !next.IsEmpty() { break } @@ -13511,59 +9736,55 @@ func (page *FunctionAppStackCollectionPage) NextWithContext(ctx context.Context) // Next advances to the next page of values. If there was an error making // the request the page does not advance and the error is returned. // Deprecated: Use NextWithContext() instead. -func (page *FunctionAppStackCollectionPage) Next() error { +func (page *DetectorResponseCollectionPage) Next() error { return page.NextWithContext(context.Background()) } // NotDone returns true if the page enumeration should be started or is not yet complete. -func (page FunctionAppStackCollectionPage) NotDone() bool { - return !page.fasc.IsEmpty() +func (page DetectorResponseCollectionPage) NotDone() bool { + return !page.drc.IsEmpty() } // Response returns the raw server response from the last page request. -func (page FunctionAppStackCollectionPage) Response() FunctionAppStackCollection { - return page.fasc +func (page DetectorResponseCollectionPage) Response() DetectorResponseCollection { + return page.drc } // Values returns the slice of values for the current page or nil if there are no values. -func (page FunctionAppStackCollectionPage) Values() []FunctionAppStack { - if page.fasc.IsEmpty() { +func (page DetectorResponseCollectionPage) Values() []DetectorResponse { + if page.drc.IsEmpty() { return nil } - return *page.fasc.Value -} - -// Creates a new instance of the FunctionAppStackCollectionPage type. -func NewFunctionAppStackCollectionPage(cur FunctionAppStackCollection, getNextPage func(context.Context, FunctionAppStackCollection) (FunctionAppStackCollection, error)) FunctionAppStackCollectionPage { - return FunctionAppStackCollectionPage{ - fn: getNextPage, - fasc: cur, - } + return *page.drc.Value } - -// FunctionAppStackProperties functionAppStack resource specific properties -type FunctionAppStackProperties struct { - // DisplayText - READ-ONLY; Function App stack (display only). - DisplayText *string `json:"displayText,omitempty"` - // Value - READ-ONLY; Function App stack name. - Value *string `json:"value,omitempty"` - // MajorVersions - READ-ONLY; List of major versions available. - MajorVersions *[]FunctionAppMajorVersion `json:"majorVersions,omitempty"` - // PreferredOs - READ-ONLY; Function App stack preferred OS. Possible values include: 'StackPreferredOsWindows', 'StackPreferredOsLinux' - PreferredOs StackPreferredOs `json:"preferredOs,omitempty"` + +// Creates a new instance of the DetectorResponseCollectionPage type. +func NewDetectorResponseCollectionPage(cur DetectorResponseCollection, getNextPage func(context.Context, DetectorResponseCollection) (DetectorResponseCollection, error)) DetectorResponseCollectionPage { + return DetectorResponseCollectionPage{ + fn: getNextPage, + drc: cur, + } } -// MarshalJSON is the custom marshaler for FunctionAppStackProperties. -func (fas FunctionAppStackProperties) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - return json.Marshal(objectMap) +// DetectorResponseProperties detectorResponse resource specific properties +type DetectorResponseProperties struct { + // Metadata - metadata for the detector + Metadata *DetectorInfo `json:"metadata,omitempty"` + // Dataset - Data Set + Dataset *[]DiagnosticData `json:"dataset,omitempty"` + // Status - Indicates status of the most severe insight. + Status *Status `json:"status,omitempty"` + // DataProvidersMetadata - Additional configuration for different data providers to be used by the UI + DataProvidersMetadata *[]DataProviderMetadata `json:"dataProvidersMetadata,omitempty"` + // SuggestedUtterances - Suggested utterances where the detector can be applicable. + SuggestedUtterances *QueryUtterancesResults `json:"suggestedUtterances,omitempty"` } -// FunctionEnvelope function information. -type FunctionEnvelope struct { +// DiagnosticAnalysis class representing a diagnostic analysis done on an application +type DiagnosticAnalysis struct { autorest.Response `json:"-"` - // FunctionEnvelopeProperties - FunctionEnvelope resource specific properties - *FunctionEnvelopeProperties `json:"properties,omitempty"` + // DiagnosticAnalysisProperties - DiagnosticAnalysis resource specific properties + *DiagnosticAnalysisProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. @@ -13574,20 +9795,20 @@ type FunctionEnvelope struct { Type *string `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for FunctionEnvelope. -func (fe FunctionEnvelope) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for DiagnosticAnalysis. +func (da DiagnosticAnalysis) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if fe.FunctionEnvelopeProperties != nil { - objectMap["properties"] = fe.FunctionEnvelopeProperties + if da.DiagnosticAnalysisProperties != nil { + objectMap["properties"] = da.DiagnosticAnalysisProperties } - if fe.Kind != nil { - objectMap["kind"] = fe.Kind + if da.Kind != nil { + objectMap["kind"] = da.Kind } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for FunctionEnvelope struct. -func (fe *FunctionEnvelope) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for DiagnosticAnalysis struct. +func (da *DiagnosticAnalysis) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -13597,12 +9818,12 @@ func (fe *FunctionEnvelope) UnmarshalJSON(body []byte) error { switch k { case "properties": if v != nil { - var functionEnvelopeProperties FunctionEnvelopeProperties - err = json.Unmarshal(*v, &functionEnvelopeProperties) + var diagnosticAnalysisProperties DiagnosticAnalysisProperties + err = json.Unmarshal(*v, &diagnosticAnalysisProperties) if err != nil { return err } - fe.FunctionEnvelopeProperties = &functionEnvelopeProperties + da.DiagnosticAnalysisProperties = &diagnosticAnalysisProperties } case "id": if v != nil { @@ -13611,7 +9832,7 @@ func (fe *FunctionEnvelope) UnmarshalJSON(body []byte) error { if err != nil { return err } - fe.ID = &ID + da.ID = &ID } case "name": if v != nil { @@ -13620,7 +9841,7 @@ func (fe *FunctionEnvelope) UnmarshalJSON(body []byte) error { if err != nil { return err } - fe.Name = &name + da.Name = &name } case "kind": if v != nil { @@ -13629,7 +9850,7 @@ func (fe *FunctionEnvelope) UnmarshalJSON(body []byte) error { if err != nil { return err } - fe.Kind = &kind + da.Kind = &kind } case "type": if v != nil { @@ -13638,7 +9859,7 @@ func (fe *FunctionEnvelope) UnmarshalJSON(body []byte) error { if err != nil { return err } - fe.Type = &typeVar + da.Type = &typeVar } } } @@ -13646,35 +9867,35 @@ func (fe *FunctionEnvelope) UnmarshalJSON(body []byte) error { return nil } -// FunctionEnvelopeCollection collection of Kudu function information elements. -type FunctionEnvelopeCollection struct { +// DiagnosticAnalysisCollection collection of Diagnostic Analyses +type DiagnosticAnalysisCollection struct { autorest.Response `json:"-"` // Value - Collection of resources. - Value *[]FunctionEnvelope `json:"value,omitempty"` + Value *[]AnalysisDefinition `json:"value,omitempty"` // NextLink - READ-ONLY; Link to next page of resources. NextLink *string `json:"nextLink,omitempty"` } -// MarshalJSON is the custom marshaler for FunctionEnvelopeCollection. -func (fec FunctionEnvelopeCollection) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for DiagnosticAnalysisCollection. +func (dac DiagnosticAnalysisCollection) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if fec.Value != nil { - objectMap["value"] = fec.Value + if dac.Value != nil { + objectMap["value"] = dac.Value } return json.Marshal(objectMap) } -// FunctionEnvelopeCollectionIterator provides access to a complete listing of FunctionEnvelope values. -type FunctionEnvelopeCollectionIterator struct { +// DiagnosticAnalysisCollectionIterator provides access to a complete listing of AnalysisDefinition values. +type DiagnosticAnalysisCollectionIterator struct { i int - page FunctionEnvelopeCollectionPage + page DiagnosticAnalysisCollectionPage } // NextWithContext advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. -func (iter *FunctionEnvelopeCollectionIterator) NextWithContext(ctx context.Context) (err error) { +func (iter *DiagnosticAnalysisCollectionIterator) NextWithContext(ctx context.Context) (err error) { if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/FunctionEnvelopeCollectionIterator.NextWithContext") + ctx = tracing.StartSpan(ctx, fqdn+"/DiagnosticAnalysisCollectionIterator.NextWithContext") defer func() { sc := -1 if iter.Response().Response.Response != nil { @@ -13699,67 +9920,67 @@ func (iter *FunctionEnvelopeCollectionIterator) NextWithContext(ctx context.Cont // Next advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. // Deprecated: Use NextWithContext() instead. -func (iter *FunctionEnvelopeCollectionIterator) Next() error { +func (iter *DiagnosticAnalysisCollectionIterator) Next() error { return iter.NextWithContext(context.Background()) } // NotDone returns true if the enumeration should be started or is not yet complete. -func (iter FunctionEnvelopeCollectionIterator) NotDone() bool { +func (iter DiagnosticAnalysisCollectionIterator) NotDone() bool { return iter.page.NotDone() && iter.i < len(iter.page.Values()) } // Response returns the raw server response from the last page request. -func (iter FunctionEnvelopeCollectionIterator) Response() FunctionEnvelopeCollection { +func (iter DiagnosticAnalysisCollectionIterator) Response() DiagnosticAnalysisCollection { return iter.page.Response() } // Value returns the current value or a zero-initialized value if the // iterator has advanced beyond the end of the collection. -func (iter FunctionEnvelopeCollectionIterator) Value() FunctionEnvelope { +func (iter DiagnosticAnalysisCollectionIterator) Value() AnalysisDefinition { if !iter.page.NotDone() { - return FunctionEnvelope{} + return AnalysisDefinition{} } return iter.page.Values()[iter.i] } -// Creates a new instance of the FunctionEnvelopeCollectionIterator type. -func NewFunctionEnvelopeCollectionIterator(page FunctionEnvelopeCollectionPage) FunctionEnvelopeCollectionIterator { - return FunctionEnvelopeCollectionIterator{page: page} +// Creates a new instance of the DiagnosticAnalysisCollectionIterator type. +func NewDiagnosticAnalysisCollectionIterator(page DiagnosticAnalysisCollectionPage) DiagnosticAnalysisCollectionIterator { + return DiagnosticAnalysisCollectionIterator{page: page} } // IsEmpty returns true if the ListResult contains no values. -func (fec FunctionEnvelopeCollection) IsEmpty() bool { - return fec.Value == nil || len(*fec.Value) == 0 +func (dac DiagnosticAnalysisCollection) IsEmpty() bool { + return dac.Value == nil || len(*dac.Value) == 0 } // hasNextLink returns true if the NextLink is not empty. -func (fec FunctionEnvelopeCollection) hasNextLink() bool { - return fec.NextLink != nil && len(*fec.NextLink) != 0 +func (dac DiagnosticAnalysisCollection) hasNextLink() bool { + return dac.NextLink != nil && len(*dac.NextLink) != 0 } -// functionEnvelopeCollectionPreparer prepares a request to retrieve the next set of results. +// diagnosticAnalysisCollectionPreparer prepares a request to retrieve the next set of results. // It returns nil if no more results exist. -func (fec FunctionEnvelopeCollection) functionEnvelopeCollectionPreparer(ctx context.Context) (*http.Request, error) { - if !fec.hasNextLink() { +func (dac DiagnosticAnalysisCollection) diagnosticAnalysisCollectionPreparer(ctx context.Context) (*http.Request, error) { + if !dac.hasNextLink() { return nil, nil } return autorest.Prepare((&http.Request{}).WithContext(ctx), autorest.AsJSON(), autorest.AsGet(), - autorest.WithBaseURL(to.String(fec.NextLink))) + autorest.WithBaseURL(to.String(dac.NextLink))) } -// FunctionEnvelopeCollectionPage contains a page of FunctionEnvelope values. -type FunctionEnvelopeCollectionPage struct { - fn func(context.Context, FunctionEnvelopeCollection) (FunctionEnvelopeCollection, error) - fec FunctionEnvelopeCollection +// DiagnosticAnalysisCollectionPage contains a page of AnalysisDefinition values. +type DiagnosticAnalysisCollectionPage struct { + fn func(context.Context, DiagnosticAnalysisCollection) (DiagnosticAnalysisCollection, error) + dac DiagnosticAnalysisCollection } // NextWithContext advances to the next page of values. If there was an error making // the request the page does not advance and the error is returned. -func (page *FunctionEnvelopeCollectionPage) NextWithContext(ctx context.Context) (err error) { +func (page *DiagnosticAnalysisCollectionPage) NextWithContext(ctx context.Context) (err error) { if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/FunctionEnvelopeCollectionPage.NextWithContext") + ctx = tracing.StartSpan(ctx, fqdn+"/DiagnosticAnalysisCollectionPage.NextWithContext") defer func() { sc := -1 if page.Response().Response.Response != nil { @@ -13769,11 +9990,11 @@ func (page *FunctionEnvelopeCollectionPage) NextWithContext(ctx context.Context) }() } for { - next, err := page.fn(ctx, page.fec) + next, err := page.fn(ctx, page.dac) if err != nil { return err } - page.fec = next + page.dac = next if !next.hasNextLink() || !next.IsEmpty() { break } @@ -13784,124 +10005,55 @@ func (page *FunctionEnvelopeCollectionPage) NextWithContext(ctx context.Context) // Next advances to the next page of values. If there was an error making // the request the page does not advance and the error is returned. // Deprecated: Use NextWithContext() instead. -func (page *FunctionEnvelopeCollectionPage) Next() error { +func (page *DiagnosticAnalysisCollectionPage) Next() error { return page.NextWithContext(context.Background()) } // NotDone returns true if the page enumeration should be started or is not yet complete. -func (page FunctionEnvelopeCollectionPage) NotDone() bool { - return !page.fec.IsEmpty() +func (page DiagnosticAnalysisCollectionPage) NotDone() bool { + return !page.dac.IsEmpty() } // Response returns the raw server response from the last page request. -func (page FunctionEnvelopeCollectionPage) Response() FunctionEnvelopeCollection { - return page.fec +func (page DiagnosticAnalysisCollectionPage) Response() DiagnosticAnalysisCollection { + return page.dac } // Values returns the slice of values for the current page or nil if there are no values. -func (page FunctionEnvelopeCollectionPage) Values() []FunctionEnvelope { - if page.fec.IsEmpty() { +func (page DiagnosticAnalysisCollectionPage) Values() []AnalysisDefinition { + if page.dac.IsEmpty() { return nil } - return *page.fec.Value + return *page.dac.Value } -// Creates a new instance of the FunctionEnvelopeCollectionPage type. -func NewFunctionEnvelopeCollectionPage(cur FunctionEnvelopeCollection, getNextPage func(context.Context, FunctionEnvelopeCollection) (FunctionEnvelopeCollection, error)) FunctionEnvelopeCollectionPage { - return FunctionEnvelopeCollectionPage{ +// Creates a new instance of the DiagnosticAnalysisCollectionPage type. +func NewDiagnosticAnalysisCollectionPage(cur DiagnosticAnalysisCollection, getNextPage func(context.Context, DiagnosticAnalysisCollection) (DiagnosticAnalysisCollection, error)) DiagnosticAnalysisCollectionPage { + return DiagnosticAnalysisCollectionPage{ fn: getNextPage, - fec: cur, + dac: cur, } } -// FunctionEnvelopeProperties functionEnvelope resource specific properties -type FunctionEnvelopeProperties struct { - // FunctionAppID - Function App ID. - FunctionAppID *string `json:"function_app_id,omitempty"` - // ScriptRootPathHref - Script root path URI. - ScriptRootPathHref *string `json:"script_root_path_href,omitempty"` - // ScriptHref - Script URI. - ScriptHref *string `json:"script_href,omitempty"` - // ConfigHref - Config URI. - ConfigHref *string `json:"config_href,omitempty"` - // TestDataHref - Test data URI. - TestDataHref *string `json:"test_data_href,omitempty"` - // SecretsFileHref - Secrets file URI. - SecretsFileHref *string `json:"secrets_file_href,omitempty"` - // Href - Function URI. - Href *string `json:"href,omitempty"` - // Config - Config information. - Config interface{} `json:"config,omitempty"` - // Files - File list. - Files map[string]*string `json:"files"` - // TestData - Test data used when testing via the Azure Portal. - TestData *string `json:"test_data,omitempty"` - // InvokeURLTemplate - The invocation URL - InvokeURLTemplate *string `json:"invoke_url_template,omitempty"` - // Language - The function language - Language *string `json:"language,omitempty"` - // IsDisabled - Gets or sets a value indicating whether the function is disabled - IsDisabled *bool `json:"isDisabled,omitempty"` -} - -// MarshalJSON is the custom marshaler for FunctionEnvelopeProperties. -func (fe FunctionEnvelopeProperties) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if fe.FunctionAppID != nil { - objectMap["function_app_id"] = fe.FunctionAppID - } - if fe.ScriptRootPathHref != nil { - objectMap["script_root_path_href"] = fe.ScriptRootPathHref - } - if fe.ScriptHref != nil { - objectMap["script_href"] = fe.ScriptHref - } - if fe.ConfigHref != nil { - objectMap["config_href"] = fe.ConfigHref - } - if fe.TestDataHref != nil { - objectMap["test_data_href"] = fe.TestDataHref - } - if fe.SecretsFileHref != nil { - objectMap["secrets_file_href"] = fe.SecretsFileHref - } - if fe.Href != nil { - objectMap["href"] = fe.Href - } - if fe.Config != nil { - objectMap["config"] = fe.Config - } - if fe.Files != nil { - objectMap["files"] = fe.Files - } - if fe.TestData != nil { - objectMap["test_data"] = fe.TestData - } - if fe.InvokeURLTemplate != nil { - objectMap["invoke_url_template"] = fe.InvokeURLTemplate - } - if fe.Language != nil { - objectMap["language"] = fe.Language - } - if fe.IsDisabled != nil { - objectMap["isDisabled"] = fe.IsDisabled - } - return json.Marshal(objectMap) +// DiagnosticAnalysisProperties diagnosticAnalysis resource specific properties +type DiagnosticAnalysisProperties struct { + // StartTime - Start time of the period + StartTime *date.Time `json:"startTime,omitempty"` + // EndTime - End time of the period + EndTime *date.Time `json:"endTime,omitempty"` + // AbnormalTimePeriods - List of time periods. + AbnormalTimePeriods *[]AbnormalTimePeriod `json:"abnormalTimePeriods,omitempty"` + // Payload - Data by each detector + Payload *[]AnalysisData `json:"payload,omitempty"` + // NonCorrelatedDetectors - Data by each detector for detectors that did not corelate + NonCorrelatedDetectors *[]DetectorDefinition `json:"nonCorrelatedDetectors,omitempty"` } -// FunctionSecrets function secrets. -type FunctionSecrets struct { +// DiagnosticCategory class representing detector definition +type DiagnosticCategory struct { autorest.Response `json:"-"` - // Key - Secret key. - Key *string `json:"key,omitempty"` - // TriggerURL - Trigger URL. - TriggerURL *string `json:"trigger_url,omitempty"` -} - -// GeoRegion geographical region. -type GeoRegion struct { - // GeoRegionProperties - GeoRegion resource specific properties - *GeoRegionProperties `json:"properties,omitempty"` + // DiagnosticCategoryProperties - DiagnosticCategory resource specific properties + *DiagnosticCategoryProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. @@ -13912,20 +10064,20 @@ type GeoRegion struct { Type *string `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for GeoRegion. -func (gr GeoRegion) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for DiagnosticCategory. +func (dc DiagnosticCategory) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if gr.GeoRegionProperties != nil { - objectMap["properties"] = gr.GeoRegionProperties + if dc.DiagnosticCategoryProperties != nil { + objectMap["properties"] = dc.DiagnosticCategoryProperties } - if gr.Kind != nil { - objectMap["kind"] = gr.Kind + if dc.Kind != nil { + objectMap["kind"] = dc.Kind } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for GeoRegion struct. -func (gr *GeoRegion) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for DiagnosticCategory struct. +func (dc *DiagnosticCategory) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -13935,12 +10087,12 @@ func (gr *GeoRegion) UnmarshalJSON(body []byte) error { switch k { case "properties": if v != nil { - var geoRegionProperties GeoRegionProperties - err = json.Unmarshal(*v, &geoRegionProperties) + var diagnosticCategoryProperties DiagnosticCategoryProperties + err = json.Unmarshal(*v, &diagnosticCategoryProperties) if err != nil { return err } - gr.GeoRegionProperties = &geoRegionProperties + dc.DiagnosticCategoryProperties = &diagnosticCategoryProperties } case "id": if v != nil { @@ -13949,7 +10101,7 @@ func (gr *GeoRegion) UnmarshalJSON(body []byte) error { if err != nil { return err } - gr.ID = &ID + dc.ID = &ID } case "name": if v != nil { @@ -13958,7 +10110,7 @@ func (gr *GeoRegion) UnmarshalJSON(body []byte) error { if err != nil { return err } - gr.Name = &name + dc.Name = &name } case "kind": if v != nil { @@ -13967,7 +10119,7 @@ func (gr *GeoRegion) UnmarshalJSON(body []byte) error { if err != nil { return err } - gr.Kind = &kind + dc.Kind = &kind } case "type": if v != nil { @@ -13976,7 +10128,7 @@ func (gr *GeoRegion) UnmarshalJSON(body []byte) error { if err != nil { return err } - gr.Type = &typeVar + dc.Type = &typeVar } } } @@ -13984,35 +10136,35 @@ func (gr *GeoRegion) UnmarshalJSON(body []byte) error { return nil } -// GeoRegionCollection collection of geographical regions. -type GeoRegionCollection struct { +// DiagnosticCategoryCollection collection of Diagnostic Categories +type DiagnosticCategoryCollection struct { autorest.Response `json:"-"` // Value - Collection of resources. - Value *[]GeoRegion `json:"value,omitempty"` + Value *[]DiagnosticCategory `json:"value,omitempty"` // NextLink - READ-ONLY; Link to next page of resources. NextLink *string `json:"nextLink,omitempty"` } -// MarshalJSON is the custom marshaler for GeoRegionCollection. -func (grc GeoRegionCollection) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for DiagnosticCategoryCollection. +func (dcc DiagnosticCategoryCollection) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if grc.Value != nil { - objectMap["value"] = grc.Value + if dcc.Value != nil { + objectMap["value"] = dcc.Value } return json.Marshal(objectMap) } -// GeoRegionCollectionIterator provides access to a complete listing of GeoRegion values. -type GeoRegionCollectionIterator struct { +// DiagnosticCategoryCollectionIterator provides access to a complete listing of DiagnosticCategory values. +type DiagnosticCategoryCollectionIterator struct { i int - page GeoRegionCollectionPage + page DiagnosticCategoryCollectionPage } // NextWithContext advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. -func (iter *GeoRegionCollectionIterator) NextWithContext(ctx context.Context) (err error) { +func (iter *DiagnosticCategoryCollectionIterator) NextWithContext(ctx context.Context) (err error) { if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/GeoRegionCollectionIterator.NextWithContext") + ctx = tracing.StartSpan(ctx, fqdn+"/DiagnosticCategoryCollectionIterator.NextWithContext") defer func() { sc := -1 if iter.Response().Response.Response != nil { @@ -14037,67 +10189,67 @@ func (iter *GeoRegionCollectionIterator) NextWithContext(ctx context.Context) (e // Next advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. // Deprecated: Use NextWithContext() instead. -func (iter *GeoRegionCollectionIterator) Next() error { +func (iter *DiagnosticCategoryCollectionIterator) Next() error { return iter.NextWithContext(context.Background()) } // NotDone returns true if the enumeration should be started or is not yet complete. -func (iter GeoRegionCollectionIterator) NotDone() bool { +func (iter DiagnosticCategoryCollectionIterator) NotDone() bool { return iter.page.NotDone() && iter.i < len(iter.page.Values()) } // Response returns the raw server response from the last page request. -func (iter GeoRegionCollectionIterator) Response() GeoRegionCollection { +func (iter DiagnosticCategoryCollectionIterator) Response() DiagnosticCategoryCollection { return iter.page.Response() } // Value returns the current value or a zero-initialized value if the // iterator has advanced beyond the end of the collection. -func (iter GeoRegionCollectionIterator) Value() GeoRegion { +func (iter DiagnosticCategoryCollectionIterator) Value() DiagnosticCategory { if !iter.page.NotDone() { - return GeoRegion{} + return DiagnosticCategory{} } return iter.page.Values()[iter.i] } -// Creates a new instance of the GeoRegionCollectionIterator type. -func NewGeoRegionCollectionIterator(page GeoRegionCollectionPage) GeoRegionCollectionIterator { - return GeoRegionCollectionIterator{page: page} +// Creates a new instance of the DiagnosticCategoryCollectionIterator type. +func NewDiagnosticCategoryCollectionIterator(page DiagnosticCategoryCollectionPage) DiagnosticCategoryCollectionIterator { + return DiagnosticCategoryCollectionIterator{page: page} } // IsEmpty returns true if the ListResult contains no values. -func (grc GeoRegionCollection) IsEmpty() bool { - return grc.Value == nil || len(*grc.Value) == 0 +func (dcc DiagnosticCategoryCollection) IsEmpty() bool { + return dcc.Value == nil || len(*dcc.Value) == 0 } // hasNextLink returns true if the NextLink is not empty. -func (grc GeoRegionCollection) hasNextLink() bool { - return grc.NextLink != nil && len(*grc.NextLink) != 0 +func (dcc DiagnosticCategoryCollection) hasNextLink() bool { + return dcc.NextLink != nil && len(*dcc.NextLink) != 0 } -// geoRegionCollectionPreparer prepares a request to retrieve the next set of results. +// diagnosticCategoryCollectionPreparer prepares a request to retrieve the next set of results. // It returns nil if no more results exist. -func (grc GeoRegionCollection) geoRegionCollectionPreparer(ctx context.Context) (*http.Request, error) { - if !grc.hasNextLink() { +func (dcc DiagnosticCategoryCollection) diagnosticCategoryCollectionPreparer(ctx context.Context) (*http.Request, error) { + if !dcc.hasNextLink() { return nil, nil } return autorest.Prepare((&http.Request{}).WithContext(ctx), autorest.AsJSON(), autorest.AsGet(), - autorest.WithBaseURL(to.String(grc.NextLink))) + autorest.WithBaseURL(to.String(dcc.NextLink))) } -// GeoRegionCollectionPage contains a page of GeoRegion values. -type GeoRegionCollectionPage struct { - fn func(context.Context, GeoRegionCollection) (GeoRegionCollection, error) - grc GeoRegionCollection +// DiagnosticCategoryCollectionPage contains a page of DiagnosticCategory values. +type DiagnosticCategoryCollectionPage struct { + fn func(context.Context, DiagnosticCategoryCollection) (DiagnosticCategoryCollection, error) + dcc DiagnosticCategoryCollection } // NextWithContext advances to the next page of values. If there was an error making // the request the page does not advance and the error is returned. -func (page *GeoRegionCollectionPage) NextWithContext(ctx context.Context) (err error) { +func (page *DiagnosticCategoryCollectionPage) NextWithContext(ctx context.Context) (err error) { if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/GeoRegionCollectionPage.NextWithContext") + ctx = tracing.StartSpan(ctx, fqdn+"/DiagnosticCategoryCollectionPage.NextWithContext") defer func() { sc := -1 if page.Response().Response.Response != nil { @@ -14107,11 +10259,11 @@ func (page *GeoRegionCollectionPage) NextWithContext(ctx context.Context) (err e }() } for { - next, err := page.fn(ctx, page.grc) + next, err := page.fn(ctx, page.dcc) if err != nil { return err } - page.grc = next + page.dcc = next if !next.hasNextLink() || !next.IsEmpty() { break } @@ -14122,217 +10274,229 @@ func (page *GeoRegionCollectionPage) NextWithContext(ctx context.Context) (err e // Next advances to the next page of values. If there was an error making // the request the page does not advance and the error is returned. // Deprecated: Use NextWithContext() instead. -func (page *GeoRegionCollectionPage) Next() error { +func (page *DiagnosticCategoryCollectionPage) Next() error { return page.NextWithContext(context.Background()) } // NotDone returns true if the page enumeration should be started or is not yet complete. -func (page GeoRegionCollectionPage) NotDone() bool { - return !page.grc.IsEmpty() +func (page DiagnosticCategoryCollectionPage) NotDone() bool { + return !page.dcc.IsEmpty() } // Response returns the raw server response from the last page request. -func (page GeoRegionCollectionPage) Response() GeoRegionCollection { - return page.grc +func (page DiagnosticCategoryCollectionPage) Response() DiagnosticCategoryCollection { + return page.dcc } // Values returns the slice of values for the current page or nil if there are no values. -func (page GeoRegionCollectionPage) Values() []GeoRegion { - if page.grc.IsEmpty() { +func (page DiagnosticCategoryCollectionPage) Values() []DiagnosticCategory { + if page.dcc.IsEmpty() { return nil } - return *page.grc.Value + return *page.dcc.Value } -// Creates a new instance of the GeoRegionCollectionPage type. -func NewGeoRegionCollectionPage(cur GeoRegionCollection, getNextPage func(context.Context, GeoRegionCollection) (GeoRegionCollection, error)) GeoRegionCollectionPage { - return GeoRegionCollectionPage{ +// Creates a new instance of the DiagnosticCategoryCollectionPage type. +func NewDiagnosticCategoryCollectionPage(cur DiagnosticCategoryCollection, getNextPage func(context.Context, DiagnosticCategoryCollection) (DiagnosticCategoryCollection, error)) DiagnosticCategoryCollectionPage { + return DiagnosticCategoryCollectionPage{ fn: getNextPage, - grc: cur, + dcc: cur, } } -// GeoRegionProperties geoRegion resource specific properties -type GeoRegionProperties struct { - // Description - READ-ONLY; Region description. +// DiagnosticCategoryProperties diagnosticCategory resource specific properties +type DiagnosticCategoryProperties struct { + // Description - READ-ONLY; Description of the diagnostic category Description *string `json:"description,omitempty"` - // DisplayName - READ-ONLY; Display name for region. - DisplayName *string `json:"displayName,omitempty"` - // OrgDomain - READ-ONLY; Display name for region. - OrgDomain *string `json:"orgDomain,omitempty"` } -// MarshalJSON is the custom marshaler for GeoRegionProperties. -func (gr GeoRegionProperties) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for DiagnosticCategoryProperties. +func (dc DiagnosticCategoryProperties) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) return json.Marshal(objectMap) } -// GitHub the configuration settings of the GitHub provider. -type GitHub struct { - // GitHubProperties - GitHub resource specific properties - *GitHubProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` +// DiagnosticData set of data with rendering instructions +type DiagnosticData struct { + // Table - Data in table form + Table *DataTableResponseObject `json:"table,omitempty"` + // RenderingProperties - Properties that describe how the table should be rendered + RenderingProperties *Rendering `json:"renderingProperties,omitempty"` +} + +// DiagnosticDetectorCollection collection of Diagnostic Detectors +type DiagnosticDetectorCollection struct { + autorest.Response `json:"-"` + // Value - Collection of resources. + Value *[]DetectorDefinition `json:"value,omitempty"` + // NextLink - READ-ONLY; Link to next page of resources. + NextLink *string `json:"nextLink,omitempty"` } -// MarshalJSON is the custom marshaler for GitHub. -func (gh GitHub) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for DiagnosticDetectorCollection. +func (ddc DiagnosticDetectorCollection) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if gh.GitHubProperties != nil { - objectMap["properties"] = gh.GitHubProperties - } - if gh.Kind != nil { - objectMap["kind"] = gh.Kind + if ddc.Value != nil { + objectMap["value"] = ddc.Value } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for GitHub struct. -func (gh *GitHub) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) +// DiagnosticDetectorCollectionIterator provides access to a complete listing of DetectorDefinition values. +type DiagnosticDetectorCollectionIterator struct { + i int + page DiagnosticDetectorCollectionPage +} + +// NextWithContext advances to the next value. If there was an error making +// the request the iterator does not advance and the error is returned. +func (iter *DiagnosticDetectorCollectionIterator) NextWithContext(ctx context.Context) (err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/DiagnosticDetectorCollectionIterator.NextWithContext") + defer func() { + sc := -1 + if iter.Response().Response.Response != nil { + sc = iter.Response().Response.Response.StatusCode + } + tracing.EndSpan(ctx, sc, err) + }() + } + iter.i++ + if iter.i < len(iter.page.Values()) { + return nil + } + err = iter.page.NextWithContext(ctx) if err != nil { + iter.i-- return err } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var gitHubProperties GitHubProperties - err = json.Unmarshal(*v, &gitHubProperties) - if err != nil { - return err - } - gh.GitHubProperties = &gitHubProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - gh.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - gh.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - gh.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - gh.Type = &typeVar - } - } + iter.i = 0 + return nil +} + +// Next advances to the next value. If there was an error making +// the request the iterator does not advance and the error is returned. +// Deprecated: Use NextWithContext() instead. +func (iter *DiagnosticDetectorCollectionIterator) Next() error { + return iter.NextWithContext(context.Background()) +} + +// NotDone returns true if the enumeration should be started or is not yet complete. +func (iter DiagnosticDetectorCollectionIterator) NotDone() bool { + return iter.page.NotDone() && iter.i < len(iter.page.Values()) +} + +// Response returns the raw server response from the last page request. +func (iter DiagnosticDetectorCollectionIterator) Response() DiagnosticDetectorCollection { + return iter.page.Response() +} + +// Value returns the current value or a zero-initialized value if the +// iterator has advanced beyond the end of the collection. +func (iter DiagnosticDetectorCollectionIterator) Value() DetectorDefinition { + if !iter.page.NotDone() { + return DetectorDefinition{} } + return iter.page.Values()[iter.i] +} - return nil +// Creates a new instance of the DiagnosticDetectorCollectionIterator type. +func NewDiagnosticDetectorCollectionIterator(page DiagnosticDetectorCollectionPage) DiagnosticDetectorCollectionIterator { + return DiagnosticDetectorCollectionIterator{page: page} } -// GitHubActionCodeConfiguration the GitHub action code configuration. -type GitHubActionCodeConfiguration struct { - // RuntimeStack - Runtime stack is used to determine the workflow file content for code base apps. - RuntimeStack *string `json:"runtimeStack,omitempty"` - // RuntimeVersion - Runtime version is used to determine what build version to set in the workflow file. - RuntimeVersion *string `json:"runtimeVersion,omitempty"` +// IsEmpty returns true if the ListResult contains no values. +func (ddc DiagnosticDetectorCollection) IsEmpty() bool { + return ddc.Value == nil || len(*ddc.Value) == 0 } -// GitHubActionConfiguration the GitHub action configuration. -type GitHubActionConfiguration struct { - // CodeConfiguration - GitHub Action code configuration. - CodeConfiguration *GitHubActionCodeConfiguration `json:"codeConfiguration,omitempty"` - // ContainerConfiguration - GitHub Action container configuration. - ContainerConfiguration *GitHubActionContainerConfiguration `json:"containerConfiguration,omitempty"` - // IsLinux - This will help determine the workflow configuration to select. - IsLinux *bool `json:"isLinux,omitempty"` - // GenerateWorkflowFile - Workflow option to determine whether the workflow file should be generated and written to the repository. - GenerateWorkflowFile *bool `json:"generateWorkflowFile,omitempty"` +// hasNextLink returns true if the NextLink is not empty. +func (ddc DiagnosticDetectorCollection) hasNextLink() bool { + return ddc.NextLink != nil && len(*ddc.NextLink) != 0 } -// GitHubActionContainerConfiguration the GitHub action container configuration. -type GitHubActionContainerConfiguration struct { - // ServerURL - The server URL for the container registry where the build will be hosted. - ServerURL *string `json:"serverUrl,omitempty"` - // ImageName - The image name for the build. - ImageName *string `json:"imageName,omitempty"` - // Username - The username used to upload the image to the container registry. - Username *string `json:"username,omitempty"` - // Password - The password used to upload the image to the container registry. - Password *string `json:"password,omitempty"` +// diagnosticDetectorCollectionPreparer prepares a request to retrieve the next set of results. +// It returns nil if no more results exist. +func (ddc DiagnosticDetectorCollection) diagnosticDetectorCollectionPreparer(ctx context.Context) (*http.Request, error) { + if !ddc.hasNextLink() { + return nil, nil + } + return autorest.Prepare((&http.Request{}).WithContext(ctx), + autorest.AsJSON(), + autorest.AsGet(), + autorest.WithBaseURL(to.String(ddc.NextLink))) } -// GitHubActionWebAppStackSettings gitHub Actions Web App stack settings. -type GitHubActionWebAppStackSettings struct { - // IsSupported - READ-ONLY; true if GitHub Actions is supported for the stack; otherwise, false. - IsSupported *bool `json:"isSupported,omitempty"` - // SupportedVersion - READ-ONLY; The minor version that is supported for GitHub Actions. - SupportedVersion *string `json:"supportedVersion,omitempty"` +// DiagnosticDetectorCollectionPage contains a page of DetectorDefinition values. +type DiagnosticDetectorCollectionPage struct { + fn func(context.Context, DiagnosticDetectorCollection) (DiagnosticDetectorCollection, error) + ddc DiagnosticDetectorCollection } -// MarshalJSON is the custom marshaler for GitHubActionWebAppStackSettings. -func (ghawass GitHubActionWebAppStackSettings) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - return json.Marshal(objectMap) +// NextWithContext advances to the next page of values. If there was an error making +// the request the page does not advance and the error is returned. +func (page *DiagnosticDetectorCollectionPage) NextWithContext(ctx context.Context) (err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/DiagnosticDetectorCollectionPage.NextWithContext") + defer func() { + sc := -1 + if page.Response().Response.Response != nil { + sc = page.Response().Response.Response.StatusCode + } + tracing.EndSpan(ctx, sc, err) + }() + } + for { + next, err := page.fn(ctx, page.ddc) + if err != nil { + return err + } + page.ddc = next + if !next.hasNextLink() || !next.IsEmpty() { + break + } + } + return nil } -// GitHubProperties gitHub resource specific properties -type GitHubProperties struct { - // Enabled - false if the GitHub provider should not be enabled despite the set registration; otherwise, true. - Enabled *bool `json:"enabled,omitempty"` - // Registration - The configuration settings of the app registration for the GitHub provider. - Registration *ClientRegistration `json:"registration,omitempty"` - // Login - The configuration settings of the login flow. - Login *LoginScopes `json:"login,omitempty"` +// Next advances to the next page of values. If there was an error making +// the request the page does not advance and the error is returned. +// Deprecated: Use NextWithContext() instead. +func (page *DiagnosticDetectorCollectionPage) Next() error { + return page.NextWithContext(context.Background()) } -// GlobalCsmSkuDescription a Global SKU Description. -type GlobalCsmSkuDescription struct { - // Name - Name of the resource SKU. - Name *string `json:"name,omitempty"` - // Tier - Service Tier of the resource SKU. - Tier *string `json:"tier,omitempty"` - // Size - Size specifier of the resource SKU. - Size *string `json:"size,omitempty"` - // Family - Family code of the resource SKU. - Family *string `json:"family,omitempty"` - // Capacity - Min, max, and default scale values of the SKU. - Capacity *SkuCapacity `json:"capacity,omitempty"` - // Locations - Locations of the SKU. - Locations *[]string `json:"locations,omitempty"` - // Capabilities - Capabilities of the SKU, e.g., is traffic manager enabled? - Capabilities *[]Capability `json:"capabilities,omitempty"` +// NotDone returns true if the page enumeration should be started or is not yet complete. +func (page DiagnosticDetectorCollectionPage) NotDone() bool { + return !page.ddc.IsEmpty() } -// GlobalValidation the configuration settings that determines the validation flow of users using App -// Service Authentication/Authorization. -type GlobalValidation struct { - // GlobalValidationProperties - GlobalValidation resource specific properties - *GlobalValidationProperties `json:"properties,omitempty"` +// Response returns the raw server response from the last page request. +func (page DiagnosticDetectorCollectionPage) Response() DiagnosticDetectorCollection { + return page.ddc +} + +// Values returns the slice of values for the current page or nil if there are no values. +func (page DiagnosticDetectorCollectionPage) Values() []DetectorDefinition { + if page.ddc.IsEmpty() { + return nil + } + return *page.ddc.Value +} + +// Creates a new instance of the DiagnosticDetectorCollectionPage type. +func NewDiagnosticDetectorCollectionPage(cur DiagnosticDetectorCollection, getNextPage func(context.Context, DiagnosticDetectorCollection) (DiagnosticDetectorCollection, error)) DiagnosticDetectorCollectionPage { + return DiagnosticDetectorCollectionPage{ + fn: getNextPage, + ddc: cur, + } +} + +// DiagnosticDetectorResponse class representing Response from Diagnostic Detectors +type DiagnosticDetectorResponse struct { + autorest.Response `json:"-"` + // DiagnosticDetectorResponseProperties - DiagnosticDetectorResponse resource specific properties + *DiagnosticDetectorResponseProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. @@ -14343,20 +10507,20 @@ type GlobalValidation struct { Type *string `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for GlobalValidation. -func (gv GlobalValidation) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for DiagnosticDetectorResponse. +func (ddr DiagnosticDetectorResponse) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if gv.GlobalValidationProperties != nil { - objectMap["properties"] = gv.GlobalValidationProperties + if ddr.DiagnosticDetectorResponseProperties != nil { + objectMap["properties"] = ddr.DiagnosticDetectorResponseProperties } - if gv.Kind != nil { - objectMap["kind"] = gv.Kind + if ddr.Kind != nil { + objectMap["kind"] = ddr.Kind } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for GlobalValidation struct. -func (gv *GlobalValidation) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for DiagnosticDetectorResponse struct. +func (ddr *DiagnosticDetectorResponse) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -14366,12 +10530,12 @@ func (gv *GlobalValidation) UnmarshalJSON(body []byte) error { switch k { case "properties": if v != nil { - var globalValidationProperties GlobalValidationProperties - err = json.Unmarshal(*v, &globalValidationProperties) + var diagnosticDetectorResponseProperties DiagnosticDetectorResponseProperties + err = json.Unmarshal(*v, &diagnosticDetectorResponseProperties) if err != nil { return err } - gv.GlobalValidationProperties = &globalValidationProperties + ddr.DiagnosticDetectorResponseProperties = &diagnosticDetectorResponseProperties } case "id": if v != nil { @@ -14380,7 +10544,7 @@ func (gv *GlobalValidation) UnmarshalJSON(body []byte) error { if err != nil { return err } - gv.ID = &ID + ddr.ID = &ID } case "name": if v != nil { @@ -14389,7 +10553,7 @@ func (gv *GlobalValidation) UnmarshalJSON(body []byte) error { if err != nil { return err } - gv.Name = &name + ddr.Name = &name } case "kind": if v != nil { @@ -14398,7 +10562,7 @@ func (gv *GlobalValidation) UnmarshalJSON(body []byte) error { if err != nil { return err } - gv.Kind = &kind + ddr.Kind = &kind } case "type": if v != nil { @@ -14407,7 +10571,7 @@ func (gv *GlobalValidation) UnmarshalJSON(body []byte) error { if err != nil { return err } - gv.Type = &typeVar + ddr.Type = &typeVar } } } @@ -14415,48 +10579,109 @@ func (gv *GlobalValidation) UnmarshalJSON(body []byte) error { return nil } -// GlobalValidationProperties globalValidation resource specific properties -type GlobalValidationProperties struct { - // RequireAuthentication - true if the authentication flow is required any request is made; otherwise, false. - RequireAuthentication *bool `json:"requireAuthentication,omitempty"` - // UnauthenticatedClientAction - The action to take when an unauthenticated client attempts to access the app. Possible values include: 'UnauthenticatedClientActionV2RedirectToLoginPage', 'UnauthenticatedClientActionV2AllowAnonymous', 'UnauthenticatedClientActionV2Return401', 'UnauthenticatedClientActionV2Return403' - UnauthenticatedClientAction UnauthenticatedClientActionV2 `json:"unauthenticatedClientAction,omitempty"` - // RedirectToProvider - The default authentication provider to use when multiple providers are configured. - // This setting is only needed if multiple providers are configured and the unauthenticated client - // action is set to "RedirectToLoginPage". - RedirectToProvider *string `json:"redirectToProvider,omitempty"` - // ExcludedPaths - The paths for which unauthenticated flow would not be redirected to the login page. - ExcludedPaths *[]string `json:"excludedPaths,omitempty"` +// DiagnosticDetectorResponseProperties diagnosticDetectorResponse resource specific properties +type DiagnosticDetectorResponseProperties struct { + // StartTime - Start time of the period + StartTime *date.Time `json:"startTime,omitempty"` + // EndTime - End time of the period + EndTime *date.Time `json:"endTime,omitempty"` + // IssueDetected - Flag representing Issue was detected. + IssueDetected *bool `json:"issueDetected,omitempty"` + // DetectorDefinition - Detector's definition + DetectorDefinition *DetectorDefinition `json:"detectorDefinition,omitempty"` + // Metrics - Metrics provided by the detector + Metrics *[]DiagnosticMetricSet `json:"metrics,omitempty"` + // AbnormalTimePeriods - List of Correlated events found by the detector + AbnormalTimePeriods *[]DetectorAbnormalTimePeriod `json:"abnormalTimePeriods,omitempty"` + // Data - Additional Data that detector wants to send. + Data *[][]NameValuePair `json:"data,omitempty"` + // ResponseMetaData - Meta Data + ResponseMetaData *ResponseMetaData `json:"responseMetaData,omitempty"` } -// Google the configuration settings of the Google provider. -type Google struct { - // GoogleProperties - Google resource specific properties - *GoogleProperties `json:"properties,omitempty"` +// DiagnosticMetricSample class representing Diagnostic Metric +type DiagnosticMetricSample struct { + // Timestamp - Time at which metric is measured + Timestamp *date.Time `json:"timestamp,omitempty"` + // RoleInstance - Role Instance. Null if this counter is not per instance + // This is returned and should be whichever instance name we desire to be returned + // i.e. CPU and Memory return RDWORKERNAME (LargeDed..._IN_0) + // where RDWORKERNAME is Machine name below and RoleInstance name in parenthesis + RoleInstance *string `json:"roleInstance,omitempty"` + // Total - Total value of the metric. If multiple measurements are made this will have sum of all. + Total *float64 `json:"total,omitempty"` + // Maximum - Maximum of the metric sampled during the time period + Maximum *float64 `json:"maximum,omitempty"` + // Minimum - Minimum of the metric sampled during the time period + Minimum *float64 `json:"minimum,omitempty"` + // IsAggregated - Whether the values are aggregates across all workers or not + IsAggregated *bool `json:"isAggregated,omitempty"` +} + +// DiagnosticMetricSet class representing Diagnostic Metric information +type DiagnosticMetricSet struct { + // Name - Name of the metric + Name *string `json:"name,omitempty"` + // Unit - Metric's unit + Unit *string `json:"unit,omitempty"` + // StartTime - Start time of the period + StartTime *date.Time `json:"startTime,omitempty"` + // EndTime - End time of the period + EndTime *date.Time `json:"endTime,omitempty"` + // TimeGrain - Presented time grain. Supported grains at the moment are PT1M, PT1H, P1D + TimeGrain *string `json:"timeGrain,omitempty"` + // Values - Collection of metric values for the selected period based on the {Microsoft.Web.Hosting.Administration.DiagnosticMetricSet.TimeGrain} + Values *[]DiagnosticMetricSample `json:"values,omitempty"` +} + +// Dimension dimension of a resource metric. For e.g. instance specific HTTP requests for a web app, +// where instance name is dimension of the metric HTTP request +type Dimension struct { + Name *string `json:"name,omitempty"` + DisplayName *string `json:"displayName,omitempty"` + InternalName *string `json:"internalName,omitempty"` + ToBeExportedForShoebox *bool `json:"toBeExportedForShoebox,omitempty"` +} + +// Domain information about a domain. +type Domain struct { + autorest.Response `json:"-"` + // DomainProperties - Domain resource specific properties + *DomainProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` + // Location - Resource Location. + Location *string `json:"location,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` + // Tags - Resource tags. + Tags map[string]*string `json:"tags"` } -// MarshalJSON is the custom marshaler for Google. -func (g Google) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for Domain. +func (d Domain) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if g.GoogleProperties != nil { - objectMap["properties"] = g.GoogleProperties + if d.DomainProperties != nil { + objectMap["properties"] = d.DomainProperties + } + if d.Kind != nil { + objectMap["kind"] = d.Kind } - if g.Kind != nil { - objectMap["kind"] = g.Kind + if d.Location != nil { + objectMap["location"] = d.Location + } + if d.Tags != nil { + objectMap["tags"] = d.Tags } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for Google struct. -func (g *Google) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for Domain struct. +func (d *Domain) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -14466,12 +10691,12 @@ func (g *Google) UnmarshalJSON(body []byte) error { switch k { case "properties": if v != nil { - var googleProperties GoogleProperties - err = json.Unmarshal(*v, &googleProperties) + var domainProperties DomainProperties + err = json.Unmarshal(*v, &domainProperties) if err != nil { return err } - g.GoogleProperties = &googleProperties + d.DomainProperties = &domainProperties } case "id": if v != nil { @@ -14480,7 +10705,7 @@ func (g *Google) UnmarshalJSON(body []byte) error { if err != nil { return err } - g.ID = &ID + d.ID = &ID } case "name": if v != nil { @@ -14489,7 +10714,7 @@ func (g *Google) UnmarshalJSON(body []byte) error { if err != nil { return err } - g.Name = &name + d.Name = &name } case "kind": if v != nil { @@ -14498,7 +10723,16 @@ func (g *Google) UnmarshalJSON(body []byte) error { if err != nil { return err } - g.Kind = &kind + d.Kind = &kind + } + case "location": + if v != nil { + var location string + err = json.Unmarshal(*v, &location) + if err != nil { + return err + } + d.Location = &location } case "type": if v != nil { @@ -14507,7 +10741,16 @@ func (g *Google) UnmarshalJSON(body []byte) error { if err != nil { return err } - g.Type = &typeVar + d.Type = &typeVar + } + case "tags": + if v != nil { + var tags map[string]*string + err = json.Unmarshal(*v, &tags) + if err != nil { + return err + } + d.Tags = tags } } } @@ -14515,114 +10758,207 @@ func (g *Google) UnmarshalJSON(body []byte) error { return nil } -// GoogleProperties google resource specific properties -type GoogleProperties struct { - // Enabled - false if the Google provider should not be enabled despite the set registration; otherwise, true. - Enabled *bool `json:"enabled,omitempty"` - // Registration - The configuration settings of the app registration for the Google provider. - Registration *ClientRegistration `json:"registration,omitempty"` - // Login - The configuration settings of the login flow. - Login *LoginScopes `json:"login,omitempty"` - // Validation - The configuration settings of the Azure Active Directory token validation flow. - Validation *AllowedAudiencesValidation `json:"validation,omitempty"` +// DomainAvailabilityCheckResult domain availability check result. +type DomainAvailabilityCheckResult struct { + autorest.Response `json:"-"` + // Name - Name of the domain. + Name *string `json:"name,omitempty"` + // Available - true if domain can be purchased using CreateDomain API; otherwise, false. + Available *bool `json:"available,omitempty"` + // DomainType - Valid values are Regular domain: Azure will charge the full price of domain registration, SoftDeleted: Purchasing this domain will simply restore it and this operation will not cost anything. Possible values include: 'DomainTypeRegular', 'DomainTypeSoftDeleted' + DomainType DomainType `json:"domainType,omitempty"` } -// HandlerMapping the IIS handler mappings used to define which handler processes HTTP requests with -// certain extension. -// For example, it is used to configure php-cgi.exe process to handle all HTTP requests with *.php -// extension. -type HandlerMapping struct { - // Extension - Requests with this extension will be handled using the specified FastCGI application. - Extension *string `json:"extension,omitempty"` - // ScriptProcessor - The absolute path to the FastCGI application. - ScriptProcessor *string `json:"scriptProcessor,omitempty"` - // Arguments - Command-line arguments to be passed to the script processor. - Arguments *string `json:"arguments,omitempty"` +// DomainCollection collection of domains. +type DomainCollection struct { + autorest.Response `json:"-"` + // Value - Collection of resources. + Value *[]Domain `json:"value,omitempty"` + // NextLink - READ-ONLY; Link to next page of resources. + NextLink *string `json:"nextLink,omitempty"` } -// HostingEnvironmentDeploymentInfo information needed to create resources on an App Service Environment. -type HostingEnvironmentDeploymentInfo struct { - // Name - Name of the App Service Environment. - Name *string `json:"name,omitempty"` - // Location - Location of the App Service Environment. - Location *string `json:"location,omitempty"` +// MarshalJSON is the custom marshaler for DomainCollection. +func (dc DomainCollection) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if dc.Value != nil { + objectMap["value"] = dc.Value + } + return json.Marshal(objectMap) } -// HostingEnvironmentDiagnostics diagnostics for an App Service Environment. -type HostingEnvironmentDiagnostics struct { - autorest.Response `json:"-"` - // Name - Name/identifier of the diagnostics. - Name *string `json:"name,omitempty"` - // DiagnosticsOutput - Diagnostics output. - DiagnosticsOutput *string `json:"diagnosticsOutput,omitempty"` +// DomainCollectionIterator provides access to a complete listing of Domain values. +type DomainCollectionIterator struct { + i int + page DomainCollectionPage } -// HostingEnvironmentProfile specification for an App Service Environment to use for this resource. -type HostingEnvironmentProfile struct { - // ID - Resource ID of the App Service Environment. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Name of the App Service Environment. - Name *string `json:"name,omitempty"` - // Type - READ-ONLY; Resource type of the App Service Environment. - Type *string `json:"type,omitempty"` +// NextWithContext advances to the next value. If there was an error making +// the request the iterator does not advance and the error is returned. +func (iter *DomainCollectionIterator) NextWithContext(ctx context.Context) (err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/DomainCollectionIterator.NextWithContext") + defer func() { + sc := -1 + if iter.Response().Response.Response != nil { + sc = iter.Response().Response.Response.StatusCode + } + tracing.EndSpan(ctx, sc, err) + }() + } + iter.i++ + if iter.i < len(iter.page.Values()) { + return nil + } + err = iter.page.NextWithContext(ctx) + if err != nil { + iter.i-- + return err + } + iter.i = 0 + return nil } -// MarshalJSON is the custom marshaler for HostingEnvironmentProfile. -func (hep HostingEnvironmentProfile) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if hep.ID != nil { - objectMap["id"] = hep.ID +// Next advances to the next value. If there was an error making +// the request the iterator does not advance and the error is returned. +// Deprecated: Use NextWithContext() instead. +func (iter *DomainCollectionIterator) Next() error { + return iter.NextWithContext(context.Background()) +} + +// NotDone returns true if the enumeration should be started or is not yet complete. +func (iter DomainCollectionIterator) NotDone() bool { + return iter.page.NotDone() && iter.i < len(iter.page.Values()) +} + +// Response returns the raw server response from the last page request. +func (iter DomainCollectionIterator) Response() DomainCollection { + return iter.page.Response() +} + +// Value returns the current value or a zero-initialized value if the +// iterator has advanced beyond the end of the collection. +func (iter DomainCollectionIterator) Value() Domain { + if !iter.page.NotDone() { + return Domain{} } - return json.Marshal(objectMap) + return iter.page.Values()[iter.i] } -// HostKeys functions host level keys. -type HostKeys struct { - autorest.Response `json:"-"` - // MasterKey - Secret key. - MasterKey *string `json:"masterKey,omitempty"` - // FunctionKeys - Host level function keys. - FunctionKeys map[string]*string `json:"functionKeys"` - // SystemKeys - System keys. - SystemKeys map[string]*string `json:"systemKeys"` +// Creates a new instance of the DomainCollectionIterator type. +func NewDomainCollectionIterator(page DomainCollectionPage) DomainCollectionIterator { + return DomainCollectionIterator{page: page} +} + +// IsEmpty returns true if the ListResult contains no values. +func (dc DomainCollection) IsEmpty() bool { + return dc.Value == nil || len(*dc.Value) == 0 +} + +// hasNextLink returns true if the NextLink is not empty. +func (dc DomainCollection) hasNextLink() bool { + return dc.NextLink != nil && len(*dc.NextLink) != 0 +} + +// domainCollectionPreparer prepares a request to retrieve the next set of results. +// It returns nil if no more results exist. +func (dc DomainCollection) domainCollectionPreparer(ctx context.Context) (*http.Request, error) { + if !dc.hasNextLink() { + return nil, nil + } + return autorest.Prepare((&http.Request{}).WithContext(ctx), + autorest.AsJSON(), + autorest.AsGet(), + autorest.WithBaseURL(to.String(dc.NextLink))) +} + +// DomainCollectionPage contains a page of Domain values. +type DomainCollectionPage struct { + fn func(context.Context, DomainCollection) (DomainCollection, error) + dc DomainCollection +} + +// NextWithContext advances to the next page of values. If there was an error making +// the request the page does not advance and the error is returned. +func (page *DomainCollectionPage) NextWithContext(ctx context.Context) (err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/DomainCollectionPage.NextWithContext") + defer func() { + sc := -1 + if page.Response().Response.Response != nil { + sc = page.Response().Response.Response.StatusCode + } + tracing.EndSpan(ctx, sc, err) + }() + } + for { + next, err := page.fn(ctx, page.dc) + if err != nil { + return err + } + page.dc = next + if !next.hasNextLink() || !next.IsEmpty() { + break + } + } + return nil +} + +// Next advances to the next page of values. If there was an error making +// the request the page does not advance and the error is returned. +// Deprecated: Use NextWithContext() instead. +func (page *DomainCollectionPage) Next() error { + return page.NextWithContext(context.Background()) +} + +// NotDone returns true if the page enumeration should be started or is not yet complete. +func (page DomainCollectionPage) NotDone() bool { + return !page.dc.IsEmpty() +} + +// Response returns the raw server response from the last page request. +func (page DomainCollectionPage) Response() DomainCollection { + return page.dc +} + +// Values returns the slice of values for the current page or nil if there are no values. +func (page DomainCollectionPage) Values() []Domain { + if page.dc.IsEmpty() { + return nil + } + return *page.dc.Value +} + +// Creates a new instance of the DomainCollectionPage type. +func NewDomainCollectionPage(cur DomainCollection, getNextPage func(context.Context, DomainCollection) (DomainCollection, error)) DomainCollectionPage { + return DomainCollectionPage{ + fn: getNextPage, + dc: cur, + } +} + +// DomainControlCenterSsoRequest single sign-on request information for domain management. +type DomainControlCenterSsoRequest struct { + autorest.Response `json:"-"` + // URL - READ-ONLY; URL where the single sign-on request is to be made. + URL *string `json:"url,omitempty"` + // PostParameterKey - READ-ONLY; Post parameter key. + PostParameterKey *string `json:"postParameterKey,omitempty"` + // PostParameterValue - READ-ONLY; Post parameter value. Client should use 'application/x-www-form-urlencoded' encoding for this value. + PostParameterValue *string `json:"postParameterValue,omitempty"` } -// MarshalJSON is the custom marshaler for HostKeys. -func (hk HostKeys) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for DomainControlCenterSsoRequest. +func (dccsr DomainControlCenterSsoRequest) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if hk.MasterKey != nil { - objectMap["masterKey"] = hk.MasterKey - } - if hk.FunctionKeys != nil { - objectMap["functionKeys"] = hk.FunctionKeys - } - if hk.SystemKeys != nil { - objectMap["systemKeys"] = hk.SystemKeys - } return json.Marshal(objectMap) } -// HostName details of a hostname derived from a domain. -type HostName struct { - // Name - Name of the hostname. - Name *string `json:"name,omitempty"` - // SiteNames - List of apps the hostname is assigned to. This list will have more than one app only if the hostname is pointing to a Traffic Manager. - SiteNames *[]string `json:"siteNames,omitempty"` - // AzureResourceName - Name of the Azure resource the hostname is assigned to. If it is assigned to a Traffic Manager then it will be the Traffic Manager name otherwise it will be the app name. - AzureResourceName *string `json:"azureResourceName,omitempty"` - // AzureResourceType - Type of the Azure resource the hostname is assigned to. Possible values include: 'AzureResourceTypeWebsite', 'AzureResourceTypeTrafficManager' - AzureResourceType AzureResourceType `json:"azureResourceType,omitempty"` - // CustomHostNameDNSRecordType - Type of the DNS record. Possible values include: 'CustomHostNameDNSRecordTypeCName', 'CustomHostNameDNSRecordTypeA' - CustomHostNameDNSRecordType CustomHostNameDNSRecordType `json:"customHostNameDnsRecordType,omitempty"` - // HostNameType - Type of the hostname. Possible values include: 'HostNameTypeVerified', 'HostNameTypeManaged' - HostNameType HostNameType `json:"hostNameType,omitempty"` -} - -// HostNameBinding a hostname binding object. -type HostNameBinding struct { +// DomainOwnershipIdentifier domain ownership Identifier. +type DomainOwnershipIdentifier struct { autorest.Response `json:"-"` - // HostNameBindingProperties - HostNameBinding resource specific properties - *HostNameBindingProperties `json:"properties,omitempty"` + // DomainOwnershipIdentifierProperties - DomainOwnershipIdentifier resource specific properties + *DomainOwnershipIdentifierProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. @@ -14633,20 +10969,20 @@ type HostNameBinding struct { Type *string `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for HostNameBinding. -func (hnb HostNameBinding) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for DomainOwnershipIdentifier. +func (doi DomainOwnershipIdentifier) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if hnb.HostNameBindingProperties != nil { - objectMap["properties"] = hnb.HostNameBindingProperties + if doi.DomainOwnershipIdentifierProperties != nil { + objectMap["properties"] = doi.DomainOwnershipIdentifierProperties } - if hnb.Kind != nil { - objectMap["kind"] = hnb.Kind + if doi.Kind != nil { + objectMap["kind"] = doi.Kind } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for HostNameBinding struct. -func (hnb *HostNameBinding) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for DomainOwnershipIdentifier struct. +func (doi *DomainOwnershipIdentifier) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -14656,12 +10992,12 @@ func (hnb *HostNameBinding) UnmarshalJSON(body []byte) error { switch k { case "properties": if v != nil { - var hostNameBindingProperties HostNameBindingProperties - err = json.Unmarshal(*v, &hostNameBindingProperties) + var domainOwnershipIdentifierProperties DomainOwnershipIdentifierProperties + err = json.Unmarshal(*v, &domainOwnershipIdentifierProperties) if err != nil { return err } - hnb.HostNameBindingProperties = &hostNameBindingProperties + doi.DomainOwnershipIdentifierProperties = &domainOwnershipIdentifierProperties } case "id": if v != nil { @@ -14670,7 +11006,7 @@ func (hnb *HostNameBinding) UnmarshalJSON(body []byte) error { if err != nil { return err } - hnb.ID = &ID + doi.ID = &ID } case "name": if v != nil { @@ -14679,7 +11015,7 @@ func (hnb *HostNameBinding) UnmarshalJSON(body []byte) error { if err != nil { return err } - hnb.Name = &name + doi.Name = &name } case "kind": if v != nil { @@ -14688,7 +11024,7 @@ func (hnb *HostNameBinding) UnmarshalJSON(body []byte) error { if err != nil { return err } - hnb.Kind = &kind + doi.Kind = &kind } case "type": if v != nil { @@ -14697,7 +11033,7 @@ func (hnb *HostNameBinding) UnmarshalJSON(body []byte) error { if err != nil { return err } - hnb.Type = &typeVar + doi.Type = &typeVar } } } @@ -14705,35 +11041,36 @@ func (hnb *HostNameBinding) UnmarshalJSON(body []byte) error { return nil } -// HostNameBindingCollection collection of hostname bindings. -type HostNameBindingCollection struct { +// DomainOwnershipIdentifierCollection collection of domain ownership identifiers. +type DomainOwnershipIdentifierCollection struct { autorest.Response `json:"-"` // Value - Collection of resources. - Value *[]HostNameBinding `json:"value,omitempty"` + Value *[]DomainOwnershipIdentifier `json:"value,omitempty"` // NextLink - READ-ONLY; Link to next page of resources. NextLink *string `json:"nextLink,omitempty"` } -// MarshalJSON is the custom marshaler for HostNameBindingCollection. -func (hnbc HostNameBindingCollection) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for DomainOwnershipIdentifierCollection. +func (doic DomainOwnershipIdentifierCollection) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if hnbc.Value != nil { - objectMap["value"] = hnbc.Value + if doic.Value != nil { + objectMap["value"] = doic.Value } return json.Marshal(objectMap) } -// HostNameBindingCollectionIterator provides access to a complete listing of HostNameBinding values. -type HostNameBindingCollectionIterator struct { +// DomainOwnershipIdentifierCollectionIterator provides access to a complete listing of +// DomainOwnershipIdentifier values. +type DomainOwnershipIdentifierCollectionIterator struct { i int - page HostNameBindingCollectionPage + page DomainOwnershipIdentifierCollectionPage } // NextWithContext advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. -func (iter *HostNameBindingCollectionIterator) NextWithContext(ctx context.Context) (err error) { +func (iter *DomainOwnershipIdentifierCollectionIterator) NextWithContext(ctx context.Context) (err error) { if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/HostNameBindingCollectionIterator.NextWithContext") + ctx = tracing.StartSpan(ctx, fqdn+"/DomainOwnershipIdentifierCollectionIterator.NextWithContext") defer func() { sc := -1 if iter.Response().Response.Response != nil { @@ -14758,67 +11095,67 @@ func (iter *HostNameBindingCollectionIterator) NextWithContext(ctx context.Conte // Next advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. // Deprecated: Use NextWithContext() instead. -func (iter *HostNameBindingCollectionIterator) Next() error { +func (iter *DomainOwnershipIdentifierCollectionIterator) Next() error { return iter.NextWithContext(context.Background()) } // NotDone returns true if the enumeration should be started or is not yet complete. -func (iter HostNameBindingCollectionIterator) NotDone() bool { +func (iter DomainOwnershipIdentifierCollectionIterator) NotDone() bool { return iter.page.NotDone() && iter.i < len(iter.page.Values()) } // Response returns the raw server response from the last page request. -func (iter HostNameBindingCollectionIterator) Response() HostNameBindingCollection { +func (iter DomainOwnershipIdentifierCollectionIterator) Response() DomainOwnershipIdentifierCollection { return iter.page.Response() } // Value returns the current value or a zero-initialized value if the // iterator has advanced beyond the end of the collection. -func (iter HostNameBindingCollectionIterator) Value() HostNameBinding { +func (iter DomainOwnershipIdentifierCollectionIterator) Value() DomainOwnershipIdentifier { if !iter.page.NotDone() { - return HostNameBinding{} + return DomainOwnershipIdentifier{} } return iter.page.Values()[iter.i] } -// Creates a new instance of the HostNameBindingCollectionIterator type. -func NewHostNameBindingCollectionIterator(page HostNameBindingCollectionPage) HostNameBindingCollectionIterator { - return HostNameBindingCollectionIterator{page: page} +// Creates a new instance of the DomainOwnershipIdentifierCollectionIterator type. +func NewDomainOwnershipIdentifierCollectionIterator(page DomainOwnershipIdentifierCollectionPage) DomainOwnershipIdentifierCollectionIterator { + return DomainOwnershipIdentifierCollectionIterator{page: page} } // IsEmpty returns true if the ListResult contains no values. -func (hnbc HostNameBindingCollection) IsEmpty() bool { - return hnbc.Value == nil || len(*hnbc.Value) == 0 +func (doic DomainOwnershipIdentifierCollection) IsEmpty() bool { + return doic.Value == nil || len(*doic.Value) == 0 } // hasNextLink returns true if the NextLink is not empty. -func (hnbc HostNameBindingCollection) hasNextLink() bool { - return hnbc.NextLink != nil && len(*hnbc.NextLink) != 0 +func (doic DomainOwnershipIdentifierCollection) hasNextLink() bool { + return doic.NextLink != nil && len(*doic.NextLink) != 0 } -// hostNameBindingCollectionPreparer prepares a request to retrieve the next set of results. +// domainOwnershipIdentifierCollectionPreparer prepares a request to retrieve the next set of results. // It returns nil if no more results exist. -func (hnbc HostNameBindingCollection) hostNameBindingCollectionPreparer(ctx context.Context) (*http.Request, error) { - if !hnbc.hasNextLink() { +func (doic DomainOwnershipIdentifierCollection) domainOwnershipIdentifierCollectionPreparer(ctx context.Context) (*http.Request, error) { + if !doic.hasNextLink() { return nil, nil } return autorest.Prepare((&http.Request{}).WithContext(ctx), autorest.AsJSON(), autorest.AsGet(), - autorest.WithBaseURL(to.String(hnbc.NextLink))) + autorest.WithBaseURL(to.String(doic.NextLink))) } -// HostNameBindingCollectionPage contains a page of HostNameBinding values. -type HostNameBindingCollectionPage struct { - fn func(context.Context, HostNameBindingCollection) (HostNameBindingCollection, error) - hnbc HostNameBindingCollection +// DomainOwnershipIdentifierCollectionPage contains a page of DomainOwnershipIdentifier values. +type DomainOwnershipIdentifierCollectionPage struct { + fn func(context.Context, DomainOwnershipIdentifierCollection) (DomainOwnershipIdentifierCollection, error) + doic DomainOwnershipIdentifierCollection } // NextWithContext advances to the next page of values. If there was an error making // the request the page does not advance and the error is returned. -func (page *HostNameBindingCollectionPage) NextWithContext(ctx context.Context) (err error) { +func (page *DomainOwnershipIdentifierCollectionPage) NextWithContext(ctx context.Context) (err error) { if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/HostNameBindingCollectionPage.NextWithContext") + ctx = tracing.StartSpan(ctx, fqdn+"/DomainOwnershipIdentifierCollectionPage.NextWithContext") defer func() { sc := -1 if page.Response().Response.Response != nil { @@ -14828,228 +11165,61 @@ func (page *HostNameBindingCollectionPage) NextWithContext(ctx context.Context) }() } for { - next, err := page.fn(ctx, page.hnbc) + next, err := page.fn(ctx, page.doic) if err != nil { return err - } - page.hnbc = next - if !next.hasNextLink() || !next.IsEmpty() { - break - } - } - return nil -} - -// Next advances to the next page of values. If there was an error making -// the request the page does not advance and the error is returned. -// Deprecated: Use NextWithContext() instead. -func (page *HostNameBindingCollectionPage) Next() error { - return page.NextWithContext(context.Background()) -} - -// NotDone returns true if the page enumeration should be started or is not yet complete. -func (page HostNameBindingCollectionPage) NotDone() bool { - return !page.hnbc.IsEmpty() -} - -// Response returns the raw server response from the last page request. -func (page HostNameBindingCollectionPage) Response() HostNameBindingCollection { - return page.hnbc -} - -// Values returns the slice of values for the current page or nil if there are no values. -func (page HostNameBindingCollectionPage) Values() []HostNameBinding { - if page.hnbc.IsEmpty() { - return nil - } - return *page.hnbc.Value -} - -// Creates a new instance of the HostNameBindingCollectionPage type. -func NewHostNameBindingCollectionPage(cur HostNameBindingCollection, getNextPage func(context.Context, HostNameBindingCollection) (HostNameBindingCollection, error)) HostNameBindingCollectionPage { - return HostNameBindingCollectionPage{ - fn: getNextPage, - hnbc: cur, - } -} - -// HostNameBindingProperties hostNameBinding resource specific properties -type HostNameBindingProperties struct { - // SiteName - App Service app name. - SiteName *string `json:"siteName,omitempty"` - // DomainID - Fully qualified ARM domain resource URI. - DomainID *string `json:"domainId,omitempty"` - // AzureResourceName - Azure resource name. - AzureResourceName *string `json:"azureResourceName,omitempty"` - // AzureResourceType - Azure resource type. Possible values include: 'AzureResourceTypeWebsite', 'AzureResourceTypeTrafficManager' - AzureResourceType AzureResourceType `json:"azureResourceType,omitempty"` - // CustomHostNameDNSRecordType - Custom DNS record type. Possible values include: 'CustomHostNameDNSRecordTypeCName', 'CustomHostNameDNSRecordTypeA' - CustomHostNameDNSRecordType CustomHostNameDNSRecordType `json:"customHostNameDnsRecordType,omitempty"` - // HostNameType - Hostname type. Possible values include: 'HostNameTypeVerified', 'HostNameTypeManaged' - HostNameType HostNameType `json:"hostNameType,omitempty"` - // SslState - SSL type. Possible values include: 'SslStateDisabled', 'SslStateSniEnabled', 'SslStateIPBasedEnabled' - SslState SslState `json:"sslState,omitempty"` - // Thumbprint - SSL certificate thumbprint - Thumbprint *string `json:"thumbprint,omitempty"` - // VirtualIP - READ-ONLY; Virtual IP address assigned to the hostname if IP based SSL is enabled. - VirtualIP *string `json:"virtualIP,omitempty"` -} - -// MarshalJSON is the custom marshaler for HostNameBindingProperties. -func (hnb HostNameBindingProperties) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if hnb.SiteName != nil { - objectMap["siteName"] = hnb.SiteName - } - if hnb.DomainID != nil { - objectMap["domainId"] = hnb.DomainID - } - if hnb.AzureResourceName != nil { - objectMap["azureResourceName"] = hnb.AzureResourceName - } - if hnb.AzureResourceType != "" { - objectMap["azureResourceType"] = hnb.AzureResourceType - } - if hnb.CustomHostNameDNSRecordType != "" { - objectMap["customHostNameDnsRecordType"] = hnb.CustomHostNameDNSRecordType - } - if hnb.HostNameType != "" { - objectMap["hostNameType"] = hnb.HostNameType - } - if hnb.SslState != "" { - objectMap["sslState"] = hnb.SslState - } - if hnb.Thumbprint != nil { - objectMap["thumbprint"] = hnb.Thumbprint - } - return json.Marshal(objectMap) -} - -// HostNameSslState SSL-enabled hostname. -type HostNameSslState struct { - // Name - Hostname. - Name *string `json:"name,omitempty"` - // SslState - SSL type. Possible values include: 'SslStateDisabled', 'SslStateSniEnabled', 'SslStateIPBasedEnabled' - SslState SslState `json:"sslState,omitempty"` - // VirtualIP - Virtual IP address assigned to the hostname if IP based SSL is enabled. - VirtualIP *string `json:"virtualIP,omitempty"` - // Thumbprint - SSL certificate thumbprint. - Thumbprint *string `json:"thumbprint,omitempty"` - // ToUpdate - Set to true to update existing hostname. - ToUpdate *bool `json:"toUpdate,omitempty"` - // HostType - Indicates whether the hostname is a standard or repository hostname. Possible values include: 'HostTypeStandard', 'HostTypeRepository' - HostType HostType `json:"hostType,omitempty"` + } + page.doic = next + if !next.hasNextLink() || !next.IsEmpty() { + break + } + } + return nil } -// HTTPLogsConfig http logs configuration. -type HTTPLogsConfig struct { - // FileSystem - Http logs to file system configuration. - FileSystem *FileSystemHTTPLogsConfig `json:"fileSystem,omitempty"` - // AzureBlobStorage - Http logs to azure blob storage configuration. - AzureBlobStorage *AzureBlobStorageHTTPLogsConfig `json:"azureBlobStorage,omitempty"` +// Next advances to the next page of values. If there was an error making +// the request the page does not advance and the error is returned. +// Deprecated: Use NextWithContext() instead. +func (page *DomainOwnershipIdentifierCollectionPage) Next() error { + return page.NextWithContext(context.Background()) } -// HTTPSettings the configuration settings of the HTTP requests for authentication and authorization -// requests made against App Service Authentication/Authorization. -type HTTPSettings struct { - // HTTPSettingsProperties - HttpSettings resource specific properties - *HTTPSettingsProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` +// NotDone returns true if the page enumeration should be started or is not yet complete. +func (page DomainOwnershipIdentifierCollectionPage) NotDone() bool { + return !page.doic.IsEmpty() } -// MarshalJSON is the custom marshaler for HTTPSettings. -func (hs HTTPSettings) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if hs.HTTPSettingsProperties != nil { - objectMap["properties"] = hs.HTTPSettingsProperties - } - if hs.Kind != nil { - objectMap["kind"] = hs.Kind - } - return json.Marshal(objectMap) +// Response returns the raw server response from the last page request. +func (page DomainOwnershipIdentifierCollectionPage) Response() DomainOwnershipIdentifierCollection { + return page.doic } -// UnmarshalJSON is the custom unmarshaler for HTTPSettings struct. -func (hs *HTTPSettings) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var HTTPSettingsProperties HTTPSettingsProperties - err = json.Unmarshal(*v, &HTTPSettingsProperties) - if err != nil { - return err - } - hs.HTTPSettingsProperties = &HTTPSettingsProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - hs.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - hs.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - hs.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - hs.Type = &typeVar - } - } +// Values returns the slice of values for the current page or nil if there are no values. +func (page DomainOwnershipIdentifierCollectionPage) Values() []DomainOwnershipIdentifier { + if page.doic.IsEmpty() { + return nil } + return *page.doic.Value +} - return nil +// Creates a new instance of the DomainOwnershipIdentifierCollectionPage type. +func NewDomainOwnershipIdentifierCollectionPage(cur DomainOwnershipIdentifierCollection, getNextPage func(context.Context, DomainOwnershipIdentifierCollection) (DomainOwnershipIdentifierCollection, error)) DomainOwnershipIdentifierCollectionPage { + return DomainOwnershipIdentifierCollectionPage{ + fn: getNextPage, + doic: cur, + } } -// HTTPSettingsProperties httpSettings resource specific properties -type HTTPSettingsProperties struct { - // RequireHTTPS - false if the authentication/authorization responses not having the HTTPS scheme are permissible; otherwise, true. - RequireHTTPS *bool `json:"requireHttps,omitempty"` - // Routes - The configuration settings of the paths HTTP requests. - Routes *HTTPSettingsRoutes `json:"routes,omitempty"` - // ForwardProxy - The configuration settings of a forward proxy used to make the requests. - ForwardProxy *ForwardProxy `json:"forwardProxy,omitempty"` +// DomainOwnershipIdentifierProperties domainOwnershipIdentifier resource specific properties +type DomainOwnershipIdentifierProperties struct { + // OwnershipID - Ownership Id. + OwnershipID *string `json:"ownershipId,omitempty"` } -// HTTPSettingsRoutes the configuration settings of the paths HTTP requests. -type HTTPSettingsRoutes struct { - // HTTPSettingsRoutesProperties - HttpSettingsRoutes resource specific properties - *HTTPSettingsRoutesProperties `json:"properties,omitempty"` +// DomainPatchResource ARM resource for a domain. +type DomainPatchResource struct { + // DomainPatchResourceProperties - DomainPatchResource resource specific properties + *DomainPatchResourceProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. @@ -15060,20 +11230,20 @@ type HTTPSettingsRoutes struct { Type *string `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for HTTPSettingsRoutes. -func (hsr HTTPSettingsRoutes) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for DomainPatchResource. +func (dpr DomainPatchResource) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if hsr.HTTPSettingsRoutesProperties != nil { - objectMap["properties"] = hsr.HTTPSettingsRoutesProperties + if dpr.DomainPatchResourceProperties != nil { + objectMap["properties"] = dpr.DomainPatchResourceProperties } - if hsr.Kind != nil { - objectMap["kind"] = hsr.Kind + if dpr.Kind != nil { + objectMap["kind"] = dpr.Kind } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for HTTPSettingsRoutes struct. -func (hsr *HTTPSettingsRoutes) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for DomainPatchResource struct. +func (dpr *DomainPatchResource) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -15083,12 +11253,12 @@ func (hsr *HTTPSettingsRoutes) UnmarshalJSON(body []byte) error { switch k { case "properties": if v != nil { - var HTTPSettingsRoutesProperties HTTPSettingsRoutesProperties - err = json.Unmarshal(*v, &HTTPSettingsRoutesProperties) + var domainPatchResourceProperties DomainPatchResourceProperties + err = json.Unmarshal(*v, &domainPatchResourceProperties) if err != nil { return err } - hsr.HTTPSettingsRoutesProperties = &HTTPSettingsRoutesProperties + dpr.DomainPatchResourceProperties = &domainPatchResourceProperties } case "id": if v != nil { @@ -15097,7 +11267,7 @@ func (hsr *HTTPSettingsRoutes) UnmarshalJSON(body []byte) error { if err != nil { return err } - hsr.ID = &ID + dpr.ID = &ID } case "name": if v != nil { @@ -15106,7 +11276,7 @@ func (hsr *HTTPSettingsRoutes) UnmarshalJSON(body []byte) error { if err != nil { return err } - hsr.Name = &name + dpr.Name = &name } case "kind": if v != nil { @@ -15115,7 +11285,7 @@ func (hsr *HTTPSettingsRoutes) UnmarshalJSON(body []byte) error { if err != nil { return err } - hsr.Kind = &kind + dpr.Kind = &kind } case "type": if v != nil { @@ -15124,7 +11294,7 @@ func (hsr *HTTPSettingsRoutes) UnmarshalJSON(body []byte) error { if err != nil { return err } - hsr.Type = &typeVar + dpr.Type = &typeVar } } } @@ -15132,375 +11302,445 @@ func (hsr *HTTPSettingsRoutes) UnmarshalJSON(body []byte) error { return nil } -// HTTPSettingsRoutesProperties httpSettingsRoutes resource specific properties -type HTTPSettingsRoutesProperties struct { - // APIPrefix - The prefix that should precede all the authentication/authorization paths. - APIPrefix *string `json:"apiPrefix,omitempty"` +// DomainPatchResourceProperties domainPatchResource resource specific properties +type DomainPatchResourceProperties struct { + // ContactAdmin - Administrative contact. + ContactAdmin *Contact `json:"contactAdmin,omitempty"` + // ContactBilling - Billing contact. + ContactBilling *Contact `json:"contactBilling,omitempty"` + // ContactRegistrant - Registrant contact. + ContactRegistrant *Contact `json:"contactRegistrant,omitempty"` + // ContactTech - Technical contact. + ContactTech *Contact `json:"contactTech,omitempty"` + // RegistrationStatus - READ-ONLY; Domain registration status. Possible values include: 'DomainStatusActive', 'DomainStatusAwaiting', 'DomainStatusCancelled', 'DomainStatusConfiscated', 'DomainStatusDisabled', 'DomainStatusExcluded', 'DomainStatusExpired', 'DomainStatusFailed', 'DomainStatusHeld', 'DomainStatusLocked', 'DomainStatusParked', 'DomainStatusPending', 'DomainStatusReserved', 'DomainStatusReverted', 'DomainStatusSuspended', 'DomainStatusTransferred', 'DomainStatusUnknown', 'DomainStatusUnlocked', 'DomainStatusUnparked', 'DomainStatusUpdated', 'DomainStatusJSONConverterFailed' + RegistrationStatus DomainStatus `json:"registrationStatus,omitempty"` + // ProvisioningState - READ-ONLY; Domain provisioning state. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateFailed', 'ProvisioningStateCanceled', 'ProvisioningStateInProgress', 'ProvisioningStateDeleting' + ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` + // NameServers - READ-ONLY; Name servers. + NameServers *[]string `json:"nameServers,omitempty"` + // Privacy - true if domain privacy is enabled for this domain; otherwise, false. + Privacy *bool `json:"privacy,omitempty"` + // CreatedTime - READ-ONLY; Domain creation timestamp. + CreatedTime *date.Time `json:"createdTime,omitempty"` + // ExpirationTime - READ-ONLY; Domain expiration timestamp. + ExpirationTime *date.Time `json:"expirationTime,omitempty"` + // LastRenewedTime - READ-ONLY; Timestamp when the domain was renewed last time. + LastRenewedTime *date.Time `json:"lastRenewedTime,omitempty"` + // AutoRenew - true if the domain should be automatically renewed; otherwise, false. + AutoRenew *bool `json:"autoRenew,omitempty"` + // ReadyForDNSRecordManagement - READ-ONLY; true if Azure can assign this domain to App Service apps; otherwise, false. This value will be true if domain registration status is active and + // it is hosted on name servers Azure has programmatic access to. + ReadyForDNSRecordManagement *bool `json:"readyForDnsRecordManagement,omitempty"` + // ManagedHostNames - READ-ONLY; All hostnames derived from the domain and assigned to Azure resources. + ManagedHostNames *[]HostName `json:"managedHostNames,omitempty"` + // Consent - Legal agreement consent. + Consent *DomainPurchaseConsent `json:"consent,omitempty"` + // DomainNotRenewableReasons - READ-ONLY; Reasons why domain is not renewable. + DomainNotRenewableReasons *[]string `json:"domainNotRenewableReasons,omitempty"` + // DNSType - Current DNS type. Possible values include: 'DNSTypeAzureDNS', 'DNSTypeDefaultDomainRegistrarDNS' + DNSType DNSType `json:"dnsType,omitempty"` + // DNSZoneID - Azure DNS Zone to use + DNSZoneID *string `json:"dnsZoneId,omitempty"` + // TargetDNSType - Target DNS type (would be used for migration). Possible values include: 'DNSTypeAzureDNS', 'DNSTypeDefaultDomainRegistrarDNS' + TargetDNSType DNSType `json:"targetDnsType,omitempty"` + AuthCode *string `json:"authCode,omitempty"` } -// HybridConnection hybrid Connection contract. This is used to configure a Hybrid Connection. -type HybridConnection struct { - autorest.Response `json:"-"` - // HybridConnectionProperties - HybridConnection resource specific properties - *HybridConnectionProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` +// MarshalJSON is the custom marshaler for DomainPatchResourceProperties. +func (dpr DomainPatchResourceProperties) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if dpr.ContactAdmin != nil { + objectMap["contactAdmin"] = dpr.ContactAdmin + } + if dpr.ContactBilling != nil { + objectMap["contactBilling"] = dpr.ContactBilling + } + if dpr.ContactRegistrant != nil { + objectMap["contactRegistrant"] = dpr.ContactRegistrant + } + if dpr.ContactTech != nil { + objectMap["contactTech"] = dpr.ContactTech + } + if dpr.Privacy != nil { + objectMap["privacy"] = dpr.Privacy + } + if dpr.AutoRenew != nil { + objectMap["autoRenew"] = dpr.AutoRenew + } + if dpr.Consent != nil { + objectMap["consent"] = dpr.Consent + } + if dpr.DNSType != "" { + objectMap["dnsType"] = dpr.DNSType + } + if dpr.DNSZoneID != nil { + objectMap["dnsZoneId"] = dpr.DNSZoneID + } + if dpr.TargetDNSType != "" { + objectMap["targetDnsType"] = dpr.TargetDNSType + } + if dpr.AuthCode != nil { + objectMap["authCode"] = dpr.AuthCode + } + return json.Marshal(objectMap) +} + +// DomainProperties domain resource specific properties +type DomainProperties struct { + // ContactAdmin - Administrative contact. + ContactAdmin *Contact `json:"contactAdmin,omitempty"` + // ContactBilling - Billing contact. + ContactBilling *Contact `json:"contactBilling,omitempty"` + // ContactRegistrant - Registrant contact. + ContactRegistrant *Contact `json:"contactRegistrant,omitempty"` + // ContactTech - Technical contact. + ContactTech *Contact `json:"contactTech,omitempty"` + // RegistrationStatus - READ-ONLY; Domain registration status. Possible values include: 'DomainStatusActive', 'DomainStatusAwaiting', 'DomainStatusCancelled', 'DomainStatusConfiscated', 'DomainStatusDisabled', 'DomainStatusExcluded', 'DomainStatusExpired', 'DomainStatusFailed', 'DomainStatusHeld', 'DomainStatusLocked', 'DomainStatusParked', 'DomainStatusPending', 'DomainStatusReserved', 'DomainStatusReverted', 'DomainStatusSuspended', 'DomainStatusTransferred', 'DomainStatusUnknown', 'DomainStatusUnlocked', 'DomainStatusUnparked', 'DomainStatusUpdated', 'DomainStatusJSONConverterFailed' + RegistrationStatus DomainStatus `json:"registrationStatus,omitempty"` + // ProvisioningState - READ-ONLY; Domain provisioning state. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateFailed', 'ProvisioningStateCanceled', 'ProvisioningStateInProgress', 'ProvisioningStateDeleting' + ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` + // NameServers - READ-ONLY; Name servers. + NameServers *[]string `json:"nameServers,omitempty"` + // Privacy - true if domain privacy is enabled for this domain; otherwise, false. + Privacy *bool `json:"privacy,omitempty"` + // CreatedTime - READ-ONLY; Domain creation timestamp. + CreatedTime *date.Time `json:"createdTime,omitempty"` + // ExpirationTime - READ-ONLY; Domain expiration timestamp. + ExpirationTime *date.Time `json:"expirationTime,omitempty"` + // LastRenewedTime - READ-ONLY; Timestamp when the domain was renewed last time. + LastRenewedTime *date.Time `json:"lastRenewedTime,omitempty"` + // AutoRenew - true if the domain should be automatically renewed; otherwise, false. + AutoRenew *bool `json:"autoRenew,omitempty"` + // ReadyForDNSRecordManagement - READ-ONLY; true if Azure can assign this domain to App Service apps; otherwise, false. This value will be true if domain registration status is active and + // it is hosted on name servers Azure has programmatic access to. + ReadyForDNSRecordManagement *bool `json:"readyForDnsRecordManagement,omitempty"` + // ManagedHostNames - READ-ONLY; All hostnames derived from the domain and assigned to Azure resources. + ManagedHostNames *[]HostName `json:"managedHostNames,omitempty"` + // Consent - Legal agreement consent. + Consent *DomainPurchaseConsent `json:"consent,omitempty"` + // DomainNotRenewableReasons - READ-ONLY; Reasons why domain is not renewable. + DomainNotRenewableReasons *[]string `json:"domainNotRenewableReasons,omitempty"` + // DNSType - Current DNS type. Possible values include: 'DNSTypeAzureDNS', 'DNSTypeDefaultDomainRegistrarDNS' + DNSType DNSType `json:"dnsType,omitempty"` + // DNSZoneID - Azure DNS Zone to use + DNSZoneID *string `json:"dnsZoneId,omitempty"` + // TargetDNSType - Target DNS type (would be used for migration). Possible values include: 'DNSTypeAzureDNS', 'DNSTypeDefaultDomainRegistrarDNS' + TargetDNSType DNSType `json:"targetDnsType,omitempty"` + AuthCode *string `json:"authCode,omitempty"` } -// MarshalJSON is the custom marshaler for HybridConnection. -func (hc HybridConnection) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for DomainProperties. +func (d DomainProperties) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if hc.HybridConnectionProperties != nil { - objectMap["properties"] = hc.HybridConnectionProperties + if d.ContactAdmin != nil { + objectMap["contactAdmin"] = d.ContactAdmin } - if hc.Kind != nil { - objectMap["kind"] = hc.Kind + if d.ContactBilling != nil { + objectMap["contactBilling"] = d.ContactBilling } - return json.Marshal(objectMap) -} - -// UnmarshalJSON is the custom unmarshaler for HybridConnection struct. -func (hc *HybridConnection) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err + if d.ContactRegistrant != nil { + objectMap["contactRegistrant"] = d.ContactRegistrant } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var hybridConnectionProperties HybridConnectionProperties - err = json.Unmarshal(*v, &hybridConnectionProperties) - if err != nil { - return err - } - hc.HybridConnectionProperties = &hybridConnectionProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - hc.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - hc.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - hc.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - hc.Type = &typeVar - } - } + if d.ContactTech != nil { + objectMap["contactTech"] = d.ContactTech + } + if d.Privacy != nil { + objectMap["privacy"] = d.Privacy + } + if d.AutoRenew != nil { + objectMap["autoRenew"] = d.AutoRenew + } + if d.Consent != nil { + objectMap["consent"] = d.Consent + } + if d.DNSType != "" { + objectMap["dnsType"] = d.DNSType } + if d.DNSZoneID != nil { + objectMap["dnsZoneId"] = d.DNSZoneID + } + if d.TargetDNSType != "" { + objectMap["targetDnsType"] = d.TargetDNSType + } + if d.AuthCode != nil { + objectMap["authCode"] = d.AuthCode + } + return json.Marshal(objectMap) +} - return nil +// DomainPurchaseConsent domain purchase consent object, representing acceptance of applicable legal +// agreements. +type DomainPurchaseConsent struct { + // AgreementKeys - List of applicable legal agreement keys. This list can be retrieved using ListLegalAgreements API under TopLevelDomain resource. + AgreementKeys *[]string `json:"agreementKeys,omitempty"` + // AgreedBy - Client IP address. + AgreedBy *string `json:"agreedBy,omitempty"` + // AgreedAt - Timestamp when the agreements were accepted. + AgreedAt *date.Time `json:"agreedAt,omitempty"` } -// HybridConnectionCollection collection of hostname bindings. -type HybridConnectionCollection struct { - autorest.Response `json:"-"` - // Value - Collection of resources. - Value *[]HybridConnection `json:"value,omitempty"` - // NextLink - READ-ONLY; Link to next page of resources. - NextLink *string `json:"nextLink,omitempty"` +// DomainRecommendationSearchParameters domain recommendation search parameters. +type DomainRecommendationSearchParameters struct { + // Keywords - Keywords to be used for generating domain recommendations. + Keywords *string `json:"keywords,omitempty"` + // MaxDomainRecommendations - Maximum number of recommendations. + MaxDomainRecommendations *int32 `json:"maxDomainRecommendations,omitempty"` } -// MarshalJSON is the custom marshaler for HybridConnectionCollection. -func (hcc HybridConnectionCollection) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if hcc.Value != nil { - objectMap["value"] = hcc.Value - } - return json.Marshal(objectMap) +// DomainsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running +// operation. +type DomainsCreateOrUpdateFuture struct { + azure.FutureAPI + // Result returns the result of the asynchronous operation. + // If the operation has not completed it will return an error. + Result func(DomainsClient) (Domain, error) } -// HybridConnectionCollectionIterator provides access to a complete listing of HybridConnection values. -type HybridConnectionCollectionIterator struct { - i int - page HybridConnectionCollectionPage +// UnmarshalJSON is the custom unmarshaller for CreateFuture. +func (future *DomainsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error { + var azFuture azure.Future + if err := json.Unmarshal(body, &azFuture); err != nil { + return err + } + future.FutureAPI = &azFuture + future.Result = future.result + return nil } -// NextWithContext advances to the next value. If there was an error making -// the request the iterator does not advance and the error is returned. -func (iter *HybridConnectionCollectionIterator) NextWithContext(ctx context.Context) (err error) { - if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/HybridConnectionCollectionIterator.NextWithContext") - defer func() { - sc := -1 - if iter.Response().Response.Response != nil { - sc = iter.Response().Response.Response.StatusCode - } - tracing.EndSpan(ctx, sc, err) - }() +// result is the default implementation for DomainsCreateOrUpdateFuture.Result. +func (future *DomainsCreateOrUpdateFuture) result(client DomainsClient) (d Domain, err error) { + var done bool + done, err = future.DoneWithContext(context.Background(), client) + if err != nil { + err = autorest.NewErrorWithError(err, "web.DomainsCreateOrUpdateFuture", "Result", future.Response(), "Polling failure") + return } - iter.i++ - if iter.i < len(iter.page.Values()) { - return nil + if !done { + d.Response.Response = future.Response() + err = azure.NewAsyncOpIncompleteError("web.DomainsCreateOrUpdateFuture") + return } - err = iter.page.NextWithContext(ctx) - if err != nil { - iter.i-- - return err + sender := autorest.DecorateSender(client, autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...)) + if d.Response.Response, err = future.GetResult(sender); err == nil && d.Response.Response.StatusCode != http.StatusNoContent { + d, err = client.CreateOrUpdateResponder(d.Response.Response) + if err != nil { + err = autorest.NewErrorWithError(err, "web.DomainsCreateOrUpdateFuture", "Result", d.Response.Response, "Failure responding to request") + } } - iter.i = 0 - return nil + return } -// Next advances to the next value. If there was an error making -// the request the iterator does not advance and the error is returned. -// Deprecated: Use NextWithContext() instead. -func (iter *HybridConnectionCollectionIterator) Next() error { - return iter.NextWithContext(context.Background()) +// EnabledConfig enabled configuration. +type EnabledConfig struct { + // Enabled - True if configuration is enabled, false if it is disabled and null if configuration is not set. + Enabled *bool `json:"enabled,omitempty"` } -// NotDone returns true if the enumeration should be started or is not yet complete. -func (iter HybridConnectionCollectionIterator) NotDone() bool { - return iter.page.NotDone() && iter.i < len(iter.page.Values()) +// EndpointDependency a domain name that a service is reached at, including details of the current +// connection status. +type EndpointDependency struct { + // DomainName - The domain name of the dependency. + DomainName *string `json:"domainName,omitempty"` + // EndpointDetails - The IP Addresses and Ports used when connecting to DomainName. + EndpointDetails *[]EndpointDetail `json:"endpointDetails,omitempty"` } -// Response returns the raw server response from the last page request. -func (iter HybridConnectionCollectionIterator) Response() HybridConnectionCollection { - return iter.page.Response() +// EndpointDetail current TCP connectivity information from the App Service Environment to a single +// endpoint. +type EndpointDetail struct { + // IPAddress - An IP Address that Domain Name currently resolves to. + IPAddress *string `json:"ipAddress,omitempty"` + // Port - The port an endpoint is connected to. + Port *int32 `json:"port,omitempty"` + // Latency - The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. + Latency *float64 `json:"latency,omitempty"` + // IsAccessible - Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. + IsAccessible *bool `json:"isAccessible,omitempty"` } -// Value returns the current value or a zero-initialized value if the -// iterator has advanced beyond the end of the collection. -func (iter HybridConnectionCollectionIterator) Value() HybridConnection { - if !iter.page.NotDone() { - return HybridConnection{} - } - return iter.page.Values()[iter.i] +// ErrorEntity body of the error response returned from the API. +type ErrorEntity struct { + // ExtendedCode - Type of error. + ExtendedCode *string `json:"extendedCode,omitempty"` + // MessageTemplate - Message template. + MessageTemplate *string `json:"messageTemplate,omitempty"` + // Parameters - Parameters for the template. + Parameters *[]string `json:"parameters,omitempty"` + // InnerErrors - Inner errors. + InnerErrors *[]ErrorEntity `json:"innerErrors,omitempty"` + // Code - Basic error code. + Code *string `json:"code,omitempty"` + // Message - Any details of the error. + Message *string `json:"message,omitempty"` } -// Creates a new instance of the HybridConnectionCollectionIterator type. -func NewHybridConnectionCollectionIterator(page HybridConnectionCollectionPage) HybridConnectionCollectionIterator { - return HybridConnectionCollectionIterator{page: page} +// Experiments routing rules in production experiments. +type Experiments struct { + // RampUpRules - List of ramp-up rules. + RampUpRules *[]RampUpRule `json:"rampUpRules,omitempty"` } -// IsEmpty returns true if the ListResult contains no values. -func (hcc HybridConnectionCollection) IsEmpty() bool { - return hcc.Value == nil || len(*hcc.Value) == 0 +// ExtendedLocation extended Location. +type ExtendedLocation struct { + // Name - Name of extended location. + Name *string `json:"name,omitempty"` + // Type - READ-ONLY; Type of extended location. + Type *string `json:"type,omitempty"` } -// hasNextLink returns true if the NextLink is not empty. -func (hcc HybridConnectionCollection) hasNextLink() bool { - return hcc.NextLink != nil && len(*hcc.NextLink) != 0 +// MarshalJSON is the custom marshaler for ExtendedLocation. +func (el ExtendedLocation) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if el.Name != nil { + objectMap["name"] = el.Name + } + return json.Marshal(objectMap) } -// hybridConnectionCollectionPreparer prepares a request to retrieve the next set of results. -// It returns nil if no more results exist. -func (hcc HybridConnectionCollection) hybridConnectionCollectionPreparer(ctx context.Context) (*http.Request, error) { - if !hcc.hasNextLink() { - return nil, nil - } - return autorest.Prepare((&http.Request{}).WithContext(ctx), - autorest.AsJSON(), - autorest.AsGet(), - autorest.WithBaseURL(to.String(hcc.NextLink))) +// Facebook the configuration settings of the Facebook provider. +type Facebook struct { + // Enabled - false if the Facebook provider should not be enabled despite the set registration; otherwise, true. + Enabled *bool `json:"enabled,omitempty"` + // Registration - The configuration settings of the app registration for the Facebook provider. + Registration *AppRegistration `json:"registration,omitempty"` + // GraphAPIVersion - The version of the Facebook api to be used while logging in. + GraphAPIVersion *string `json:"graphApiVersion,omitempty"` + // Login - The configuration settings of the login flow. + Login *LoginScopes `json:"login,omitempty"` } -// HybridConnectionCollectionPage contains a page of HybridConnection values. -type HybridConnectionCollectionPage struct { - fn func(context.Context, HybridConnectionCollection) (HybridConnectionCollection, error) - hcc HybridConnectionCollection +// FileSystemApplicationLogsConfig application logs to file system configuration. +type FileSystemApplicationLogsConfig struct { + // Level - Log level. Possible values include: 'LogLevelOff', 'LogLevelVerbose', 'LogLevelInformation', 'LogLevelWarning', 'LogLevelError' + Level LogLevel `json:"level,omitempty"` } -// NextWithContext advances to the next page of values. If there was an error making -// the request the page does not advance and the error is returned. -func (page *HybridConnectionCollectionPage) NextWithContext(ctx context.Context) (err error) { - if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/HybridConnectionCollectionPage.NextWithContext") - defer func() { - sc := -1 - if page.Response().Response.Response != nil { - sc = page.Response().Response.Response.StatusCode - } - tracing.EndSpan(ctx, sc, err) - }() - } - for { - next, err := page.fn(ctx, page.hcc) - if err != nil { - return err - } - page.hcc = next - if !next.hasNextLink() || !next.IsEmpty() { - break - } - } - return nil +// FileSystemHTTPLogsConfig http logs to file system configuration. +type FileSystemHTTPLogsConfig struct { + // RetentionInMb - Maximum size in megabytes that http log files can use. + // When reached old log files will be removed to make space for new ones. + // Value can range between 25 and 100. + RetentionInMb *int32 `json:"retentionInMb,omitempty"` + // RetentionInDays - Retention in days. + // Remove files older than X days. + // 0 or lower means no retention. + RetentionInDays *int32 `json:"retentionInDays,omitempty"` + // Enabled - True if configuration is enabled, false if it is disabled and null if configuration is not set. + Enabled *bool `json:"enabled,omitempty"` } -// Next advances to the next page of values. If there was an error making -// the request the page does not advance and the error is returned. -// Deprecated: Use NextWithContext() instead. -func (page *HybridConnectionCollectionPage) Next() error { - return page.NextWithContext(context.Background()) +// FileSystemTokenStore the configuration settings of the storage of the tokens if a file system is used. +type FileSystemTokenStore struct { + // Directory - The directory in which the tokens will be stored. + Directory *string `json:"directory,omitempty"` } -// NotDone returns true if the page enumeration should be started or is not yet complete. -func (page HybridConnectionCollectionPage) NotDone() bool { - return !page.hcc.IsEmpty() +// ForwardProxy the configuration settings of a forward proxy used to make the requests. +type ForwardProxy struct { + // Convention - The convention used to determine the url of the request made. Possible values include: 'ForwardProxyConventionNoProxy', 'ForwardProxyConventionStandard', 'ForwardProxyConventionCustom' + Convention ForwardProxyConvention `json:"convention,omitempty"` + // CustomHostHeaderName - The name of the header containing the host of the request. + CustomHostHeaderName *string `json:"customHostHeaderName,omitempty"` + // CustomProtoHeaderName - The name of the header containing the scheme of the request. + CustomProtoHeaderName *string `json:"customProtoHeaderName,omitempty"` } -// Response returns the raw server response from the last page request. -func (page HybridConnectionCollectionPage) Response() HybridConnectionCollection { - return page.hcc +// FrontEndConfiguration ... +type FrontEndConfiguration struct { + // Kind - Possible values include: 'FrontEndServiceTypeNodePort', 'FrontEndServiceTypeLoadBalancer' + Kind FrontEndServiceType `json:"kind,omitempty"` } -// Values returns the slice of values for the current page or nil if there are no values. -func (page HybridConnectionCollectionPage) Values() []HybridConnection { - if page.hcc.IsEmpty() { - return nil - } - return *page.hcc.Value +// FunctionAppMajorVersion function App stack major version. +type FunctionAppMajorVersion struct { + // DisplayText - READ-ONLY; Function App stack major version (display only). + DisplayText *string `json:"displayText,omitempty"` + // Value - READ-ONLY; Function App stack major version name. + Value *string `json:"value,omitempty"` + // MinorVersions - READ-ONLY; Minor versions associated with the major version. + MinorVersions *[]FunctionAppMinorVersion `json:"minorVersions,omitempty"` } -// Creates a new instance of the HybridConnectionCollectionPage type. -func NewHybridConnectionCollectionPage(cur HybridConnectionCollection, getNextPage func(context.Context, HybridConnectionCollection) (HybridConnectionCollection, error)) HybridConnectionCollectionPage { - return HybridConnectionCollectionPage{ - fn: getNextPage, - hcc: cur, - } +// MarshalJSON is the custom marshaler for FunctionAppMajorVersion. +func (famv FunctionAppMajorVersion) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + return json.Marshal(objectMap) } -// HybridConnectionKey hybrid Connection key contract. This has the send key name and value for a Hybrid -// Connection. -type HybridConnectionKey struct { - autorest.Response `json:"-"` - // HybridConnectionKeyProperties - HybridConnectionKey resource specific properties - *HybridConnectionKeyProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` +// FunctionAppMinorVersion function App stack minor version. +type FunctionAppMinorVersion struct { + // DisplayText - READ-ONLY; Function App stack (display only). + DisplayText *string `json:"displayText,omitempty"` + // Value - READ-ONLY; Function App stack name. + Value *string `json:"value,omitempty"` + // StackSettings - READ-ONLY; Settings associated with the minor version. + StackSettings *FunctionAppRuntimes `json:"stackSettings,omitempty"` } -// MarshalJSON is the custom marshaler for HybridConnectionKey. -func (hck HybridConnectionKey) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for FunctionAppMinorVersion. +func (famv FunctionAppMinorVersion) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if hck.HybridConnectionKeyProperties != nil { - objectMap["properties"] = hck.HybridConnectionKeyProperties - } - if hck.Kind != nil { - objectMap["kind"] = hck.Kind - } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for HybridConnectionKey struct. -func (hck *HybridConnectionKey) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var hybridConnectionKeyProperties HybridConnectionKeyProperties - err = json.Unmarshal(*v, &hybridConnectionKeyProperties) - if err != nil { - return err - } - hck.HybridConnectionKeyProperties = &hybridConnectionKeyProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - hck.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - hck.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - hck.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - hck.Type = &typeVar - } - } - } +// FunctionAppRuntimes function App stack runtimes. +type FunctionAppRuntimes struct { + // LinuxRuntimeSettings - READ-ONLY; Linux-specific settings associated with the minor version. + LinuxRuntimeSettings *FunctionAppRuntimeSettings `json:"linuxRuntimeSettings,omitempty"` + // WindowsRuntimeSettings - READ-ONLY; Windows-specific settings associated with the minor version. + WindowsRuntimeSettings *FunctionAppRuntimeSettings `json:"windowsRuntimeSettings,omitempty"` +} - return nil +// MarshalJSON is the custom marshaler for FunctionAppRuntimes. +func (far FunctionAppRuntimes) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + return json.Marshal(objectMap) } -// HybridConnectionKeyProperties hybridConnectionKey resource specific properties -type HybridConnectionKeyProperties struct { - // SendKeyName - READ-ONLY; The name of the send key. - SendKeyName *string `json:"sendKeyName,omitempty"` - // SendKeyValue - READ-ONLY; The value of the send key. - SendKeyValue *string `json:"sendKeyValue,omitempty"` +// FunctionAppRuntimeSettings function App runtime settings. +type FunctionAppRuntimeSettings struct { + // RuntimeVersion - READ-ONLY; Function App stack minor version (runtime only). + RuntimeVersion *string `json:"runtimeVersion,omitempty"` + // RemoteDebuggingSupported - READ-ONLY; true if remote debugging is supported for the stack; otherwise, false. + RemoteDebuggingSupported *bool `json:"remoteDebuggingSupported,omitempty"` + // AppInsightsSettings - READ-ONLY; Application Insights settings associated with the minor version. + AppInsightsSettings *AppInsightsWebAppStackSettings `json:"appInsightsSettings,omitempty"` + // GitHubActionSettings - READ-ONLY; GitHub Actions settings associated with the minor version. + GitHubActionSettings *GitHubActionWebAppStackSettings `json:"gitHubActionSettings,omitempty"` + // AppSettingsDictionary - READ-ONLY; Application settings associated with the minor version. + AppSettingsDictionary map[string]*string `json:"appSettingsDictionary"` + // SiteConfigPropertiesDictionary - READ-ONLY; Configuration settings associated with the minor version. + SiteConfigPropertiesDictionary *SiteConfigPropertiesDictionary `json:"siteConfigPropertiesDictionary,omitempty"` + // SupportedFunctionsExtensionVersions - READ-ONLY; List of supported Functions extension versions. + SupportedFunctionsExtensionVersions *[]string `json:"supportedFunctionsExtensionVersions,omitempty"` + // IsPreview - READ-ONLY; true if the stack is in preview; otherwise, false. + IsPreview *bool `json:"isPreview,omitempty"` + // IsDeprecated - READ-ONLY; true if the stack is deprecated; otherwise, false. + IsDeprecated *bool `json:"isDeprecated,omitempty"` + // IsHidden - READ-ONLY; true if the stack should be hidden; otherwise, false. + IsHidden *bool `json:"isHidden,omitempty"` + // EndOfLifeDate - READ-ONLY; End-of-life date for the minor version. + EndOfLifeDate *date.Time `json:"endOfLifeDate,omitempty"` + // IsAutoUpdate - READ-ONLY; true if the stack version is auto-updated; otherwise, false. + IsAutoUpdate *bool `json:"isAutoUpdate,omitempty"` + // IsEarlyAccess - READ-ONLY; true if the minor version is early-access; otherwise, false. + IsEarlyAccess *bool `json:"isEarlyAccess,omitempty"` + // IsDefault - READ-ONLY; true if the minor version the default; otherwise, false. + IsDefault *bool `json:"isDefault,omitempty"` } -// MarshalJSON is the custom marshaler for HybridConnectionKeyProperties. -func (hck HybridConnectionKeyProperties) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for FunctionAppRuntimeSettings. +func (fars FunctionAppRuntimeSettings) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) return json.Marshal(objectMap) } -// HybridConnectionLimits hybrid Connection limits contract. This is used to return the plan limits of -// Hybrid Connections. -type HybridConnectionLimits struct { - autorest.Response `json:"-"` - // HybridConnectionLimitsProperties - HybridConnectionLimits resource specific properties - *HybridConnectionLimitsProperties `json:"properties,omitempty"` +// FunctionAppStack function App Stack. +type FunctionAppStack struct { + // Location - READ-ONLY; Function App stack location. + Location *string `json:"location,omitempty"` + // FunctionAppStackProperties - FunctionAppStack resource specific properties + *FunctionAppStackProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. @@ -15511,20 +11751,20 @@ type HybridConnectionLimits struct { Type *string `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for HybridConnectionLimits. -func (hcl HybridConnectionLimits) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for FunctionAppStack. +func (fas FunctionAppStack) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if hcl.HybridConnectionLimitsProperties != nil { - objectMap["properties"] = hcl.HybridConnectionLimitsProperties + if fas.FunctionAppStackProperties != nil { + objectMap["properties"] = fas.FunctionAppStackProperties } - if hcl.Kind != nil { - objectMap["kind"] = hcl.Kind + if fas.Kind != nil { + objectMap["kind"] = fas.Kind } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for HybridConnectionLimits struct. -func (hcl *HybridConnectionLimits) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for FunctionAppStack struct. +func (fas *FunctionAppStack) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -15532,14 +11772,23 @@ func (hcl *HybridConnectionLimits) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { + case "location": + if v != nil { + var location string + err = json.Unmarshal(*v, &location) + if err != nil { + return err + } + fas.Location = &location + } case "properties": if v != nil { - var hybridConnectionLimitsProperties HybridConnectionLimitsProperties - err = json.Unmarshal(*v, &hybridConnectionLimitsProperties) + var functionAppStackProperties FunctionAppStackProperties + err = json.Unmarshal(*v, &functionAppStackProperties) if err != nil { return err } - hcl.HybridConnectionLimitsProperties = &hybridConnectionLimitsProperties + fas.FunctionAppStackProperties = &functionAppStackProperties } case "id": if v != nil { @@ -15548,7 +11797,7 @@ func (hcl *HybridConnectionLimits) UnmarshalJSON(body []byte) error { if err != nil { return err } - hcl.ID = &ID + fas.ID = &ID } case "name": if v != nil { @@ -15557,7 +11806,7 @@ func (hcl *HybridConnectionLimits) UnmarshalJSON(body []byte) error { if err != nil { return err } - hcl.Name = &name + fas.Name = &name } case "kind": if v != nil { @@ -15566,7 +11815,7 @@ func (hcl *HybridConnectionLimits) UnmarshalJSON(body []byte) error { if err != nil { return err } - hcl.Kind = &kind + fas.Kind = &kind } case "type": if v != nil { @@ -15575,7 +11824,7 @@ func (hcl *HybridConnectionLimits) UnmarshalJSON(body []byte) error { if err != nil { return err } - hcl.Type = &typeVar + fas.Type = &typeVar } } } @@ -15583,46 +11832,197 @@ func (hcl *HybridConnectionLimits) UnmarshalJSON(body []byte) error { return nil } -// HybridConnectionLimitsProperties hybridConnectionLimits resource specific properties -type HybridConnectionLimitsProperties struct { - // Current - READ-ONLY; The current number of Hybrid Connections. - Current *int32 `json:"current,omitempty"` - // Maximum - READ-ONLY; The maximum number of Hybrid Connections allowed. - Maximum *int32 `json:"maximum,omitempty"` +// FunctionAppStackCollection collection of Function app Stacks +type FunctionAppStackCollection struct { + autorest.Response `json:"-"` + // Value - Collection of resources. + Value *[]FunctionAppStack `json:"value,omitempty"` + // NextLink - READ-ONLY; Link to next page of resources. + NextLink *string `json:"nextLink,omitempty"` } -// MarshalJSON is the custom marshaler for HybridConnectionLimitsProperties. -func (hcl HybridConnectionLimitsProperties) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for FunctionAppStackCollection. +func (fasc FunctionAppStackCollection) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) + if fasc.Value != nil { + objectMap["value"] = fasc.Value + } return json.Marshal(objectMap) } -// HybridConnectionProperties hybridConnection resource specific properties -type HybridConnectionProperties struct { - // ServiceBusNamespace - The name of the Service Bus namespace. - ServiceBusNamespace *string `json:"serviceBusNamespace,omitempty"` - // RelayName - The name of the Service Bus relay. - RelayName *string `json:"relayName,omitempty"` - // RelayArmURI - The ARM URI to the Service Bus relay. - RelayArmURI *string `json:"relayArmUri,omitempty"` - // Hostname - The hostname of the endpoint. - Hostname *string `json:"hostname,omitempty"` - // Port - The port of the endpoint. - Port *int32 `json:"port,omitempty"` - // SendKeyName - The name of the Service Bus key which has Send permissions. This is used to authenticate to Service Bus. - SendKeyName *string `json:"sendKeyName,omitempty"` - // SendKeyValue - The value of the Service Bus key. This is used to authenticate to Service Bus. In ARM this key will not be returned - // normally, use the POST /listKeys API instead. - SendKeyValue *string `json:"sendKeyValue,omitempty"` - // ServiceBusSuffix - The suffix for the service bus endpoint. By default this is .servicebus.windows.net - ServiceBusSuffix *string `json:"serviceBusSuffix,omitempty"` +// FunctionAppStackCollectionIterator provides access to a complete listing of FunctionAppStack values. +type FunctionAppStackCollectionIterator struct { + i int + page FunctionAppStackCollectionPage +} + +// NextWithContext advances to the next value. If there was an error making +// the request the iterator does not advance and the error is returned. +func (iter *FunctionAppStackCollectionIterator) NextWithContext(ctx context.Context) (err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/FunctionAppStackCollectionIterator.NextWithContext") + defer func() { + sc := -1 + if iter.Response().Response.Response != nil { + sc = iter.Response().Response.Response.StatusCode + } + tracing.EndSpan(ctx, sc, err) + }() + } + iter.i++ + if iter.i < len(iter.page.Values()) { + return nil + } + err = iter.page.NextWithContext(ctx) + if err != nil { + iter.i-- + return err + } + iter.i = 0 + return nil +} + +// Next advances to the next value. If there was an error making +// the request the iterator does not advance and the error is returned. +// Deprecated: Use NextWithContext() instead. +func (iter *FunctionAppStackCollectionIterator) Next() error { + return iter.NextWithContext(context.Background()) +} + +// NotDone returns true if the enumeration should be started or is not yet complete. +func (iter FunctionAppStackCollectionIterator) NotDone() bool { + return iter.page.NotDone() && iter.i < len(iter.page.Values()) +} + +// Response returns the raw server response from the last page request. +func (iter FunctionAppStackCollectionIterator) Response() FunctionAppStackCollection { + return iter.page.Response() +} + +// Value returns the current value or a zero-initialized value if the +// iterator has advanced beyond the end of the collection. +func (iter FunctionAppStackCollectionIterator) Value() FunctionAppStack { + if !iter.page.NotDone() { + return FunctionAppStack{} + } + return iter.page.Values()[iter.i] +} + +// Creates a new instance of the FunctionAppStackCollectionIterator type. +func NewFunctionAppStackCollectionIterator(page FunctionAppStackCollectionPage) FunctionAppStackCollectionIterator { + return FunctionAppStackCollectionIterator{page: page} +} + +// IsEmpty returns true if the ListResult contains no values. +func (fasc FunctionAppStackCollection) IsEmpty() bool { + return fasc.Value == nil || len(*fasc.Value) == 0 +} + +// hasNextLink returns true if the NextLink is not empty. +func (fasc FunctionAppStackCollection) hasNextLink() bool { + return fasc.NextLink != nil && len(*fasc.NextLink) != 0 +} + +// functionAppStackCollectionPreparer prepares a request to retrieve the next set of results. +// It returns nil if no more results exist. +func (fasc FunctionAppStackCollection) functionAppStackCollectionPreparer(ctx context.Context) (*http.Request, error) { + if !fasc.hasNextLink() { + return nil, nil + } + return autorest.Prepare((&http.Request{}).WithContext(ctx), + autorest.AsJSON(), + autorest.AsGet(), + autorest.WithBaseURL(to.String(fasc.NextLink))) +} + +// FunctionAppStackCollectionPage contains a page of FunctionAppStack values. +type FunctionAppStackCollectionPage struct { + fn func(context.Context, FunctionAppStackCollection) (FunctionAppStackCollection, error) + fasc FunctionAppStackCollection +} + +// NextWithContext advances to the next page of values. If there was an error making +// the request the page does not advance and the error is returned. +func (page *FunctionAppStackCollectionPage) NextWithContext(ctx context.Context) (err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/FunctionAppStackCollectionPage.NextWithContext") + defer func() { + sc := -1 + if page.Response().Response.Response != nil { + sc = page.Response().Response.Response.StatusCode + } + tracing.EndSpan(ctx, sc, err) + }() + } + for { + next, err := page.fn(ctx, page.fasc) + if err != nil { + return err + } + page.fasc = next + if !next.hasNextLink() || !next.IsEmpty() { + break + } + } + return nil +} + +// Next advances to the next page of values. If there was an error making +// the request the page does not advance and the error is returned. +// Deprecated: Use NextWithContext() instead. +func (page *FunctionAppStackCollectionPage) Next() error { + return page.NextWithContext(context.Background()) +} + +// NotDone returns true if the page enumeration should be started or is not yet complete. +func (page FunctionAppStackCollectionPage) NotDone() bool { + return !page.fasc.IsEmpty() +} + +// Response returns the raw server response from the last page request. +func (page FunctionAppStackCollectionPage) Response() FunctionAppStackCollection { + return page.fasc +} + +// Values returns the slice of values for the current page or nil if there are no values. +func (page FunctionAppStackCollectionPage) Values() []FunctionAppStack { + if page.fasc.IsEmpty() { + return nil + } + return *page.fasc.Value +} + +// Creates a new instance of the FunctionAppStackCollectionPage type. +func NewFunctionAppStackCollectionPage(cur FunctionAppStackCollection, getNextPage func(context.Context, FunctionAppStackCollection) (FunctionAppStackCollection, error)) FunctionAppStackCollectionPage { + return FunctionAppStackCollectionPage{ + fn: getNextPage, + fasc: cur, + } } -// Identifier a domain specific resource identifier. -type Identifier struct { +// FunctionAppStackProperties functionAppStack resource specific properties +type FunctionAppStackProperties struct { + // DisplayText - READ-ONLY; Function App stack (display only). + DisplayText *string `json:"displayText,omitempty"` + // Value - READ-ONLY; Function App stack name. + Value *string `json:"value,omitempty"` + // MajorVersions - READ-ONLY; List of major versions available. + MajorVersions *[]FunctionAppMajorVersion `json:"majorVersions,omitempty"` + // PreferredOs - READ-ONLY; Function App stack preferred OS. Possible values include: 'StackPreferredOsWindows', 'StackPreferredOsLinux' + PreferredOs StackPreferredOs `json:"preferredOs,omitempty"` +} + +// MarshalJSON is the custom marshaler for FunctionAppStackProperties. +func (fas FunctionAppStackProperties) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + return json.Marshal(objectMap) +} + +// FunctionEnvelope function information. +type FunctionEnvelope struct { autorest.Response `json:"-"` - // IdentifierProperties - Identifier resource specific properties - *IdentifierProperties `json:"properties,omitempty"` + // FunctionEnvelopeProperties - FunctionEnvelope resource specific properties + *FunctionEnvelopeProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. @@ -15633,20 +12033,20 @@ type Identifier struct { Type *string `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for Identifier. -func (i Identifier) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for FunctionEnvelope. +func (fe FunctionEnvelope) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if i.IdentifierProperties != nil { - objectMap["properties"] = i.IdentifierProperties + if fe.FunctionEnvelopeProperties != nil { + objectMap["properties"] = fe.FunctionEnvelopeProperties } - if i.Kind != nil { - objectMap["kind"] = i.Kind + if fe.Kind != nil { + objectMap["kind"] = fe.Kind } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for Identifier struct. -func (i *Identifier) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for FunctionEnvelope struct. +func (fe *FunctionEnvelope) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -15656,12 +12056,12 @@ func (i *Identifier) UnmarshalJSON(body []byte) error { switch k { case "properties": if v != nil { - var identifierProperties IdentifierProperties - err = json.Unmarshal(*v, &identifierProperties) + var functionEnvelopeProperties FunctionEnvelopeProperties + err = json.Unmarshal(*v, &functionEnvelopeProperties) if err != nil { return err } - i.IdentifierProperties = &identifierProperties + fe.FunctionEnvelopeProperties = &functionEnvelopeProperties } case "id": if v != nil { @@ -15670,7 +12070,7 @@ func (i *Identifier) UnmarshalJSON(body []byte) error { if err != nil { return err } - i.ID = &ID + fe.ID = &ID } case "name": if v != nil { @@ -15679,7 +12079,7 @@ func (i *Identifier) UnmarshalJSON(body []byte) error { if err != nil { return err } - i.Name = &name + fe.Name = &name } case "kind": if v != nil { @@ -15688,7 +12088,7 @@ func (i *Identifier) UnmarshalJSON(body []byte) error { if err != nil { return err } - i.Kind = &kind + fe.Kind = &kind } case "type": if v != nil { @@ -15697,7 +12097,7 @@ func (i *Identifier) UnmarshalJSON(body []byte) error { if err != nil { return err } - i.Type = &typeVar + fe.Type = &typeVar } } } @@ -15705,35 +12105,35 @@ func (i *Identifier) UnmarshalJSON(body []byte) error { return nil } -// IdentifierCollection collection of identifiers. -type IdentifierCollection struct { +// FunctionEnvelopeCollection collection of Kudu function information elements. +type FunctionEnvelopeCollection struct { autorest.Response `json:"-"` // Value - Collection of resources. - Value *[]Identifier `json:"value,omitempty"` + Value *[]FunctionEnvelope `json:"value,omitempty"` // NextLink - READ-ONLY; Link to next page of resources. NextLink *string `json:"nextLink,omitempty"` } -// MarshalJSON is the custom marshaler for IdentifierCollection. -func (ic IdentifierCollection) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for FunctionEnvelopeCollection. +func (fec FunctionEnvelopeCollection) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if ic.Value != nil { - objectMap["value"] = ic.Value + if fec.Value != nil { + objectMap["value"] = fec.Value } return json.Marshal(objectMap) } -// IdentifierCollectionIterator provides access to a complete listing of Identifier values. -type IdentifierCollectionIterator struct { +// FunctionEnvelopeCollectionIterator provides access to a complete listing of FunctionEnvelope values. +type FunctionEnvelopeCollectionIterator struct { i int - page IdentifierCollectionPage + page FunctionEnvelopeCollectionPage } // NextWithContext advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. -func (iter *IdentifierCollectionIterator) NextWithContext(ctx context.Context) (err error) { +func (iter *FunctionEnvelopeCollectionIterator) NextWithContext(ctx context.Context) (err error) { if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/IdentifierCollectionIterator.NextWithContext") + ctx = tracing.StartSpan(ctx, fqdn+"/FunctionEnvelopeCollectionIterator.NextWithContext") defer func() { sc := -1 if iter.Response().Response.Response != nil { @@ -15758,67 +12158,67 @@ func (iter *IdentifierCollectionIterator) NextWithContext(ctx context.Context) ( // Next advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. // Deprecated: Use NextWithContext() instead. -func (iter *IdentifierCollectionIterator) Next() error { +func (iter *FunctionEnvelopeCollectionIterator) Next() error { return iter.NextWithContext(context.Background()) } // NotDone returns true if the enumeration should be started or is not yet complete. -func (iter IdentifierCollectionIterator) NotDone() bool { +func (iter FunctionEnvelopeCollectionIterator) NotDone() bool { return iter.page.NotDone() && iter.i < len(iter.page.Values()) } // Response returns the raw server response from the last page request. -func (iter IdentifierCollectionIterator) Response() IdentifierCollection { +func (iter FunctionEnvelopeCollectionIterator) Response() FunctionEnvelopeCollection { return iter.page.Response() } // Value returns the current value or a zero-initialized value if the // iterator has advanced beyond the end of the collection. -func (iter IdentifierCollectionIterator) Value() Identifier { +func (iter FunctionEnvelopeCollectionIterator) Value() FunctionEnvelope { if !iter.page.NotDone() { - return Identifier{} + return FunctionEnvelope{} } return iter.page.Values()[iter.i] } -// Creates a new instance of the IdentifierCollectionIterator type. -func NewIdentifierCollectionIterator(page IdentifierCollectionPage) IdentifierCollectionIterator { - return IdentifierCollectionIterator{page: page} +// Creates a new instance of the FunctionEnvelopeCollectionIterator type. +func NewFunctionEnvelopeCollectionIterator(page FunctionEnvelopeCollectionPage) FunctionEnvelopeCollectionIterator { + return FunctionEnvelopeCollectionIterator{page: page} } // IsEmpty returns true if the ListResult contains no values. -func (ic IdentifierCollection) IsEmpty() bool { - return ic.Value == nil || len(*ic.Value) == 0 +func (fec FunctionEnvelopeCollection) IsEmpty() bool { + return fec.Value == nil || len(*fec.Value) == 0 } // hasNextLink returns true if the NextLink is not empty. -func (ic IdentifierCollection) hasNextLink() bool { - return ic.NextLink != nil && len(*ic.NextLink) != 0 +func (fec FunctionEnvelopeCollection) hasNextLink() bool { + return fec.NextLink != nil && len(*fec.NextLink) != 0 } -// identifierCollectionPreparer prepares a request to retrieve the next set of results. +// functionEnvelopeCollectionPreparer prepares a request to retrieve the next set of results. // It returns nil if no more results exist. -func (ic IdentifierCollection) identifierCollectionPreparer(ctx context.Context) (*http.Request, error) { - if !ic.hasNextLink() { +func (fec FunctionEnvelopeCollection) functionEnvelopeCollectionPreparer(ctx context.Context) (*http.Request, error) { + if !fec.hasNextLink() { return nil, nil } return autorest.Prepare((&http.Request{}).WithContext(ctx), autorest.AsJSON(), autorest.AsGet(), - autorest.WithBaseURL(to.String(ic.NextLink))) + autorest.WithBaseURL(to.String(fec.NextLink))) } -// IdentifierCollectionPage contains a page of Identifier values. -type IdentifierCollectionPage struct { - fn func(context.Context, IdentifierCollection) (IdentifierCollection, error) - ic IdentifierCollection +// FunctionEnvelopeCollectionPage contains a page of FunctionEnvelope values. +type FunctionEnvelopeCollectionPage struct { + fn func(context.Context, FunctionEnvelopeCollection) (FunctionEnvelopeCollection, error) + fec FunctionEnvelopeCollection } // NextWithContext advances to the next page of values. If there was an error making // the request the page does not advance and the error is returned. -func (page *IdentifierCollectionPage) NextWithContext(ctx context.Context) (err error) { +func (page *FunctionEnvelopeCollectionPage) NextWithContext(ctx context.Context) (err error) { if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/IdentifierCollectionPage.NextWithContext") + ctx = tracing.StartSpan(ctx, fqdn+"/FunctionEnvelopeCollectionPage.NextWithContext") defer func() { sc := -1 if page.Response().Response.Response != nil { @@ -15828,11 +12228,11 @@ func (page *IdentifierCollectionPage) NextWithContext(ctx context.Context) (err }() } for { - next, err := page.fn(ctx, page.ic) + next, err := page.fn(ctx, page.fec) if err != nil { return err } - page.ic = next + page.fec = next if !next.hasNextLink() || !next.IsEmpty() { break } @@ -15843,47 +12243,124 @@ func (page *IdentifierCollectionPage) NextWithContext(ctx context.Context) (err // Next advances to the next page of values. If there was an error making // the request the page does not advance and the error is returned. // Deprecated: Use NextWithContext() instead. -func (page *IdentifierCollectionPage) Next() error { +func (page *FunctionEnvelopeCollectionPage) Next() error { return page.NextWithContext(context.Background()) } // NotDone returns true if the page enumeration should be started or is not yet complete. -func (page IdentifierCollectionPage) NotDone() bool { - return !page.ic.IsEmpty() +func (page FunctionEnvelopeCollectionPage) NotDone() bool { + return !page.fec.IsEmpty() } // Response returns the raw server response from the last page request. -func (page IdentifierCollectionPage) Response() IdentifierCollection { - return page.ic +func (page FunctionEnvelopeCollectionPage) Response() FunctionEnvelopeCollection { + return page.fec } // Values returns the slice of values for the current page or nil if there are no values. -func (page IdentifierCollectionPage) Values() []Identifier { - if page.ic.IsEmpty() { +func (page FunctionEnvelopeCollectionPage) Values() []FunctionEnvelope { + if page.fec.IsEmpty() { return nil } - return *page.ic.Value + return *page.fec.Value } -// Creates a new instance of the IdentifierCollectionPage type. -func NewIdentifierCollectionPage(cur IdentifierCollection, getNextPage func(context.Context, IdentifierCollection) (IdentifierCollection, error)) IdentifierCollectionPage { - return IdentifierCollectionPage{ - fn: getNextPage, - ic: cur, +// Creates a new instance of the FunctionEnvelopeCollectionPage type. +func NewFunctionEnvelopeCollectionPage(cur FunctionEnvelopeCollection, getNextPage func(context.Context, FunctionEnvelopeCollection) (FunctionEnvelopeCollection, error)) FunctionEnvelopeCollectionPage { + return FunctionEnvelopeCollectionPage{ + fn: getNextPage, + fec: cur, } } -// IdentifierProperties identifier resource specific properties -type IdentifierProperties struct { - // Value - String representation of the identity. - Value *string `json:"id,omitempty"` +// FunctionEnvelopeProperties functionEnvelope resource specific properties +type FunctionEnvelopeProperties struct { + // FunctionAppID - Function App ID. + FunctionAppID *string `json:"function_app_id,omitempty"` + // ScriptRootPathHref - Script root path URI. + ScriptRootPathHref *string `json:"script_root_path_href,omitempty"` + // ScriptHref - Script URI. + ScriptHref *string `json:"script_href,omitempty"` + // ConfigHref - Config URI. + ConfigHref *string `json:"config_href,omitempty"` + // TestDataHref - Test data URI. + TestDataHref *string `json:"test_data_href,omitempty"` + // SecretsFileHref - Secrets file URI. + SecretsFileHref *string `json:"secrets_file_href,omitempty"` + // Href - Function URI. + Href *string `json:"href,omitempty"` + // Config - Config information. + Config interface{} `json:"config,omitempty"` + // Files - File list. + Files map[string]*string `json:"files"` + // TestData - Test data used when testing via the Azure Portal. + TestData *string `json:"test_data,omitempty"` + // InvokeURLTemplate - The invocation URL + InvokeURLTemplate *string `json:"invoke_url_template,omitempty"` + // Language - The function language + Language *string `json:"language,omitempty"` + // IsDisabled - Gets or sets a value indicating whether the function is disabled + IsDisabled *bool `json:"isDisabled,omitempty"` } -// IdentityProviders the configuration settings of each of the identity providers used to configure App -// Service Authentication/Authorization. -type IdentityProviders struct { - // IdentityProvidersProperties - IdentityProviders resource specific properties - *IdentityProvidersProperties `json:"properties,omitempty"` +// MarshalJSON is the custom marshaler for FunctionEnvelopeProperties. +func (fe FunctionEnvelopeProperties) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if fe.FunctionAppID != nil { + objectMap["function_app_id"] = fe.FunctionAppID + } + if fe.ScriptRootPathHref != nil { + objectMap["script_root_path_href"] = fe.ScriptRootPathHref + } + if fe.ScriptHref != nil { + objectMap["script_href"] = fe.ScriptHref + } + if fe.ConfigHref != nil { + objectMap["config_href"] = fe.ConfigHref + } + if fe.TestDataHref != nil { + objectMap["test_data_href"] = fe.TestDataHref + } + if fe.SecretsFileHref != nil { + objectMap["secrets_file_href"] = fe.SecretsFileHref + } + if fe.Href != nil { + objectMap["href"] = fe.Href + } + if fe.Config != nil { + objectMap["config"] = fe.Config + } + if fe.Files != nil { + objectMap["files"] = fe.Files + } + if fe.TestData != nil { + objectMap["test_data"] = fe.TestData + } + if fe.InvokeURLTemplate != nil { + objectMap["invoke_url_template"] = fe.InvokeURLTemplate + } + if fe.Language != nil { + objectMap["language"] = fe.Language + } + if fe.IsDisabled != nil { + objectMap["isDisabled"] = fe.IsDisabled + } + return json.Marshal(objectMap) +} + +// FunctionSecrets function secrets. +type FunctionSecrets struct { + autorest.Response `json:"-"` + // Key - Secret key. + Key *string `json:"key,omitempty"` + // TriggerURL - Trigger URL. + TriggerURL *string `json:"trigger_url,omitempty"` +} + +// GeoRegion geographical region. +type GeoRegion struct { + // GeoRegionProperties - GeoRegion resource specific properties + *GeoRegionProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. @@ -15894,20 +12371,20 @@ type IdentityProviders struct { Type *string `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for IdentityProviders. -func (IP IdentityProviders) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for GeoRegion. +func (gr GeoRegion) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if IP.IdentityProvidersProperties != nil { - objectMap["properties"] = IP.IdentityProvidersProperties + if gr.GeoRegionProperties != nil { + objectMap["properties"] = gr.GeoRegionProperties } - if IP.Kind != nil { - objectMap["kind"] = IP.Kind + if gr.Kind != nil { + objectMap["kind"] = gr.Kind } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for IdentityProviders struct. -func (IP *IdentityProviders) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for GeoRegion struct. +func (gr *GeoRegion) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -15917,12 +12394,12 @@ func (IP *IdentityProviders) UnmarshalJSON(body []byte) error { switch k { case "properties": if v != nil { - var identityProvidersProperties IdentityProvidersProperties - err = json.Unmarshal(*v, &identityProvidersProperties) + var geoRegionProperties GeoRegionProperties + err = json.Unmarshal(*v, &geoRegionProperties) if err != nil { return err } - IP.IdentityProvidersProperties = &identityProvidersProperties + gr.GeoRegionProperties = &geoRegionProperties } case "id": if v != nil { @@ -15931,7 +12408,7 @@ func (IP *IdentityProviders) UnmarshalJSON(body []byte) error { if err != nil { return err } - IP.ID = &ID + gr.ID = &ID } case "name": if v != nil { @@ -15940,7 +12417,7 @@ func (IP *IdentityProviders) UnmarshalJSON(body []byte) error { if err != nil { return err } - IP.Name = &name + gr.Name = &name } case "kind": if v != nil { @@ -15949,7 +12426,7 @@ func (IP *IdentityProviders) UnmarshalJSON(body []byte) error { if err != nil { return err } - IP.Kind = &kind + gr.Kind = &kind } case "type": if v != nil { @@ -15958,7 +12435,7 @@ func (IP *IdentityProviders) UnmarshalJSON(body []byte) error { if err != nil { return err } - IP.Type = &typeVar + gr.Type = &typeVar } } } @@ -15966,103 +12443,35 @@ func (IP *IdentityProviders) UnmarshalJSON(body []byte) error { return nil } -// IdentityProvidersProperties identityProviders resource specific properties -type IdentityProvidersProperties struct { - // AzureActiveDirectory - The configuration settings of the Azure Active directory provider. - AzureActiveDirectory *AzureActiveDirectory `json:"azureActiveDirectory,omitempty"` - // Facebook - The configuration settings of the Facebook provider. - Facebook *Facebook `json:"facebook,omitempty"` - // GitHub - The configuration settings of the GitHub provider. - GitHub *GitHub `json:"gitHub,omitempty"` - // Google - The configuration settings of the Google provider. - Google *Google `json:"google,omitempty"` - // Twitter - The configuration settings of the Twitter provider. - Twitter *Twitter `json:"twitter,omitempty"` - // CustomOpenIDConnectProviders - The map of the name of the alias of each custom Open ID Connect provider to the - // configuration settings of the custom Open ID Connect provider. - CustomOpenIDConnectProviders map[string]*CustomOpenIDConnectProvider `json:"customOpenIdConnectProviders"` - // LegacyMicrosoftAccount - The configuration settings of the legacy Microsoft Account provider. - LegacyMicrosoftAccount *LegacyMicrosoftAccount `json:"legacyMicrosoftAccount,omitempty"` - // Apple - The configuration settings of the Apple provider. - Apple *Apple `json:"apple,omitempty"` - // AzureStaticWebApps - The configuration settings of the Azure Static Web Apps provider. - AzureStaticWebApps *AzureStaticWebApps `json:"azureStaticWebApps,omitempty"` -} - -// MarshalJSON is the custom marshaler for IdentityProvidersProperties. -func (IP IdentityProvidersProperties) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if IP.AzureActiveDirectory != nil { - objectMap["azureActiveDirectory"] = IP.AzureActiveDirectory - } - if IP.Facebook != nil { - objectMap["facebook"] = IP.Facebook - } - if IP.GitHub != nil { - objectMap["gitHub"] = IP.GitHub - } - if IP.Google != nil { - objectMap["google"] = IP.Google - } - if IP.Twitter != nil { - objectMap["twitter"] = IP.Twitter - } - if IP.CustomOpenIDConnectProviders != nil { - objectMap["customOpenIdConnectProviders"] = IP.CustomOpenIDConnectProviders - } - if IP.LegacyMicrosoftAccount != nil { - objectMap["legacyMicrosoftAccount"] = IP.LegacyMicrosoftAccount - } - if IP.Apple != nil { - objectMap["apple"] = IP.Apple - } - if IP.AzureStaticWebApps != nil { - objectMap["azureStaticWebApps"] = IP.AzureStaticWebApps - } - return json.Marshal(objectMap) -} - -// InboundEnvironmentEndpoint the IP Addresses and Ports that require inbound network access to and within -// the subnet of the App Service Environment. -type InboundEnvironmentEndpoint struct { - // Description - Short text describing the purpose of the network traffic. - Description *string `json:"description,omitempty"` - // Endpoints - The IP addresses that network traffic will originate from in cidr notation. - Endpoints *[]string `json:"endpoints,omitempty"` - // Ports - The ports that network traffic will arrive to the App Service Environment at. - Ports *[]string `json:"ports,omitempty"` -} - -// InboundEnvironmentEndpointCollection collection of Inbound Environment Endpoints -type InboundEnvironmentEndpointCollection struct { +// GeoRegionCollection collection of geographical regions. +type GeoRegionCollection struct { autorest.Response `json:"-"` // Value - Collection of resources. - Value *[]InboundEnvironmentEndpoint `json:"value,omitempty"` + Value *[]GeoRegion `json:"value,omitempty"` // NextLink - READ-ONLY; Link to next page of resources. NextLink *string `json:"nextLink,omitempty"` } -// MarshalJSON is the custom marshaler for InboundEnvironmentEndpointCollection. -func (ieec InboundEnvironmentEndpointCollection) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for GeoRegionCollection. +func (grc GeoRegionCollection) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if ieec.Value != nil { - objectMap["value"] = ieec.Value + if grc.Value != nil { + objectMap["value"] = grc.Value } return json.Marshal(objectMap) } -// InboundEnvironmentEndpointCollectionIterator provides access to a complete listing of -// InboundEnvironmentEndpoint values. -type InboundEnvironmentEndpointCollectionIterator struct { +// GeoRegionCollectionIterator provides access to a complete listing of GeoRegion values. +type GeoRegionCollectionIterator struct { i int - page InboundEnvironmentEndpointCollectionPage + page GeoRegionCollectionPage } // NextWithContext advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. -func (iter *InboundEnvironmentEndpointCollectionIterator) NextWithContext(ctx context.Context) (err error) { +func (iter *GeoRegionCollectionIterator) NextWithContext(ctx context.Context) (err error) { if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/InboundEnvironmentEndpointCollectionIterator.NextWithContext") + ctx = tracing.StartSpan(ctx, fqdn+"/GeoRegionCollectionIterator.NextWithContext") defer func() { sc := -1 if iter.Response().Response.Response != nil { @@ -16087,207 +12496,334 @@ func (iter *InboundEnvironmentEndpointCollectionIterator) NextWithContext(ctx co // Next advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. // Deprecated: Use NextWithContext() instead. -func (iter *InboundEnvironmentEndpointCollectionIterator) Next() error { +func (iter *GeoRegionCollectionIterator) Next() error { return iter.NextWithContext(context.Background()) } // NotDone returns true if the enumeration should be started or is not yet complete. -func (iter InboundEnvironmentEndpointCollectionIterator) NotDone() bool { +func (iter GeoRegionCollectionIterator) NotDone() bool { return iter.page.NotDone() && iter.i < len(iter.page.Values()) } // Response returns the raw server response from the last page request. -func (iter InboundEnvironmentEndpointCollectionIterator) Response() InboundEnvironmentEndpointCollection { +func (iter GeoRegionCollectionIterator) Response() GeoRegionCollection { return iter.page.Response() } // Value returns the current value or a zero-initialized value if the // iterator has advanced beyond the end of the collection. -func (iter InboundEnvironmentEndpointCollectionIterator) Value() InboundEnvironmentEndpoint { +func (iter GeoRegionCollectionIterator) Value() GeoRegion { if !iter.page.NotDone() { - return InboundEnvironmentEndpoint{} + return GeoRegion{} } return iter.page.Values()[iter.i] } -// Creates a new instance of the InboundEnvironmentEndpointCollectionIterator type. -func NewInboundEnvironmentEndpointCollectionIterator(page InboundEnvironmentEndpointCollectionPage) InboundEnvironmentEndpointCollectionIterator { - return InboundEnvironmentEndpointCollectionIterator{page: page} +// Creates a new instance of the GeoRegionCollectionIterator type. +func NewGeoRegionCollectionIterator(page GeoRegionCollectionPage) GeoRegionCollectionIterator { + return GeoRegionCollectionIterator{page: page} +} + +// IsEmpty returns true if the ListResult contains no values. +func (grc GeoRegionCollection) IsEmpty() bool { + return grc.Value == nil || len(*grc.Value) == 0 +} + +// hasNextLink returns true if the NextLink is not empty. +func (grc GeoRegionCollection) hasNextLink() bool { + return grc.NextLink != nil && len(*grc.NextLink) != 0 +} + +// geoRegionCollectionPreparer prepares a request to retrieve the next set of results. +// It returns nil if no more results exist. +func (grc GeoRegionCollection) geoRegionCollectionPreparer(ctx context.Context) (*http.Request, error) { + if !grc.hasNextLink() { + return nil, nil + } + return autorest.Prepare((&http.Request{}).WithContext(ctx), + autorest.AsJSON(), + autorest.AsGet(), + autorest.WithBaseURL(to.String(grc.NextLink))) +} + +// GeoRegionCollectionPage contains a page of GeoRegion values. +type GeoRegionCollectionPage struct { + fn func(context.Context, GeoRegionCollection) (GeoRegionCollection, error) + grc GeoRegionCollection +} + +// NextWithContext advances to the next page of values. If there was an error making +// the request the page does not advance and the error is returned. +func (page *GeoRegionCollectionPage) NextWithContext(ctx context.Context) (err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/GeoRegionCollectionPage.NextWithContext") + defer func() { + sc := -1 + if page.Response().Response.Response != nil { + sc = page.Response().Response.Response.StatusCode + } + tracing.EndSpan(ctx, sc, err) + }() + } + for { + next, err := page.fn(ctx, page.grc) + if err != nil { + return err + } + page.grc = next + if !next.hasNextLink() || !next.IsEmpty() { + break + } + } + return nil +} + +// Next advances to the next page of values. If there was an error making +// the request the page does not advance and the error is returned. +// Deprecated: Use NextWithContext() instead. +func (page *GeoRegionCollectionPage) Next() error { + return page.NextWithContext(context.Background()) +} + +// NotDone returns true if the page enumeration should be started or is not yet complete. +func (page GeoRegionCollectionPage) NotDone() bool { + return !page.grc.IsEmpty() +} + +// Response returns the raw server response from the last page request. +func (page GeoRegionCollectionPage) Response() GeoRegionCollection { + return page.grc +} + +// Values returns the slice of values for the current page or nil if there are no values. +func (page GeoRegionCollectionPage) Values() []GeoRegion { + if page.grc.IsEmpty() { + return nil + } + return *page.grc.Value +} + +// Creates a new instance of the GeoRegionCollectionPage type. +func NewGeoRegionCollectionPage(cur GeoRegionCollection, getNextPage func(context.Context, GeoRegionCollection) (GeoRegionCollection, error)) GeoRegionCollectionPage { + return GeoRegionCollectionPage{ + fn: getNextPage, + grc: cur, + } +} + +// GeoRegionProperties geoRegion resource specific properties +type GeoRegionProperties struct { + // Description - READ-ONLY; Region description. + Description *string `json:"description,omitempty"` + // DisplayName - READ-ONLY; Display name for region. + DisplayName *string `json:"displayName,omitempty"` + // OrgDomain - READ-ONLY; Display name for region. + OrgDomain *string `json:"orgDomain,omitempty"` +} + +// MarshalJSON is the custom marshaler for GeoRegionProperties. +func (gr GeoRegionProperties) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + return json.Marshal(objectMap) +} + +// GitHub the configuration settings of the GitHub provider. +type GitHub struct { + // Enabled - false if the GitHub provider should not be enabled despite the set registration; otherwise, true. + Enabled *bool `json:"enabled,omitempty"` + // Registration - The configuration settings of the app registration for the GitHub provider. + Registration *ClientRegistration `json:"registration,omitempty"` + // Login - The configuration settings of the login flow. + Login *LoginScopes `json:"login,omitempty"` +} + +// GitHubActionCodeConfiguration the GitHub action code configuration. +type GitHubActionCodeConfiguration struct { + // RuntimeStack - Runtime stack is used to determine the workflow file content for code base apps. + RuntimeStack *string `json:"runtimeStack,omitempty"` + // RuntimeVersion - Runtime version is used to determine what build version to set in the workflow file. + RuntimeVersion *string `json:"runtimeVersion,omitempty"` +} + +// GitHubActionConfiguration the GitHub action configuration. +type GitHubActionConfiguration struct { + // CodeConfiguration - GitHub Action code configuration. + CodeConfiguration *GitHubActionCodeConfiguration `json:"codeConfiguration,omitempty"` + // ContainerConfiguration - GitHub Action container configuration. + ContainerConfiguration *GitHubActionContainerConfiguration `json:"containerConfiguration,omitempty"` + // IsLinux - This will help determine the workflow configuration to select. + IsLinux *bool `json:"isLinux,omitempty"` + // GenerateWorkflowFile - Workflow option to determine whether the workflow file should be generated and written to the repository. + GenerateWorkflowFile *bool `json:"generateWorkflowFile,omitempty"` +} + +// GitHubActionContainerConfiguration the GitHub action container configuration. +type GitHubActionContainerConfiguration struct { + // ServerURL - The server URL for the container registry where the build will be hosted. + ServerURL *string `json:"serverUrl,omitempty"` + // ImageName - The image name for the build. + ImageName *string `json:"imageName,omitempty"` + // Username - The username used to upload the image to the container registry. + Username *string `json:"username,omitempty"` + // Password - The password used to upload the image to the container registry. + Password *string `json:"password,omitempty"` } -// IsEmpty returns true if the ListResult contains no values. -func (ieec InboundEnvironmentEndpointCollection) IsEmpty() bool { - return ieec.Value == nil || len(*ieec.Value) == 0 +// GitHubActionWebAppStackSettings gitHub Actions Web App stack settings. +type GitHubActionWebAppStackSettings struct { + // IsSupported - READ-ONLY; true if GitHub Actions is supported for the stack; otherwise, false. + IsSupported *bool `json:"isSupported,omitempty"` + // SupportedVersion - READ-ONLY; The minor version that is supported for GitHub Actions. + SupportedVersion *string `json:"supportedVersion,omitempty"` } -// hasNextLink returns true if the NextLink is not empty. -func (ieec InboundEnvironmentEndpointCollection) hasNextLink() bool { - return ieec.NextLink != nil && len(*ieec.NextLink) != 0 +// MarshalJSON is the custom marshaler for GitHubActionWebAppStackSettings. +func (ghawass GitHubActionWebAppStackSettings) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + return json.Marshal(objectMap) } -// inboundEnvironmentEndpointCollectionPreparer prepares a request to retrieve the next set of results. -// It returns nil if no more results exist. -func (ieec InboundEnvironmentEndpointCollection) inboundEnvironmentEndpointCollectionPreparer(ctx context.Context) (*http.Request, error) { - if !ieec.hasNextLink() { - return nil, nil - } - return autorest.Prepare((&http.Request{}).WithContext(ctx), - autorest.AsJSON(), - autorest.AsGet(), - autorest.WithBaseURL(to.String(ieec.NextLink))) +// GlobalCsmSkuDescription a Global SKU Description. +type GlobalCsmSkuDescription struct { + // Name - Name of the resource SKU. + Name *string `json:"name,omitempty"` + // Tier - Service Tier of the resource SKU. + Tier *string `json:"tier,omitempty"` + // Size - Size specifier of the resource SKU. + Size *string `json:"size,omitempty"` + // Family - Family code of the resource SKU. + Family *string `json:"family,omitempty"` + // Capacity - Min, max, and default scale values of the SKU. + Capacity *SkuCapacity `json:"capacity,omitempty"` + // Locations - Locations of the SKU. + Locations *[]string `json:"locations,omitempty"` + // Capabilities - Capabilities of the SKU, e.g., is traffic manager enabled? + Capabilities *[]Capability `json:"capabilities,omitempty"` } -// InboundEnvironmentEndpointCollectionPage contains a page of InboundEnvironmentEndpoint values. -type InboundEnvironmentEndpointCollectionPage struct { - fn func(context.Context, InboundEnvironmentEndpointCollection) (InboundEnvironmentEndpointCollection, error) - ieec InboundEnvironmentEndpointCollection +// GlobalValidation the configuration settings that determines the validation flow of users using App +// Service Authentication/Authorization. +type GlobalValidation struct { + // RequireAuthentication - true if the authentication flow is required any request is made; otherwise, false. + RequireAuthentication *bool `json:"requireAuthentication,omitempty"` + // UnauthenticatedClientAction - The action to take when an unauthenticated client attempts to access the app. Possible values include: 'UnauthenticatedClientActionV2RedirectToLoginPage', 'UnauthenticatedClientActionV2AllowAnonymous', 'UnauthenticatedClientActionV2Return401', 'UnauthenticatedClientActionV2Return403' + UnauthenticatedClientAction UnauthenticatedClientActionV2 `json:"unauthenticatedClientAction,omitempty"` + // RedirectToProvider - The default authentication provider to use when multiple providers are configured. + // This setting is only needed if multiple providers are configured and the unauthenticated client + // action is set to "RedirectToLoginPage". + RedirectToProvider *string `json:"redirectToProvider,omitempty"` + // ExcludedPaths - The paths for which unauthenticated flow would not be redirected to the login page. + ExcludedPaths *[]string `json:"excludedPaths,omitempty"` } -// NextWithContext advances to the next page of values. If there was an error making -// the request the page does not advance and the error is returned. -func (page *InboundEnvironmentEndpointCollectionPage) NextWithContext(ctx context.Context) (err error) { - if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/InboundEnvironmentEndpointCollectionPage.NextWithContext") - defer func() { - sc := -1 - if page.Response().Response.Response != nil { - sc = page.Response().Response.Response.StatusCode - } - tracing.EndSpan(ctx, sc, err) - }() - } - for { - next, err := page.fn(ctx, page.ieec) - if err != nil { - return err - } - page.ieec = next - if !next.hasNextLink() || !next.IsEmpty() { - break - } - } - return nil +// Google the configuration settings of the Google provider. +type Google struct { + // Enabled - false if the Google provider should not be enabled despite the set registration; otherwise, true. + Enabled *bool `json:"enabled,omitempty"` + // Registration - The configuration settings of the app registration for the Google provider. + Registration *ClientRegistration `json:"registration,omitempty"` + // Login - The configuration settings of the login flow. + Login *LoginScopes `json:"login,omitempty"` + // Validation - The configuration settings of the Azure Active Directory token validation flow. + Validation *AllowedAudiencesValidation `json:"validation,omitempty"` } -// Next advances to the next page of values. If there was an error making -// the request the page does not advance and the error is returned. -// Deprecated: Use NextWithContext() instead. -func (page *InboundEnvironmentEndpointCollectionPage) Next() error { - return page.NextWithContext(context.Background()) +// HandlerMapping the IIS handler mappings used to define which handler processes HTTP requests with +// certain extension. +// For example, it is used to configure php-cgi.exe process to handle all HTTP requests with *.php +// extension. +type HandlerMapping struct { + // Extension - Requests with this extension will be handled using the specified FastCGI application. + Extension *string `json:"extension,omitempty"` + // ScriptProcessor - The absolute path to the FastCGI application. + ScriptProcessor *string `json:"scriptProcessor,omitempty"` + // Arguments - Command-line arguments to be passed to the script processor. + Arguments *string `json:"arguments,omitempty"` } -// NotDone returns true if the page enumeration should be started or is not yet complete. -func (page InboundEnvironmentEndpointCollectionPage) NotDone() bool { - return !page.ieec.IsEmpty() +// HostingEnvironmentDeploymentInfo information needed to create resources on an App Service Environment. +type HostingEnvironmentDeploymentInfo struct { + // Name - Name of the App Service Environment. + Name *string `json:"name,omitempty"` + // Location - Location of the App Service Environment. + Location *string `json:"location,omitempty"` } -// Response returns the raw server response from the last page request. -func (page InboundEnvironmentEndpointCollectionPage) Response() InboundEnvironmentEndpointCollection { - return page.ieec +// HostingEnvironmentDiagnostics diagnostics for an App Service Environment. +type HostingEnvironmentDiagnostics struct { + autorest.Response `json:"-"` + // Name - Name/identifier of the diagnostics. + Name *string `json:"name,omitempty"` + // DiagnosticsOutput - Diagnostics output. + DiagnosticsOutput *string `json:"diagnosticsOutput,omitempty"` } -// Values returns the slice of values for the current page or nil if there are no values. -func (page InboundEnvironmentEndpointCollectionPage) Values() []InboundEnvironmentEndpoint { - if page.ieec.IsEmpty() { - return nil - } - return *page.ieec.Value +// HostingEnvironmentProfile specification for an App Service Environment to use for this resource. +type HostingEnvironmentProfile struct { + // ID - Resource ID of the App Service Environment. + ID *string `json:"id,omitempty"` + // Name - READ-ONLY; Name of the App Service Environment. + Name *string `json:"name,omitempty"` + // Type - READ-ONLY; Resource type of the App Service Environment. + Type *string `json:"type,omitempty"` } -// Creates a new instance of the InboundEnvironmentEndpointCollectionPage type. -func NewInboundEnvironmentEndpointCollectionPage(cur InboundEnvironmentEndpointCollection, getNextPage func(context.Context, InboundEnvironmentEndpointCollection) (InboundEnvironmentEndpointCollection, error)) InboundEnvironmentEndpointCollectionPage { - return InboundEnvironmentEndpointCollectionPage{ - fn: getNextPage, - ieec: cur, +// MarshalJSON is the custom marshaler for HostingEnvironmentProfile. +func (hep HostingEnvironmentProfile) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if hep.ID != nil { + objectMap["id"] = hep.ID } + return json.Marshal(objectMap) } -// IPSecurityRestriction IP security restriction on an app. -type IPSecurityRestriction struct { - // IPAddress - IP address the security restriction is valid for. - // It can be in form of pure ipv4 address (required SubnetMask property) or - // CIDR notation such as ipv4/mask (leading bit match). For CIDR, - // SubnetMask property must not be specified. - IPAddress *string `json:"ipAddress,omitempty"` - // SubnetMask - Subnet mask for the range of IP addresses the restriction is valid for. - SubnetMask *string `json:"subnetMask,omitempty"` - // VnetSubnetResourceID - Virtual network resource id - VnetSubnetResourceID *string `json:"vnetSubnetResourceId,omitempty"` - // VnetTrafficTag - (internal) Vnet traffic tag - VnetTrafficTag *int32 `json:"vnetTrafficTag,omitempty"` - // SubnetTrafficTag - (internal) Subnet traffic tag - SubnetTrafficTag *int32 `json:"subnetTrafficTag,omitempty"` - // Action - Allow or Deny access for this IP range. - Action *string `json:"action,omitempty"` - // Tag - Defines what this IP filter will be used for. This is to support IP filtering on proxies. Possible values include: 'IPFilterTagDefault', 'IPFilterTagXffProxy', 'IPFilterTagServiceTag' - Tag IPFilterTag `json:"tag,omitempty"` - // Priority - Priority of IP restriction rule. - Priority *int32 `json:"priority,omitempty"` - // Name - IP restriction rule name. - Name *string `json:"name,omitempty"` - // Description - IP restriction rule description. - Description *string `json:"description,omitempty"` - // Headers - IP restriction rule headers. - // X-Forwarded-Host (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-Host#Examples). - // The matching logic is .. - // - If the property is null or empty (default), all hosts(or lack of) are allowed. - // - A value is compared using ordinal-ignore-case (excluding port number). - // - Subdomain wildcards are permitted but don't match the root domain. For example, *.contoso.com matches the subdomain foo.contoso.com - // but not the root domain contoso.com or multi-level foo.bar.contoso.com - // - Unicode host names are allowed but are converted to Punycode for matching. - // X-Forwarded-For (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-For#Examples). - // The matching logic is .. - // - If the property is null or empty (default), any forwarded-for chains (or lack of) are allowed. - // - If any address (excluding port number) in the chain (comma separated) matches the CIDR defined by the property. - // X-Azure-FDID and X-FD-HealthProbe. - // The matching logic is exact match. - Headers map[string][]string `json:"headers"` +// HostKeys functions host level keys. +type HostKeys struct { + autorest.Response `json:"-"` + // MasterKey - Secret key. + MasterKey *string `json:"masterKey,omitempty"` + // FunctionKeys - Host level function keys. + FunctionKeys map[string]*string `json:"functionKeys"` + // SystemKeys - System keys. + SystemKeys map[string]*string `json:"systemKeys"` } -// MarshalJSON is the custom marshaler for IPSecurityRestriction. -func (isr IPSecurityRestriction) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for HostKeys. +func (hk HostKeys) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if isr.IPAddress != nil { - objectMap["ipAddress"] = isr.IPAddress - } - if isr.SubnetMask != nil { - objectMap["subnetMask"] = isr.SubnetMask - } - if isr.VnetSubnetResourceID != nil { - objectMap["vnetSubnetResourceId"] = isr.VnetSubnetResourceID - } - if isr.VnetTrafficTag != nil { - objectMap["vnetTrafficTag"] = isr.VnetTrafficTag - } - if isr.SubnetTrafficTag != nil { - objectMap["subnetTrafficTag"] = isr.SubnetTrafficTag - } - if isr.Action != nil { - objectMap["action"] = isr.Action - } - if isr.Tag != "" { - objectMap["tag"] = isr.Tag - } - if isr.Priority != nil { - objectMap["priority"] = isr.Priority - } - if isr.Name != nil { - objectMap["name"] = isr.Name + if hk.MasterKey != nil { + objectMap["masterKey"] = hk.MasterKey } - if isr.Description != nil { - objectMap["description"] = isr.Description + if hk.FunctionKeys != nil { + objectMap["functionKeys"] = hk.FunctionKeys } - if isr.Headers != nil { - objectMap["headers"] = isr.Headers + if hk.SystemKeys != nil { + objectMap["systemKeys"] = hk.SystemKeys } return json.Marshal(objectMap) } -// Job web Job Information. -type Job struct { +// HostName details of a hostname derived from a domain. +type HostName struct { + // Name - Name of the hostname. + Name *string `json:"name,omitempty"` + // SiteNames - List of apps the hostname is assigned to. This list will have more than one app only if the hostname is pointing to a Traffic Manager. + SiteNames *[]string `json:"siteNames,omitempty"` + // AzureResourceName - Name of the Azure resource the hostname is assigned to. If it is assigned to a Traffic Manager then it will be the Traffic Manager name otherwise it will be the app name. + AzureResourceName *string `json:"azureResourceName,omitempty"` + // AzureResourceType - Type of the Azure resource the hostname is assigned to. Possible values include: 'AzureResourceTypeWebsite', 'AzureResourceTypeTrafficManager' + AzureResourceType AzureResourceType `json:"azureResourceType,omitempty"` + // CustomHostNameDNSRecordType - Type of the DNS record. Possible values include: 'CustomHostNameDNSRecordTypeCName', 'CustomHostNameDNSRecordTypeA' + CustomHostNameDNSRecordType CustomHostNameDNSRecordType `json:"customHostNameDnsRecordType,omitempty"` + // HostNameType - Type of the hostname. Possible values include: 'HostNameTypeVerified', 'HostNameTypeManaged' + HostNameType HostNameType `json:"hostNameType,omitempty"` +} + +// HostNameBinding a hostname binding object. +type HostNameBinding struct { autorest.Response `json:"-"` - // JobProperties - WebJob resource specific properties - *JobProperties `json:"properties,omitempty"` + // HostNameBindingProperties - HostNameBinding resource specific properties + *HostNameBindingProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. @@ -16298,20 +12834,20 @@ type Job struct { Type *string `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for Job. -func (j Job) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for HostNameBinding. +func (hnb HostNameBinding) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if j.JobProperties != nil { - objectMap["properties"] = j.JobProperties + if hnb.HostNameBindingProperties != nil { + objectMap["properties"] = hnb.HostNameBindingProperties } - if j.Kind != nil { - objectMap["kind"] = j.Kind + if hnb.Kind != nil { + objectMap["kind"] = hnb.Kind } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for Job struct. -func (j *Job) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for HostNameBinding struct. +func (hnb *HostNameBinding) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -16321,12 +12857,12 @@ func (j *Job) UnmarshalJSON(body []byte) error { switch k { case "properties": if v != nil { - var jobProperties JobProperties - err = json.Unmarshal(*v, &jobProperties) + var hostNameBindingProperties HostNameBindingProperties + err = json.Unmarshal(*v, &hostNameBindingProperties) if err != nil { return err } - j.JobProperties = &jobProperties + hnb.HostNameBindingProperties = &hostNameBindingProperties } case "id": if v != nil { @@ -16335,7 +12871,7 @@ func (j *Job) UnmarshalJSON(body []byte) error { if err != nil { return err } - j.ID = &ID + hnb.ID = &ID } case "name": if v != nil { @@ -16344,7 +12880,7 @@ func (j *Job) UnmarshalJSON(body []byte) error { if err != nil { return err } - j.Name = &name + hnb.Name = &name } case "kind": if v != nil { @@ -16353,7 +12889,7 @@ func (j *Job) UnmarshalJSON(body []byte) error { if err != nil { return err } - j.Kind = &kind + hnb.Kind = &kind } case "type": if v != nil { @@ -16362,7 +12898,7 @@ func (j *Job) UnmarshalJSON(body []byte) error { if err != nil { return err } - j.Type = &typeVar + hnb.Type = &typeVar } } } @@ -16370,35 +12906,35 @@ func (j *Job) UnmarshalJSON(body []byte) error { return nil } -// JobCollection collection of Kudu web job information elements. -type JobCollection struct { +// HostNameBindingCollection collection of hostname bindings. +type HostNameBindingCollection struct { autorest.Response `json:"-"` // Value - Collection of resources. - Value *[]Job `json:"value,omitempty"` + Value *[]HostNameBinding `json:"value,omitempty"` // NextLink - READ-ONLY; Link to next page of resources. NextLink *string `json:"nextLink,omitempty"` } -// MarshalJSON is the custom marshaler for JobCollection. -func (jc JobCollection) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for HostNameBindingCollection. +func (hnbc HostNameBindingCollection) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if jc.Value != nil { - objectMap["value"] = jc.Value + if hnbc.Value != nil { + objectMap["value"] = hnbc.Value } return json.Marshal(objectMap) } -// JobCollectionIterator provides access to a complete listing of Job values. -type JobCollectionIterator struct { +// HostNameBindingCollectionIterator provides access to a complete listing of HostNameBinding values. +type HostNameBindingCollectionIterator struct { i int - page JobCollectionPage + page HostNameBindingCollectionPage } // NextWithContext advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. -func (iter *JobCollectionIterator) NextWithContext(ctx context.Context) (err error) { +func (iter *HostNameBindingCollectionIterator) NextWithContext(ctx context.Context) (err error) { if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/JobCollectionIterator.NextWithContext") + ctx = tracing.StartSpan(ctx, fqdn+"/HostNameBindingCollectionIterator.NextWithContext") defer func() { sc := -1 if iter.Response().Response.Response != nil { @@ -16423,67 +12959,67 @@ func (iter *JobCollectionIterator) NextWithContext(ctx context.Context) (err err // Next advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. // Deprecated: Use NextWithContext() instead. -func (iter *JobCollectionIterator) Next() error { +func (iter *HostNameBindingCollectionIterator) Next() error { return iter.NextWithContext(context.Background()) } // NotDone returns true if the enumeration should be started or is not yet complete. -func (iter JobCollectionIterator) NotDone() bool { +func (iter HostNameBindingCollectionIterator) NotDone() bool { return iter.page.NotDone() && iter.i < len(iter.page.Values()) } // Response returns the raw server response from the last page request. -func (iter JobCollectionIterator) Response() JobCollection { +func (iter HostNameBindingCollectionIterator) Response() HostNameBindingCollection { return iter.page.Response() } // Value returns the current value or a zero-initialized value if the // iterator has advanced beyond the end of the collection. -func (iter JobCollectionIterator) Value() Job { +func (iter HostNameBindingCollectionIterator) Value() HostNameBinding { if !iter.page.NotDone() { - return Job{} + return HostNameBinding{} } return iter.page.Values()[iter.i] } -// Creates a new instance of the JobCollectionIterator type. -func NewJobCollectionIterator(page JobCollectionPage) JobCollectionIterator { - return JobCollectionIterator{page: page} +// Creates a new instance of the HostNameBindingCollectionIterator type. +func NewHostNameBindingCollectionIterator(page HostNameBindingCollectionPage) HostNameBindingCollectionIterator { + return HostNameBindingCollectionIterator{page: page} } // IsEmpty returns true if the ListResult contains no values. -func (jc JobCollection) IsEmpty() bool { - return jc.Value == nil || len(*jc.Value) == 0 +func (hnbc HostNameBindingCollection) IsEmpty() bool { + return hnbc.Value == nil || len(*hnbc.Value) == 0 } // hasNextLink returns true if the NextLink is not empty. -func (jc JobCollection) hasNextLink() bool { - return jc.NextLink != nil && len(*jc.NextLink) != 0 +func (hnbc HostNameBindingCollection) hasNextLink() bool { + return hnbc.NextLink != nil && len(*hnbc.NextLink) != 0 } -// jobCollectionPreparer prepares a request to retrieve the next set of results. +// hostNameBindingCollectionPreparer prepares a request to retrieve the next set of results. // It returns nil if no more results exist. -func (jc JobCollection) jobCollectionPreparer(ctx context.Context) (*http.Request, error) { - if !jc.hasNextLink() { +func (hnbc HostNameBindingCollection) hostNameBindingCollectionPreparer(ctx context.Context) (*http.Request, error) { + if !hnbc.hasNextLink() { return nil, nil } return autorest.Prepare((&http.Request{}).WithContext(ctx), autorest.AsJSON(), autorest.AsGet(), - autorest.WithBaseURL(to.String(jc.NextLink))) + autorest.WithBaseURL(to.String(hnbc.NextLink))) } -// JobCollectionPage contains a page of Job values. -type JobCollectionPage struct { - fn func(context.Context, JobCollection) (JobCollection, error) - jc JobCollection +// HostNameBindingCollectionPage contains a page of HostNameBinding values. +type HostNameBindingCollectionPage struct { + fn func(context.Context, HostNameBindingCollection) (HostNameBindingCollection, error) + hnbc HostNameBindingCollection } // NextWithContext advances to the next page of values. If there was an error making // the request the page does not advance and the error is returned. -func (page *JobCollectionPage) NextWithContext(ctx context.Context) (err error) { +func (page *HostNameBindingCollectionPage) NextWithContext(ctx context.Context) (err error) { if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/JobCollectionPage.NextWithContext") + ctx = tracing.StartSpan(ctx, fqdn+"/HostNameBindingCollectionPage.NextWithContext") defer func() { sc := -1 if page.Response().Response.Response != nil { @@ -16493,11 +13029,11 @@ func (page *JobCollectionPage) NextWithContext(ctx context.Context) (err error) }() } for { - next, err := page.fn(ctx, page.jc) + next, err := page.fn(ctx, page.hnbc) if err != nil { return err } - page.jc = next + page.hnbc = next if !next.hasNextLink() || !next.IsEmpty() { break } @@ -16508,242 +13044,158 @@ func (page *JobCollectionPage) NextWithContext(ctx context.Context) (err error) // Next advances to the next page of values. If there was an error making // the request the page does not advance and the error is returned. // Deprecated: Use NextWithContext() instead. -func (page *JobCollectionPage) Next() error { +func (page *HostNameBindingCollectionPage) Next() error { return page.NextWithContext(context.Background()) } // NotDone returns true if the page enumeration should be started or is not yet complete. -func (page JobCollectionPage) NotDone() bool { - return !page.jc.IsEmpty() +func (page HostNameBindingCollectionPage) NotDone() bool { + return !page.hnbc.IsEmpty() } // Response returns the raw server response from the last page request. -func (page JobCollectionPage) Response() JobCollection { - return page.jc +func (page HostNameBindingCollectionPage) Response() HostNameBindingCollection { + return page.hnbc } // Values returns the slice of values for the current page or nil if there are no values. -func (page JobCollectionPage) Values() []Job { - if page.jc.IsEmpty() { +func (page HostNameBindingCollectionPage) Values() []HostNameBinding { + if page.hnbc.IsEmpty() { return nil } - return *page.jc.Value -} - -// Creates a new instance of the JobCollectionPage type. -func NewJobCollectionPage(cur JobCollection, getNextPage func(context.Context, JobCollection) (JobCollection, error)) JobCollectionPage { - return JobCollectionPage{ - fn: getNextPage, - jc: cur, - } -} - -// JobProperties webJob resource specific properties -type JobProperties struct { - // RunCommand - Run command. - RunCommand *string `json:"run_command,omitempty"` - // URL - Job URL. - URL *string `json:"url,omitempty"` - // ExtraInfoURL - Extra Info URL. - ExtraInfoURL *string `json:"extra_info_url,omitempty"` - // WebJobType - Job type. Possible values include: 'JobTypeContinuous', 'JobTypeTriggered' - WebJobType JobType `json:"web_job_type,omitempty"` - // Error - Error information. - Error *string `json:"error,omitempty"` - // UsingSdk - Using SDK? - UsingSdk *bool `json:"using_sdk,omitempty"` - // Settings - Job settings. - Settings map[string]interface{} `json:"settings"` -} - -// MarshalJSON is the custom marshaler for JobProperties. -func (j JobProperties) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if j.RunCommand != nil { - objectMap["run_command"] = j.RunCommand - } - if j.URL != nil { - objectMap["url"] = j.URL - } - if j.ExtraInfoURL != nil { - objectMap["extra_info_url"] = j.ExtraInfoURL - } - if j.WebJobType != "" { - objectMap["web_job_type"] = j.WebJobType - } - if j.Error != nil { - objectMap["error"] = j.Error - } - if j.UsingSdk != nil { - objectMap["using_sdk"] = j.UsingSdk - } - if j.Settings != nil { - objectMap["settings"] = j.Settings - } - return json.Marshal(objectMap) -} - -// JwtClaimChecks the configuration settings of the checks that should be made while validating the JWT -// Claims. -type JwtClaimChecks struct { - // JwtClaimChecksProperties - JwtClaimChecks resource specific properties - *JwtClaimChecksProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` + return *page.hnbc.Value } -// MarshalJSON is the custom marshaler for JwtClaimChecks. -func (jcc JwtClaimChecks) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if jcc.JwtClaimChecksProperties != nil { - objectMap["properties"] = jcc.JwtClaimChecksProperties - } - if jcc.Kind != nil { - objectMap["kind"] = jcc.Kind +// Creates a new instance of the HostNameBindingCollectionPage type. +func NewHostNameBindingCollectionPage(cur HostNameBindingCollection, getNextPage func(context.Context, HostNameBindingCollection) (HostNameBindingCollection, error)) HostNameBindingCollectionPage { + return HostNameBindingCollectionPage{ + fn: getNextPage, + hnbc: cur, } - return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for JwtClaimChecks struct. -func (jcc *JwtClaimChecks) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var jwtClaimChecksProperties JwtClaimChecksProperties - err = json.Unmarshal(*v, &jwtClaimChecksProperties) - if err != nil { - return err - } - jcc.JwtClaimChecksProperties = &jwtClaimChecksProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - jcc.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - jcc.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - jcc.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - jcc.Type = &typeVar - } - } - } - - return nil +// HostNameBindingProperties hostNameBinding resource specific properties +type HostNameBindingProperties struct { + // SiteName - App Service app name. + SiteName *string `json:"siteName,omitempty"` + // DomainID - Fully qualified ARM domain resource URI. + DomainID *string `json:"domainId,omitempty"` + // AzureResourceName - Azure resource name. + AzureResourceName *string `json:"azureResourceName,omitempty"` + // AzureResourceType - Azure resource type. Possible values include: 'AzureResourceTypeWebsite', 'AzureResourceTypeTrafficManager' + AzureResourceType AzureResourceType `json:"azureResourceType,omitempty"` + // CustomHostNameDNSRecordType - Custom DNS record type. Possible values include: 'CustomHostNameDNSRecordTypeCName', 'CustomHostNameDNSRecordTypeA' + CustomHostNameDNSRecordType CustomHostNameDNSRecordType `json:"customHostNameDnsRecordType,omitempty"` + // HostNameType - Hostname type. Possible values include: 'HostNameTypeVerified', 'HostNameTypeManaged' + HostNameType HostNameType `json:"hostNameType,omitempty"` + // SslState - SSL type. Possible values include: 'SslStateDisabled', 'SslStateSniEnabled', 'SslStateIPBasedEnabled' + SslState SslState `json:"sslState,omitempty"` + // Thumbprint - SSL certificate thumbprint + Thumbprint *string `json:"thumbprint,omitempty"` + // VirtualIP - READ-ONLY; Virtual IP address assigned to the hostname if IP based SSL is enabled. + VirtualIP *string `json:"virtualIP,omitempty"` } -// JwtClaimChecksProperties jwtClaimChecks resource specific properties -type JwtClaimChecksProperties struct { - // AllowedGroups - The list of the allowed groups. - AllowedGroups *[]string `json:"allowedGroups,omitempty"` - // AllowedClientApplications - The list of the allowed client applications. - AllowedClientApplications *[]string `json:"allowedClientApplications,omitempty"` +// MarshalJSON is the custom marshaler for HostNameBindingProperties. +func (hnb HostNameBindingProperties) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if hnb.SiteName != nil { + objectMap["siteName"] = hnb.SiteName + } + if hnb.DomainID != nil { + objectMap["domainId"] = hnb.DomainID + } + if hnb.AzureResourceName != nil { + objectMap["azureResourceName"] = hnb.AzureResourceName + } + if hnb.AzureResourceType != "" { + objectMap["azureResourceType"] = hnb.AzureResourceType + } + if hnb.CustomHostNameDNSRecordType != "" { + objectMap["customHostNameDnsRecordType"] = hnb.CustomHostNameDNSRecordType + } + if hnb.HostNameType != "" { + objectMap["hostNameType"] = hnb.HostNameType + } + if hnb.SslState != "" { + objectMap["sslState"] = hnb.SslState + } + if hnb.Thumbprint != nil { + objectMap["thumbprint"] = hnb.Thumbprint + } + return json.Marshal(objectMap) } -// KeyInfo function key info. -type KeyInfo struct { - autorest.Response `json:"-"` - // Name - Key name +// HostNameSslState SSL-enabled hostname. +type HostNameSslState struct { + // Name - Hostname. Name *string `json:"name,omitempty"` - // Value - Key value - Value *string `json:"value,omitempty"` + // SslState - SSL type. Possible values include: 'SslStateDisabled', 'SslStateSniEnabled', 'SslStateIPBasedEnabled' + SslState SslState `json:"sslState,omitempty"` + // VirtualIP - Virtual IP address assigned to the hostname if IP based SSL is enabled. + VirtualIP *string `json:"virtualIP,omitempty"` + // Thumbprint - SSL certificate thumbprint. + Thumbprint *string `json:"thumbprint,omitempty"` + // ToUpdate - Set to true to update existing hostname. + ToUpdate *bool `json:"toUpdate,omitempty"` + // HostType - Indicates whether the hostname is a standard or repository hostname. Possible values include: 'HostTypeStandard', 'HostTypeRepository' + HostType HostType `json:"hostType,omitempty"` } -// KeyValuePairStringObject ... -type KeyValuePairStringObject struct { - // Key - READ-ONLY - Key *string `json:"key,omitempty"` - // Value - READ-ONLY - Value interface{} `json:"value,omitempty"` +// HTTPLogsConfig http logs configuration. +type HTTPLogsConfig struct { + // FileSystem - Http logs to file system configuration. + FileSystem *FileSystemHTTPLogsConfig `json:"fileSystem,omitempty"` + // AzureBlobStorage - Http logs to azure blob storage configuration. + AzureBlobStorage *AzureBlobStorageHTTPLogsConfig `json:"azureBlobStorage,omitempty"` } -// MarshalJSON is the custom marshaler for KeyValuePairStringObject. -func (kvpSo KeyValuePairStringObject) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - return json.Marshal(objectMap) +// HTTPSettings the configuration settings of the HTTP requests for authentication and authorization +// requests made against App Service Authentication/Authorization. +type HTTPSettings struct { + // RequireHTTPS - false if the authentication/authorization responses not having the HTTPS scheme are permissible; otherwise, true. + RequireHTTPS *bool `json:"requireHttps,omitempty"` + // Routes - The configuration settings of the paths HTTP requests. + Routes *HTTPSettingsRoutes `json:"routes,omitempty"` + // ForwardProxy - The configuration settings of a forward proxy used to make the requests. + ForwardProxy *ForwardProxy `json:"forwardProxy,omitempty"` } -// KubeEnvironment a Kubernetes cluster specialized for web workloads by Azure App Service -type KubeEnvironment struct { +// HTTPSettingsRoutes the configuration settings of the paths HTTP requests. +type HTTPSettingsRoutes struct { + // APIPrefix - The prefix that should precede all the authentication/authorization paths. + APIPrefix *string `json:"apiPrefix,omitempty"` +} + +// HybridConnection hybrid Connection contract. This is used to configure a Hybrid Connection. +type HybridConnection struct { autorest.Response `json:"-"` - // KubeEnvironmentProperties - KubeEnvironment resource specific properties - *KubeEnvironmentProperties `json:"properties,omitempty"` - ExtendedLocation *ExtendedLocation `json:"extendedLocation,omitempty"` + // HybridConnectionProperties - HybridConnection resource specific properties + *HybridConnectionProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` - // Location - Resource Location. - Location *string `json:"location,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` - // Tags - Resource tags. - Tags map[string]*string `json:"tags"` } -// MarshalJSON is the custom marshaler for KubeEnvironment. -func (ke KubeEnvironment) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for HybridConnection. +func (hc HybridConnection) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if ke.KubeEnvironmentProperties != nil { - objectMap["properties"] = ke.KubeEnvironmentProperties - } - if ke.ExtendedLocation != nil { - objectMap["extendedLocation"] = ke.ExtendedLocation - } - if ke.Kind != nil { - objectMap["kind"] = ke.Kind - } - if ke.Location != nil { - objectMap["location"] = ke.Location + if hc.HybridConnectionProperties != nil { + objectMap["properties"] = hc.HybridConnectionProperties } - if ke.Tags != nil { - objectMap["tags"] = ke.Tags + if hc.Kind != nil { + objectMap["kind"] = hc.Kind } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for KubeEnvironment struct. -func (ke *KubeEnvironment) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for HybridConnection struct. +func (hc *HybridConnection) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -16753,21 +13205,12 @@ func (ke *KubeEnvironment) UnmarshalJSON(body []byte) error { switch k { case "properties": if v != nil { - var kubeEnvironmentProperties KubeEnvironmentProperties - err = json.Unmarshal(*v, &kubeEnvironmentProperties) - if err != nil { - return err - } - ke.KubeEnvironmentProperties = &kubeEnvironmentProperties - } - case "extendedLocation": - if v != nil { - var extendedLocation ExtendedLocation - err = json.Unmarshal(*v, &extendedLocation) + var hybridConnectionProperties HybridConnectionProperties + err = json.Unmarshal(*v, &hybridConnectionProperties) if err != nil { return err } - ke.ExtendedLocation = &extendedLocation + hc.HybridConnectionProperties = &hybridConnectionProperties } case "id": if v != nil { @@ -16776,7 +13219,7 @@ func (ke *KubeEnvironment) UnmarshalJSON(body []byte) error { if err != nil { return err } - ke.ID = &ID + hc.ID = &ID } case "name": if v != nil { @@ -16785,7 +13228,7 @@ func (ke *KubeEnvironment) UnmarshalJSON(body []byte) error { if err != nil { return err } - ke.Name = &name + hc.Name = &name } case "kind": if v != nil { @@ -16794,16 +13237,7 @@ func (ke *KubeEnvironment) UnmarshalJSON(body []byte) error { if err != nil { return err } - ke.Kind = &kind - } - case "location": - if v != nil { - var location string - err = json.Unmarshal(*v, &location) - if err != nil { - return err - } - ke.Location = &location + hc.Kind = &kind } case "type": if v != nil { @@ -16812,16 +13246,7 @@ func (ke *KubeEnvironment) UnmarshalJSON(body []byte) error { if err != nil { return err } - ke.Type = &typeVar - } - case "tags": - if v != nil { - var tags map[string]*string - err = json.Unmarshal(*v, &tags) - if err != nil { - return err - } - ke.Tags = tags + hc.Type = &typeVar } } } @@ -16829,35 +13254,35 @@ func (ke *KubeEnvironment) UnmarshalJSON(body []byte) error { return nil } -// KubeEnvironmentCollection collection of Kubernetes Environments -type KubeEnvironmentCollection struct { +// HybridConnectionCollection collection of hostname bindings. +type HybridConnectionCollection struct { autorest.Response `json:"-"` // Value - Collection of resources. - Value *[]KubeEnvironment `json:"value,omitempty"` + Value *[]HybridConnection `json:"value,omitempty"` // NextLink - READ-ONLY; Link to next page of resources. NextLink *string `json:"nextLink,omitempty"` } -// MarshalJSON is the custom marshaler for KubeEnvironmentCollection. -func (kec KubeEnvironmentCollection) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for HybridConnectionCollection. +func (hcc HybridConnectionCollection) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if kec.Value != nil { - objectMap["value"] = kec.Value + if hcc.Value != nil { + objectMap["value"] = hcc.Value } return json.Marshal(objectMap) } -// KubeEnvironmentCollectionIterator provides access to a complete listing of KubeEnvironment values. -type KubeEnvironmentCollectionIterator struct { +// HybridConnectionCollectionIterator provides access to a complete listing of HybridConnection values. +type HybridConnectionCollectionIterator struct { i int - page KubeEnvironmentCollectionPage + page HybridConnectionCollectionPage } // NextWithContext advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. -func (iter *KubeEnvironmentCollectionIterator) NextWithContext(ctx context.Context) (err error) { +func (iter *HybridConnectionCollectionIterator) NextWithContext(ctx context.Context) (err error) { if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/KubeEnvironmentCollectionIterator.NextWithContext") + ctx = tracing.StartSpan(ctx, fqdn+"/HybridConnectionCollectionIterator.NextWithContext") defer func() { sc := -1 if iter.Response().Response.Response != nil { @@ -16882,67 +13307,67 @@ func (iter *KubeEnvironmentCollectionIterator) NextWithContext(ctx context.Conte // Next advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. // Deprecated: Use NextWithContext() instead. -func (iter *KubeEnvironmentCollectionIterator) Next() error { +func (iter *HybridConnectionCollectionIterator) Next() error { return iter.NextWithContext(context.Background()) } // NotDone returns true if the enumeration should be started or is not yet complete. -func (iter KubeEnvironmentCollectionIterator) NotDone() bool { +func (iter HybridConnectionCollectionIterator) NotDone() bool { return iter.page.NotDone() && iter.i < len(iter.page.Values()) } // Response returns the raw server response from the last page request. -func (iter KubeEnvironmentCollectionIterator) Response() KubeEnvironmentCollection { +func (iter HybridConnectionCollectionIterator) Response() HybridConnectionCollection { return iter.page.Response() } // Value returns the current value or a zero-initialized value if the // iterator has advanced beyond the end of the collection. -func (iter KubeEnvironmentCollectionIterator) Value() KubeEnvironment { +func (iter HybridConnectionCollectionIterator) Value() HybridConnection { if !iter.page.NotDone() { - return KubeEnvironment{} + return HybridConnection{} } return iter.page.Values()[iter.i] } -// Creates a new instance of the KubeEnvironmentCollectionIterator type. -func NewKubeEnvironmentCollectionIterator(page KubeEnvironmentCollectionPage) KubeEnvironmentCollectionIterator { - return KubeEnvironmentCollectionIterator{page: page} +// Creates a new instance of the HybridConnectionCollectionIterator type. +func NewHybridConnectionCollectionIterator(page HybridConnectionCollectionPage) HybridConnectionCollectionIterator { + return HybridConnectionCollectionIterator{page: page} } // IsEmpty returns true if the ListResult contains no values. -func (kec KubeEnvironmentCollection) IsEmpty() bool { - return kec.Value == nil || len(*kec.Value) == 0 +func (hcc HybridConnectionCollection) IsEmpty() bool { + return hcc.Value == nil || len(*hcc.Value) == 0 } // hasNextLink returns true if the NextLink is not empty. -func (kec KubeEnvironmentCollection) hasNextLink() bool { - return kec.NextLink != nil && len(*kec.NextLink) != 0 +func (hcc HybridConnectionCollection) hasNextLink() bool { + return hcc.NextLink != nil && len(*hcc.NextLink) != 0 } -// kubeEnvironmentCollectionPreparer prepares a request to retrieve the next set of results. +// hybridConnectionCollectionPreparer prepares a request to retrieve the next set of results. // It returns nil if no more results exist. -func (kec KubeEnvironmentCollection) kubeEnvironmentCollectionPreparer(ctx context.Context) (*http.Request, error) { - if !kec.hasNextLink() { +func (hcc HybridConnectionCollection) hybridConnectionCollectionPreparer(ctx context.Context) (*http.Request, error) { + if !hcc.hasNextLink() { return nil, nil } return autorest.Prepare((&http.Request{}).WithContext(ctx), autorest.AsJSON(), autorest.AsGet(), - autorest.WithBaseURL(to.String(kec.NextLink))) + autorest.WithBaseURL(to.String(hcc.NextLink))) } -// KubeEnvironmentCollectionPage contains a page of KubeEnvironment values. -type KubeEnvironmentCollectionPage struct { - fn func(context.Context, KubeEnvironmentCollection) (KubeEnvironmentCollection, error) - kec KubeEnvironmentCollection +// HybridConnectionCollectionPage contains a page of HybridConnection values. +type HybridConnectionCollectionPage struct { + fn func(context.Context, HybridConnectionCollection) (HybridConnectionCollection, error) + hcc HybridConnectionCollection } // NextWithContext advances to the next page of values. If there was an error making // the request the page does not advance and the error is returned. -func (page *KubeEnvironmentCollectionPage) NextWithContext(ctx context.Context) (err error) { +func (page *HybridConnectionCollectionPage) NextWithContext(ctx context.Context) (err error) { if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/KubeEnvironmentCollectionPage.NextWithContext") + ctx = tracing.StartSpan(ctx, fqdn+"/HybridConnectionCollectionPage.NextWithContext") defer func() { sc := -1 if page.Response().Response.Response != nil { @@ -16952,11 +13377,11 @@ func (page *KubeEnvironmentCollectionPage) NextWithContext(ctx context.Context) }() } for { - next, err := page.fn(ctx, page.kec) + next, err := page.fn(ctx, page.hcc) if err != nil { return err } - page.kec = next + page.hcc = next if !next.hasNextLink() || !next.IsEmpty() { break } @@ -16967,40 +13392,42 @@ func (page *KubeEnvironmentCollectionPage) NextWithContext(ctx context.Context) // Next advances to the next page of values. If there was an error making // the request the page does not advance and the error is returned. // Deprecated: Use NextWithContext() instead. -func (page *KubeEnvironmentCollectionPage) Next() error { +func (page *HybridConnectionCollectionPage) Next() error { return page.NextWithContext(context.Background()) } // NotDone returns true if the page enumeration should be started or is not yet complete. -func (page KubeEnvironmentCollectionPage) NotDone() bool { - return !page.kec.IsEmpty() +func (page HybridConnectionCollectionPage) NotDone() bool { + return !page.hcc.IsEmpty() } // Response returns the raw server response from the last page request. -func (page KubeEnvironmentCollectionPage) Response() KubeEnvironmentCollection { - return page.kec +func (page HybridConnectionCollectionPage) Response() HybridConnectionCollection { + return page.hcc } // Values returns the slice of values for the current page or nil if there are no values. -func (page KubeEnvironmentCollectionPage) Values() []KubeEnvironment { - if page.kec.IsEmpty() { +func (page HybridConnectionCollectionPage) Values() []HybridConnection { + if page.hcc.IsEmpty() { return nil } - return *page.kec.Value + return *page.hcc.Value } -// Creates a new instance of the KubeEnvironmentCollectionPage type. -func NewKubeEnvironmentCollectionPage(cur KubeEnvironmentCollection, getNextPage func(context.Context, KubeEnvironmentCollection) (KubeEnvironmentCollection, error)) KubeEnvironmentCollectionPage { - return KubeEnvironmentCollectionPage{ +// Creates a new instance of the HybridConnectionCollectionPage type. +func NewHybridConnectionCollectionPage(cur HybridConnectionCollection, getNextPage func(context.Context, HybridConnectionCollection) (HybridConnectionCollection, error)) HybridConnectionCollectionPage { + return HybridConnectionCollectionPage{ fn: getNextPage, - kec: cur, + hcc: cur, } } -// KubeEnvironmentPatchResource ARM resource for a KubeEnvironment when patching -type KubeEnvironmentPatchResource struct { - // KubeEnvironmentPatchResourceProperties - KubeEnvironmentPatchResource resource specific properties - *KubeEnvironmentPatchResourceProperties `json:"properties,omitempty"` +// HybridConnectionKey hybrid Connection key contract. This has the send key name and value for a Hybrid +// Connection. +type HybridConnectionKey struct { + autorest.Response `json:"-"` + // HybridConnectionKeyProperties - HybridConnectionKey resource specific properties + *HybridConnectionKeyProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. @@ -17011,20 +13438,20 @@ type KubeEnvironmentPatchResource struct { Type *string `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for KubeEnvironmentPatchResource. -func (kepr KubeEnvironmentPatchResource) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for HybridConnectionKey. +func (hck HybridConnectionKey) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if kepr.KubeEnvironmentPatchResourceProperties != nil { - objectMap["properties"] = kepr.KubeEnvironmentPatchResourceProperties + if hck.HybridConnectionKeyProperties != nil { + objectMap["properties"] = hck.HybridConnectionKeyProperties } - if kepr.Kind != nil { - objectMap["kind"] = kepr.Kind + if hck.Kind != nil { + objectMap["kind"] = hck.Kind } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for KubeEnvironmentPatchResource struct. -func (kepr *KubeEnvironmentPatchResource) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for HybridConnectionKey struct. +func (hck *HybridConnectionKey) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -17034,12 +13461,12 @@ func (kepr *KubeEnvironmentPatchResource) UnmarshalJSON(body []byte) error { switch k { case "properties": if v != nil { - var kubeEnvironmentPatchResourceProperties KubeEnvironmentPatchResourceProperties - err = json.Unmarshal(*v, &kubeEnvironmentPatchResourceProperties) + var hybridConnectionKeyProperties HybridConnectionKeyProperties + err = json.Unmarshal(*v, &hybridConnectionKeyProperties) if err != nil { return err } - kepr.KubeEnvironmentPatchResourceProperties = &kubeEnvironmentPatchResourceProperties + hck.HybridConnectionKeyProperties = &hybridConnectionKeyProperties } case "id": if v != nil { @@ -17048,7 +13475,7 @@ func (kepr *KubeEnvironmentPatchResource) UnmarshalJSON(body []byte) error { if err != nil { return err } - kepr.ID = &ID + hck.ID = &ID } case "name": if v != nil { @@ -17057,7 +13484,7 @@ func (kepr *KubeEnvironmentPatchResource) UnmarshalJSON(body []byte) error { if err != nil { return err } - kepr.Name = &name + hck.Name = &name } case "kind": if v != nil { @@ -17066,7 +13493,7 @@ func (kepr *KubeEnvironmentPatchResource) UnmarshalJSON(body []byte) error { if err != nil { return err } - kepr.Kind = &kind + hck.Kind = &kind } case "type": if v != nil { @@ -17075,7 +13502,7 @@ func (kepr *KubeEnvironmentPatchResource) UnmarshalJSON(body []byte) error { if err != nil { return err } - kepr.Type = &typeVar + hck.Type = &typeVar } } } @@ -17083,197 +13510,148 @@ func (kepr *KubeEnvironmentPatchResource) UnmarshalJSON(body []byte) error { return nil } -// KubeEnvironmentPatchResourceProperties kubeEnvironmentPatchResource resource specific properties -type KubeEnvironmentPatchResourceProperties struct { - // ProvisioningState - READ-ONLY; Provisioning state of the Kubernetes Environment. Possible values include: 'KubeEnvironmentProvisioningStateSucceeded', 'KubeEnvironmentProvisioningStateFailed', 'KubeEnvironmentProvisioningStateCanceled', 'KubeEnvironmentProvisioningStateWaiting', 'KubeEnvironmentProvisioningStateInitializationInProgress', 'KubeEnvironmentProvisioningStateInfrastructureSetupInProgress', 'KubeEnvironmentProvisioningStateInfrastructureSetupComplete', 'KubeEnvironmentProvisioningStateScheduledForDelete', 'KubeEnvironmentProvisioningStateUpgradeRequested', 'KubeEnvironmentProvisioningStateUpgradeFailed' - ProvisioningState KubeEnvironmentProvisioningState `json:"provisioningState,omitempty"` - // DeploymentErrors - READ-ONLY; Any errors that occurred during deployment or deployment validation - DeploymentErrors *string `json:"deploymentErrors,omitempty"` - // InternalLoadBalancerEnabled - Only visible within Vnet/Subnet - InternalLoadBalancerEnabled *bool `json:"internalLoadBalancerEnabled,omitempty"` - // DefaultDomain - READ-ONLY; Default Domain Name for the cluster - DefaultDomain *string `json:"defaultDomain,omitempty"` - // StaticIP - Static IP of the KubeEnvironment - StaticIP *string `json:"staticIp,omitempty"` - // ArcConfiguration - Cluster configuration which determines the ARC cluster - // components types. Eg: Choosing between BuildService kind, - // FrontEnd Service ArtifactsStorageType etc. - ArcConfiguration *ArcConfiguration `json:"arcConfiguration,omitempty"` - // AppLogsConfiguration - Cluster configuration which enables the log daemon to export - // app logs to a destination. Currently only "log-analytics" is - // supported - AppLogsConfiguration *AppLogsConfiguration `json:"appLogsConfiguration,omitempty"` - AksResourceID *string `json:"aksResourceID,omitempty"` +// HybridConnectionKeyProperties hybridConnectionKey resource specific properties +type HybridConnectionKeyProperties struct { + // SendKeyName - READ-ONLY; The name of the send key. + SendKeyName *string `json:"sendKeyName,omitempty"` + // SendKeyValue - READ-ONLY; The value of the send key. + SendKeyValue *string `json:"sendKeyValue,omitempty"` } -// MarshalJSON is the custom marshaler for KubeEnvironmentPatchResourceProperties. -func (kepr KubeEnvironmentPatchResourceProperties) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for HybridConnectionKeyProperties. +func (hck HybridConnectionKeyProperties) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if kepr.InternalLoadBalancerEnabled != nil { - objectMap["internalLoadBalancerEnabled"] = kepr.InternalLoadBalancerEnabled - } - if kepr.StaticIP != nil { - objectMap["staticIp"] = kepr.StaticIP - } - if kepr.ArcConfiguration != nil { - objectMap["arcConfiguration"] = kepr.ArcConfiguration - } - if kepr.AppLogsConfiguration != nil { - objectMap["appLogsConfiguration"] = kepr.AppLogsConfiguration - } - if kepr.AksResourceID != nil { - objectMap["aksResourceID"] = kepr.AksResourceID - } return json.Marshal(objectMap) } -// KubeEnvironmentProfile specification for a Kubernetes Environment to use for this resource. -type KubeEnvironmentProfile struct { - // ID - Resource ID of the Kubernetes Environment. +// HybridConnectionLimits hybrid Connection limits contract. This is used to return the plan limits of +// Hybrid Connections. +type HybridConnectionLimits struct { + autorest.Response `json:"-"` + // HybridConnectionLimitsProperties - HybridConnectionLimits resource specific properties + *HybridConnectionLimitsProperties `json:"properties,omitempty"` + // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Name of the Kubernetes Environment. + // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` - // Type - READ-ONLY; Resource type of the Kubernetes Environment. + // Kind - Kind of resource. + Kind *string `json:"kind,omitempty"` + // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for KubeEnvironmentProfile. -func (kep KubeEnvironmentProfile) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if kep.ID != nil { - objectMap["id"] = kep.ID - } - return json.Marshal(objectMap) -} - -// KubeEnvironmentProperties kubeEnvironment resource specific properties -type KubeEnvironmentProperties struct { - // ProvisioningState - READ-ONLY; Provisioning state of the Kubernetes Environment. Possible values include: 'KubeEnvironmentProvisioningStateSucceeded', 'KubeEnvironmentProvisioningStateFailed', 'KubeEnvironmentProvisioningStateCanceled', 'KubeEnvironmentProvisioningStateWaiting', 'KubeEnvironmentProvisioningStateInitializationInProgress', 'KubeEnvironmentProvisioningStateInfrastructureSetupInProgress', 'KubeEnvironmentProvisioningStateInfrastructureSetupComplete', 'KubeEnvironmentProvisioningStateScheduledForDelete', 'KubeEnvironmentProvisioningStateUpgradeRequested', 'KubeEnvironmentProvisioningStateUpgradeFailed' - ProvisioningState KubeEnvironmentProvisioningState `json:"provisioningState,omitempty"` - // DeploymentErrors - READ-ONLY; Any errors that occurred during deployment or deployment validation - DeploymentErrors *string `json:"deploymentErrors,omitempty"` - // InternalLoadBalancerEnabled - Only visible within Vnet/Subnet - InternalLoadBalancerEnabled *bool `json:"internalLoadBalancerEnabled,omitempty"` - // DefaultDomain - READ-ONLY; Default Domain Name for the cluster - DefaultDomain *string `json:"defaultDomain,omitempty"` - // StaticIP - Static IP of the KubeEnvironment - StaticIP *string `json:"staticIp,omitempty"` - // ArcConfiguration - Cluster configuration which determines the ARC cluster - // components types. Eg: Choosing between BuildService kind, - // FrontEnd Service ArtifactsStorageType etc. - ArcConfiguration *ArcConfiguration `json:"arcConfiguration,omitempty"` - // AppLogsConfiguration - Cluster configuration which enables the log daemon to export - // app logs to a destination. Currently only "log-analytics" is - // supported - AppLogsConfiguration *AppLogsConfiguration `json:"appLogsConfiguration,omitempty"` - AksResourceID *string `json:"aksResourceID,omitempty"` -} - -// MarshalJSON is the custom marshaler for KubeEnvironmentProperties. -func (ke KubeEnvironmentProperties) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for HybridConnectionLimits. +func (hcl HybridConnectionLimits) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if ke.InternalLoadBalancerEnabled != nil { - objectMap["internalLoadBalancerEnabled"] = ke.InternalLoadBalancerEnabled - } - if ke.StaticIP != nil { - objectMap["staticIp"] = ke.StaticIP - } - if ke.ArcConfiguration != nil { - objectMap["arcConfiguration"] = ke.ArcConfiguration - } - if ke.AppLogsConfiguration != nil { - objectMap["appLogsConfiguration"] = ke.AppLogsConfiguration + if hcl.HybridConnectionLimitsProperties != nil { + objectMap["properties"] = hcl.HybridConnectionLimitsProperties } - if ke.AksResourceID != nil { - objectMap["aksResourceID"] = ke.AksResourceID + if hcl.Kind != nil { + objectMap["kind"] = hcl.Kind } return json.Marshal(objectMap) } -// KubeEnvironmentsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a -// long-running operation. -type KubeEnvironmentsCreateOrUpdateFuture struct { - azure.FutureAPI - // Result returns the result of the asynchronous operation. - // If the operation has not completed it will return an error. - Result func(KubeEnvironmentsClient) (KubeEnvironment, error) -} - -// UnmarshalJSON is the custom unmarshaller for CreateFuture. -func (future *KubeEnvironmentsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error { - var azFuture azure.Future - if err := json.Unmarshal(body, &azFuture); err != nil { - return err - } - future.FutureAPI = &azFuture - future.Result = future.result - return nil -} - -// result is the default implementation for KubeEnvironmentsCreateOrUpdateFuture.Result. -func (future *KubeEnvironmentsCreateOrUpdateFuture) result(client KubeEnvironmentsClient) (ke KubeEnvironment, err error) { - var done bool - done, err = future.DoneWithContext(context.Background(), client) +// UnmarshalJSON is the custom unmarshaler for HybridConnectionLimits struct. +func (hcl *HybridConnectionLimits) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) if err != nil { - err = autorest.NewErrorWithError(err, "web.KubeEnvironmentsCreateOrUpdateFuture", "Result", future.Response(), "Polling failure") - return - } - if !done { - ke.Response.Response = future.Response() - err = azure.NewAsyncOpIncompleteError("web.KubeEnvironmentsCreateOrUpdateFuture") - return + return err } - sender := autorest.DecorateSender(client, autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...)) - if ke.Response.Response, err = future.GetResult(sender); err == nil && ke.Response.Response.StatusCode != http.StatusNoContent { - ke, err = client.CreateOrUpdateResponder(ke.Response.Response) - if err != nil { - err = autorest.NewErrorWithError(err, "web.KubeEnvironmentsCreateOrUpdateFuture", "Result", ke.Response.Response, "Failure responding to request") + for k, v := range m { + switch k { + case "properties": + if v != nil { + var hybridConnectionLimitsProperties HybridConnectionLimitsProperties + err = json.Unmarshal(*v, &hybridConnectionLimitsProperties) + if err != nil { + return err + } + hcl.HybridConnectionLimitsProperties = &hybridConnectionLimitsProperties + } + case "id": + if v != nil { + var ID string + err = json.Unmarshal(*v, &ID) + if err != nil { + return err + } + hcl.ID = &ID + } + case "name": + if v != nil { + var name string + err = json.Unmarshal(*v, &name) + if err != nil { + return err + } + hcl.Name = &name + } + case "kind": + if v != nil { + var kind string + err = json.Unmarshal(*v, &kind) + if err != nil { + return err + } + hcl.Kind = &kind + } + case "type": + if v != nil { + var typeVar string + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + hcl.Type = &typeVar + } } } - return + + return nil } -// KubeEnvironmentsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running -// operation. -type KubeEnvironmentsDeleteFuture struct { - azure.FutureAPI - // Result returns the result of the asynchronous operation. - // If the operation has not completed it will return an error. - Result func(KubeEnvironmentsClient) (autorest.Response, error) +// HybridConnectionLimitsProperties hybridConnectionLimits resource specific properties +type HybridConnectionLimitsProperties struct { + // Current - READ-ONLY; The current number of Hybrid Connections. + Current *int32 `json:"current,omitempty"` + // Maximum - READ-ONLY; The maximum number of Hybrid Connections allowed. + Maximum *int32 `json:"maximum,omitempty"` } -// UnmarshalJSON is the custom unmarshaller for CreateFuture. -func (future *KubeEnvironmentsDeleteFuture) UnmarshalJSON(body []byte) error { - var azFuture azure.Future - if err := json.Unmarshal(body, &azFuture); err != nil { - return err - } - future.FutureAPI = &azFuture - future.Result = future.result - return nil +// MarshalJSON is the custom marshaler for HybridConnectionLimitsProperties. +func (hcl HybridConnectionLimitsProperties) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + return json.Marshal(objectMap) } -// result is the default implementation for KubeEnvironmentsDeleteFuture.Result. -func (future *KubeEnvironmentsDeleteFuture) result(client KubeEnvironmentsClient) (ar autorest.Response, err error) { - var done bool - done, err = future.DoneWithContext(context.Background(), client) - if err != nil { - err = autorest.NewErrorWithError(err, "web.KubeEnvironmentsDeleteFuture", "Result", future.Response(), "Polling failure") - return - } - if !done { - ar.Response = future.Response() - err = azure.NewAsyncOpIncompleteError("web.KubeEnvironmentsDeleteFuture") - return - } - ar.Response = future.Response() - return +// HybridConnectionProperties hybridConnection resource specific properties +type HybridConnectionProperties struct { + // ServiceBusNamespace - The name of the Service Bus namespace. + ServiceBusNamespace *string `json:"serviceBusNamespace,omitempty"` + // RelayName - The name of the Service Bus relay. + RelayName *string `json:"relayName,omitempty"` + // RelayArmURI - The ARM URI to the Service Bus relay. + RelayArmURI *string `json:"relayArmUri,omitempty"` + // Hostname - The hostname of the endpoint. + Hostname *string `json:"hostname,omitempty"` + // Port - The port of the endpoint. + Port *int32 `json:"port,omitempty"` + // SendKeyName - The name of the Service Bus key which has Send permissions. This is used to authenticate to Service Bus. + SendKeyName *string `json:"sendKeyName,omitempty"` + // SendKeyValue - The value of the Service Bus key. This is used to authenticate to Service Bus. In ARM this key will not be returned + // normally, use the POST /listKeys API instead. + SendKeyValue *string `json:"sendKeyValue,omitempty"` + // ServiceBusSuffix - The suffix for the service bus endpoint. By default this is .servicebus.windows.net + ServiceBusSuffix *string `json:"serviceBusSuffix,omitempty"` } -// LegacyMicrosoftAccount the configuration settings of the legacy Microsoft Account provider. -type LegacyMicrosoftAccount struct { - // LegacyMicrosoftAccountProperties - LegacyMicrosoftAccount resource specific properties - *LegacyMicrosoftAccountProperties `json:"properties,omitempty"` +// Identifier a domain specific resource identifier. +type Identifier struct { + autorest.Response `json:"-"` + // IdentifierProperties - Identifier resource specific properties + *IdentifierProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. @@ -17284,20 +13662,20 @@ type LegacyMicrosoftAccount struct { Type *string `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for LegacyMicrosoftAccount. -func (lma LegacyMicrosoftAccount) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for Identifier. +func (i Identifier) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if lma.LegacyMicrosoftAccountProperties != nil { - objectMap["properties"] = lma.LegacyMicrosoftAccountProperties + if i.IdentifierProperties != nil { + objectMap["properties"] = i.IdentifierProperties } - if lma.Kind != nil { - objectMap["kind"] = lma.Kind + if i.Kind != nil { + objectMap["kind"] = i.Kind } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for LegacyMicrosoftAccount struct. -func (lma *LegacyMicrosoftAccount) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for Identifier struct. +func (i *Identifier) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -17307,12 +13685,12 @@ func (lma *LegacyMicrosoftAccount) UnmarshalJSON(body []byte) error { switch k { case "properties": if v != nil { - var legacyMicrosoftAccountProperties LegacyMicrosoftAccountProperties - err = json.Unmarshal(*v, &legacyMicrosoftAccountProperties) + var identifierProperties IdentifierProperties + err = json.Unmarshal(*v, &identifierProperties) if err != nil { return err } - lma.LegacyMicrosoftAccountProperties = &legacyMicrosoftAccountProperties + i.IdentifierProperties = &identifierProperties } case "id": if v != nil { @@ -17321,7 +13699,7 @@ func (lma *LegacyMicrosoftAccount) UnmarshalJSON(body []byte) error { if err != nil { return err } - lma.ID = &ID + i.ID = &ID } case "name": if v != nil { @@ -17330,7 +13708,7 @@ func (lma *LegacyMicrosoftAccount) UnmarshalJSON(body []byte) error { if err != nil { return err } - lma.Name = &name + i.Name = &name } case "kind": if v != nil { @@ -17339,7 +13717,7 @@ func (lma *LegacyMicrosoftAccount) UnmarshalJSON(body []byte) error { if err != nil { return err } - lma.Kind = &kind + i.Kind = &kind } case "type": if v != nil { @@ -17348,7 +13726,7 @@ func (lma *LegacyMicrosoftAccount) UnmarshalJSON(body []byte) error { if err != nil { return err } - lma.Type = &typeVar + i.Type = &typeVar } } } @@ -17356,464 +13734,503 @@ func (lma *LegacyMicrosoftAccount) UnmarshalJSON(body []byte) error { return nil } -// LegacyMicrosoftAccountProperties legacyMicrosoftAccount resource specific properties -type LegacyMicrosoftAccountProperties struct { - // Enabled - false if the legacy Microsoft Account provider should not be enabled despite the set registration; otherwise, true. - Enabled *bool `json:"enabled,omitempty"` - // Registration - The configuration settings of the app registration for the legacy Microsoft Account provider. - Registration *ClientRegistration `json:"registration,omitempty"` - // Login - The configuration settings of the login flow. - Login *LoginScopes `json:"login,omitempty"` - // Validation - The configuration settings of the legacy Microsoft Account provider token validation flow. - Validation *AllowedAudiencesValidation `json:"validation,omitempty"` -} - -// LinuxJavaContainerSettings linux Java Container settings. -type LinuxJavaContainerSettings struct { - // Java11Runtime - READ-ONLY; Java 11 version (runtime only). - Java11Runtime *string `json:"java11Runtime,omitempty"` - // Java8Runtime - READ-ONLY; Java 8 version (runtime only). - Java8Runtime *string `json:"java8Runtime,omitempty"` - // IsPreview - READ-ONLY; true if the stack is in preview; otherwise, false. - IsPreview *bool `json:"isPreview,omitempty"` - // IsDeprecated - READ-ONLY; true if the stack is deprecated; otherwise, false. - IsDeprecated *bool `json:"isDeprecated,omitempty"` - // IsHidden - READ-ONLY; true if the stack should be hidden; otherwise, false. - IsHidden *bool `json:"isHidden,omitempty"` - // EndOfLifeDate - READ-ONLY; End-of-life date for the minor version. - EndOfLifeDate *date.Time `json:"endOfLifeDate,omitempty"` - // IsAutoUpdate - READ-ONLY; true if the stack version is auto-updated; otherwise, false. - IsAutoUpdate *bool `json:"isAutoUpdate,omitempty"` - // IsEarlyAccess - READ-ONLY; true if the minor version is early-access; otherwise, false. - IsEarlyAccess *bool `json:"isEarlyAccess,omitempty"` +// IdentifierCollection collection of identifiers. +type IdentifierCollection struct { + autorest.Response `json:"-"` + // Value - Collection of resources. + Value *[]Identifier `json:"value,omitempty"` + // NextLink - READ-ONLY; Link to next page of resources. + NextLink *string `json:"nextLink,omitempty"` } -// MarshalJSON is the custom marshaler for LinuxJavaContainerSettings. -func (ljcs LinuxJavaContainerSettings) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for IdentifierCollection. +func (ic IdentifierCollection) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) + if ic.Value != nil { + objectMap["value"] = ic.Value + } return json.Marshal(objectMap) } -// ListCapability ... -type ListCapability struct { - autorest.Response `json:"-"` - Value *[]Capability `json:"value,omitempty"` +// IdentifierCollectionIterator provides access to a complete listing of Identifier values. +type IdentifierCollectionIterator struct { + i int + page IdentifierCollectionPage } -// ListCertificateEmail ... -type ListCertificateEmail struct { - autorest.Response `json:"-"` - Value *[]CertificateEmail `json:"value,omitempty"` +// NextWithContext advances to the next value. If there was an error making +// the request the iterator does not advance and the error is returned. +func (iter *IdentifierCollectionIterator) NextWithContext(ctx context.Context) (err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/IdentifierCollectionIterator.NextWithContext") + defer func() { + sc := -1 + if iter.Response().Response.Response != nil { + sc = iter.Response().Response.Response.StatusCode + } + tracing.EndSpan(ctx, sc, err) + }() + } + iter.i++ + if iter.i < len(iter.page.Values()) { + return nil + } + err = iter.page.NextWithContext(ctx) + if err != nil { + iter.i-- + return err + } + iter.i = 0 + return nil } -// ListCertificateOrderAction ... -type ListCertificateOrderAction struct { - autorest.Response `json:"-"` - Value *[]CertificateOrderAction `json:"value,omitempty"` +// Next advances to the next value. If there was an error making +// the request the iterator does not advance and the error is returned. +// Deprecated: Use NextWithContext() instead. +func (iter *IdentifierCollectionIterator) Next() error { + return iter.NextWithContext(context.Background()) +} + +// NotDone returns true if the enumeration should be started or is not yet complete. +func (iter IdentifierCollectionIterator) NotDone() bool { + return iter.page.NotDone() && iter.i < len(iter.page.Values()) +} + +// Response returns the raw server response from the last page request. +func (iter IdentifierCollectionIterator) Response() IdentifierCollection { + return iter.page.Response() +} + +// Value returns the current value or a zero-initialized value if the +// iterator has advanced beyond the end of the collection. +func (iter IdentifierCollectionIterator) Value() Identifier { + if !iter.page.NotDone() { + return Identifier{} + } + return iter.page.Values()[iter.i] +} + +// Creates a new instance of the IdentifierCollectionIterator type. +func NewIdentifierCollectionIterator(page IdentifierCollectionPage) IdentifierCollectionIterator { + return IdentifierCollectionIterator{page: page} +} + +// IsEmpty returns true if the ListResult contains no values. +func (ic IdentifierCollection) IsEmpty() bool { + return ic.Value == nil || len(*ic.Value) == 0 +} + +// hasNextLink returns true if the NextLink is not empty. +func (ic IdentifierCollection) hasNextLink() bool { + return ic.NextLink != nil && len(*ic.NextLink) != 0 +} + +// identifierCollectionPreparer prepares a request to retrieve the next set of results. +// It returns nil if no more results exist. +func (ic IdentifierCollection) identifierCollectionPreparer(ctx context.Context) (*http.Request, error) { + if !ic.hasNextLink() { + return nil, nil + } + return autorest.Prepare((&http.Request{}).WithContext(ctx), + autorest.AsJSON(), + autorest.AsGet(), + autorest.WithBaseURL(to.String(ic.NextLink))) +} + +// IdentifierCollectionPage contains a page of Identifier values. +type IdentifierCollectionPage struct { + fn func(context.Context, IdentifierCollection) (IdentifierCollection, error) + ic IdentifierCollection +} + +// NextWithContext advances to the next page of values. If there was an error making +// the request the page does not advance and the error is returned. +func (page *IdentifierCollectionPage) NextWithContext(ctx context.Context) (err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/IdentifierCollectionPage.NextWithContext") + defer func() { + sc := -1 + if page.Response().Response.Response != nil { + sc = page.Response().Response.Response.StatusCode + } + tracing.EndSpan(ctx, sc, err) + }() + } + for { + next, err := page.fn(ctx, page.ic) + if err != nil { + return err + } + page.ic = next + if !next.hasNextLink() || !next.IsEmpty() { + break + } + } + return nil +} + +// Next advances to the next page of values. If there was an error making +// the request the page does not advance and the error is returned. +// Deprecated: Use NextWithContext() instead. +func (page *IdentifierCollectionPage) Next() error { + return page.NextWithContext(context.Background()) } -// ListHostingEnvironmentDiagnostics ... -type ListHostingEnvironmentDiagnostics struct { - autorest.Response `json:"-"` - Value *[]HostingEnvironmentDiagnostics `json:"value,omitempty"` +// NotDone returns true if the page enumeration should be started or is not yet complete. +func (page IdentifierCollectionPage) NotDone() bool { + return !page.ic.IsEmpty() } -// ListNetworkTrace ... -type ListNetworkTrace struct { - autorest.Response `json:"-"` - Value *[]NetworkTrace `json:"value,omitempty"` +// Response returns the raw server response from the last page request. +func (page IdentifierCollectionPage) Response() IdentifierCollection { + return page.ic } -// ListOperation ... -type ListOperation struct { - autorest.Response `json:"-"` - Value *[]Operation `json:"value,omitempty"` +// Values returns the slice of values for the current page or nil if there are no values. +func (page IdentifierCollectionPage) Values() []Identifier { + if page.ic.IsEmpty() { + return nil + } + return *page.ic.Value } -// ListSnapshot ... -type ListSnapshot struct { - autorest.Response `json:"-"` - Value *[]Snapshot `json:"value,omitempty"` +// Creates a new instance of the IdentifierCollectionPage type. +func NewIdentifierCollectionPage(cur IdentifierCollection, getNextPage func(context.Context, IdentifierCollection) (IdentifierCollection, error)) IdentifierCollectionPage { + return IdentifierCollectionPage{ + fn: getNextPage, + ic: cur, + } } -// ListVnetInfo ... -type ListVnetInfo struct { - autorest.Response `json:"-"` - Value *[]VnetInfo `json:"value,omitempty"` +// IdentifierProperties identifier resource specific properties +type IdentifierProperties struct { + // Value - String representation of the identity. + Value *string `json:"id,omitempty"` } -// ListVnetRoute ... -type ListVnetRoute struct { - autorest.Response `json:"-"` - Value *[]VnetRoute `json:"value,omitempty"` +// IdentityProviders the configuration settings of each of the identity providers used to configure App +// Service Authentication/Authorization. +type IdentityProviders struct { + // AzureActiveDirectory - The configuration settings of the Azure Active directory provider. + AzureActiveDirectory *AzureActiveDirectory `json:"azureActiveDirectory,omitempty"` + // Facebook - The configuration settings of the Facebook provider. + Facebook *Facebook `json:"facebook,omitempty"` + // GitHub - The configuration settings of the GitHub provider. + GitHub *GitHub `json:"gitHub,omitempty"` + // Google - The configuration settings of the Google provider. + Google *Google `json:"google,omitempty"` + // LegacyMicrosoftAccount - The configuration settings of the legacy Microsoft Account provider. + LegacyMicrosoftAccount *LegacyMicrosoftAccount `json:"legacyMicrosoftAccount,omitempty"` + // Twitter - The configuration settings of the Twitter provider. + Twitter *Twitter `json:"twitter,omitempty"` + // Apple - The configuration settings of the Apple provider. + Apple *Apple `json:"apple,omitempty"` + // AzureStaticWebApps - The configuration settings of the Azure Static Web Apps provider. + AzureStaticWebApps *AzureStaticWebApps `json:"azureStaticWebApps,omitempty"` + // CustomOpenIDConnectProviders - The map of the name of the alias of each custom Open ID Connect provider to the + // configuration settings of the custom Open ID Connect provider. + CustomOpenIDConnectProviders map[string]*CustomOpenIDConnectProvider `json:"customOpenIdConnectProviders"` } -// LocalizableString localizable string object containing the name and a localized value. -type LocalizableString struct { - // Value - Non-localized name. - Value *string `json:"value,omitempty"` - // LocalizedValue - Localized name. - LocalizedValue *string `json:"localizedValue,omitempty"` +// MarshalJSON is the custom marshaler for IdentityProviders. +func (IP IdentityProviders) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if IP.AzureActiveDirectory != nil { + objectMap["azureActiveDirectory"] = IP.AzureActiveDirectory + } + if IP.Facebook != nil { + objectMap["facebook"] = IP.Facebook + } + if IP.GitHub != nil { + objectMap["gitHub"] = IP.GitHub + } + if IP.Google != nil { + objectMap["google"] = IP.Google + } + if IP.LegacyMicrosoftAccount != nil { + objectMap["legacyMicrosoftAccount"] = IP.LegacyMicrosoftAccount + } + if IP.Twitter != nil { + objectMap["twitter"] = IP.Twitter + } + if IP.Apple != nil { + objectMap["apple"] = IP.Apple + } + if IP.AzureStaticWebApps != nil { + objectMap["azureStaticWebApps"] = IP.AzureStaticWebApps + } + if IP.CustomOpenIDConnectProviders != nil { + objectMap["customOpenIdConnectProviders"] = IP.CustomOpenIDConnectProviders + } + return json.Marshal(objectMap) } -// LogAnalyticsConfiguration ... -type LogAnalyticsConfiguration struct { - CustomerID *string `json:"customerId,omitempty"` - SharedKey *string `json:"sharedKey,omitempty"` +// InboundEnvironmentEndpoint the IP Addresses and Ports that require inbound network access to and within +// the subnet of the App Service Environment. +type InboundEnvironmentEndpoint struct { + // Description - Short text describing the purpose of the network traffic. + Description *string `json:"description,omitempty"` + // Endpoints - The IP addresses that network traffic will originate from in cidr notation. + Endpoints *[]string `json:"endpoints,omitempty"` + // Ports - The ports that network traffic will arrive to the App Service Environment at. + Ports *[]string `json:"ports,omitempty"` } -// Login the configuration settings of the login flow of users using App Service -// Authentication/Authorization. -type Login struct { - // LoginProperties - Login resource specific properties - *LoginProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` +// InboundEnvironmentEndpointCollection collection of Inbound Environment Endpoints +type InboundEnvironmentEndpointCollection struct { + autorest.Response `json:"-"` + // Value - Collection of resources. + Value *[]InboundEnvironmentEndpoint `json:"value,omitempty"` + // NextLink - READ-ONLY; Link to next page of resources. + NextLink *string `json:"nextLink,omitempty"` } -// MarshalJSON is the custom marshaler for Login. -func (l Login) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for InboundEnvironmentEndpointCollection. +func (ieec InboundEnvironmentEndpointCollection) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if l.LoginProperties != nil { - objectMap["properties"] = l.LoginProperties - } - if l.Kind != nil { - objectMap["kind"] = l.Kind + if ieec.Value != nil { + objectMap["value"] = ieec.Value } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for Login struct. -func (l *Login) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) +// InboundEnvironmentEndpointCollectionIterator provides access to a complete listing of +// InboundEnvironmentEndpoint values. +type InboundEnvironmentEndpointCollectionIterator struct { + i int + page InboundEnvironmentEndpointCollectionPage +} + +// NextWithContext advances to the next value. If there was an error making +// the request the iterator does not advance and the error is returned. +func (iter *InboundEnvironmentEndpointCollectionIterator) NextWithContext(ctx context.Context) (err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/InboundEnvironmentEndpointCollectionIterator.NextWithContext") + defer func() { + sc := -1 + if iter.Response().Response.Response != nil { + sc = iter.Response().Response.Response.StatusCode + } + tracing.EndSpan(ctx, sc, err) + }() + } + iter.i++ + if iter.i < len(iter.page.Values()) { + return nil + } + err = iter.page.NextWithContext(ctx) if err != nil { + iter.i-- return err } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var loginProperties LoginProperties - err = json.Unmarshal(*v, &loginProperties) - if err != nil { - return err - } - l.LoginProperties = &loginProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - l.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - l.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - l.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - l.Type = &typeVar - } - } - } - + iter.i = 0 return nil } -// LoginProperties login resource specific properties -type LoginProperties struct { - // Routes - The routes that specify the endpoints used for login and logout requests. - Routes *LoginRoutes `json:"routes,omitempty"` - // TokenStore - The configuration settings of the token store. - TokenStore *TokenStore `json:"tokenStore,omitempty"` - // PreserveURLFragmentsForLogins - true if the fragments from the request are preserved after the login request is made; otherwise, false. - PreserveURLFragmentsForLogins *bool `json:"preserveUrlFragmentsForLogins,omitempty"` - // AllowedExternalRedirectUrls - External URLs that can be redirected to as part of logging in or logging out of the app. Note that the query string part of the URL is ignored. - // This is an advanced setting typically only needed by Windows Store application backends. - // Note that URLs within the current domain are always implicitly allowed. - AllowedExternalRedirectUrls *[]string `json:"allowedExternalRedirectUrls,omitempty"` - // CookieExpiration - The configuration settings of the session cookie's expiration. - CookieExpiration *CookieExpiration `json:"cookieExpiration,omitempty"` - // Nonce - The configuration settings of the nonce used in the login flow. - Nonce *Nonce `json:"nonce,omitempty"` +// Next advances to the next value. If there was an error making +// the request the iterator does not advance and the error is returned. +// Deprecated: Use NextWithContext() instead. +func (iter *InboundEnvironmentEndpointCollectionIterator) Next() error { + return iter.NextWithContext(context.Background()) } -// LoginRoutes the routes that specify the endpoints used for login and logout requests. -type LoginRoutes struct { - // LoginRoutesProperties - LoginRoutes resource specific properties - *LoginRoutesProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` +// NotDone returns true if the enumeration should be started or is not yet complete. +func (iter InboundEnvironmentEndpointCollectionIterator) NotDone() bool { + return iter.page.NotDone() && iter.i < len(iter.page.Values()) +} + +// Response returns the raw server response from the last page request. +func (iter InboundEnvironmentEndpointCollectionIterator) Response() InboundEnvironmentEndpointCollection { + return iter.page.Response() } -// MarshalJSON is the custom marshaler for LoginRoutes. -func (lr LoginRoutes) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if lr.LoginRoutesProperties != nil { - objectMap["properties"] = lr.LoginRoutesProperties - } - if lr.Kind != nil { - objectMap["kind"] = lr.Kind +// Value returns the current value or a zero-initialized value if the +// iterator has advanced beyond the end of the collection. +func (iter InboundEnvironmentEndpointCollectionIterator) Value() InboundEnvironmentEndpoint { + if !iter.page.NotDone() { + return InboundEnvironmentEndpoint{} } - return json.Marshal(objectMap) + return iter.page.Values()[iter.i] } -// UnmarshalJSON is the custom unmarshaler for LoginRoutes struct. -func (lr *LoginRoutes) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var loginRoutesProperties LoginRoutesProperties - err = json.Unmarshal(*v, &loginRoutesProperties) - if err != nil { - return err - } - lr.LoginRoutesProperties = &loginRoutesProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - lr.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - lr.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - lr.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - lr.Type = &typeVar - } - } - } - - return nil +// Creates a new instance of the InboundEnvironmentEndpointCollectionIterator type. +func NewInboundEnvironmentEndpointCollectionIterator(page InboundEnvironmentEndpointCollectionPage) InboundEnvironmentEndpointCollectionIterator { + return InboundEnvironmentEndpointCollectionIterator{page: page} } -// LoginRoutesProperties loginRoutes resource specific properties -type LoginRoutesProperties struct { - // LogoutEndpoint - The endpoint at which a logout request should be made. - LogoutEndpoint *string `json:"logoutEndpoint,omitempty"` +// IsEmpty returns true if the ListResult contains no values. +func (ieec InboundEnvironmentEndpointCollection) IsEmpty() bool { + return ieec.Value == nil || len(*ieec.Value) == 0 } -// LoginScopes the configuration settings of the login flow, including the scopes that should be requested. -type LoginScopes struct { - // LoginScopesProperties - LoginScopes resource specific properties - *LoginScopesProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` +// hasNextLink returns true if the NextLink is not empty. +func (ieec InboundEnvironmentEndpointCollection) hasNextLink() bool { + return ieec.NextLink != nil && len(*ieec.NextLink) != 0 } -// MarshalJSON is the custom marshaler for LoginScopes. -func (ls LoginScopes) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if ls.LoginScopesProperties != nil { - objectMap["properties"] = ls.LoginScopesProperties - } - if ls.Kind != nil { - objectMap["kind"] = ls.Kind +// inboundEnvironmentEndpointCollectionPreparer prepares a request to retrieve the next set of results. +// It returns nil if no more results exist. +func (ieec InboundEnvironmentEndpointCollection) inboundEnvironmentEndpointCollectionPreparer(ctx context.Context) (*http.Request, error) { + if !ieec.hasNextLink() { + return nil, nil } - return json.Marshal(objectMap) + return autorest.Prepare((&http.Request{}).WithContext(ctx), + autorest.AsJSON(), + autorest.AsGet(), + autorest.WithBaseURL(to.String(ieec.NextLink))) } -// UnmarshalJSON is the custom unmarshaler for LoginScopes struct. -func (ls *LoginScopes) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var loginScopesProperties LoginScopesProperties - err = json.Unmarshal(*v, &loginScopesProperties) - if err != nil { - return err - } - ls.LoginScopesProperties = &loginScopesProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - ls.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - ls.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - ls.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - ls.Type = &typeVar +// InboundEnvironmentEndpointCollectionPage contains a page of InboundEnvironmentEndpoint values. +type InboundEnvironmentEndpointCollectionPage struct { + fn func(context.Context, InboundEnvironmentEndpointCollection) (InboundEnvironmentEndpointCollection, error) + ieec InboundEnvironmentEndpointCollection +} + +// NextWithContext advances to the next page of values. If there was an error making +// the request the page does not advance and the error is returned. +func (page *InboundEnvironmentEndpointCollectionPage) NextWithContext(ctx context.Context) (err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/InboundEnvironmentEndpointCollectionPage.NextWithContext") + defer func() { + sc := -1 + if page.Response().Response.Response != nil { + sc = page.Response().Response.Response.StatusCode } + tracing.EndSpan(ctx, sc, err) + }() + } + for { + next, err := page.fn(ctx, page.ieec) + if err != nil { + return err + } + page.ieec = next + if !next.hasNextLink() || !next.IsEmpty() { + break } } - return nil } -// LoginScopesProperties loginScopes resource specific properties -type LoginScopesProperties struct { - // Scopes - A list of the scopes that should be requested while authenticating. - Scopes *[]string `json:"scopes,omitempty"` +// Next advances to the next page of values. If there was an error making +// the request the page does not advance and the error is returned. +// Deprecated: Use NextWithContext() instead. +func (page *InboundEnvironmentEndpointCollectionPage) Next() error { + return page.NextWithContext(context.Background()) } -// LogSpecification log Definition of a single resource metric. -type LogSpecification struct { - Name *string `json:"name,omitempty"` - DisplayName *string `json:"displayName,omitempty"` - BlobDuration *string `json:"blobDuration,omitempty"` - LogFilterPattern *string `json:"logFilterPattern,omitempty"` +// NotDone returns true if the page enumeration should be started or is not yet complete. +func (page InboundEnvironmentEndpointCollectionPage) NotDone() bool { + return !page.ieec.IsEmpty() } -// ManagedServiceIdentity managed service identity. -type ManagedServiceIdentity struct { - // Type - Type of managed service identity. Possible values include: 'ManagedServiceIdentityTypeSystemAssigned', 'ManagedServiceIdentityTypeUserAssigned', 'ManagedServiceIdentityTypeSystemAssignedUserAssigned', 'ManagedServiceIdentityTypeNone' - Type ManagedServiceIdentityType `json:"type,omitempty"` - // TenantID - READ-ONLY; Tenant of managed service identity. - TenantID *string `json:"tenantId,omitempty"` - // PrincipalID - READ-ONLY; Principal Id of managed service identity. - PrincipalID *string `json:"principalId,omitempty"` - // UserAssignedIdentities - The list of user assigned identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName} - UserAssignedIdentities map[string]*UserAssignedIdentity `json:"userAssignedIdentities"` +// Response returns the raw server response from the last page request. +func (page InboundEnvironmentEndpointCollectionPage) Response() InboundEnvironmentEndpointCollection { + return page.ieec } -// MarshalJSON is the custom marshaler for ManagedServiceIdentity. -func (msi ManagedServiceIdentity) MarshalJSON() ([]byte, error) { +// Values returns the slice of values for the current page or nil if there are no values. +func (page InboundEnvironmentEndpointCollectionPage) Values() []InboundEnvironmentEndpoint { + if page.ieec.IsEmpty() { + return nil + } + return *page.ieec.Value +} + +// Creates a new instance of the InboundEnvironmentEndpointCollectionPage type. +func NewInboundEnvironmentEndpointCollectionPage(cur InboundEnvironmentEndpointCollection, getNextPage func(context.Context, InboundEnvironmentEndpointCollection) (InboundEnvironmentEndpointCollection, error)) InboundEnvironmentEndpointCollectionPage { + return InboundEnvironmentEndpointCollectionPage{ + fn: getNextPage, + ieec: cur, + } +} + +// IPSecurityRestriction IP security restriction on an app. +type IPSecurityRestriction struct { + // IPAddress - IP address the security restriction is valid for. + // It can be in form of pure ipv4 address (required SubnetMask property) or + // CIDR notation such as ipv4/mask (leading bit match). For CIDR, + // SubnetMask property must not be specified. + IPAddress *string `json:"ipAddress,omitempty"` + // SubnetMask - Subnet mask for the range of IP addresses the restriction is valid for. + SubnetMask *string `json:"subnetMask,omitempty"` + // VnetSubnetResourceID - Virtual network resource id + VnetSubnetResourceID *string `json:"vnetSubnetResourceId,omitempty"` + // VnetTrafficTag - (internal) Vnet traffic tag + VnetTrafficTag *int32 `json:"vnetTrafficTag,omitempty"` + // SubnetTrafficTag - (internal) Subnet traffic tag + SubnetTrafficTag *int32 `json:"subnetTrafficTag,omitempty"` + // Action - Allow or Deny access for this IP range. + Action *string `json:"action,omitempty"` + // Tag - Defines what this IP filter will be used for. This is to support IP filtering on proxies. Possible values include: 'IPFilterTagDefault', 'IPFilterTagXffProxy', 'IPFilterTagServiceTag' + Tag IPFilterTag `json:"tag,omitempty"` + // Priority - Priority of IP restriction rule. + Priority *int32 `json:"priority,omitempty"` + // Name - IP restriction rule name. + Name *string `json:"name,omitempty"` + // Description - IP restriction rule description. + Description *string `json:"description,omitempty"` + // Headers - IP restriction rule headers. + // X-Forwarded-Host (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-Host#Examples). + // The matching logic is .. + // - If the property is null or empty (default), all hosts(or lack of) are allowed. + // - A value is compared using ordinal-ignore-case (excluding port number). + // - Subdomain wildcards are permitted but don't match the root domain. For example, *.contoso.com matches the subdomain foo.contoso.com + // but not the root domain contoso.com or multi-level foo.bar.contoso.com + // - Unicode host names are allowed but are converted to Punycode for matching. + // X-Forwarded-For (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-For#Examples). + // The matching logic is .. + // - If the property is null or empty (default), any forwarded-for chains (or lack of) are allowed. + // - If any address (excluding port number) in the chain (comma separated) matches the CIDR defined by the property. + // X-Azure-FDID and X-FD-HealthProbe. + // The matching logic is exact match. + Headers map[string][]string `json:"headers"` +} + +// MarshalJSON is the custom marshaler for IPSecurityRestriction. +func (isr IPSecurityRestriction) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if msi.Type != "" { - objectMap["type"] = msi.Type + if isr.IPAddress != nil { + objectMap["ipAddress"] = isr.IPAddress } - if msi.UserAssignedIdentities != nil { - objectMap["userAssignedIdentities"] = msi.UserAssignedIdentities + if isr.SubnetMask != nil { + objectMap["subnetMask"] = isr.SubnetMask + } + if isr.VnetSubnetResourceID != nil { + objectMap["vnetSubnetResourceId"] = isr.VnetSubnetResourceID + } + if isr.VnetTrafficTag != nil { + objectMap["vnetTrafficTag"] = isr.VnetTrafficTag + } + if isr.SubnetTrafficTag != nil { + objectMap["subnetTrafficTag"] = isr.SubnetTrafficTag + } + if isr.Action != nil { + objectMap["action"] = isr.Action + } + if isr.Tag != "" { + objectMap["tag"] = isr.Tag + } + if isr.Priority != nil { + objectMap["priority"] = isr.Priority + } + if isr.Name != nil { + objectMap["name"] = isr.Name + } + if isr.Description != nil { + objectMap["description"] = isr.Description + } + if isr.Headers != nil { + objectMap["headers"] = isr.Headers } return json.Marshal(objectMap) } -// MetricAvailability retention policy of a resource metric. -type MetricAvailability struct { - TimeGrain *string `json:"timeGrain,omitempty"` - BlobDuration *string `json:"blobDuration,omitempty"` -} - -// MetricSpecification definition of a single resource metric. -type MetricSpecification struct { - Name *string `json:"name,omitempty"` - DisplayName *string `json:"displayName,omitempty"` - DisplayDescription *string `json:"displayDescription,omitempty"` - Unit *string `json:"unit,omitempty"` - AggregationType *string `json:"aggregationType,omitempty"` - SupportsInstanceLevelAggregation *bool `json:"supportsInstanceLevelAggregation,omitempty"` - EnableRegionalMdmAccount *bool `json:"enableRegionalMdmAccount,omitempty"` - SourceMdmAccount *string `json:"sourceMdmAccount,omitempty"` - SourceMdmNamespace *string `json:"sourceMdmNamespace,omitempty"` - MetricFilterPattern *string `json:"metricFilterPattern,omitempty"` - FillGapWithZero *bool `json:"fillGapWithZero,omitempty"` - IsInternal *bool `json:"isInternal,omitempty"` - Dimensions *[]Dimension `json:"dimensions,omitempty"` - Category *string `json:"category,omitempty"` - Availabilities *[]MetricAvailability `json:"availabilities,omitempty"` - SupportedTimeGrainTypes *[]string `json:"supportedTimeGrainTypes,omitempty"` - SupportedAggregationTypes *[]string `json:"supportedAggregationTypes,omitempty"` -} - -// MigrateMySQLRequest mySQL migration request. -type MigrateMySQLRequest struct { - // MigrateMySQLRequestProperties - MigrateMySqlRequest resource specific properties - *MigrateMySQLRequestProperties `json:"properties,omitempty"` +// Job web Job Information. +type Job struct { + autorest.Response `json:"-"` + // JobProperties - WebJob resource specific properties + *JobProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. @@ -17824,20 +14241,20 @@ type MigrateMySQLRequest struct { Type *string `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for MigrateMySQLRequest. -func (mmsr MigrateMySQLRequest) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for Job. +func (j Job) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if mmsr.MigrateMySQLRequestProperties != nil { - objectMap["properties"] = mmsr.MigrateMySQLRequestProperties + if j.JobProperties != nil { + objectMap["properties"] = j.JobProperties } - if mmsr.Kind != nil { - objectMap["kind"] = mmsr.Kind + if j.Kind != nil { + objectMap["kind"] = j.Kind } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for MigrateMySQLRequest struct. -func (mmsr *MigrateMySQLRequest) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for Job struct. +func (j *Job) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -17847,12 +14264,12 @@ func (mmsr *MigrateMySQLRequest) UnmarshalJSON(body []byte) error { switch k { case "properties": if v != nil { - var migrateMySQLRequestProperties MigrateMySQLRequestProperties - err = json.Unmarshal(*v, &migrateMySQLRequestProperties) + var jobProperties JobProperties + err = json.Unmarshal(*v, &jobProperties) if err != nil { return err } - mmsr.MigrateMySQLRequestProperties = &migrateMySQLRequestProperties + j.JobProperties = &jobProperties } case "id": if v != nil { @@ -17861,7 +14278,7 @@ func (mmsr *MigrateMySQLRequest) UnmarshalJSON(body []byte) error { if err != nil { return err } - mmsr.ID = &ID + j.ID = &ID } case "name": if v != nil { @@ -17870,7 +14287,7 @@ func (mmsr *MigrateMySQLRequest) UnmarshalJSON(body []byte) error { if err != nil { return err } - mmsr.Name = &name + j.Name = &name } case "kind": if v != nil { @@ -17879,7 +14296,7 @@ func (mmsr *MigrateMySQLRequest) UnmarshalJSON(body []byte) error { if err != nil { return err } - mmsr.Kind = &kind + j.Kind = &kind } case "type": if v != nil { @@ -17888,7 +14305,7 @@ func (mmsr *MigrateMySQLRequest) UnmarshalJSON(body []byte) error { if err != nil { return err } - mmsr.Type = &typeVar + j.Type = &typeVar } } } @@ -17896,281 +14313,294 @@ func (mmsr *MigrateMySQLRequest) UnmarshalJSON(body []byte) error { return nil } -// MigrateMySQLRequestProperties migrateMySqlRequest resource specific properties -type MigrateMySQLRequestProperties struct { - // ConnectionString - Connection string to the remote MySQL database. - ConnectionString *string `json:"connectionString,omitempty"` - // MigrationType - The type of migration operation to be done. Possible values include: 'MySQLMigrationTypeLocalToRemote', 'MySQLMigrationTypeRemoteToLocal' - MigrationType MySQLMigrationType `json:"migrationType,omitempty"` -} - -// MigrateMySQLStatus mySQL migration status. -type MigrateMySQLStatus struct { +// JobCollection collection of Kudu web job information elements. +type JobCollection struct { autorest.Response `json:"-"` - // MigrateMySQLStatusProperties - MigrateMySqlStatus resource specific properties - *MigrateMySQLStatusProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` + // Value - Collection of resources. + Value *[]Job `json:"value,omitempty"` + // NextLink - READ-ONLY; Link to next page of resources. + NextLink *string `json:"nextLink,omitempty"` } -// MarshalJSON is the custom marshaler for MigrateMySQLStatus. -func (mmss MigrateMySQLStatus) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for JobCollection. +func (jc JobCollection) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if mmss.MigrateMySQLStatusProperties != nil { - objectMap["properties"] = mmss.MigrateMySQLStatusProperties - } - if mmss.Kind != nil { - objectMap["kind"] = mmss.Kind + if jc.Value != nil { + objectMap["value"] = jc.Value } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for MigrateMySQLStatus struct. -func (mmss *MigrateMySQLStatus) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) +// JobCollectionIterator provides access to a complete listing of Job values. +type JobCollectionIterator struct { + i int + page JobCollectionPage +} + +// NextWithContext advances to the next value. If there was an error making +// the request the iterator does not advance and the error is returned. +func (iter *JobCollectionIterator) NextWithContext(ctx context.Context) (err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/JobCollectionIterator.NextWithContext") + defer func() { + sc := -1 + if iter.Response().Response.Response != nil { + sc = iter.Response().Response.Response.StatusCode + } + tracing.EndSpan(ctx, sc, err) + }() + } + iter.i++ + if iter.i < len(iter.page.Values()) { + return nil + } + err = iter.page.NextWithContext(ctx) if err != nil { + iter.i-- return err } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var migrateMySQLStatusProperties MigrateMySQLStatusProperties - err = json.Unmarshal(*v, &migrateMySQLStatusProperties) - if err != nil { - return err - } - mmss.MigrateMySQLStatusProperties = &migrateMySQLStatusProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - mmss.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - mmss.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - mmss.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - mmss.Type = &typeVar + iter.i = 0 + return nil +} + +// Next advances to the next value. If there was an error making +// the request the iterator does not advance and the error is returned. +// Deprecated: Use NextWithContext() instead. +func (iter *JobCollectionIterator) Next() error { + return iter.NextWithContext(context.Background()) +} + +// NotDone returns true if the enumeration should be started or is not yet complete. +func (iter JobCollectionIterator) NotDone() bool { + return iter.page.NotDone() && iter.i < len(iter.page.Values()) +} + +// Response returns the raw server response from the last page request. +func (iter JobCollectionIterator) Response() JobCollection { + return iter.page.Response() +} + +// Value returns the current value or a zero-initialized value if the +// iterator has advanced beyond the end of the collection. +func (iter JobCollectionIterator) Value() Job { + if !iter.page.NotDone() { + return Job{} + } + return iter.page.Values()[iter.i] +} + +// Creates a new instance of the JobCollectionIterator type. +func NewJobCollectionIterator(page JobCollectionPage) JobCollectionIterator { + return JobCollectionIterator{page: page} +} + +// IsEmpty returns true if the ListResult contains no values. +func (jc JobCollection) IsEmpty() bool { + return jc.Value == nil || len(*jc.Value) == 0 +} + +// hasNextLink returns true if the NextLink is not empty. +func (jc JobCollection) hasNextLink() bool { + return jc.NextLink != nil && len(*jc.NextLink) != 0 +} + +// jobCollectionPreparer prepares a request to retrieve the next set of results. +// It returns nil if no more results exist. +func (jc JobCollection) jobCollectionPreparer(ctx context.Context) (*http.Request, error) { + if !jc.hasNextLink() { + return nil, nil + } + return autorest.Prepare((&http.Request{}).WithContext(ctx), + autorest.AsJSON(), + autorest.AsGet(), + autorest.WithBaseURL(to.String(jc.NextLink))) +} + +// JobCollectionPage contains a page of Job values. +type JobCollectionPage struct { + fn func(context.Context, JobCollection) (JobCollection, error) + jc JobCollection +} + +// NextWithContext advances to the next page of values. If there was an error making +// the request the page does not advance and the error is returned. +func (page *JobCollectionPage) NextWithContext(ctx context.Context) (err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/JobCollectionPage.NextWithContext") + defer func() { + sc := -1 + if page.Response().Response.Response != nil { + sc = page.Response().Response.Response.StatusCode } + tracing.EndSpan(ctx, sc, err) + }() + } + for { + next, err := page.fn(ctx, page.jc) + if err != nil { + return err + } + page.jc = next + if !next.hasNextLink() || !next.IsEmpty() { + break } } - return nil } -// MigrateMySQLStatusProperties migrateMySqlStatus resource specific properties -type MigrateMySQLStatusProperties struct { - // MigrationOperationStatus - READ-ONLY; Status of the migration task. Possible values include: 'OperationStatusInProgress', 'OperationStatusFailed', 'OperationStatusSucceeded', 'OperationStatusTimedOut', 'OperationStatusCreated' - MigrationOperationStatus OperationStatus `json:"migrationOperationStatus,omitempty"` - // OperationID - READ-ONLY; Operation ID for the migration task. - OperationID *string `json:"operationId,omitempty"` - // LocalMySQLEnabled - READ-ONLY; True if the web app has in app MySql enabled - LocalMySQLEnabled *bool `json:"localMySqlEnabled,omitempty"` +// Next advances to the next page of values. If there was an error making +// the request the page does not advance and the error is returned. +// Deprecated: Use NextWithContext() instead. +func (page *JobCollectionPage) Next() error { + return page.NextWithContext(context.Background()) } -// MarshalJSON is the custom marshaler for MigrateMySQLStatusProperties. -func (mmss MigrateMySQLStatusProperties) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - return json.Marshal(objectMap) +// NotDone returns true if the page enumeration should be started or is not yet complete. +func (page JobCollectionPage) NotDone() bool { + return !page.jc.IsEmpty() } -// MSDeploy mSDeploy ARM PUT information -type MSDeploy struct { - // MSDeployCore - Core resource properties - *MSDeployCore `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` +// Response returns the raw server response from the last page request. +func (page JobCollectionPage) Response() JobCollection { + return page.jc } -// MarshalJSON is the custom marshaler for MSDeploy. -func (md MSDeploy) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if md.MSDeployCore != nil { - objectMap["properties"] = md.MSDeployCore - } - if md.Kind != nil { - objectMap["kind"] = md.Kind +// Values returns the slice of values for the current page or nil if there are no values. +func (page JobCollectionPage) Values() []Job { + if page.jc.IsEmpty() { + return nil } - return json.Marshal(objectMap) + return *page.jc.Value } -// UnmarshalJSON is the custom unmarshaler for MSDeploy struct. -func (md *MSDeploy) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var mSDeployCore MSDeployCore - err = json.Unmarshal(*v, &mSDeployCore) - if err != nil { - return err - } - md.MSDeployCore = &mSDeployCore - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - md.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - md.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - md.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - md.Type = &typeVar - } - } +// Creates a new instance of the JobCollectionPage type. +func NewJobCollectionPage(cur JobCollection, getNextPage func(context.Context, JobCollection) (JobCollection, error)) JobCollectionPage { + return JobCollectionPage{ + fn: getNextPage, + jc: cur, } - - return nil } -// MSDeployCore mSDeploy ARM PUT core information -type MSDeployCore struct { - // PackageURI - Package URI - PackageURI *string `json:"packageUri,omitempty"` - // ConnectionString - SQL Connection String - ConnectionString *string `json:"connectionString,omitempty"` - // DbType - Database Type - DbType *string `json:"dbType,omitempty"` - // SetParametersXMLFileURI - URI of MSDeploy Parameters file. Must not be set if SetParameters is used. - SetParametersXMLFileURI *string `json:"setParametersXmlFileUri,omitempty"` - // SetParameters - MSDeploy Parameters. Must not be set if SetParametersXmlFileUri is used. - SetParameters map[string]*string `json:"setParameters"` - // SkipAppData - Controls whether the MSDeploy operation skips the App_Data directory. - // If set to true, the existing App_Data directory on the destination - // will not be deleted, and any App_Data directory in the source will be ignored. - // Setting is false by default. - SkipAppData *bool `json:"skipAppData,omitempty"` - // AppOffline - Sets the AppOffline rule while the MSDeploy operation executes. - // Setting is false by default. - AppOffline *bool `json:"appOffline,omitempty"` +// JobProperties webJob resource specific properties +type JobProperties struct { + // RunCommand - Run command. + RunCommand *string `json:"run_command,omitempty"` + // URL - Job URL. + URL *string `json:"url,omitempty"` + // ExtraInfoURL - Extra Info URL. + ExtraInfoURL *string `json:"extra_info_url,omitempty"` + // WebJobType - Job type. Possible values include: 'JobTypeContinuous', 'JobTypeTriggered' + WebJobType JobType `json:"web_job_type,omitempty"` + // Error - Error information. + Error *string `json:"error,omitempty"` + // UsingSdk - Using SDK? + UsingSdk *bool `json:"using_sdk,omitempty"` + // Settings - Job settings. + Settings map[string]interface{} `json:"settings"` } -// MarshalJSON is the custom marshaler for MSDeployCore. -func (mdc MSDeployCore) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for JobProperties. +func (j JobProperties) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if mdc.PackageURI != nil { - objectMap["packageUri"] = mdc.PackageURI + if j.RunCommand != nil { + objectMap["run_command"] = j.RunCommand } - if mdc.ConnectionString != nil { - objectMap["connectionString"] = mdc.ConnectionString + if j.URL != nil { + objectMap["url"] = j.URL } - if mdc.DbType != nil { - objectMap["dbType"] = mdc.DbType + if j.ExtraInfoURL != nil { + objectMap["extra_info_url"] = j.ExtraInfoURL } - if mdc.SetParametersXMLFileURI != nil { - objectMap["setParametersXmlFileUri"] = mdc.SetParametersXMLFileURI + if j.WebJobType != "" { + objectMap["web_job_type"] = j.WebJobType } - if mdc.SetParameters != nil { - objectMap["setParameters"] = mdc.SetParameters + if j.Error != nil { + objectMap["error"] = j.Error } - if mdc.SkipAppData != nil { - objectMap["skipAppData"] = mdc.SkipAppData + if j.UsingSdk != nil { + objectMap["using_sdk"] = j.UsingSdk } - if mdc.AppOffline != nil { - objectMap["appOffline"] = mdc.AppOffline + if j.Settings != nil { + objectMap["settings"] = j.Settings } return json.Marshal(objectMap) } -// MSDeployLog mSDeploy log -type MSDeployLog struct { +// JwtClaimChecks the configuration settings of the checks that should be made while validating the JWT +// Claims. +type JwtClaimChecks struct { + // AllowedGroups - The list of the allowed groups. + AllowedGroups *[]string `json:"allowedGroups,omitempty"` + // AllowedClientApplications - The list of the allowed client applications. + AllowedClientApplications *[]string `json:"allowedClientApplications,omitempty"` +} + +// KeyInfo function key info. +type KeyInfo struct { autorest.Response `json:"-"` - // MSDeployLogProperties - MSDeployLog resource specific properties - *MSDeployLogProperties `json:"properties,omitempty"` + // Name - Key name + Name *string `json:"name,omitempty"` + // Value - Key value + Value *string `json:"value,omitempty"` +} + +// KeyValuePairStringObject ... +type KeyValuePairStringObject struct { + // Key - READ-ONLY + Key *string `json:"key,omitempty"` + // Value - READ-ONLY + Value interface{} `json:"value,omitempty"` +} + +// MarshalJSON is the custom marshaler for KeyValuePairStringObject. +func (kvpSo KeyValuePairStringObject) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + return json.Marshal(objectMap) +} + +// KubeEnvironment a Kubernetes cluster specialized for web workloads by Azure App Service +type KubeEnvironment struct { + autorest.Response `json:"-"` + // KubeEnvironmentProperties - KubeEnvironment resource specific properties + *KubeEnvironmentProperties `json:"properties,omitempty"` + ExtendedLocation *ExtendedLocation `json:"extendedLocation,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` + // Location - Resource Location. + Location *string `json:"location,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` + // Tags - Resource tags. + Tags map[string]*string `json:"tags"` } -// MarshalJSON is the custom marshaler for MSDeployLog. -func (mdl MSDeployLog) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for KubeEnvironment. +func (ke KubeEnvironment) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if mdl.MSDeployLogProperties != nil { - objectMap["properties"] = mdl.MSDeployLogProperties + if ke.KubeEnvironmentProperties != nil { + objectMap["properties"] = ke.KubeEnvironmentProperties } - if mdl.Kind != nil { - objectMap["kind"] = mdl.Kind + if ke.ExtendedLocation != nil { + objectMap["extendedLocation"] = ke.ExtendedLocation + } + if ke.Kind != nil { + objectMap["kind"] = ke.Kind + } + if ke.Location != nil { + objectMap["location"] = ke.Location + } + if ke.Tags != nil { + objectMap["tags"] = ke.Tags } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for MSDeployLog struct. -func (mdl *MSDeployLog) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for KubeEnvironment struct. +func (ke *KubeEnvironment) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -18180,12 +14610,21 @@ func (mdl *MSDeployLog) UnmarshalJSON(body []byte) error { switch k { case "properties": if v != nil { - var mSDeployLogProperties MSDeployLogProperties - err = json.Unmarshal(*v, &mSDeployLogProperties) + var kubeEnvironmentProperties KubeEnvironmentProperties + err = json.Unmarshal(*v, &kubeEnvironmentProperties) if err != nil { return err } - mdl.MSDeployLogProperties = &mSDeployLogProperties + ke.KubeEnvironmentProperties = &kubeEnvironmentProperties + } + case "extendedLocation": + if v != nil { + var extendedLocation ExtendedLocation + err = json.Unmarshal(*v, &extendedLocation) + if err != nil { + return err + } + ke.ExtendedLocation = &extendedLocation } case "id": if v != nil { @@ -18194,7 +14633,7 @@ func (mdl *MSDeployLog) UnmarshalJSON(body []byte) error { if err != nil { return err } - mdl.ID = &ID + ke.ID = &ID } case "name": if v != nil { @@ -18203,7 +14642,7 @@ func (mdl *MSDeployLog) UnmarshalJSON(body []byte) error { if err != nil { return err } - mdl.Name = &name + ke.Name = &name } case "kind": if v != nil { @@ -18212,7 +14651,16 @@ func (mdl *MSDeployLog) UnmarshalJSON(body []byte) error { if err != nil { return err } - mdl.Kind = &kind + ke.Kind = &kind + } + case "location": + if v != nil { + var location string + err = json.Unmarshal(*v, &location) + if err != nil { + return err + } + ke.Location = &location } case "type": if v != nil { @@ -18221,7 +14669,16 @@ func (mdl *MSDeployLog) UnmarshalJSON(body []byte) error { if err != nil { return err } - mdl.Type = &typeVar + ke.Type = &typeVar + } + case "tags": + if v != nil { + var tags map[string]*string + err = json.Unmarshal(*v, &tags) + if err != nil { + return err + } + ke.Tags = tags } } } @@ -18229,39 +14686,178 @@ func (mdl *MSDeployLog) UnmarshalJSON(body []byte) error { return nil } -// MSDeployLogEntry mSDeploy log entry -type MSDeployLogEntry struct { - // Time - READ-ONLY; Timestamp of log entry - Time *date.Time `json:"time,omitempty"` - // Type - READ-ONLY; Log entry type. Possible values include: 'MSDeployLogEntryTypeMessage', 'MSDeployLogEntryTypeWarning', 'MSDeployLogEntryTypeError' - Type MSDeployLogEntryType `json:"type,omitempty"` - // Message - READ-ONLY; Log entry message - Message *string `json:"message,omitempty"` +// KubeEnvironmentCollection collection of Kubernetes Environments +type KubeEnvironmentCollection struct { + autorest.Response `json:"-"` + // Value - Collection of resources. + Value *[]KubeEnvironment `json:"value,omitempty"` + // NextLink - READ-ONLY; Link to next page of resources. + NextLink *string `json:"nextLink,omitempty"` } -// MarshalJSON is the custom marshaler for MSDeployLogEntry. -func (mdle MSDeployLogEntry) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for KubeEnvironmentCollection. +func (kec KubeEnvironmentCollection) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) + if kec.Value != nil { + objectMap["value"] = kec.Value + } return json.Marshal(objectMap) } -// MSDeployLogProperties mSDeployLog resource specific properties -type MSDeployLogProperties struct { - // Entries - READ-ONLY; List of log entry messages - Entries *[]MSDeployLogEntry `json:"entries,omitempty"` +// KubeEnvironmentCollectionIterator provides access to a complete listing of KubeEnvironment values. +type KubeEnvironmentCollectionIterator struct { + i int + page KubeEnvironmentCollectionPage } -// MarshalJSON is the custom marshaler for MSDeployLogProperties. -func (mdl MSDeployLogProperties) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - return json.Marshal(objectMap) +// NextWithContext advances to the next value. If there was an error making +// the request the iterator does not advance and the error is returned. +func (iter *KubeEnvironmentCollectionIterator) NextWithContext(ctx context.Context) (err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/KubeEnvironmentCollectionIterator.NextWithContext") + defer func() { + sc := -1 + if iter.Response().Response.Response != nil { + sc = iter.Response().Response.Response.StatusCode + } + tracing.EndSpan(ctx, sc, err) + }() + } + iter.i++ + if iter.i < len(iter.page.Values()) { + return nil + } + err = iter.page.NextWithContext(ctx) + if err != nil { + iter.i-- + return err + } + iter.i = 0 + return nil } -// MSDeployStatus mSDeploy ARM response -type MSDeployStatus struct { - autorest.Response `json:"-"` - // MSDeployStatusProperties - MSDeployStatus resource specific properties - *MSDeployStatusProperties `json:"properties,omitempty"` +// Next advances to the next value. If there was an error making +// the request the iterator does not advance and the error is returned. +// Deprecated: Use NextWithContext() instead. +func (iter *KubeEnvironmentCollectionIterator) Next() error { + return iter.NextWithContext(context.Background()) +} + +// NotDone returns true if the enumeration should be started or is not yet complete. +func (iter KubeEnvironmentCollectionIterator) NotDone() bool { + return iter.page.NotDone() && iter.i < len(iter.page.Values()) +} + +// Response returns the raw server response from the last page request. +func (iter KubeEnvironmentCollectionIterator) Response() KubeEnvironmentCollection { + return iter.page.Response() +} + +// Value returns the current value or a zero-initialized value if the +// iterator has advanced beyond the end of the collection. +func (iter KubeEnvironmentCollectionIterator) Value() KubeEnvironment { + if !iter.page.NotDone() { + return KubeEnvironment{} + } + return iter.page.Values()[iter.i] +} + +// Creates a new instance of the KubeEnvironmentCollectionIterator type. +func NewKubeEnvironmentCollectionIterator(page KubeEnvironmentCollectionPage) KubeEnvironmentCollectionIterator { + return KubeEnvironmentCollectionIterator{page: page} +} + +// IsEmpty returns true if the ListResult contains no values. +func (kec KubeEnvironmentCollection) IsEmpty() bool { + return kec.Value == nil || len(*kec.Value) == 0 +} + +// hasNextLink returns true if the NextLink is not empty. +func (kec KubeEnvironmentCollection) hasNextLink() bool { + return kec.NextLink != nil && len(*kec.NextLink) != 0 +} + +// kubeEnvironmentCollectionPreparer prepares a request to retrieve the next set of results. +// It returns nil if no more results exist. +func (kec KubeEnvironmentCollection) kubeEnvironmentCollectionPreparer(ctx context.Context) (*http.Request, error) { + if !kec.hasNextLink() { + return nil, nil + } + return autorest.Prepare((&http.Request{}).WithContext(ctx), + autorest.AsJSON(), + autorest.AsGet(), + autorest.WithBaseURL(to.String(kec.NextLink))) +} + +// KubeEnvironmentCollectionPage contains a page of KubeEnvironment values. +type KubeEnvironmentCollectionPage struct { + fn func(context.Context, KubeEnvironmentCollection) (KubeEnvironmentCollection, error) + kec KubeEnvironmentCollection +} + +// NextWithContext advances to the next page of values. If there was an error making +// the request the page does not advance and the error is returned. +func (page *KubeEnvironmentCollectionPage) NextWithContext(ctx context.Context) (err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/KubeEnvironmentCollectionPage.NextWithContext") + defer func() { + sc := -1 + if page.Response().Response.Response != nil { + sc = page.Response().Response.Response.StatusCode + } + tracing.EndSpan(ctx, sc, err) + }() + } + for { + next, err := page.fn(ctx, page.kec) + if err != nil { + return err + } + page.kec = next + if !next.hasNextLink() || !next.IsEmpty() { + break + } + } + return nil +} + +// Next advances to the next page of values. If there was an error making +// the request the page does not advance and the error is returned. +// Deprecated: Use NextWithContext() instead. +func (page *KubeEnvironmentCollectionPage) Next() error { + return page.NextWithContext(context.Background()) +} + +// NotDone returns true if the page enumeration should be started or is not yet complete. +func (page KubeEnvironmentCollectionPage) NotDone() bool { + return !page.kec.IsEmpty() +} + +// Response returns the raw server response from the last page request. +func (page KubeEnvironmentCollectionPage) Response() KubeEnvironmentCollection { + return page.kec +} + +// Values returns the slice of values for the current page or nil if there are no values. +func (page KubeEnvironmentCollectionPage) Values() []KubeEnvironment { + if page.kec.IsEmpty() { + return nil + } + return *page.kec.Value +} + +// Creates a new instance of the KubeEnvironmentCollectionPage type. +func NewKubeEnvironmentCollectionPage(cur KubeEnvironmentCollection, getNextPage func(context.Context, KubeEnvironmentCollection) (KubeEnvironmentCollection, error)) KubeEnvironmentCollectionPage { + return KubeEnvironmentCollectionPage{ + fn: getNextPage, + kec: cur, + } +} + +// KubeEnvironmentPatchResource ARM resource for a KubeEnvironment when patching +type KubeEnvironmentPatchResource struct { + // KubeEnvironmentPatchResourceProperties - KubeEnvironmentPatchResource resource specific properties + *KubeEnvironmentPatchResourceProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. @@ -18272,20 +14868,20 @@ type MSDeployStatus struct { Type *string `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for MSDeployStatus. -func (mds MSDeployStatus) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for KubeEnvironmentPatchResource. +func (kepr KubeEnvironmentPatchResource) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if mds.MSDeployStatusProperties != nil { - objectMap["properties"] = mds.MSDeployStatusProperties + if kepr.KubeEnvironmentPatchResourceProperties != nil { + objectMap["properties"] = kepr.KubeEnvironmentPatchResourceProperties } - if mds.Kind != nil { - objectMap["kind"] = mds.Kind + if kepr.Kind != nil { + objectMap["kind"] = kepr.Kind } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for MSDeployStatus struct. -func (mds *MSDeployStatus) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for KubeEnvironmentPatchResource struct. +func (kepr *KubeEnvironmentPatchResource) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -18295,12 +14891,12 @@ func (mds *MSDeployStatus) UnmarshalJSON(body []byte) error { switch k { case "properties": if v != nil { - var mSDeployStatusProperties MSDeployStatusProperties - err = json.Unmarshal(*v, &mSDeployStatusProperties) + var kubeEnvironmentPatchResourceProperties KubeEnvironmentPatchResourceProperties + err = json.Unmarshal(*v, &kubeEnvironmentPatchResourceProperties) if err != nil { return err } - mds.MSDeployStatusProperties = &mSDeployStatusProperties + kepr.KubeEnvironmentPatchResourceProperties = &kubeEnvironmentPatchResourceProperties } case "id": if v != nil { @@ -18309,7 +14905,7 @@ func (mds *MSDeployStatus) UnmarshalJSON(body []byte) error { if err != nil { return err } - mds.ID = &ID + kepr.ID = &ID } case "name": if v != nil { @@ -18318,7 +14914,7 @@ func (mds *MSDeployStatus) UnmarshalJSON(body []byte) error { if err != nil { return err } - mds.Name = &name + kepr.Name = &name } case "kind": if v != nil { @@ -18327,7 +14923,7 @@ func (mds *MSDeployStatus) UnmarshalJSON(body []byte) error { if err != nil { return err } - mds.Kind = &kind + kepr.Kind = &kind } case "type": if v != nil { @@ -18336,7 +14932,7 @@ func (mds *MSDeployStatus) UnmarshalJSON(body []byte) error { if err != nil { return err } - mds.Type = &typeVar + kepr.Type = &typeVar } } } @@ -18344,214 +14940,393 @@ func (mds *MSDeployStatus) UnmarshalJSON(body []byte) error { return nil } -// MSDeployStatusProperties mSDeployStatus resource specific properties -type MSDeployStatusProperties struct { - // Deployer - READ-ONLY; Username of deployer - Deployer *string `json:"deployer,omitempty"` - // ProvisioningState - READ-ONLY; Provisioning state. Possible values include: 'MSDeployProvisioningStateAccepted', 'MSDeployProvisioningStateRunning', 'MSDeployProvisioningStateSucceeded', 'MSDeployProvisioningStateFailed', 'MSDeployProvisioningStateCanceled' - ProvisioningState MSDeployProvisioningState `json:"provisioningState,omitempty"` - // StartTime - READ-ONLY; Start time of deploy operation - StartTime *date.Time `json:"startTime,omitempty"` - // EndTime - READ-ONLY; End time of deploy operation - EndTime *date.Time `json:"endTime,omitempty"` - // Complete - READ-ONLY; Whether the deployment operation has completed - Complete *bool `json:"complete,omitempty"` +// KubeEnvironmentPatchResourceProperties kubeEnvironmentPatchResource resource specific properties +type KubeEnvironmentPatchResourceProperties struct { + // ProvisioningState - READ-ONLY; Provisioning state of the Kubernetes Environment. Possible values include: 'KubeEnvironmentProvisioningStateSucceeded', 'KubeEnvironmentProvisioningStateFailed', 'KubeEnvironmentProvisioningStateCanceled', 'KubeEnvironmentProvisioningStateWaiting', 'KubeEnvironmentProvisioningStateInitializationInProgress', 'KubeEnvironmentProvisioningStateInfrastructureSetupInProgress', 'KubeEnvironmentProvisioningStateInfrastructureSetupComplete', 'KubeEnvironmentProvisioningStateScheduledForDelete', 'KubeEnvironmentProvisioningStateUpgradeRequested', 'KubeEnvironmentProvisioningStateUpgradeFailed' + ProvisioningState KubeEnvironmentProvisioningState `json:"provisioningState,omitempty"` + // DeploymentErrors - READ-ONLY; Any errors that occurred during deployment or deployment validation + DeploymentErrors *string `json:"deploymentErrors,omitempty"` + // InternalLoadBalancerEnabled - Only visible within Vnet/Subnet + InternalLoadBalancerEnabled *bool `json:"internalLoadBalancerEnabled,omitempty"` + // DefaultDomain - READ-ONLY; Default Domain Name for the cluster + DefaultDomain *string `json:"defaultDomain,omitempty"` + // StaticIP - Static IP of the KubeEnvironment + StaticIP *string `json:"staticIp,omitempty"` + // ArcConfiguration - Cluster configuration which determines the ARC cluster + // components types. Eg: Choosing between BuildService kind, + // FrontEnd Service ArtifactsStorageType etc. + ArcConfiguration *ArcConfiguration `json:"arcConfiguration,omitempty"` + // AppLogsConfiguration - Cluster configuration which enables the log daemon to export + // app logs to a destination. Currently only "log-analytics" is + // supported + AppLogsConfiguration *AppLogsConfiguration `json:"appLogsConfiguration,omitempty"` + AksResourceID *string `json:"aksResourceID,omitempty"` } -// MarshalJSON is the custom marshaler for MSDeployStatusProperties. -func (mds MSDeployStatusProperties) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for KubeEnvironmentPatchResourceProperties. +func (kepr KubeEnvironmentPatchResourceProperties) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) + if kepr.InternalLoadBalancerEnabled != nil { + objectMap["internalLoadBalancerEnabled"] = kepr.InternalLoadBalancerEnabled + } + if kepr.StaticIP != nil { + objectMap["staticIp"] = kepr.StaticIP + } + if kepr.ArcConfiguration != nil { + objectMap["arcConfiguration"] = kepr.ArcConfiguration + } + if kepr.AppLogsConfiguration != nil { + objectMap["appLogsConfiguration"] = kepr.AppLogsConfiguration + } + if kepr.AksResourceID != nil { + objectMap["aksResourceID"] = kepr.AksResourceID + } return json.Marshal(objectMap) } -// NameIdentifier identifies an object. -type NameIdentifier struct { - // Name - Name of the object. +// KubeEnvironmentProfile specification for a Kubernetes Environment to use for this resource. +type KubeEnvironmentProfile struct { + // ID - Resource ID of the Kubernetes Environment. + ID *string `json:"id,omitempty"` + // Name - READ-ONLY; Name of the Kubernetes Environment. Name *string `json:"name,omitempty"` + // Type - READ-ONLY; Resource type of the Kubernetes Environment. + Type *string `json:"type,omitempty"` } -// NameIdentifierCollection collection of domain name identifiers. -type NameIdentifierCollection struct { - autorest.Response `json:"-"` - // Value - Collection of resources. - Value *[]NameIdentifier `json:"value,omitempty"` - // NextLink - READ-ONLY; Link to next page of resources. - NextLink *string `json:"nextLink,omitempty"` +// MarshalJSON is the custom marshaler for KubeEnvironmentProfile. +func (kep KubeEnvironmentProfile) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if kep.ID != nil { + objectMap["id"] = kep.ID + } + return json.Marshal(objectMap) +} + +// KubeEnvironmentProperties kubeEnvironment resource specific properties +type KubeEnvironmentProperties struct { + // ProvisioningState - READ-ONLY; Provisioning state of the Kubernetes Environment. Possible values include: 'KubeEnvironmentProvisioningStateSucceeded', 'KubeEnvironmentProvisioningStateFailed', 'KubeEnvironmentProvisioningStateCanceled', 'KubeEnvironmentProvisioningStateWaiting', 'KubeEnvironmentProvisioningStateInitializationInProgress', 'KubeEnvironmentProvisioningStateInfrastructureSetupInProgress', 'KubeEnvironmentProvisioningStateInfrastructureSetupComplete', 'KubeEnvironmentProvisioningStateScheduledForDelete', 'KubeEnvironmentProvisioningStateUpgradeRequested', 'KubeEnvironmentProvisioningStateUpgradeFailed' + ProvisioningState KubeEnvironmentProvisioningState `json:"provisioningState,omitempty"` + // DeploymentErrors - READ-ONLY; Any errors that occurred during deployment or deployment validation + DeploymentErrors *string `json:"deploymentErrors,omitempty"` + // InternalLoadBalancerEnabled - Only visible within Vnet/Subnet + InternalLoadBalancerEnabled *bool `json:"internalLoadBalancerEnabled,omitempty"` + // DefaultDomain - READ-ONLY; Default Domain Name for the cluster + DefaultDomain *string `json:"defaultDomain,omitempty"` + // StaticIP - Static IP of the KubeEnvironment + StaticIP *string `json:"staticIp,omitempty"` + // ArcConfiguration - Cluster configuration which determines the ARC cluster + // components types. Eg: Choosing between BuildService kind, + // FrontEnd Service ArtifactsStorageType etc. + ArcConfiguration *ArcConfiguration `json:"arcConfiguration,omitempty"` + // AppLogsConfiguration - Cluster configuration which enables the log daemon to export + // app logs to a destination. Currently only "log-analytics" is + // supported + AppLogsConfiguration *AppLogsConfiguration `json:"appLogsConfiguration,omitempty"` + AksResourceID *string `json:"aksResourceID,omitempty"` +} + +// MarshalJSON is the custom marshaler for KubeEnvironmentProperties. +func (ke KubeEnvironmentProperties) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if ke.InternalLoadBalancerEnabled != nil { + objectMap["internalLoadBalancerEnabled"] = ke.InternalLoadBalancerEnabled + } + if ke.StaticIP != nil { + objectMap["staticIp"] = ke.StaticIP + } + if ke.ArcConfiguration != nil { + objectMap["arcConfiguration"] = ke.ArcConfiguration + } + if ke.AppLogsConfiguration != nil { + objectMap["appLogsConfiguration"] = ke.AppLogsConfiguration + } + if ke.AksResourceID != nil { + objectMap["aksResourceID"] = ke.AksResourceID + } + return json.Marshal(objectMap) +} + +// KubeEnvironmentsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a +// long-running operation. +type KubeEnvironmentsCreateOrUpdateFuture struct { + azure.FutureAPI + // Result returns the result of the asynchronous operation. + // If the operation has not completed it will return an error. + Result func(KubeEnvironmentsClient) (KubeEnvironment, error) +} + +// UnmarshalJSON is the custom unmarshaller for CreateFuture. +func (future *KubeEnvironmentsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error { + var azFuture azure.Future + if err := json.Unmarshal(body, &azFuture); err != nil { + return err + } + future.FutureAPI = &azFuture + future.Result = future.result + return nil +} + +// result is the default implementation for KubeEnvironmentsCreateOrUpdateFuture.Result. +func (future *KubeEnvironmentsCreateOrUpdateFuture) result(client KubeEnvironmentsClient) (ke KubeEnvironment, err error) { + var done bool + done, err = future.DoneWithContext(context.Background(), client) + if err != nil { + err = autorest.NewErrorWithError(err, "web.KubeEnvironmentsCreateOrUpdateFuture", "Result", future.Response(), "Polling failure") + return + } + if !done { + ke.Response.Response = future.Response() + err = azure.NewAsyncOpIncompleteError("web.KubeEnvironmentsCreateOrUpdateFuture") + return + } + sender := autorest.DecorateSender(client, autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...)) + if ke.Response.Response, err = future.GetResult(sender); err == nil && ke.Response.Response.StatusCode != http.StatusNoContent { + ke, err = client.CreateOrUpdateResponder(ke.Response.Response) + if err != nil { + err = autorest.NewErrorWithError(err, "web.KubeEnvironmentsCreateOrUpdateFuture", "Result", ke.Response.Response, "Failure responding to request") + } + } + return +} + +// KubeEnvironmentsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running +// operation. +type KubeEnvironmentsDeleteFuture struct { + azure.FutureAPI + // Result returns the result of the asynchronous operation. + // If the operation has not completed it will return an error. + Result func(KubeEnvironmentsClient) (autorest.Response, error) +} + +// UnmarshalJSON is the custom unmarshaller for CreateFuture. +func (future *KubeEnvironmentsDeleteFuture) UnmarshalJSON(body []byte) error { + var azFuture azure.Future + if err := json.Unmarshal(body, &azFuture); err != nil { + return err + } + future.FutureAPI = &azFuture + future.Result = future.result + return nil +} + +// result is the default implementation for KubeEnvironmentsDeleteFuture.Result. +func (future *KubeEnvironmentsDeleteFuture) result(client KubeEnvironmentsClient) (ar autorest.Response, err error) { + var done bool + done, err = future.DoneWithContext(context.Background(), client) + if err != nil { + err = autorest.NewErrorWithError(err, "web.KubeEnvironmentsDeleteFuture", "Result", future.Response(), "Polling failure") + return + } + if !done { + ar.Response = future.Response() + err = azure.NewAsyncOpIncompleteError("web.KubeEnvironmentsDeleteFuture") + return + } + ar.Response = future.Response() + return +} + +// LegacyMicrosoftAccount the configuration settings of the legacy Microsoft Account provider. +type LegacyMicrosoftAccount struct { + // Enabled - false if the legacy Microsoft Account provider should not be enabled despite the set registration; otherwise, true. + Enabled *bool `json:"enabled,omitempty"` + // Registration - The configuration settings of the app registration for the legacy Microsoft Account provider. + Registration *ClientRegistration `json:"registration,omitempty"` + // Login - The configuration settings of the login flow. + Login *LoginScopes `json:"login,omitempty"` + // Validation - The configuration settings of the legacy Microsoft Account provider token validation flow. + Validation *AllowedAudiencesValidation `json:"validation,omitempty"` +} + +// LinuxJavaContainerSettings linux Java Container settings. +type LinuxJavaContainerSettings struct { + // Java11Runtime - READ-ONLY; Java 11 version (runtime only). + Java11Runtime *string `json:"java11Runtime,omitempty"` + // Java8Runtime - READ-ONLY; Java 8 version (runtime only). + Java8Runtime *string `json:"java8Runtime,omitempty"` + // IsPreview - READ-ONLY; true if the stack is in preview; otherwise, false. + IsPreview *bool `json:"isPreview,omitempty"` + // IsDeprecated - READ-ONLY; true if the stack is deprecated; otherwise, false. + IsDeprecated *bool `json:"isDeprecated,omitempty"` + // IsHidden - READ-ONLY; true if the stack should be hidden; otherwise, false. + IsHidden *bool `json:"isHidden,omitempty"` + // EndOfLifeDate - READ-ONLY; End-of-life date for the minor version. + EndOfLifeDate *date.Time `json:"endOfLifeDate,omitempty"` + // IsAutoUpdate - READ-ONLY; true if the stack version is auto-updated; otherwise, false. + IsAutoUpdate *bool `json:"isAutoUpdate,omitempty"` + // IsEarlyAccess - READ-ONLY; true if the minor version is early-access; otherwise, false. + IsEarlyAccess *bool `json:"isEarlyAccess,omitempty"` } -// MarshalJSON is the custom marshaler for NameIdentifierCollection. -func (nic NameIdentifierCollection) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for LinuxJavaContainerSettings. +func (ljcs LinuxJavaContainerSettings) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if nic.Value != nil { - objectMap["value"] = nic.Value - } return json.Marshal(objectMap) } -// NameIdentifierCollectionIterator provides access to a complete listing of NameIdentifier values. -type NameIdentifierCollectionIterator struct { - i int - page NameIdentifierCollectionPage +// ListCapability ... +type ListCapability struct { + autorest.Response `json:"-"` + Value *[]Capability `json:"value,omitempty"` } -// NextWithContext advances to the next value. If there was an error making -// the request the iterator does not advance and the error is returned. -func (iter *NameIdentifierCollectionIterator) NextWithContext(ctx context.Context) (err error) { - if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/NameIdentifierCollectionIterator.NextWithContext") - defer func() { - sc := -1 - if iter.Response().Response.Response != nil { - sc = iter.Response().Response.Response.StatusCode - } - tracing.EndSpan(ctx, sc, err) - }() - } - iter.i++ - if iter.i < len(iter.page.Values()) { - return nil - } - err = iter.page.NextWithContext(ctx) - if err != nil { - iter.i-- - return err - } - iter.i = 0 - return nil +// ListCertificateEmail ... +type ListCertificateEmail struct { + autorest.Response `json:"-"` + Value *[]CertificateEmail `json:"value,omitempty"` } -// Next advances to the next value. If there was an error making -// the request the iterator does not advance and the error is returned. -// Deprecated: Use NextWithContext() instead. -func (iter *NameIdentifierCollectionIterator) Next() error { - return iter.NextWithContext(context.Background()) +// ListCertificateOrderAction ... +type ListCertificateOrderAction struct { + autorest.Response `json:"-"` + Value *[]CertificateOrderAction `json:"value,omitempty"` } -// NotDone returns true if the enumeration should be started or is not yet complete. -func (iter NameIdentifierCollectionIterator) NotDone() bool { - return iter.page.NotDone() && iter.i < len(iter.page.Values()) +// ListHostingEnvironmentDiagnostics ... +type ListHostingEnvironmentDiagnostics struct { + autorest.Response `json:"-"` + Value *[]HostingEnvironmentDiagnostics `json:"value,omitempty"` } -// Response returns the raw server response from the last page request. -func (iter NameIdentifierCollectionIterator) Response() NameIdentifierCollection { - return iter.page.Response() +// ListNetworkTrace ... +type ListNetworkTrace struct { + autorest.Response `json:"-"` + Value *[]NetworkTrace `json:"value,omitempty"` } -// Value returns the current value or a zero-initialized value if the -// iterator has advanced beyond the end of the collection. -func (iter NameIdentifierCollectionIterator) Value() NameIdentifier { - if !iter.page.NotDone() { - return NameIdentifier{} - } - return iter.page.Values()[iter.i] +// ListOperation ... +type ListOperation struct { + autorest.Response `json:"-"` + Value *[]Operation `json:"value,omitempty"` } -// Creates a new instance of the NameIdentifierCollectionIterator type. -func NewNameIdentifierCollectionIterator(page NameIdentifierCollectionPage) NameIdentifierCollectionIterator { - return NameIdentifierCollectionIterator{page: page} +// ListSnapshot ... +type ListSnapshot struct { + autorest.Response `json:"-"` + Value *[]Snapshot `json:"value,omitempty"` } -// IsEmpty returns true if the ListResult contains no values. -func (nic NameIdentifierCollection) IsEmpty() bool { - return nic.Value == nil || len(*nic.Value) == 0 +// ListVnetInfo ... +type ListVnetInfo struct { + autorest.Response `json:"-"` + Value *[]VnetInfo `json:"value,omitempty"` } -// hasNextLink returns true if the NextLink is not empty. -func (nic NameIdentifierCollection) hasNextLink() bool { - return nic.NextLink != nil && len(*nic.NextLink) != 0 +// ListVnetRoute ... +type ListVnetRoute struct { + autorest.Response `json:"-"` + Value *[]VnetRoute `json:"value,omitempty"` } -// nameIdentifierCollectionPreparer prepares a request to retrieve the next set of results. -// It returns nil if no more results exist. -func (nic NameIdentifierCollection) nameIdentifierCollectionPreparer(ctx context.Context) (*http.Request, error) { - if !nic.hasNextLink() { - return nil, nil - } - return autorest.Prepare((&http.Request{}).WithContext(ctx), - autorest.AsJSON(), - autorest.AsGet(), - autorest.WithBaseURL(to.String(nic.NextLink))) +// LocalizableString localizable string object containing the name and a localized value. +type LocalizableString struct { + // Value - Non-localized name. + Value *string `json:"value,omitempty"` + // LocalizedValue - Localized name. + LocalizedValue *string `json:"localizedValue,omitempty"` } -// NameIdentifierCollectionPage contains a page of NameIdentifier values. -type NameIdentifierCollectionPage struct { - fn func(context.Context, NameIdentifierCollection) (NameIdentifierCollection, error) - nic NameIdentifierCollection +// LogAnalyticsConfiguration ... +type LogAnalyticsConfiguration struct { + CustomerID *string `json:"customerId,omitempty"` + SharedKey *string `json:"sharedKey,omitempty"` } -// NextWithContext advances to the next page of values. If there was an error making -// the request the page does not advance and the error is returned. -func (page *NameIdentifierCollectionPage) NextWithContext(ctx context.Context) (err error) { - if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/NameIdentifierCollectionPage.NextWithContext") - defer func() { - sc := -1 - if page.Response().Response.Response != nil { - sc = page.Response().Response.Response.StatusCode - } - tracing.EndSpan(ctx, sc, err) - }() - } - for { - next, err := page.fn(ctx, page.nic) - if err != nil { - return err - } - page.nic = next - if !next.hasNextLink() || !next.IsEmpty() { - break - } - } - return nil +// Login the configuration settings of the login flow of users using App Service +// Authentication/Authorization. +type Login struct { + // Routes - The routes that specify the endpoints used for login and logout requests. + Routes *LoginRoutes `json:"routes,omitempty"` + // TokenStore - The configuration settings of the token store. + TokenStore *TokenStore `json:"tokenStore,omitempty"` + // PreserveURLFragmentsForLogins - true if the fragments from the request are preserved after the login request is made; otherwise, false. + PreserveURLFragmentsForLogins *bool `json:"preserveUrlFragmentsForLogins,omitempty"` + // AllowedExternalRedirectUrls - External URLs that can be redirected to as part of logging in or logging out of the app. Note that the query string part of the URL is ignored. + // This is an advanced setting typically only needed by Windows Store application backends. + // Note that URLs within the current domain are always implicitly allowed. + AllowedExternalRedirectUrls *[]string `json:"allowedExternalRedirectUrls,omitempty"` + // CookieExpiration - The configuration settings of the session cookie's expiration. + CookieExpiration *CookieExpiration `json:"cookieExpiration,omitempty"` + // Nonce - The configuration settings of the nonce used in the login flow. + Nonce *Nonce `json:"nonce,omitempty"` } -// Next advances to the next page of values. If there was an error making -// the request the page does not advance and the error is returned. -// Deprecated: Use NextWithContext() instead. -func (page *NameIdentifierCollectionPage) Next() error { - return page.NextWithContext(context.Background()) +// LoginRoutes the routes that specify the endpoints used for login and logout requests. +type LoginRoutes struct { + // LogoutEndpoint - The endpoint at which a logout request should be made. + LogoutEndpoint *string `json:"logoutEndpoint,omitempty"` } -// NotDone returns true if the page enumeration should be started or is not yet complete. -func (page NameIdentifierCollectionPage) NotDone() bool { - return !page.nic.IsEmpty() +// LoginScopes the configuration settings of the login flow, including the scopes that should be requested. +type LoginScopes struct { + // Scopes - A list of the scopes that should be requested while authenticating. + Scopes *[]string `json:"scopes,omitempty"` } -// Response returns the raw server response from the last page request. -func (page NameIdentifierCollectionPage) Response() NameIdentifierCollection { - return page.nic +// LogSpecification log Definition of a single resource metric. +type LogSpecification struct { + Name *string `json:"name,omitempty"` + DisplayName *string `json:"displayName,omitempty"` + BlobDuration *string `json:"blobDuration,omitempty"` + LogFilterPattern *string `json:"logFilterPattern,omitempty"` } -// Values returns the slice of values for the current page or nil if there are no values. -func (page NameIdentifierCollectionPage) Values() []NameIdentifier { - if page.nic.IsEmpty() { - return nil - } - return *page.nic.Value +// ManagedServiceIdentity managed service identity. +type ManagedServiceIdentity struct { + // Type - Type of managed service identity. Possible values include: 'ManagedServiceIdentityTypeSystemAssigned', 'ManagedServiceIdentityTypeUserAssigned', 'ManagedServiceIdentityTypeSystemAssignedUserAssigned', 'ManagedServiceIdentityTypeNone' + Type ManagedServiceIdentityType `json:"type,omitempty"` + // TenantID - READ-ONLY; Tenant of managed service identity. + TenantID *string `json:"tenantId,omitempty"` + // PrincipalID - READ-ONLY; Principal Id of managed service identity. + PrincipalID *string `json:"principalId,omitempty"` + // UserAssignedIdentities - The list of user assigned identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName} + UserAssignedIdentities map[string]*UserAssignedIdentity `json:"userAssignedIdentities"` } -// Creates a new instance of the NameIdentifierCollectionPage type. -func NewNameIdentifierCollectionPage(cur NameIdentifierCollection, getNextPage func(context.Context, NameIdentifierCollection) (NameIdentifierCollection, error)) NameIdentifierCollectionPage { - return NameIdentifierCollectionPage{ - fn: getNextPage, - nic: cur, +// MarshalJSON is the custom marshaler for ManagedServiceIdentity. +func (msi ManagedServiceIdentity) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if msi.Type != "" { + objectMap["type"] = msi.Type + } + if msi.UserAssignedIdentities != nil { + objectMap["userAssignedIdentities"] = msi.UserAssignedIdentities } + return json.Marshal(objectMap) } -// NameValuePair name value pair. -type NameValuePair struct { - // Name - Pair name. - Name *string `json:"name,omitempty"` - // Value - Pair value. - Value *string `json:"value,omitempty"` +// MetricAvailability retention policy of a resource metric. +type MetricAvailability struct { + TimeGrain *string `json:"timeGrain,omitempty"` + BlobDuration *string `json:"blobDuration,omitempty"` +} + +// MetricSpecification definition of a single resource metric. +type MetricSpecification struct { + Name *string `json:"name,omitempty"` + DisplayName *string `json:"displayName,omitempty"` + DisplayDescription *string `json:"displayDescription,omitempty"` + Unit *string `json:"unit,omitempty"` + AggregationType *string `json:"aggregationType,omitempty"` + SupportsInstanceLevelAggregation *bool `json:"supportsInstanceLevelAggregation,omitempty"` + EnableRegionalMdmAccount *bool `json:"enableRegionalMdmAccount,omitempty"` + SourceMdmAccount *string `json:"sourceMdmAccount,omitempty"` + SourceMdmNamespace *string `json:"sourceMdmNamespace,omitempty"` + MetricFilterPattern *string `json:"metricFilterPattern,omitempty"` + FillGapWithZero *bool `json:"fillGapWithZero,omitempty"` + IsInternal *bool `json:"isInternal,omitempty"` + Dimensions *[]Dimension `json:"dimensions,omitempty"` + Category *string `json:"category,omitempty"` + Availabilities *[]MetricAvailability `json:"availabilities,omitempty"` + SupportedTimeGrainTypes *[]string `json:"supportedTimeGrainTypes,omitempty"` + SupportedAggregationTypes *[]string `json:"supportedAggregationTypes,omitempty"` } -// NetworkFeatures full view of network features for an app (presently VNET integration and Hybrid -// Connections). -type NetworkFeatures struct { - autorest.Response `json:"-"` - // NetworkFeaturesProperties - NetworkFeatures resource specific properties - *NetworkFeaturesProperties `json:"properties,omitempty"` +// MigrateMySQLRequest mySQL migration request. +type MigrateMySQLRequest struct { + // MigrateMySQLRequestProperties - MigrateMySqlRequest resource specific properties + *MigrateMySQLRequestProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. @@ -18562,20 +15337,20 @@ type NetworkFeatures struct { Type *string `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for NetworkFeatures. -func (nf NetworkFeatures) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for MigrateMySQLRequest. +func (mmsr MigrateMySQLRequest) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if nf.NetworkFeaturesProperties != nil { - objectMap["properties"] = nf.NetworkFeaturesProperties + if mmsr.MigrateMySQLRequestProperties != nil { + objectMap["properties"] = mmsr.MigrateMySQLRequestProperties } - if nf.Kind != nil { - objectMap["kind"] = nf.Kind + if mmsr.Kind != nil { + objectMap["kind"] = mmsr.Kind } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for NetworkFeatures struct. -func (nf *NetworkFeatures) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for MigrateMySQLRequest struct. +func (mmsr *MigrateMySQLRequest) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -18585,12 +15360,12 @@ func (nf *NetworkFeatures) UnmarshalJSON(body []byte) error { switch k { case "properties": if v != nil { - var networkFeaturesProperties NetworkFeaturesProperties - err = json.Unmarshal(*v, &networkFeaturesProperties) + var migrateMySQLRequestProperties MigrateMySQLRequestProperties + err = json.Unmarshal(*v, &migrateMySQLRequestProperties) if err != nil { return err } - nf.NetworkFeaturesProperties = &networkFeaturesProperties + mmsr.MigrateMySQLRequestProperties = &migrateMySQLRequestProperties } case "id": if v != nil { @@ -18599,7 +15374,7 @@ func (nf *NetworkFeatures) UnmarshalJSON(body []byte) error { if err != nil { return err } - nf.ID = &ID + mmsr.ID = &ID } case "name": if v != nil { @@ -18608,7 +15383,7 @@ func (nf *NetworkFeatures) UnmarshalJSON(body []byte) error { if err != nil { return err } - nf.Name = &name + mmsr.Name = &name } case "kind": if v != nil { @@ -18617,7 +15392,7 @@ func (nf *NetworkFeatures) UnmarshalJSON(body []byte) error { if err != nil { return err } - nf.Kind = &kind + mmsr.Kind = &kind } case "type": if v != nil { @@ -18626,7 +15401,7 @@ func (nf *NetworkFeatures) UnmarshalJSON(body []byte) error { if err != nil { return err } - nf.Type = &typeVar + mmsr.Type = &typeVar } } } @@ -18634,38 +15409,19 @@ func (nf *NetworkFeatures) UnmarshalJSON(body []byte) error { return nil } -// NetworkFeaturesProperties networkFeatures resource specific properties -type NetworkFeaturesProperties struct { - // VirtualNetworkName - READ-ONLY; The Virtual Network name. - VirtualNetworkName *string `json:"virtualNetworkName,omitempty"` - // VirtualNetworkConnection - READ-ONLY; The Virtual Network summary view. - VirtualNetworkConnection *VnetInfo `json:"virtualNetworkConnection,omitempty"` - // HybridConnections - READ-ONLY; The Hybrid Connections summary view. - HybridConnections *[]RelayServiceConnectionEntity `json:"hybridConnections,omitempty"` - // HybridConnectionsV2 - READ-ONLY; The Hybrid Connection V2 (Service Bus) view. - HybridConnectionsV2 *[]HybridConnection `json:"hybridConnectionsV2,omitempty"` -} - -// MarshalJSON is the custom marshaler for NetworkFeaturesProperties. -func (nf NetworkFeaturesProperties) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - return json.Marshal(objectMap) -} - -// NetworkTrace network trace -type NetworkTrace struct { - // Path - Local file path for the captured network trace file. - Path *string `json:"path,omitempty"` - // Status - Current status of the network trace operation, same as Operation.Status (InProgress/Succeeded/Failed). - Status *string `json:"status,omitempty"` - // Message - Detailed message of a network trace operation, e.g. error message in case of failure. - Message *string `json:"message,omitempty"` +// MigrateMySQLRequestProperties migrateMySqlRequest resource specific properties +type MigrateMySQLRequestProperties struct { + // ConnectionString - Connection string to the remote MySQL database. + ConnectionString *string `json:"connectionString,omitempty"` + // MigrationType - The type of migration operation to be done. Possible values include: 'MySQLMigrationTypeLocalToRemote', 'MySQLMigrationTypeRemoteToLocal' + MigrationType MySQLMigrationType `json:"migrationType,omitempty"` } -// Nonce the configuration settings of the nonce used in the login flow. -type Nonce struct { - // NonceProperties - Nonce resource specific properties - *NonceProperties `json:"properties,omitempty"` +// MigrateMySQLStatus mySQL migration status. +type MigrateMySQLStatus struct { + autorest.Response `json:"-"` + // MigrateMySQLStatusProperties - MigrateMySqlStatus resource specific properties + *MigrateMySQLStatusProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. @@ -18676,20 +15432,20 @@ type Nonce struct { Type *string `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for Nonce. -func (n Nonce) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for MigrateMySQLStatus. +func (mmss MigrateMySQLStatus) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if n.NonceProperties != nil { - objectMap["properties"] = n.NonceProperties + if mmss.MigrateMySQLStatusProperties != nil { + objectMap["properties"] = mmss.MigrateMySQLStatusProperties } - if n.Kind != nil { - objectMap["kind"] = n.Kind + if mmss.Kind != nil { + objectMap["kind"] = mmss.Kind } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for Nonce struct. -func (n *Nonce) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for MigrateMySQLStatus struct. +func (mmss *MigrateMySQLStatus) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -18699,12 +15455,12 @@ func (n *Nonce) UnmarshalJSON(body []byte) error { switch k { case "properties": if v != nil { - var nonceProperties NonceProperties - err = json.Unmarshal(*v, &nonceProperties) + var migrateMySQLStatusProperties MigrateMySQLStatusProperties + err = json.Unmarshal(*v, &migrateMySQLStatusProperties) if err != nil { return err } - n.NonceProperties = &nonceProperties + mmss.MigrateMySQLStatusProperties = &migrateMySQLStatusProperties } case "id": if v != nil { @@ -18713,7 +15469,7 @@ func (n *Nonce) UnmarshalJSON(body []byte) error { if err != nil { return err } - n.ID = &ID + mmss.ID = &ID } case "name": if v != nil { @@ -18722,7 +15478,7 @@ func (n *Nonce) UnmarshalJSON(body []byte) error { if err != nil { return err } - n.Name = &name + mmss.Name = &name } case "kind": if v != nil { @@ -18731,7 +15487,7 @@ func (n *Nonce) UnmarshalJSON(body []byte) error { if err != nil { return err } - n.Kind = &kind + mmss.Kind = &kind } case "type": if v != nil { @@ -18740,7 +15496,7 @@ func (n *Nonce) UnmarshalJSON(body []byte) error { if err != nil { return err } - n.Type = &typeVar + mmss.Type = &typeVar } } } @@ -18748,19 +15504,26 @@ func (n *Nonce) UnmarshalJSON(body []byte) error { return nil } -// NonceProperties nonce resource specific properties -type NonceProperties struct { - // ValidateNonce - false if the nonce should not be validated while completing the login flow; otherwise, true. - ValidateNonce *bool `json:"validateNonce,omitempty"` - // NonceExpirationInterval - The time after the request is made when the nonce should expire. - NonceExpirationInterval *string `json:"nonceExpirationInterval,omitempty"` +// MigrateMySQLStatusProperties migrateMySqlStatus resource specific properties +type MigrateMySQLStatusProperties struct { + // MigrationOperationStatus - READ-ONLY; Status of the migration task. Possible values include: 'OperationStatusInProgress', 'OperationStatusFailed', 'OperationStatusSucceeded', 'OperationStatusTimedOut', 'OperationStatusCreated' + MigrationOperationStatus OperationStatus `json:"migrationOperationStatus,omitempty"` + // OperationID - READ-ONLY; Operation ID for the migration task. + OperationID *string `json:"operationId,omitempty"` + // LocalMySQLEnabled - READ-ONLY; True if the web app has in app MySql enabled + LocalMySQLEnabled *bool `json:"localMySqlEnabled,omitempty"` } -// OpenIDConnectClientCredential the authentication client credentials of the custom Open ID Connect -// provider. -type OpenIDConnectClientCredential struct { - // OpenIDConnectClientCredentialProperties - OpenIdConnectClientCredential resource specific properties - *OpenIDConnectClientCredentialProperties `json:"properties,omitempty"` +// MarshalJSON is the custom marshaler for MigrateMySQLStatusProperties. +func (mmss MigrateMySQLStatusProperties) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + return json.Marshal(objectMap) +} + +// MSDeploy mSDeploy ARM PUT information +type MSDeploy struct { + // MSDeployCore - Core resource properties + *MSDeployCore `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. @@ -18771,20 +15534,20 @@ type OpenIDConnectClientCredential struct { Type *string `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for OpenIDConnectClientCredential. -func (oiccc OpenIDConnectClientCredential) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for MSDeploy. +func (md MSDeploy) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if oiccc.OpenIDConnectClientCredentialProperties != nil { - objectMap["properties"] = oiccc.OpenIDConnectClientCredentialProperties + if md.MSDeployCore != nil { + objectMap["properties"] = md.MSDeployCore } - if oiccc.Kind != nil { - objectMap["kind"] = oiccc.Kind + if md.Kind != nil { + objectMap["kind"] = md.Kind } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for OpenIDConnectClientCredential struct. -func (oiccc *OpenIDConnectClientCredential) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for MSDeploy struct. +func (md *MSDeploy) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -18794,12 +15557,12 @@ func (oiccc *OpenIDConnectClientCredential) UnmarshalJSON(body []byte) error { switch k { case "properties": if v != nil { - var openIDConnectClientCredentialProperties OpenIDConnectClientCredentialProperties - err = json.Unmarshal(*v, &openIDConnectClientCredentialProperties) + var mSDeployCore MSDeployCore + err = json.Unmarshal(*v, &mSDeployCore) if err != nil { return err } - oiccc.OpenIDConnectClientCredentialProperties = &openIDConnectClientCredentialProperties + md.MSDeployCore = &mSDeployCore } case "id": if v != nil { @@ -18808,7 +15571,7 @@ func (oiccc *OpenIDConnectClientCredential) UnmarshalJSON(body []byte) error { if err != nil { return err } - oiccc.ID = &ID + md.ID = &ID } case "name": if v != nil { @@ -18817,7 +15580,7 @@ func (oiccc *OpenIDConnectClientCredential) UnmarshalJSON(body []byte) error { if err != nil { return err } - oiccc.Name = &name + md.Name = &name } case "kind": if v != nil { @@ -18826,7 +15589,7 @@ func (oiccc *OpenIDConnectClientCredential) UnmarshalJSON(body []byte) error { if err != nil { return err } - oiccc.Kind = &kind + md.Kind = &kind } case "type": if v != nil { @@ -18835,7 +15598,7 @@ func (oiccc *OpenIDConnectClientCredential) UnmarshalJSON(body []byte) error { if err != nil { return err } - oiccc.Type = &typeVar + md.Type = &typeVar } } } @@ -18843,19 +15606,60 @@ func (oiccc *OpenIDConnectClientCredential) UnmarshalJSON(body []byte) error { return nil } -// OpenIDConnectClientCredentialProperties openIdConnectClientCredential resource specific properties -type OpenIDConnectClientCredentialProperties struct { - // Method - The method that should be used to authenticate the user. Possible values include: 'ClientCredentialMethodClientSecretPost' - Method ClientCredentialMethod `json:"method,omitempty"` - // ClientSecretSettingName - The app setting that contains the client secret for the custom Open ID Connect provider. - ClientSecretSettingName *string `json:"clientSecretSettingName,omitempty"` +// MSDeployCore mSDeploy ARM PUT core information +type MSDeployCore struct { + // PackageURI - Package URI + PackageURI *string `json:"packageUri,omitempty"` + // ConnectionString - SQL Connection String + ConnectionString *string `json:"connectionString,omitempty"` + // DbType - Database Type + DbType *string `json:"dbType,omitempty"` + // SetParametersXMLFileURI - URI of MSDeploy Parameters file. Must not be set if SetParameters is used. + SetParametersXMLFileURI *string `json:"setParametersXmlFileUri,omitempty"` + // SetParameters - MSDeploy Parameters. Must not be set if SetParametersXmlFileUri is used. + SetParameters map[string]*string `json:"setParameters"` + // SkipAppData - Controls whether the MSDeploy operation skips the App_Data directory. + // If set to true, the existing App_Data directory on the destination + // will not be deleted, and any App_Data directory in the source will be ignored. + // Setting is false by default. + SkipAppData *bool `json:"skipAppData,omitempty"` + // AppOffline - Sets the AppOffline rule while the MSDeploy operation executes. + // Setting is false by default. + AppOffline *bool `json:"appOffline,omitempty"` } -// OpenIDConnectConfig the configuration settings of the endpoints used for the custom Open ID Connect -// provider. -type OpenIDConnectConfig struct { - // OpenIDConnectConfigProperties - OpenIdConnectConfig resource specific properties - *OpenIDConnectConfigProperties `json:"properties,omitempty"` +// MarshalJSON is the custom marshaler for MSDeployCore. +func (mdc MSDeployCore) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if mdc.PackageURI != nil { + objectMap["packageUri"] = mdc.PackageURI + } + if mdc.ConnectionString != nil { + objectMap["connectionString"] = mdc.ConnectionString + } + if mdc.DbType != nil { + objectMap["dbType"] = mdc.DbType + } + if mdc.SetParametersXMLFileURI != nil { + objectMap["setParametersXmlFileUri"] = mdc.SetParametersXMLFileURI + } + if mdc.SetParameters != nil { + objectMap["setParameters"] = mdc.SetParameters + } + if mdc.SkipAppData != nil { + objectMap["skipAppData"] = mdc.SkipAppData + } + if mdc.AppOffline != nil { + objectMap["appOffline"] = mdc.AppOffline + } + return json.Marshal(objectMap) +} + +// MSDeployLog mSDeploy log +type MSDeployLog struct { + autorest.Response `json:"-"` + // MSDeployLogProperties - MSDeployLog resource specific properties + *MSDeployLogProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. @@ -18866,20 +15670,20 @@ type OpenIDConnectConfig struct { Type *string `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for OpenIDConnectConfig. -func (oicc OpenIDConnectConfig) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for MSDeployLog. +func (mdl MSDeployLog) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if oicc.OpenIDConnectConfigProperties != nil { - objectMap["properties"] = oicc.OpenIDConnectConfigProperties + if mdl.MSDeployLogProperties != nil { + objectMap["properties"] = mdl.MSDeployLogProperties } - if oicc.Kind != nil { - objectMap["kind"] = oicc.Kind + if mdl.Kind != nil { + objectMap["kind"] = mdl.Kind } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for OpenIDConnectConfig struct. -func (oicc *OpenIDConnectConfig) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for MSDeployLog struct. +func (mdl *MSDeployLog) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -18889,12 +15693,12 @@ func (oicc *OpenIDConnectConfig) UnmarshalJSON(body []byte) error { switch k { case "properties": if v != nil { - var openIDConnectConfigProperties OpenIDConnectConfigProperties - err = json.Unmarshal(*v, &openIDConnectConfigProperties) + var mSDeployLogProperties MSDeployLogProperties + err = json.Unmarshal(*v, &mSDeployLogProperties) if err != nil { return err } - oicc.OpenIDConnectConfigProperties = &openIDConnectConfigProperties + mdl.MSDeployLogProperties = &mSDeployLogProperties } case "id": if v != nil { @@ -18903,7 +15707,7 @@ func (oicc *OpenIDConnectConfig) UnmarshalJSON(body []byte) error { if err != nil { return err } - oicc.ID = &ID + mdl.ID = &ID } case "name": if v != nil { @@ -18912,7 +15716,7 @@ func (oicc *OpenIDConnectConfig) UnmarshalJSON(body []byte) error { if err != nil { return err } - oicc.Name = &name + mdl.Name = &name } case "kind": if v != nil { @@ -18921,7 +15725,7 @@ func (oicc *OpenIDConnectConfig) UnmarshalJSON(body []byte) error { if err != nil { return err } - oicc.Kind = &kind + mdl.Kind = &kind } case "type": if v != nil { @@ -18930,7 +15734,7 @@ func (oicc *OpenIDConnectConfig) UnmarshalJSON(body []byte) error { if err != nil { return err } - oicc.Type = &typeVar + mdl.Type = &typeVar } } } @@ -18938,24 +15742,39 @@ func (oicc *OpenIDConnectConfig) UnmarshalJSON(body []byte) error { return nil } -// OpenIDConnectConfigProperties openIdConnectConfig resource specific properties -type OpenIDConnectConfigProperties struct { - // AuthorizationEndpoint - The endpoint to be used to make an authorization request. - AuthorizationEndpoint *string `json:"authorizationEndpoint,omitempty"` - // TokenEndpoint - The endpoint to be used to request a token. - TokenEndpoint *string `json:"tokenEndpoint,omitempty"` - // Issuer - The endpoint that issues the token. - Issuer *string `json:"issuer,omitempty"` - // CertificationURI - The endpoint that provides the keys necessary to validate the token. - CertificationURI *string `json:"certificationUri,omitempty"` - // WellKnownOpenIDConfiguration - The endpoint that contains all the configuration endpoints for the provider. - WellKnownOpenIDConfiguration *string `json:"wellKnownOpenIdConfiguration,omitempty"` +// MSDeployLogEntry mSDeploy log entry +type MSDeployLogEntry struct { + // Time - READ-ONLY; Timestamp of log entry + Time *date.Time `json:"time,omitempty"` + // Type - READ-ONLY; Log entry type. Possible values include: 'MSDeployLogEntryTypeMessage', 'MSDeployLogEntryTypeWarning', 'MSDeployLogEntryTypeError' + Type MSDeployLogEntryType `json:"type,omitempty"` + // Message - READ-ONLY; Log entry message + Message *string `json:"message,omitempty"` } -// OpenIDConnectLogin the configuration settings of the login flow of the custom Open ID Connect provider. -type OpenIDConnectLogin struct { - // OpenIDConnectLoginProperties - OpenIdConnectLogin resource specific properties - *OpenIDConnectLoginProperties `json:"properties,omitempty"` +// MarshalJSON is the custom marshaler for MSDeployLogEntry. +func (mdle MSDeployLogEntry) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + return json.Marshal(objectMap) +} + +// MSDeployLogProperties mSDeployLog resource specific properties +type MSDeployLogProperties struct { + // Entries - READ-ONLY; List of log entry messages + Entries *[]MSDeployLogEntry `json:"entries,omitempty"` +} + +// MarshalJSON is the custom marshaler for MSDeployLogProperties. +func (mdl MSDeployLogProperties) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + return json.Marshal(objectMap) +} + +// MSDeployStatus mSDeploy ARM response +type MSDeployStatus struct { + autorest.Response `json:"-"` + // MSDeployStatusProperties - MSDeployStatus resource specific properties + *MSDeployStatusProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. @@ -18966,20 +15785,20 @@ type OpenIDConnectLogin struct { Type *string `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for OpenIDConnectLogin. -func (oicl OpenIDConnectLogin) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for MSDeployStatus. +func (mds MSDeployStatus) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if oicl.OpenIDConnectLoginProperties != nil { - objectMap["properties"] = oicl.OpenIDConnectLoginProperties + if mds.MSDeployStatusProperties != nil { + objectMap["properties"] = mds.MSDeployStatusProperties } - if oicl.Kind != nil { - objectMap["kind"] = oicl.Kind + if mds.Kind != nil { + objectMap["kind"] = mds.Kind } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for OpenIDConnectLogin struct. -func (oicl *OpenIDConnectLogin) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for MSDeployStatus struct. +func (mds *MSDeployStatus) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -18989,12 +15808,12 @@ func (oicl *OpenIDConnectLogin) UnmarshalJSON(body []byte) error { switch k { case "properties": if v != nil { - var openIDConnectLoginProperties OpenIDConnectLoginProperties - err = json.Unmarshal(*v, &openIDConnectLoginProperties) + var mSDeployStatusProperties MSDeployStatusProperties + err = json.Unmarshal(*v, &mSDeployStatusProperties) if err != nil { return err } - oicl.OpenIDConnectLoginProperties = &openIDConnectLoginProperties + mds.MSDeployStatusProperties = &mSDeployStatusProperties } case "id": if v != nil { @@ -19003,7 +15822,7 @@ func (oicl *OpenIDConnectLogin) UnmarshalJSON(body []byte) error { if err != nil { return err } - oicl.ID = &ID + mds.ID = &ID } case "name": if v != nil { @@ -19012,7 +15831,7 @@ func (oicl *OpenIDConnectLogin) UnmarshalJSON(body []byte) error { if err != nil { return err } - oicl.Name = &name + mds.Name = &name } case "kind": if v != nil { @@ -19021,7 +15840,7 @@ func (oicl *OpenIDConnectLogin) UnmarshalJSON(body []byte) error { if err != nil { return err } - oicl.Kind = &kind + mds.Kind = &kind } case "type": if v != nil { @@ -19030,7 +15849,7 @@ func (oicl *OpenIDConnectLogin) UnmarshalJSON(body []byte) error { if err != nil { return err } - oicl.Type = &typeVar + mds.Type = &typeVar } } } @@ -19038,19 +15857,214 @@ func (oicl *OpenIDConnectLogin) UnmarshalJSON(body []byte) error { return nil } -// OpenIDConnectLoginProperties openIdConnectLogin resource specific properties -type OpenIDConnectLoginProperties struct { - // NameClaimType - The name of the claim that contains the users name. - NameClaimType *string `json:"nameClaimType,omitempty"` - // Scopes - A list of the scopes that should be requested while authenticating. - Scopes *[]string `json:"scopes,omitempty"` +// MSDeployStatusProperties mSDeployStatus resource specific properties +type MSDeployStatusProperties struct { + // Deployer - READ-ONLY; Username of deployer + Deployer *string `json:"deployer,omitempty"` + // ProvisioningState - READ-ONLY; Provisioning state. Possible values include: 'MSDeployProvisioningStateAccepted', 'MSDeployProvisioningStateRunning', 'MSDeployProvisioningStateSucceeded', 'MSDeployProvisioningStateFailed', 'MSDeployProvisioningStateCanceled' + ProvisioningState MSDeployProvisioningState `json:"provisioningState,omitempty"` + // StartTime - READ-ONLY; Start time of deploy operation + StartTime *date.Time `json:"startTime,omitempty"` + // EndTime - READ-ONLY; End time of deploy operation + EndTime *date.Time `json:"endTime,omitempty"` + // Complete - READ-ONLY; Whether the deployment operation has completed + Complete *bool `json:"complete,omitempty"` } -// OpenIDConnectRegistration the configuration settings of the app registration for the custom Open ID -// Connect provider. -type OpenIDConnectRegistration struct { - // OpenIDConnectRegistrationProperties - OpenIdConnectRegistration resource specific properties - *OpenIDConnectRegistrationProperties `json:"properties,omitempty"` +// MarshalJSON is the custom marshaler for MSDeployStatusProperties. +func (mds MSDeployStatusProperties) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + return json.Marshal(objectMap) +} + +// NameIdentifier identifies an object. +type NameIdentifier struct { + // Name - Name of the object. + Name *string `json:"name,omitempty"` +} + +// NameIdentifierCollection collection of domain name identifiers. +type NameIdentifierCollection struct { + autorest.Response `json:"-"` + // Value - Collection of resources. + Value *[]NameIdentifier `json:"value,omitempty"` + // NextLink - READ-ONLY; Link to next page of resources. + NextLink *string `json:"nextLink,omitempty"` +} + +// MarshalJSON is the custom marshaler for NameIdentifierCollection. +func (nic NameIdentifierCollection) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if nic.Value != nil { + objectMap["value"] = nic.Value + } + return json.Marshal(objectMap) +} + +// NameIdentifierCollectionIterator provides access to a complete listing of NameIdentifier values. +type NameIdentifierCollectionIterator struct { + i int + page NameIdentifierCollectionPage +} + +// NextWithContext advances to the next value. If there was an error making +// the request the iterator does not advance and the error is returned. +func (iter *NameIdentifierCollectionIterator) NextWithContext(ctx context.Context) (err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/NameIdentifierCollectionIterator.NextWithContext") + defer func() { + sc := -1 + if iter.Response().Response.Response != nil { + sc = iter.Response().Response.Response.StatusCode + } + tracing.EndSpan(ctx, sc, err) + }() + } + iter.i++ + if iter.i < len(iter.page.Values()) { + return nil + } + err = iter.page.NextWithContext(ctx) + if err != nil { + iter.i-- + return err + } + iter.i = 0 + return nil +} + +// Next advances to the next value. If there was an error making +// the request the iterator does not advance and the error is returned. +// Deprecated: Use NextWithContext() instead. +func (iter *NameIdentifierCollectionIterator) Next() error { + return iter.NextWithContext(context.Background()) +} + +// NotDone returns true if the enumeration should be started or is not yet complete. +func (iter NameIdentifierCollectionIterator) NotDone() bool { + return iter.page.NotDone() && iter.i < len(iter.page.Values()) +} + +// Response returns the raw server response from the last page request. +func (iter NameIdentifierCollectionIterator) Response() NameIdentifierCollection { + return iter.page.Response() +} + +// Value returns the current value or a zero-initialized value if the +// iterator has advanced beyond the end of the collection. +func (iter NameIdentifierCollectionIterator) Value() NameIdentifier { + if !iter.page.NotDone() { + return NameIdentifier{} + } + return iter.page.Values()[iter.i] +} + +// Creates a new instance of the NameIdentifierCollectionIterator type. +func NewNameIdentifierCollectionIterator(page NameIdentifierCollectionPage) NameIdentifierCollectionIterator { + return NameIdentifierCollectionIterator{page: page} +} + +// IsEmpty returns true if the ListResult contains no values. +func (nic NameIdentifierCollection) IsEmpty() bool { + return nic.Value == nil || len(*nic.Value) == 0 +} + +// hasNextLink returns true if the NextLink is not empty. +func (nic NameIdentifierCollection) hasNextLink() bool { + return nic.NextLink != nil && len(*nic.NextLink) != 0 +} + +// nameIdentifierCollectionPreparer prepares a request to retrieve the next set of results. +// It returns nil if no more results exist. +func (nic NameIdentifierCollection) nameIdentifierCollectionPreparer(ctx context.Context) (*http.Request, error) { + if !nic.hasNextLink() { + return nil, nil + } + return autorest.Prepare((&http.Request{}).WithContext(ctx), + autorest.AsJSON(), + autorest.AsGet(), + autorest.WithBaseURL(to.String(nic.NextLink))) +} + +// NameIdentifierCollectionPage contains a page of NameIdentifier values. +type NameIdentifierCollectionPage struct { + fn func(context.Context, NameIdentifierCollection) (NameIdentifierCollection, error) + nic NameIdentifierCollection +} + +// NextWithContext advances to the next page of values. If there was an error making +// the request the page does not advance and the error is returned. +func (page *NameIdentifierCollectionPage) NextWithContext(ctx context.Context) (err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/NameIdentifierCollectionPage.NextWithContext") + defer func() { + sc := -1 + if page.Response().Response.Response != nil { + sc = page.Response().Response.Response.StatusCode + } + tracing.EndSpan(ctx, sc, err) + }() + } + for { + next, err := page.fn(ctx, page.nic) + if err != nil { + return err + } + page.nic = next + if !next.hasNextLink() || !next.IsEmpty() { + break + } + } + return nil +} + +// Next advances to the next page of values. If there was an error making +// the request the page does not advance and the error is returned. +// Deprecated: Use NextWithContext() instead. +func (page *NameIdentifierCollectionPage) Next() error { + return page.NextWithContext(context.Background()) +} + +// NotDone returns true if the page enumeration should be started or is not yet complete. +func (page NameIdentifierCollectionPage) NotDone() bool { + return !page.nic.IsEmpty() +} + +// Response returns the raw server response from the last page request. +func (page NameIdentifierCollectionPage) Response() NameIdentifierCollection { + return page.nic +} + +// Values returns the slice of values for the current page or nil if there are no values. +func (page NameIdentifierCollectionPage) Values() []NameIdentifier { + if page.nic.IsEmpty() { + return nil + } + return *page.nic.Value +} + +// Creates a new instance of the NameIdentifierCollectionPage type. +func NewNameIdentifierCollectionPage(cur NameIdentifierCollection, getNextPage func(context.Context, NameIdentifierCollection) (NameIdentifierCollection, error)) NameIdentifierCollectionPage { + return NameIdentifierCollectionPage{ + fn: getNextPage, + nic: cur, + } +} + +// NameValuePair name value pair. +type NameValuePair struct { + // Name - Pair name. + Name *string `json:"name,omitempty"` + // Value - Pair value. + Value *string `json:"value,omitempty"` +} + +// NetworkFeatures full view of network features for an app (presently VNET integration and Hybrid +// Connections). +type NetworkFeatures struct { + autorest.Response `json:"-"` + // NetworkFeaturesProperties - NetworkFeatures resource specific properties + *NetworkFeaturesProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. @@ -19061,20 +16075,20 @@ type OpenIDConnectRegistration struct { Type *string `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for OpenIDConnectRegistration. -func (oicr OpenIDConnectRegistration) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for NetworkFeatures. +func (nf NetworkFeatures) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if oicr.OpenIDConnectRegistrationProperties != nil { - objectMap["properties"] = oicr.OpenIDConnectRegistrationProperties + if nf.NetworkFeaturesProperties != nil { + objectMap["properties"] = nf.NetworkFeaturesProperties } - if oicr.Kind != nil { - objectMap["kind"] = oicr.Kind + if nf.Kind != nil { + objectMap["kind"] = nf.Kind } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for OpenIDConnectRegistration struct. -func (oicr *OpenIDConnectRegistration) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for NetworkFeatures struct. +func (nf *NetworkFeatures) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -19084,12 +16098,12 @@ func (oicr *OpenIDConnectRegistration) UnmarshalJSON(body []byte) error { switch k { case "properties": if v != nil { - var openIDConnectRegistrationProperties OpenIDConnectRegistrationProperties - err = json.Unmarshal(*v, &openIDConnectRegistrationProperties) + var networkFeaturesProperties NetworkFeaturesProperties + err = json.Unmarshal(*v, &networkFeaturesProperties) if err != nil { return err } - oicr.OpenIDConnectRegistrationProperties = &openIDConnectRegistrationProperties + nf.NetworkFeaturesProperties = &networkFeaturesProperties } case "id": if v != nil { @@ -19098,7 +16112,7 @@ func (oicr *OpenIDConnectRegistration) UnmarshalJSON(body []byte) error { if err != nil { return err } - oicr.ID = &ID + nf.ID = &ID } case "name": if v != nil { @@ -19107,7 +16121,7 @@ func (oicr *OpenIDConnectRegistration) UnmarshalJSON(body []byte) error { if err != nil { return err } - oicr.Name = &name + nf.Name = &name } case "kind": if v != nil { @@ -19116,7 +16130,7 @@ func (oicr *OpenIDConnectRegistration) UnmarshalJSON(body []byte) error { if err != nil { return err } - oicr.Kind = &kind + nf.Kind = &kind } case "type": if v != nil { @@ -19125,16 +16139,85 @@ func (oicr *OpenIDConnectRegistration) UnmarshalJSON(body []byte) error { if err != nil { return err } - oicr.Type = &typeVar + nf.Type = &typeVar } } } - return nil + return nil +} + +// NetworkFeaturesProperties networkFeatures resource specific properties +type NetworkFeaturesProperties struct { + // VirtualNetworkName - READ-ONLY; The Virtual Network name. + VirtualNetworkName *string `json:"virtualNetworkName,omitempty"` + // VirtualNetworkConnection - READ-ONLY; The Virtual Network summary view. + VirtualNetworkConnection *VnetInfo `json:"virtualNetworkConnection,omitempty"` + // HybridConnections - READ-ONLY; The Hybrid Connections summary view. + HybridConnections *[]RelayServiceConnectionEntity `json:"hybridConnections,omitempty"` + // HybridConnectionsV2 - READ-ONLY; The Hybrid Connection V2 (Service Bus) view. + HybridConnectionsV2 *[]HybridConnection `json:"hybridConnectionsV2,omitempty"` +} + +// MarshalJSON is the custom marshaler for NetworkFeaturesProperties. +func (nf NetworkFeaturesProperties) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + return json.Marshal(objectMap) +} + +// NetworkTrace network trace +type NetworkTrace struct { + // Path - Local file path for the captured network trace file. + Path *string `json:"path,omitempty"` + // Status - Current status of the network trace operation, same as Operation.Status (InProgress/Succeeded/Failed). + Status *string `json:"status,omitempty"` + // Message - Detailed message of a network trace operation, e.g. error message in case of failure. + Message *string `json:"message,omitempty"` +} + +// Nonce the configuration settings of the nonce used in the login flow. +type Nonce struct { + // ValidateNonce - false if the nonce should not be validated while completing the login flow; otherwise, true. + ValidateNonce *bool `json:"validateNonce,omitempty"` + // NonceExpirationInterval - The time after the request is made when the nonce should expire. + NonceExpirationInterval *string `json:"nonceExpirationInterval,omitempty"` +} + +// OpenIDConnectClientCredential the authentication client credentials of the custom Open ID Connect +// provider. +type OpenIDConnectClientCredential struct { + // Method - The method that should be used to authenticate the user. Possible values include: 'ClientCredentialMethodClientSecretPost' + Method ClientCredentialMethod `json:"method,omitempty"` + // ClientSecretSettingName - The app setting that contains the client secret for the custom Open ID Connect provider. + ClientSecretSettingName *string `json:"clientSecretSettingName,omitempty"` +} + +// OpenIDConnectConfig the configuration settings of the endpoints used for the custom Open ID Connect +// provider. +type OpenIDConnectConfig struct { + // AuthorizationEndpoint - The endpoint to be used to make an authorization request. + AuthorizationEndpoint *string `json:"authorizationEndpoint,omitempty"` + // TokenEndpoint - The endpoint to be used to request a token. + TokenEndpoint *string `json:"tokenEndpoint,omitempty"` + // Issuer - The endpoint that issues the token. + Issuer *string `json:"issuer,omitempty"` + // CertificationURI - The endpoint that provides the keys necessary to validate the token. + CertificationURI *string `json:"certificationUri,omitempty"` + // WellKnownOpenIDConfiguration - The endpoint that contains all the configuration endpoints for the provider. + WellKnownOpenIDConfiguration *string `json:"wellKnownOpenIdConfiguration,omitempty"` +} + +// OpenIDConnectLogin the configuration settings of the login flow of the custom Open ID Connect provider. +type OpenIDConnectLogin struct { + // NameClaimType - The name of the claim that contains the users name. + NameClaimType *string `json:"nameClaimType,omitempty"` + // Scopes - A list of the scopes that should be requested while authenticating. + Scopes *[]string `json:"scopes,omitempty"` } -// OpenIDConnectRegistrationProperties openIdConnectRegistration resource specific properties -type OpenIDConnectRegistrationProperties struct { +// OpenIDConnectRegistration the configuration settings of the app registration for the custom Open ID +// Connect provider. +type OpenIDConnectRegistration struct { // ClientID - The client id of the custom Open ID Connect provider. ClientID *string `json:"clientId,omitempty"` // ClientCredential - The authentication credentials of the custom Open ID Connect provider. @@ -32109,92 +29192,6 @@ func NewTldLegalAgreementCollectionPage(cur TldLegalAgreementCollection, getNext // TokenStore the configuration settings of the token store. type TokenStore struct { - // TokenStoreProperties - TokenStore resource specific properties - *TokenStoreProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for TokenStore. -func (ts TokenStore) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if ts.TokenStoreProperties != nil { - objectMap["properties"] = ts.TokenStoreProperties - } - if ts.Kind != nil { - objectMap["kind"] = ts.Kind - } - return json.Marshal(objectMap) -} - -// UnmarshalJSON is the custom unmarshaler for TokenStore struct. -func (ts *TokenStore) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var tokenStoreProperties TokenStoreProperties - err = json.Unmarshal(*v, &tokenStoreProperties) - if err != nil { - return err - } - ts.TokenStoreProperties = &tokenStoreProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - ts.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - ts.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - ts.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - ts.Type = &typeVar - } - } - } - - return nil -} - -// TokenStoreProperties tokenStore resource specific properties -type TokenStoreProperties struct { // Enabled - true to durably store platform-specific security tokens that are obtained during login flows; otherwise, false. // The default is false. Enabled *bool `json:"enabled,omitempty"` @@ -33167,92 +30164,6 @@ func (twj TriggeredWebJobProperties) MarshalJSON() ([]byte, error) { // Twitter the configuration settings of the Twitter provider. type Twitter struct { - // TwitterProperties - Twitter resource specific properties - *TwitterProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for Twitter. -func (t Twitter) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if t.TwitterProperties != nil { - objectMap["properties"] = t.TwitterProperties - } - if t.Kind != nil { - objectMap["kind"] = t.Kind - } - return json.Marshal(objectMap) -} - -// UnmarshalJSON is the custom unmarshaler for Twitter struct. -func (t *Twitter) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var twitterProperties TwitterProperties - err = json.Unmarshal(*v, &twitterProperties) - if err != nil { - return err - } - t.TwitterProperties = &twitterProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - t.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - t.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - t.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - t.Type = &typeVar - } - } - } - - return nil -} - -// TwitterProperties twitter resource specific properties -type TwitterProperties struct { // Enabled - false if the Twitter provider should not be enabled despite the set registration; otherwise, true. Enabled *bool `json:"enabled,omitempty"` // Registration - The configuration settings of the app registration for the Twitter provider. @@ -33261,92 +30172,6 @@ type TwitterProperties struct { // TwitterRegistration the configuration settings of the app registration for the Twitter provider. type TwitterRegistration struct { - // TwitterRegistrationProperties - TwitterRegistration resource specific properties - *TwitterRegistrationProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for TwitterRegistration. -func (tr TwitterRegistration) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if tr.TwitterRegistrationProperties != nil { - objectMap["properties"] = tr.TwitterRegistrationProperties - } - if tr.Kind != nil { - objectMap["kind"] = tr.Kind - } - return json.Marshal(objectMap) -} - -// UnmarshalJSON is the custom unmarshaler for TwitterRegistration struct. -func (tr *TwitterRegistration) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var twitterRegistrationProperties TwitterRegistrationProperties - err = json.Unmarshal(*v, &twitterRegistrationProperties) - if err != nil { - return err - } - tr.TwitterRegistrationProperties = &twitterRegistrationProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - tr.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - tr.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - tr.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - tr.Type = &typeVar - } - } - } - - return nil -} - -// TwitterRegistrationProperties twitterRegistration resource specific properties -type TwitterRegistrationProperties struct { // ConsumerKey - The OAuth 1.0a consumer key of the Twitter application used for sign-in. // This setting is required for enabling Twitter Sign-In. // Twitter Sign-In documentation: https://dev.twitter.com/web/sign-in diff --git a/services/web/mgmt/2021-01-15/web/provider.go b/services/web/mgmt/2021-01-15/web/provider.go index a91c3731ca8a..1a87f798c5af 100644 --- a/services/web/mgmt/2021-01-15/web/provider.go +++ b/services/web/mgmt/2021-01-15/web/provider.go @@ -30,7 +30,7 @@ func NewProviderClientWithBaseURI(baseURI string, subscriptionID string) Provide return ProviderClient{NewWithBaseURI(baseURI, subscriptionID)} } -// GetAvailableStacks description for Get available application frameworks and their versions +// GetAvailableStacks get available application frameworks and their versions func (client ProviderClient) GetAvailableStacks(ctx context.Context, osTypeSelected string) (result ApplicationStackCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/ProviderClient.GetAvailableStacks") @@ -142,7 +142,7 @@ func (client ProviderClient) GetAvailableStacksComplete(ctx context.Context, osT return } -// GetAvailableStacksOnPrem description for Get available application frameworks and their versions +// GetAvailableStacksOnPrem get available application frameworks and their versions func (client ProviderClient) GetAvailableStacksOnPrem(ctx context.Context, osTypeSelected string) (result ApplicationStackCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/ProviderClient.GetAvailableStacksOnPrem") @@ -258,7 +258,7 @@ func (client ProviderClient) GetAvailableStacksOnPremComplete(ctx context.Contex return } -// GetFunctionAppStacks description for Get available Function app frameworks and their versions +// GetFunctionAppStacks get available Function app frameworks and their versions // Parameters: // stackOsType - stack OS Type func (client ProviderClient) GetFunctionAppStacks(ctx context.Context, stackOsType string) (result FunctionAppStackCollectionPage, err error) { @@ -372,8 +372,7 @@ func (client ProviderClient) GetFunctionAppStacksComplete(ctx context.Context, s return } -// GetFunctionAppStacksForLocation description for Get available Function app frameworks and their versions for -// location +// GetFunctionAppStacksForLocation get available Function app frameworks and their versions for location // Parameters: // location - function App stack location. // stackOsType - stack OS Type @@ -492,7 +491,7 @@ func (client ProviderClient) GetFunctionAppStacksForLocationComplete(ctx context return } -// GetWebAppStacks description for Get available Web app frameworks and their versions +// GetWebAppStacks get available Web app frameworks and their versions // Parameters: // stackOsType - stack OS Type func (client ProviderClient) GetWebAppStacks(ctx context.Context, stackOsType string) (result AppStackCollectionPage, err error) { @@ -606,7 +605,7 @@ func (client ProviderClient) GetWebAppStacksComplete(ctx context.Context, stackO return } -// GetWebAppStacksForLocation description for Get available Web app frameworks and their versions for location +// GetWebAppStacksForLocation get available Web app frameworks and their versions for location // Parameters: // location - web App stack location. // stackOsType - stack OS Type @@ -725,8 +724,8 @@ func (client ProviderClient) GetWebAppStacksForLocationComplete(ctx context.Cont return } -// ListOperations description for Gets all available operations for the Microsoft.Web resource provider. Also exposes -// resource metric definitions +// ListOperations gets all available operations for the Microsoft.Web resource provider. Also exposes resource metric +// definitions func (client ProviderClient) ListOperations(ctx context.Context) (result CsmOperationCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/ProviderClient.ListOperations") diff --git a/services/web/mgmt/2021-01-15/web/recommendations.go b/services/web/mgmt/2021-01-15/web/recommendations.go index 54c1e969af7d..1e33634f13ad 100644 --- a/services/web/mgmt/2021-01-15/web/recommendations.go +++ b/services/web/mgmt/2021-01-15/web/recommendations.go @@ -31,7 +31,7 @@ func NewRecommendationsClientWithBaseURI(baseURI string, subscriptionID string) return RecommendationsClient{NewWithBaseURI(baseURI, subscriptionID)} } -// DisableAllForHostingEnvironment description for Disable all recommendations for an app. +// DisableAllForHostingEnvironment disable all recommendations for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // environmentName - name of the app. @@ -115,7 +115,7 @@ func (client RecommendationsClient) DisableAllForHostingEnvironmentResponder(res return } -// DisableAllForWebApp description for Disable all recommendations for an app. +// DisableAllForWebApp disable all recommendations for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - name of the app. @@ -198,7 +198,7 @@ func (client RecommendationsClient) DisableAllForWebAppResponder(resp *http.Resp return } -// DisableRecommendationForHostingEnvironment description for Disables the specific rule for a web site permanently. +// DisableRecommendationForHostingEnvironment disables the specific rule for a web site permanently. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // environmentName - site name @@ -284,7 +284,7 @@ func (client RecommendationsClient) DisableRecommendationForHostingEnvironmentRe return } -// DisableRecommendationForSite description for Disables the specific rule for a web site permanently. +// DisableRecommendationForSite disables the specific rule for a web site permanently. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site name @@ -369,8 +369,8 @@ func (client RecommendationsClient) DisableRecommendationForSiteResponder(resp * return } -// DisableRecommendationForSubscription description for Disables the specified rule so it will not apply to a -// subscription in the future. +// DisableRecommendationForSubscription disables the specified rule so it will not apply to a subscription in the +// future. // Parameters: // name - rule name func (client RecommendationsClient) DisableRecommendationForSubscription(ctx context.Context, name string) (result autorest.Response, err error) { @@ -443,7 +443,7 @@ func (client RecommendationsClient) DisableRecommendationForSubscriptionResponde return } -// GetRuleDetailsByHostingEnvironment description for Get a recommendation rule for an app. +// GetRuleDetailsByHostingEnvironment get a recommendation rule for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // hostingEnvironmentName - name of the hosting environment. @@ -538,7 +538,7 @@ func (client RecommendationsClient) GetRuleDetailsByHostingEnvironmentResponder( return } -// GetRuleDetailsByWebApp description for Get a recommendation rule for an app. +// GetRuleDetailsByWebApp get a recommendation rule for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - name of the app. @@ -633,7 +633,7 @@ func (client RecommendationsClient) GetRuleDetailsByWebAppResponder(resp *http.R return } -// List description for List all recommendations for a subscription. +// List list all recommendations for a subscription. // Parameters: // featured - specify true to return only the most critical recommendations. The default is // false, which returns all recommendations. @@ -758,8 +758,7 @@ func (client RecommendationsClient) ListComplete(ctx context.Context, featured * return } -// ListHistoryForHostingEnvironment description for Get past recommendations for an app, optionally specified by the -// time range. +// ListHistoryForHostingEnvironment get past recommendations for an app, optionally specified by the time range. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // hostingEnvironmentName - name of the hosting environment. @@ -896,7 +895,7 @@ func (client RecommendationsClient) ListHistoryForHostingEnvironmentComplete(ctx return } -// ListHistoryForWebApp description for Get past recommendations for an app, optionally specified by the time range. +// ListHistoryForWebApp get past recommendations for an app, optionally specified by the time range. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - name of the app. @@ -1033,7 +1032,7 @@ func (client RecommendationsClient) ListHistoryForWebAppComplete(ctx context.Con return } -// ListRecommendedRulesForHostingEnvironment description for Get all recommendations for a hosting environment. +// ListRecommendedRulesForHostingEnvironment get all recommendations for a hosting environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // hostingEnvironmentName - name of the app. @@ -1169,7 +1168,7 @@ func (client RecommendationsClient) ListRecommendedRulesForHostingEnvironmentCom return } -// ListRecommendedRulesForWebApp description for Get all recommendations for an app. +// ListRecommendedRulesForWebApp get all recommendations for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - name of the app. @@ -1305,7 +1304,7 @@ func (client RecommendationsClient) ListRecommendedRulesForWebAppComplete(ctx co return } -// ResetAllFilters description for Reset all recommendation opt-out settings for a subscription. +// ResetAllFilters reset all recommendation opt-out settings for a subscription. func (client RecommendationsClient) ResetAllFilters(ctx context.Context) (result autorest.Response, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/RecommendationsClient.ResetAllFilters") @@ -1375,7 +1374,7 @@ func (client RecommendationsClient) ResetAllFiltersResponder(resp *http.Response return } -// ResetAllFiltersForHostingEnvironment description for Reset all recommendation opt-out settings for an app. +// ResetAllFiltersForHostingEnvironment reset all recommendation opt-out settings for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // environmentName - name of the app. @@ -1459,7 +1458,7 @@ func (client RecommendationsClient) ResetAllFiltersForHostingEnvironmentResponde return } -// ResetAllFiltersForWebApp description for Reset all recommendation opt-out settings for an app. +// ResetAllFiltersForWebApp reset all recommendation opt-out settings for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - name of the app. diff --git a/services/web/mgmt/2021-01-15/web/resourcehealthmetadata.go b/services/web/mgmt/2021-01-15/web/resourcehealthmetadata.go index 128be8b6989f..bda4ec3fa8a6 100644 --- a/services/web/mgmt/2021-01-15/web/resourcehealthmetadata.go +++ b/services/web/mgmt/2021-01-15/web/resourcehealthmetadata.go @@ -32,7 +32,7 @@ func NewResourceHealthMetadataClientWithBaseURI(baseURI string, subscriptionID s return ResourceHealthMetadataClient{NewWithBaseURI(baseURI, subscriptionID)} } -// GetBySite description for Gets the category of ResourceHealthMetadata to use for the given site +// GetBySite gets the category of ResourceHealthMetadata to use for the given site // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app @@ -116,7 +116,7 @@ func (client ResourceHealthMetadataClient) GetBySiteResponder(resp *http.Respons return } -// GetBySiteSlot description for Gets the category of ResourceHealthMetadata to use for the given site +// GetBySiteSlot gets the category of ResourceHealthMetadata to use for the given site // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app @@ -202,7 +202,7 @@ func (client ResourceHealthMetadataClient) GetBySiteSlotResponder(resp *http.Res return } -// List description for List all ResourceHealthMetadata for all sites in the subscription. +// List list all ResourceHealthMetadata for all sites in the subscription. func (client ResourceHealthMetadataClient) List(ctx context.Context) (result ResourceHealthMetadataCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/ResourceHealthMetadataClient.List") @@ -315,8 +315,7 @@ func (client ResourceHealthMetadataClient) ListComplete(ctx context.Context) (re return } -// ListByResourceGroup description for List all ResourceHealthMetadata for all sites in the resource group in the -// subscription. +// ListByResourceGroup list all ResourceHealthMetadata for all sites in the resource group in the subscription. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. func (client ResourceHealthMetadataClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ResourceHealthMetadataCollectionPage, err error) { @@ -440,7 +439,7 @@ func (client ResourceHealthMetadataClient) ListByResourceGroupComplete(ctx conte return } -// ListBySite description for Gets the category of ResourceHealthMetadata to use for the given site as a collection +// ListBySite gets the category of ResourceHealthMetadata to use for the given site as a collection // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -566,7 +565,7 @@ func (client ResourceHealthMetadataClient) ListBySiteComplete(ctx context.Contex return } -// ListBySiteSlot description for Gets the category of ResourceHealthMetadata to use for the given site as a collection +// ListBySiteSlot gets the category of ResourceHealthMetadata to use for the given site as a collection // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. diff --git a/services/web/mgmt/2021-01-15/web/staticsites.go b/services/web/mgmt/2021-01-15/web/staticsites.go index 43ee79c72829..7438b3137241 100644 --- a/services/web/mgmt/2021-01-15/web/staticsites.go +++ b/services/web/mgmt/2021-01-15/web/staticsites.go @@ -31,7 +31,7 @@ func NewStaticSitesClientWithBaseURI(baseURI string, subscriptionID string) Stat return StaticSitesClient{NewWithBaseURI(baseURI, subscriptionID)} } -// ApproveOrRejectPrivateEndpointConnection description for Approves or rejects a private endpoint connection +// ApproveOrRejectPrivateEndpointConnection approves or rejects a private endpoint connection // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -123,8 +123,8 @@ func (client StaticSitesClient) ApproveOrRejectPrivateEndpointConnectionResponde return } -// CreateOrUpdateStaticSite description for Creates a new static site in an existing resource group, or updates an -// existing static site. +// CreateOrUpdateStaticSite creates a new static site in an existing resource group, or updates an existing static +// site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site to create or update. @@ -214,7 +214,7 @@ func (client StaticSitesClient) CreateOrUpdateStaticSiteResponder(resp *http.Res return } -// CreateOrUpdateStaticSiteAppSettings description for Creates or updates the app settings of a static site. +// CreateOrUpdateStaticSiteAppSettings creates or updates the app settings of a static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -301,7 +301,7 @@ func (client StaticSitesClient) CreateOrUpdateStaticSiteAppSettingsResponder(res return } -// CreateOrUpdateStaticSiteBuildAppSettings description for Creates or updates the app settings of a static site build. +// CreateOrUpdateStaticSiteBuildAppSettings creates or updates the app settings of a static site build. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -390,8 +390,8 @@ func (client StaticSitesClient) CreateOrUpdateStaticSiteBuildAppSettingsResponde return } -// CreateOrUpdateStaticSiteBuildFunctionAppSettings description for Creates or updates the function app settings of a -// static site build. +// CreateOrUpdateStaticSiteBuildFunctionAppSettings creates or updates the function app settings of a static site +// build. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -480,8 +480,8 @@ func (client StaticSitesClient) CreateOrUpdateStaticSiteBuildFunctionAppSettings return } -// CreateOrUpdateStaticSiteCustomDomain description for Creates a new static site custom domain in an existing resource -// group and static site. +// CreateOrUpdateStaticSiteCustomDomain creates a new static site custom domain in an existing resource group and +// static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -574,8 +574,7 @@ func (client StaticSitesClient) CreateOrUpdateStaticSiteCustomDomainResponder(re return } -// CreateOrUpdateStaticSiteFunctionAppSettings description for Creates or updates the function app settings of a static -// site. +// CreateOrUpdateStaticSiteFunctionAppSettings creates or updates the function app settings of a static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -662,7 +661,7 @@ func (client StaticSitesClient) CreateOrUpdateStaticSiteFunctionAppSettingsRespo return } -// CreateUserRolesInvitationLink description for Creates an invitation link for a user with the role +// CreateUserRolesInvitationLink creates an invitation link for a user with the role // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -748,7 +747,7 @@ func (client StaticSitesClient) CreateUserRolesInvitationLinkResponder(resp *htt return } -// CreateZipDeploymentForStaticSite description for Deploys zipped content to a static site. +// CreateZipDeploymentForStaticSite deploys zipped content to a static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -838,8 +837,7 @@ func (client StaticSitesClient) CreateZipDeploymentForStaticSiteResponder(resp * return } -// CreateZipDeploymentForStaticSiteBuild description for Deploys zipped content to a specific environment of a static -// site. +// CreateZipDeploymentForStaticSiteBuild deploys zipped content to a specific environment of a static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -931,7 +929,7 @@ func (client StaticSitesClient) CreateZipDeploymentForStaticSiteBuildResponder(r return } -// DeletePrivateEndpointConnection description for Deletes a private endpoint connection +// DeletePrivateEndpointConnection deletes a private endpoint connection // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -1020,7 +1018,7 @@ func (client StaticSitesClient) DeletePrivateEndpointConnectionResponder(resp *h return } -// DeleteStaticSite description for Deletes a static site. +// DeleteStaticSite deletes a static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site to delete. @@ -1106,7 +1104,7 @@ func (client StaticSitesClient) DeleteStaticSiteResponder(resp *http.Response) ( return } -// DeleteStaticSiteBuild description for Deletes a static site build. +// DeleteStaticSiteBuild deletes a static site build. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -1194,7 +1192,7 @@ func (client StaticSitesClient) DeleteStaticSiteBuildResponder(resp *http.Respon return } -// DeleteStaticSiteCustomDomain description for Deletes a custom domain. +// DeleteStaticSiteCustomDomain deletes a custom domain. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -1282,7 +1280,7 @@ func (client StaticSitesClient) DeleteStaticSiteCustomDomainResponder(resp *http return } -// DeleteStaticSiteUser description for Deletes the user entry from the static site. +// DeleteStaticSiteUser deletes the user entry from the static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the staticsite. @@ -1369,7 +1367,7 @@ func (client StaticSitesClient) DeleteStaticSiteUserResponder(resp *http.Respons return } -// DetachStaticSite description for Detaches a static site. +// DetachStaticSite detaches a static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site to detach. @@ -1455,8 +1453,7 @@ func (client StaticSitesClient) DetachStaticSiteResponder(resp *http.Response) ( return } -// DetachUserProvidedFunctionAppFromStaticSite description for Detach the user provided function app from the static -// site +// DetachUserProvidedFunctionAppFromStaticSite detach the user provided function app from the static site // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -1541,8 +1538,7 @@ func (client StaticSitesClient) DetachUserProvidedFunctionAppFromStaticSiteRespo return } -// DetachUserProvidedFunctionAppFromStaticSiteBuild description for Detach the user provided function app from the -// static site build +// DetachUserProvidedFunctionAppFromStaticSiteBuild detach the user provided function app from the static site build // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -1629,7 +1625,7 @@ func (client StaticSitesClient) DetachUserProvidedFunctionAppFromStaticSiteBuild return } -// GetPrivateEndpointConnection description for Gets a private endpoint connection +// GetPrivateEndpointConnection gets a private endpoint connection // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -1715,8 +1711,7 @@ func (client StaticSitesClient) GetPrivateEndpointConnectionResponder(resp *http return } -// GetPrivateEndpointConnectionList description for Gets the list of private endpoint connections associated with a -// static site +// GetPrivateEndpointConnectionList gets the list of private endpoint connections associated with a static site // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -1842,7 +1837,7 @@ func (client StaticSitesClient) GetPrivateEndpointConnectionListComplete(ctx con return } -// GetPrivateLinkResources description for Gets the private link resources +// GetPrivateLinkResources gets the private link resources // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the site. @@ -1926,7 +1921,7 @@ func (client StaticSitesClient) GetPrivateLinkResourcesResponder(resp *http.Resp return } -// GetStaticSite description for Gets the details of a static site. +// GetStaticSite gets the details of a static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -2010,7 +2005,7 @@ func (client StaticSitesClient) GetStaticSiteResponder(resp *http.Response) (res return } -// GetStaticSiteBuild description for Gets the details of a static site build. +// GetStaticSiteBuild gets the details of a static site build. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -2096,7 +2091,7 @@ func (client StaticSitesClient) GetStaticSiteBuildResponder(resp *http.Response) return } -// GetStaticSiteBuilds description for Gets all static site builds for a particular static site. +// GetStaticSiteBuilds gets all static site builds for a particular static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -2222,7 +2217,7 @@ func (client StaticSitesClient) GetStaticSiteBuildsComplete(ctx context.Context, return } -// GetStaticSiteCustomDomain description for Gets an existing custom domain for a particular static site. +// GetStaticSiteCustomDomain gets an existing custom domain for a particular static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site resource to search in. @@ -2308,7 +2303,7 @@ func (client StaticSitesClient) GetStaticSiteCustomDomainResponder(resp *http.Re return } -// GetStaticSitesByResourceGroup description for Gets all static sites in the specified resource group. +// GetStaticSitesByResourceGroup gets all static sites in the specified resource group. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. func (client StaticSitesClient) GetStaticSitesByResourceGroup(ctx context.Context, resourceGroupName string) (result StaticSiteCollectionPage, err error) { @@ -2432,8 +2427,8 @@ func (client StaticSitesClient) GetStaticSitesByResourceGroupComplete(ctx contex return } -// GetUserProvidedFunctionAppForStaticSite description for Gets the details of the user provided function app -// registered with a static site +// GetUserProvidedFunctionAppForStaticSite gets the details of the user provided function app registered with a static +// site // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -2519,8 +2514,8 @@ func (client StaticSitesClient) GetUserProvidedFunctionAppForStaticSiteResponder return } -// GetUserProvidedFunctionAppForStaticSiteBuild description for Gets the details of the user provided function app -// registered with a static site build +// GetUserProvidedFunctionAppForStaticSiteBuild gets the details of the user provided function app registered with a +// static site build // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -2608,8 +2603,8 @@ func (client StaticSitesClient) GetUserProvidedFunctionAppForStaticSiteBuildResp return } -// GetUserProvidedFunctionAppsForStaticSite description for Gets the details of the user provided function apps -// registered with a static site +// GetUserProvidedFunctionAppsForStaticSite gets the details of the user provided function apps registered with a +// static site // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -2735,8 +2730,8 @@ func (client StaticSitesClient) GetUserProvidedFunctionAppsForStaticSiteComplete return } -// GetUserProvidedFunctionAppsForStaticSiteBuild description for Gets the details of the user provided function apps -// registered with a static site build +// GetUserProvidedFunctionAppsForStaticSiteBuild gets the details of the user provided function apps registered with a +// static site build // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -2864,7 +2859,7 @@ func (client StaticSitesClient) GetUserProvidedFunctionAppsForStaticSiteBuildCom return } -// List description for Get all Static Sites for a subscription. +// List get all Static Sites for a subscription. func (client StaticSitesClient) List(ctx context.Context) (result StaticSiteCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/StaticSitesClient.List") @@ -2977,7 +2972,7 @@ func (client StaticSitesClient) ListComplete(ctx context.Context) (result Static return } -// ListStaticSiteAppSettings description for Gets the application settings of a static site. +// ListStaticSiteAppSettings gets the application settings of a static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -3061,7 +3056,7 @@ func (client StaticSitesClient) ListStaticSiteAppSettingsResponder(resp *http.Re return } -// ListStaticSiteBuildAppSettings description for Gets the application settings of a static site build. +// ListStaticSiteBuildAppSettings gets the application settings of a static site build. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -3147,7 +3142,7 @@ func (client StaticSitesClient) ListStaticSiteBuildAppSettingsResponder(resp *ht return } -// ListStaticSiteBuildFunctionAppSettings description for Gets the application settings of a static site build. +// ListStaticSiteBuildFunctionAppSettings gets the application settings of a static site build. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -3233,7 +3228,7 @@ func (client StaticSitesClient) ListStaticSiteBuildFunctionAppSettingsResponder( return } -// ListStaticSiteBuildFunctions description for Gets the functions of a particular static site build. +// ListStaticSiteBuildFunctions gets the functions of a particular static site build. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -3361,7 +3356,7 @@ func (client StaticSitesClient) ListStaticSiteBuildFunctionsComplete(ctx context return } -// ListStaticSiteConfiguredRoles description for Lists the roles configured for the static site. +// ListStaticSiteConfiguredRoles lists the roles configured for the static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -3445,7 +3440,7 @@ func (client StaticSitesClient) ListStaticSiteConfiguredRolesResponder(resp *htt return } -// ListStaticSiteCustomDomains description for Gets all static site custom domains for a particular static site. +// ListStaticSiteCustomDomains gets all static site custom domains for a particular static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site resource to search in. @@ -3571,7 +3566,7 @@ func (client StaticSitesClient) ListStaticSiteCustomDomainsComplete(ctx context. return } -// ListStaticSiteFunctionAppSettings description for Gets the application settings of a static site. +// ListStaticSiteFunctionAppSettings gets the application settings of a static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -3655,7 +3650,7 @@ func (client StaticSitesClient) ListStaticSiteFunctionAppSettingsResponder(resp return } -// ListStaticSiteFunctions description for Gets the functions of a static site. +// ListStaticSiteFunctions gets the functions of a static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -3781,7 +3776,7 @@ func (client StaticSitesClient) ListStaticSiteFunctionsComplete(ctx context.Cont return } -// ListStaticSiteSecrets description for Lists the secrets for an existing static site. +// ListStaticSiteSecrets lists the secrets for an existing static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -3865,7 +3860,7 @@ func (client StaticSitesClient) ListStaticSiteSecretsResponder(resp *http.Respon return } -// ListStaticSiteUsers description for Gets the list of users of a static site. +// ListStaticSiteUsers gets the list of users of a static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -3993,7 +3988,7 @@ func (client StaticSitesClient) ListStaticSiteUsersComplete(ctx context.Context, return } -// PreviewWorkflow description for Generates a preview workflow file for the static site +// PreviewWorkflow generates a preview workflow file for the static site // Parameters: // location - location where you plan to create the static site. // staticSitesWorkflowPreviewRequest - a JSON representation of the StaticSitesWorkflowPreviewRequest @@ -4071,8 +4066,7 @@ func (client StaticSitesClient) PreviewWorkflowResponder(resp *http.Response) (r return } -// RegisterUserProvidedFunctionAppWithStaticSite description for Register a user provided function app with a static -// site +// RegisterUserProvidedFunctionAppWithStaticSite register a user provided function app with a static site // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -4171,8 +4165,7 @@ func (client StaticSitesClient) RegisterUserProvidedFunctionAppWithStaticSiteRes return } -// RegisterUserProvidedFunctionAppWithStaticSiteBuild description for Register a user provided function app with a -// static site build +// RegisterUserProvidedFunctionAppWithStaticSiteBuild register a user provided function app with a static site build // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -4273,7 +4266,7 @@ func (client StaticSitesClient) RegisterUserProvidedFunctionAppWithStaticSiteBui return } -// ResetStaticSiteAPIKey description for Resets the api key for an existing static site. +// ResetStaticSiteAPIKey resets the api key for an existing static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -4358,8 +4351,7 @@ func (client StaticSitesClient) ResetStaticSiteAPIKeyResponder(resp *http.Respon return } -// UpdateStaticSite description for Creates a new static site in an existing resource group, or updates an existing -// static site. +// UpdateStaticSite creates a new static site in an existing resource group, or updates an existing static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site to create or update. @@ -4446,7 +4438,7 @@ func (client StaticSitesClient) UpdateStaticSiteResponder(resp *http.Response) ( return } -// UpdateStaticSiteUser description for Updates a user entry with the listed roles +// UpdateStaticSiteUser updates a user entry with the listed roles // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -4537,8 +4529,7 @@ func (client StaticSitesClient) UpdateStaticSiteUserResponder(resp *http.Respons return } -// ValidateCustomDomainCanBeAddedToStaticSite description for Validates a particular custom domain can be added to a -// static site. +// ValidateCustomDomainCanBeAddedToStaticSite validates a particular custom domain can be added to a static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. diff --git a/services/web/mgmt/2021-01-15/web/topleveldomains.go b/services/web/mgmt/2021-01-15/web/topleveldomains.go index 6933730d3608..7ccc338361d7 100644 --- a/services/web/mgmt/2021-01-15/web/topleveldomains.go +++ b/services/web/mgmt/2021-01-15/web/topleveldomains.go @@ -30,7 +30,7 @@ func NewTopLevelDomainsClientWithBaseURI(baseURI string, subscriptionID string) return TopLevelDomainsClient{NewWithBaseURI(baseURI, subscriptionID)} } -// Get description for Get details of a top-level domain. +// Get get details of a top-level domain. // Parameters: // name - name of the top-level domain. func (client TopLevelDomainsClient) Get(ctx context.Context, name string) (result TopLevelDomain, err error) { @@ -104,7 +104,7 @@ func (client TopLevelDomainsClient) GetResponder(resp *http.Response) (result To return } -// List description for Get all top-level domains supported for registration. +// List get all top-level domains supported for registration. func (client TopLevelDomainsClient) List(ctx context.Context) (result TopLevelDomainCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/TopLevelDomainsClient.List") @@ -217,7 +217,7 @@ func (client TopLevelDomainsClient) ListComplete(ctx context.Context) (result To return } -// ListAgreements description for Gets all legal agreements that user needs to accept before purchasing a domain. +// ListAgreements gets all legal agreements that user needs to accept before purchasing a domain. // Parameters: // name - name of the top-level domain. // agreementOption - domain agreement options. diff --git a/services/web/mgmt/2021-01-15/web/webapi/interfaces.go b/services/web/mgmt/2021-01-15/web/webapi/interfaces.go index 55b233276f7e..86ab726cbb46 100644 --- a/services/web/mgmt/2021-01-15/web/webapi/interfaces.go +++ b/services/web/mgmt/2021-01-15/web/webapi/interfaces.go @@ -16,7 +16,6 @@ import ( // BaseClientAPI contains the set of methods on the BaseClient type. type BaseClientAPI interface { CheckNameAvailability(ctx context.Context, request web.ResourceNameAvailabilityRequest) (result web.ResourceNameAvailability, err error) - GenerateGithubAccessTokenForAppserviceCLIAsync(ctx context.Context, request web.AppserviceGithubTokenRequest) (result web.AppserviceGithubToken, err error) GetPublishingUser(ctx context.Context) (result web.User, err error) GetSourceControl(ctx context.Context, sourceControlType string) (result web.SourceControl, err error) GetSubscriptionDeploymentLocations(ctx context.Context) (result web.DeploymentLocations, err error) diff --git a/services/web/mgmt/2021-02-01/web/CHANGELOG.md b/services/web/mgmt/2021-02-01/web/CHANGELOG.md index 52911e4cc5e4..5cfb2f3a07e8 100644 --- a/services/web/mgmt/2021-02-01/web/CHANGELOG.md +++ b/services/web/mgmt/2021-02-01/web/CHANGELOG.md @@ -1,2 +1,260 @@ -# Change History +# Unreleased +## Breaking Changes + +### Removed Funcs + +1. *AllowedPrincipals.UnmarshalJSON([]byte) error +1. *AppRegistration.UnmarshalJSON([]byte) error +1. *Apple.UnmarshalJSON([]byte) error +1. *AzureActiveDirectoryLogin.UnmarshalJSON([]byte) error +1. *AzureActiveDirectoryRegistration.UnmarshalJSON([]byte) error +1. *AzureActiveDirectoryValidation.UnmarshalJSON([]byte) error +1. *AzureStaticWebApps.UnmarshalJSON([]byte) error +1. *BlobStorageTokenStore.UnmarshalJSON([]byte) error +1. *CustomOpenIDConnectProvider.UnmarshalJSON([]byte) error +1. *GitHub.UnmarshalJSON([]byte) error +1. *Google.UnmarshalJSON([]byte) error +1. *LegacyMicrosoftAccount.UnmarshalJSON([]byte) error +1. *Twitter.UnmarshalJSON([]byte) error +1. AllowedPrincipals.MarshalJSON() ([]byte, error) +1. AppRegistration.MarshalJSON() ([]byte, error) +1. Apple.MarshalJSON() ([]byte, error) +1. AzureActiveDirectoryLogin.MarshalJSON() ([]byte, error) +1. AzureActiveDirectoryRegistration.MarshalJSON() ([]byte, error) +1. AzureActiveDirectoryValidation.MarshalJSON() ([]byte, error) +1. AzureStaticWebApps.MarshalJSON() ([]byte, error) +1. BaseClient.GenerateGithubAccessTokenForAppserviceCLIAsync(context.Context, AppserviceGithubTokenRequest) (AppserviceGithubToken, error) +1. BaseClient.GenerateGithubAccessTokenForAppserviceCLIAsyncPreparer(context.Context, AppserviceGithubTokenRequest) (*http.Request, error) +1. BaseClient.GenerateGithubAccessTokenForAppserviceCLIAsyncResponder(*http.Response) (AppserviceGithubToken, error) +1. BaseClient.GenerateGithubAccessTokenForAppserviceCLIAsyncSender(*http.Request) (*http.Response, error) +1. BlobStorageTokenStore.MarshalJSON() ([]byte, error) +1. CustomOpenIDConnectProvider.MarshalJSON() ([]byte, error) +1. GitHub.MarshalJSON() ([]byte, error) +1. Google.MarshalJSON() ([]byte, error) +1. LegacyMicrosoftAccount.MarshalJSON() ([]byte, error) +1. Twitter.MarshalJSON() ([]byte, error) + +### Struct Changes + +#### Removed Structs + +1. AllowedPrincipalsProperties +1. AppRegistrationProperties +1. AppleProperties +1. AzureActiveDirectoryLoginProperties +1. AzureActiveDirectoryRegistrationProperties +1. AzureActiveDirectoryValidationProperties +1. AzureStaticWebAppsProperties +1. BlobStorageTokenStoreProperties +1. CustomOpenIDConnectProviderProperties +1. GitHubProperties +1. GoogleProperties +1. LegacyMicrosoftAccountProperties +1. TwitterProperties + +#### Removed Struct Fields + +1. AllowedPrincipals.*AllowedPrincipalsProperties +1. AllowedPrincipals.ID +1. AllowedPrincipals.Kind +1. AllowedPrincipals.Name +1. AllowedPrincipals.Type +1. AppRegistration.*AppRegistrationProperties +1. AppRegistration.ID +1. AppRegistration.Kind +1. AppRegistration.Name +1. AppRegistration.Type +1. Apple.*AppleProperties +1. Apple.ID +1. Apple.Kind +1. Apple.Name +1. Apple.Type +1. AppserviceGithubToken.autorest.Response +1. AzureActiveDirectoryLogin.*AzureActiveDirectoryLoginProperties +1. AzureActiveDirectoryLogin.ID +1. AzureActiveDirectoryLogin.Kind +1. AzureActiveDirectoryLogin.Name +1. AzureActiveDirectoryLogin.Type +1. AzureActiveDirectoryRegistration.*AzureActiveDirectoryRegistrationProperties +1. AzureActiveDirectoryRegistration.ID +1. AzureActiveDirectoryRegistration.Kind +1. AzureActiveDirectoryRegistration.Name +1. AzureActiveDirectoryRegistration.Type +1. AzureActiveDirectoryValidation.*AzureActiveDirectoryValidationProperties +1. AzureActiveDirectoryValidation.ID +1. AzureActiveDirectoryValidation.Kind +1. AzureActiveDirectoryValidation.Name +1. AzureActiveDirectoryValidation.Type +1. AzureStaticWebApps.*AzureStaticWebAppsProperties +1. AzureStaticWebApps.ID +1. AzureStaticWebApps.Kind +1. AzureStaticWebApps.Name +1. AzureStaticWebApps.Type +1. BlobStorageTokenStore.*BlobStorageTokenStoreProperties +1. BlobStorageTokenStore.ID +1. BlobStorageTokenStore.Kind +1. BlobStorageTokenStore.Name +1. BlobStorageTokenStore.Type +1. CustomOpenIDConnectProvider.*CustomOpenIDConnectProviderProperties +1. CustomOpenIDConnectProvider.ID +1. CustomOpenIDConnectProvider.Kind +1. CustomOpenIDConnectProvider.Name +1. CustomOpenIDConnectProvider.Type +1. GitHub.*GitHubProperties +1. GitHub.ID +1. GitHub.Kind +1. GitHub.Name +1. GitHub.Type +1. Google.*GoogleProperties +1. Google.ID +1. Google.Kind +1. Google.Name +1. Google.Type +1. LegacyMicrosoftAccount.*LegacyMicrosoftAccountProperties +1. LegacyMicrosoftAccount.ID +1. LegacyMicrosoftAccount.Kind +1. LegacyMicrosoftAccount.Name +1. LegacyMicrosoftAccount.Type +1. Twitter.*TwitterProperties +1. Twitter.ID +1. Twitter.Kind +1. Twitter.Name +1. Twitter.Type + +### Signature Changes + +#### Funcs + +1. ProviderClient.GetAvailableStacks + - Params + - From: context.Context, string + - To: context.Context, ProviderOsTypeSelected +1. ProviderClient.GetAvailableStacksComplete + - Params + - From: context.Context, string + - To: context.Context, ProviderOsTypeSelected +1. ProviderClient.GetAvailableStacksOnPrem + - Params + - From: context.Context, string + - To: context.Context, ProviderOsTypeSelected +1. ProviderClient.GetAvailableStacksOnPremComplete + - Params + - From: context.Context, string + - To: context.Context, ProviderOsTypeSelected +1. ProviderClient.GetAvailableStacksOnPremPreparer + - Params + - From: context.Context, string + - To: context.Context, ProviderOsTypeSelected +1. ProviderClient.GetAvailableStacksPreparer + - Params + - From: context.Context, string + - To: context.Context, ProviderOsTypeSelected +1. ProviderClient.GetFunctionAppStacks + - Params + - From: context.Context, string + - To: context.Context, ProviderStackOsType +1. ProviderClient.GetFunctionAppStacksComplete + - Params + - From: context.Context, string + - To: context.Context, ProviderStackOsType +1. ProviderClient.GetFunctionAppStacksForLocation + - Params + - From: context.Context, string, string + - To: context.Context, string, ProviderStackOsType +1. ProviderClient.GetFunctionAppStacksForLocationComplete + - Params + - From: context.Context, string, string + - To: context.Context, string, ProviderStackOsType +1. ProviderClient.GetFunctionAppStacksForLocationPreparer + - Params + - From: context.Context, string, string + - To: context.Context, string, ProviderStackOsType +1. ProviderClient.GetFunctionAppStacksPreparer + - Params + - From: context.Context, string + - To: context.Context, ProviderStackOsType +1. ProviderClient.GetWebAppStacks + - Params + - From: context.Context, string + - To: context.Context, ProviderStackOsType +1. ProviderClient.GetWebAppStacksComplete + - Params + - From: context.Context, string + - To: context.Context, ProviderStackOsType +1. ProviderClient.GetWebAppStacksForLocation + - Params + - From: context.Context, string, string + - To: context.Context, string, ProviderStackOsType +1. ProviderClient.GetWebAppStacksForLocationComplete + - Params + - From: context.Context, string, string + - To: context.Context, string, ProviderStackOsType +1. ProviderClient.GetWebAppStacksForLocationPreparer + - Params + - From: context.Context, string, string + - To: context.Context, string, ProviderStackOsType +1. ProviderClient.GetWebAppStacksPreparer + - Params + - From: context.Context, string + - To: context.Context, ProviderStackOsType + +## Additive Changes + +### New Constants + +1. ProviderOsTypeSelected.ProviderOsTypeSelectedAll +1. ProviderOsTypeSelected.ProviderOsTypeSelectedLinux +1. ProviderOsTypeSelected.ProviderOsTypeSelectedLinuxFunctions +1. ProviderOsTypeSelected.ProviderOsTypeSelectedWindows +1. ProviderOsTypeSelected.ProviderOsTypeSelectedWindowsFunctions +1. ProviderStackOsType.ProviderStackOsTypeAll +1. ProviderStackOsType.ProviderStackOsTypeLinux +1. ProviderStackOsType.ProviderStackOsTypeWindows + +### New Funcs + +1. PossibleProviderOsTypeSelectedValues() []ProviderOsTypeSelected +1. PossibleProviderStackOsTypeValues() []ProviderStackOsType + +### Struct Changes + +#### New Struct Fields + +1. AllowedPrincipals.Groups +1. AllowedPrincipals.Identities +1. AppRegistration.AppID +1. AppRegistration.AppSecretSettingName +1. Apple.Enabled +1. Apple.Login +1. Apple.Registration +1. AzureActiveDirectoryLogin.DisableWWWAuthenticate +1. AzureActiveDirectoryLogin.LoginParameters +1. AzureActiveDirectoryRegistration.ClientID +1. AzureActiveDirectoryRegistration.ClientSecretCertificateIssuer +1. AzureActiveDirectoryRegistration.ClientSecretCertificateSubjectAlternativeName +1. AzureActiveDirectoryRegistration.ClientSecretCertificateThumbprint +1. AzureActiveDirectoryRegistration.ClientSecretSettingName +1. AzureActiveDirectoryRegistration.OpenIDIssuer +1. AzureActiveDirectoryValidation.AllowedAudiences +1. AzureActiveDirectoryValidation.DefaultAuthorizationPolicy +1. AzureActiveDirectoryValidation.JwtClaimChecks +1. AzureStaticWebApps.Enabled +1. AzureStaticWebApps.Registration +1. BlobStorageTokenStore.SasURLSettingName +1. CustomOpenIDConnectProvider.Enabled +1. CustomOpenIDConnectProvider.Login +1. CustomOpenIDConnectProvider.Registration +1. GitHub.Enabled +1. GitHub.Login +1. GitHub.Registration +1. Google.Enabled +1. Google.Login +1. Google.Registration +1. Google.Validation +1. LegacyMicrosoftAccount.Enabled +1. LegacyMicrosoftAccount.Login +1. LegacyMicrosoftAccount.Registration +1. LegacyMicrosoftAccount.Validation +1. Twitter.Enabled +1. Twitter.Registration diff --git a/services/web/mgmt/2021-02-01/web/_meta.json b/services/web/mgmt/2021-02-01/web/_meta.json index e09e4120d2ce..98c7eeec100a 100644 --- a/services/web/mgmt/2021-02-01/web/_meta.json +++ b/services/web/mgmt/2021-02-01/web/_meta.json @@ -1,5 +1,5 @@ { - "commit": "47545c5f0842f5be29529674a4609d75a973d783", + "commit": "eb2b882ef0a4aa5956ca38cfa566fc4d7cfb3fb0", "readme": "/_/azure-rest-api-specs/specification/web/resource-manager/readme.md", "tag": "package-2021-02", "use": "@microsoft.azure/autorest.go@2.1.187", diff --git a/services/web/mgmt/2021-02-01/web/apps.go b/services/web/mgmt/2021-02-01/web/apps.go index aa0300e532cb..a97645f88b30 100644 --- a/services/web/mgmt/2021-02-01/web/apps.go +++ b/services/web/mgmt/2021-02-01/web/apps.go @@ -31,7 +31,7 @@ func NewAppsClientWithBaseURI(baseURI string, subscriptionID string) AppsClient return AppsClient{NewWithBaseURI(baseURI, subscriptionID)} } -// AddPremierAddOn description for Updates a named add-on of an app. +// AddPremierAddOn updates a named add-on of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -120,7 +120,7 @@ func (client AppsClient) AddPremierAddOnResponder(resp *http.Response) (result P return } -// AddPremierAddOnSlot description for Updates a named add-on of an app. +// AddPremierAddOnSlot updates a named add-on of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -212,7 +212,7 @@ func (client AppsClient) AddPremierAddOnSlotResponder(resp *http.Response) (resu return } -// AnalyzeCustomHostname description for Analyze a custom hostname. +// AnalyzeCustomHostname analyze a custom hostname. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -300,7 +300,7 @@ func (client AppsClient) AnalyzeCustomHostnameResponder(resp *http.Response) (re return } -// AnalyzeCustomHostnameSlot description for Analyze a custom hostname. +// AnalyzeCustomHostnameSlot analyze a custom hostname. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -390,8 +390,7 @@ func (client AppsClient) AnalyzeCustomHostnameSlotResponder(resp *http.Response) return } -// ApplySlotConfigToProduction description for Applies the configuration settings from the target slot onto the current -// slot. +// ApplySlotConfigToProduction applies the configuration settings from the target slot onto the current slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -480,8 +479,7 @@ func (client AppsClient) ApplySlotConfigToProductionResponder(resp *http.Respons return } -// ApplySlotConfigurationSlot description for Applies the configuration settings from the target slot onto the current -// slot. +// ApplySlotConfigurationSlot applies the configuration settings from the target slot onto the current slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -572,7 +570,7 @@ func (client AppsClient) ApplySlotConfigurationSlotResponder(resp *http.Response return } -// ApproveOrRejectPrivateEndpointConnection description for Approves or rejects a private endpoint connection +// ApproveOrRejectPrivateEndpointConnection approves or rejects a private endpoint connection // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the site. @@ -662,7 +660,7 @@ func (client AppsClient) ApproveOrRejectPrivateEndpointConnectionResponder(resp return } -// ApproveOrRejectPrivateEndpointConnectionSlot description for Approves or rejects a private endpoint connection +// ApproveOrRejectPrivateEndpointConnectionSlot approves or rejects a private endpoint connection // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the site. @@ -753,7 +751,7 @@ func (client AppsClient) ApproveOrRejectPrivateEndpointConnectionSlotResponder(r return } -// Backup description for Creates a backup of an app. +// Backup creates a backup of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -849,7 +847,7 @@ func (client AppsClient) BackupResponder(resp *http.Response) (result BackupItem return } -// BackupSlot description for Creates a backup of an app. +// BackupSlot creates a backup of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -948,7 +946,7 @@ func (client AppsClient) BackupSlotResponder(resp *http.Response) (result Backup return } -// CreateDeployment description for Create a deployment for an app, or a deployment slot. +// CreateDeployment create a deployment for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -1037,7 +1035,7 @@ func (client AppsClient) CreateDeploymentResponder(resp *http.Response) (result return } -// CreateDeploymentSlot description for Create a deployment for an app, or a deployment slot. +// CreateDeploymentSlot create a deployment for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -1129,7 +1127,7 @@ func (client AppsClient) CreateDeploymentSlotResponder(resp *http.Response) (res return } -// CreateFunction description for Create function for web site, or a deployment slot. +// CreateFunction create function for web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -1221,7 +1219,7 @@ func (client AppsClient) CreateFunctionResponder(resp *http.Response) (result Fu return } -// CreateInstanceFunctionSlot description for Create function for web site, or a deployment slot. +// CreateInstanceFunctionSlot create function for web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -1315,7 +1313,7 @@ func (client AppsClient) CreateInstanceFunctionSlotResponder(resp *http.Response return } -// CreateInstanceMSDeployOperation description for Invoke the MSDeploy web app extension. +// CreateInstanceMSDeployOperation invoke the MSDeploy web app extension. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -1407,7 +1405,7 @@ func (client AppsClient) CreateInstanceMSDeployOperationResponder(resp *http.Res return } -// CreateInstanceMSDeployOperationSlot description for Invoke the MSDeploy web app extension. +// CreateInstanceMSDeployOperationSlot invoke the MSDeploy web app extension. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -1501,7 +1499,7 @@ func (client AppsClient) CreateInstanceMSDeployOperationSlotResponder(resp *http return } -// CreateMSDeployOperation description for Invoke the MSDeploy web app extension. +// CreateMSDeployOperation invoke the MSDeploy web app extension. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -1591,7 +1589,7 @@ func (client AppsClient) CreateMSDeployOperationResponder(resp *http.Response) ( return } -// CreateMSDeployOperationSlot description for Invoke the MSDeploy web app extension. +// CreateMSDeployOperationSlot invoke the MSDeploy web app extension. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -1683,8 +1681,7 @@ func (client AppsClient) CreateMSDeployOperationSlotResponder(resp *http.Respons return } -// CreateOrUpdate description for Creates a new web, mobile, or API app in an existing resource group, or updates an -// existing app. +// CreateOrUpdate creates a new web, mobile, or API app in an existing resource group, or updates an existing app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - unique name of the app to create or update. To create or update a deployment slot, use the {slot} @@ -1796,7 +1793,7 @@ func (client AppsClient) CreateOrUpdateResponder(resp *http.Response) (result Si return } -// CreateOrUpdateConfiguration description for Updates the configuration of an app. +// CreateOrUpdateConfiguration updates the configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -1900,7 +1897,7 @@ func (client AppsClient) CreateOrUpdateConfigurationResponder(resp *http.Respons return } -// CreateOrUpdateConfigurationSlot description for Updates the configuration of an app. +// CreateOrUpdateConfigurationSlot updates the configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -2007,8 +2004,8 @@ func (client AppsClient) CreateOrUpdateConfigurationSlotResponder(resp *http.Res return } -// CreateOrUpdateDomainOwnershipIdentifier description for Creates a domain ownership identifier for web app, or -// updates an existing ownership identifier. +// CreateOrUpdateDomainOwnershipIdentifier creates a domain ownership identifier for web app, or updates an existing +// ownership identifier. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -2097,8 +2094,8 @@ func (client AppsClient) CreateOrUpdateDomainOwnershipIdentifierResponder(resp * return } -// CreateOrUpdateDomainOwnershipIdentifierSlot description for Creates a domain ownership identifier for web app, or -// updates an existing ownership identifier. +// CreateOrUpdateDomainOwnershipIdentifierSlot creates a domain ownership identifier for web app, or updates an +// existing ownership identifier. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -2190,7 +2187,7 @@ func (client AppsClient) CreateOrUpdateDomainOwnershipIdentifierSlotResponder(re return } -// CreateOrUpdateFunctionSecret description for Add or update a function secret. +// CreateOrUpdateFunctionSecret add or update a function secret. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -2281,7 +2278,7 @@ func (client AppsClient) CreateOrUpdateFunctionSecretResponder(resp *http.Respon return } -// CreateOrUpdateFunctionSecretSlot description for Add or update a function secret. +// CreateOrUpdateFunctionSecretSlot add or update a function secret. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -2374,7 +2371,7 @@ func (client AppsClient) CreateOrUpdateFunctionSecretSlotResponder(resp *http.Re return } -// CreateOrUpdateHostNameBinding description for Creates a hostname binding for an app. +// CreateOrUpdateHostNameBinding creates a hostname binding for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -2463,7 +2460,7 @@ func (client AppsClient) CreateOrUpdateHostNameBindingResponder(resp *http.Respo return } -// CreateOrUpdateHostNameBindingSlot description for Creates a hostname binding for an app. +// CreateOrUpdateHostNameBindingSlot creates a hostname binding for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -2555,7 +2552,7 @@ func (client AppsClient) CreateOrUpdateHostNameBindingSlotResponder(resp *http.R return } -// CreateOrUpdateHostSecret description for Add or update a host level secret. +// CreateOrUpdateHostSecret add or update a host level secret. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -2646,7 +2643,7 @@ func (client AppsClient) CreateOrUpdateHostSecretResponder(resp *http.Response) return } -// CreateOrUpdateHostSecretSlot description for Add or update a host level secret. +// CreateOrUpdateHostSecretSlot add or update a host level secret. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -2739,7 +2736,7 @@ func (client AppsClient) CreateOrUpdateHostSecretSlotResponder(resp *http.Respon return } -// CreateOrUpdateHybridConnection description for Creates a new Hybrid Connection using a Service Bus relay. +// CreateOrUpdateHybridConnection creates a new Hybrid Connection using a Service Bus relay. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -2830,7 +2827,7 @@ func (client AppsClient) CreateOrUpdateHybridConnectionResponder(resp *http.Resp return } -// CreateOrUpdateHybridConnectionSlot description for Creates a new Hybrid Connection using a Service Bus relay. +// CreateOrUpdateHybridConnectionSlot creates a new Hybrid Connection using a Service Bus relay. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -2923,7 +2920,7 @@ func (client AppsClient) CreateOrUpdateHybridConnectionSlotResponder(resp *http. return } -// CreateOrUpdatePublicCertificate description for Creates a hostname binding for an app. +// CreateOrUpdatePublicCertificate creates a hostname binding for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -3013,7 +3010,7 @@ func (client AppsClient) CreateOrUpdatePublicCertificateResponder(resp *http.Res return } -// CreateOrUpdatePublicCertificateSlot description for Creates a hostname binding for an app. +// CreateOrUpdatePublicCertificateSlot creates a hostname binding for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -3106,8 +3103,8 @@ func (client AppsClient) CreateOrUpdatePublicCertificateSlotResponder(resp *http return } -// CreateOrUpdateRelayServiceConnection description for Creates a new hybrid connection configuration (PUT), or updates -// an existing one (PATCH). +// CreateOrUpdateRelayServiceConnection creates a new hybrid connection configuration (PUT), or updates an existing one +// (PATCH). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -3196,8 +3193,8 @@ func (client AppsClient) CreateOrUpdateRelayServiceConnectionResponder(resp *htt return } -// CreateOrUpdateRelayServiceConnectionSlot description for Creates a new hybrid connection configuration (PUT), or -// updates an existing one (PATCH). +// CreateOrUpdateRelayServiceConnectionSlot creates a new hybrid connection configuration (PUT), or updates an existing +// one (PATCH). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -3289,8 +3286,7 @@ func (client AppsClient) CreateOrUpdateRelayServiceConnectionSlotResponder(resp return } -// CreateOrUpdateSlot description for Creates a new web, mobile, or API app in an existing resource group, or updates -// an existing app. +// CreateOrUpdateSlot creates a new web, mobile, or API app in an existing resource group, or updates an existing app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - unique name of the app to create or update. To create or update a deployment slot, use the {slot} @@ -3405,7 +3401,7 @@ func (client AppsClient) CreateOrUpdateSlotResponder(resp *http.Response) (resul return } -// CreateOrUpdateSourceControl description for Updates the source control configuration of an app. +// CreateOrUpdateSourceControl updates the source control configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -3495,7 +3491,7 @@ func (client AppsClient) CreateOrUpdateSourceControlResponder(resp *http.Respons return } -// CreateOrUpdateSourceControlSlot description for Updates the source control configuration of an app. +// CreateOrUpdateSourceControlSlot updates the source control configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -3588,9 +3584,9 @@ func (client AppsClient) CreateOrUpdateSourceControlSlotResponder(resp *http.Res return } -// CreateOrUpdateSwiftVirtualNetworkConnectionWithCheck description for Integrates this Web App with a Virtual Network. -// This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet -// has already been delegated, and is not +// CreateOrUpdateSwiftVirtualNetworkConnectionWithCheck integrates this Web App with a Virtual Network. This requires +// that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already +// been delegated, and is not // in use by another App Service Plan other than the one this App is in. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. @@ -3678,9 +3674,9 @@ func (client AppsClient) CreateOrUpdateSwiftVirtualNetworkConnectionWithCheckRes return } -// CreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlot description for Integrates this Web App with a Virtual -// Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the -// target Subnet has already been delegated, and is not +// CreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlot integrates this Web App with a Virtual Network. This +// requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has +// already been delegated, and is not // in use by another App Service Plan other than the one this App is in. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. @@ -3771,8 +3767,8 @@ func (client AppsClient) CreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlo return } -// CreateOrUpdateVnetConnection description for Adds a Virtual Network connection to an app or slot (PUT) or updates -// the connection properties (PATCH). +// CreateOrUpdateVnetConnection adds a Virtual Network connection to an app or slot (PUT) or updates the connection +// properties (PATCH). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -3861,8 +3857,7 @@ func (client AppsClient) CreateOrUpdateVnetConnectionResponder(resp *http.Respon return } -// CreateOrUpdateVnetConnectionGateway description for Adds a gateway to a connected Virtual Network (PUT) or updates -// it (PATCH). +// CreateOrUpdateVnetConnectionGateway adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -3956,8 +3951,7 @@ func (client AppsClient) CreateOrUpdateVnetConnectionGatewayResponder(resp *http return } -// CreateOrUpdateVnetConnectionGatewaySlot description for Adds a gateway to a connected Virtual Network (PUT) or -// updates it (PATCH). +// CreateOrUpdateVnetConnectionGatewaySlot adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -4054,8 +4048,8 @@ func (client AppsClient) CreateOrUpdateVnetConnectionGatewaySlotResponder(resp * return } -// CreateOrUpdateVnetConnectionSlot description for Adds a Virtual Network connection to an app or slot (PUT) or -// updates the connection properties (PATCH). +// CreateOrUpdateVnetConnectionSlot adds a Virtual Network connection to an app or slot (PUT) or updates the connection +// properties (PATCH). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -4147,7 +4141,7 @@ func (client AppsClient) CreateOrUpdateVnetConnectionSlotResponder(resp *http.Re return } -// Delete description for Deletes a web, mobile, or API app, or one of the deployment slots. +// Delete deletes a web, mobile, or API app, or one of the deployment slots. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app to delete. @@ -4239,7 +4233,7 @@ func (client AppsClient) DeleteResponder(resp *http.Response) (result autorest.R return } -// DeleteBackup description for Deletes a backup of an app by its ID. +// DeleteBackup deletes a backup of an app by its ID. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -4324,7 +4318,7 @@ func (client AppsClient) DeleteBackupResponder(resp *http.Response) (result auto return } -// DeleteBackupConfiguration description for Deletes the backup configuration of an app. +// DeleteBackupConfiguration deletes the backup configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -4407,7 +4401,7 @@ func (client AppsClient) DeleteBackupConfigurationResponder(resp *http.Response) return } -// DeleteBackupConfigurationSlot description for Deletes the backup configuration of an app. +// DeleteBackupConfigurationSlot deletes the backup configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -4493,7 +4487,7 @@ func (client AppsClient) DeleteBackupConfigurationSlotResponder(resp *http.Respo return } -// DeleteBackupSlot description for Deletes a backup of an app by its ID. +// DeleteBackupSlot deletes a backup of an app by its ID. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -4581,7 +4575,7 @@ func (client AppsClient) DeleteBackupSlotResponder(resp *http.Response) (result return } -// DeleteContinuousWebJob description for Delete a continuous web job by its ID for an app, or a deployment slot. +// DeleteContinuousWebJob delete a continuous web job by its ID for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -4666,7 +4660,7 @@ func (client AppsClient) DeleteContinuousWebJobResponder(resp *http.Response) (r return } -// DeleteContinuousWebJobSlot description for Delete a continuous web job by its ID for an app, or a deployment slot. +// DeleteContinuousWebJobSlot delete a continuous web job by its ID for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -4754,7 +4748,7 @@ func (client AppsClient) DeleteContinuousWebJobSlotResponder(resp *http.Response return } -// DeleteDeployment description for Delete a deployment by its ID for an app, or a deployment slot. +// DeleteDeployment delete a deployment by its ID for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -4839,7 +4833,7 @@ func (client AppsClient) DeleteDeploymentResponder(resp *http.Response) (result return } -// DeleteDeploymentSlot description for Delete a deployment by its ID for an app, or a deployment slot. +// DeleteDeploymentSlot delete a deployment by its ID for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -4927,7 +4921,7 @@ func (client AppsClient) DeleteDeploymentSlotResponder(resp *http.Response) (res return } -// DeleteDomainOwnershipIdentifier description for Deletes a domain ownership identifier for a web app. +// DeleteDomainOwnershipIdentifier deletes a domain ownership identifier for a web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -5012,7 +5006,7 @@ func (client AppsClient) DeleteDomainOwnershipIdentifierResponder(resp *http.Res return } -// DeleteDomainOwnershipIdentifierSlot description for Deletes a domain ownership identifier for a web app. +// DeleteDomainOwnershipIdentifierSlot deletes a domain ownership identifier for a web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -5100,7 +5094,7 @@ func (client AppsClient) DeleteDomainOwnershipIdentifierSlotResponder(resp *http return } -// DeleteFunction description for Delete a function for web site, or a deployment slot. +// DeleteFunction delete a function for web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -5185,7 +5179,7 @@ func (client AppsClient) DeleteFunctionResponder(resp *http.Response) (result au return } -// DeleteFunctionSecret description for Delete a function secret. +// DeleteFunctionSecret delete a function secret. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -5272,7 +5266,7 @@ func (client AppsClient) DeleteFunctionSecretResponder(resp *http.Response) (res return } -// DeleteFunctionSecretSlot description for Delete a function secret. +// DeleteFunctionSecretSlot delete a function secret. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -5361,7 +5355,7 @@ func (client AppsClient) DeleteFunctionSecretSlotResponder(resp *http.Response) return } -// DeleteHostNameBinding description for Deletes a hostname binding for an app. +// DeleteHostNameBinding deletes a hostname binding for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -5446,7 +5440,7 @@ func (client AppsClient) DeleteHostNameBindingResponder(resp *http.Response) (re return } -// DeleteHostNameBindingSlot description for Deletes a hostname binding for an app. +// DeleteHostNameBindingSlot deletes a hostname binding for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -5534,7 +5528,7 @@ func (client AppsClient) DeleteHostNameBindingSlotResponder(resp *http.Response) return } -// DeleteHostSecret description for Delete a host level secret. +// DeleteHostSecret delete a host level secret. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -5621,7 +5615,7 @@ func (client AppsClient) DeleteHostSecretResponder(resp *http.Response) (result return } -// DeleteHostSecretSlot description for Delete a host level secret. +// DeleteHostSecretSlot delete a host level secret. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -5710,7 +5704,7 @@ func (client AppsClient) DeleteHostSecretSlotResponder(resp *http.Response) (res return } -// DeleteHybridConnection description for Removes a Hybrid Connection from this site. +// DeleteHybridConnection removes a Hybrid Connection from this site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -5797,7 +5791,7 @@ func (client AppsClient) DeleteHybridConnectionResponder(resp *http.Response) (r return } -// DeleteHybridConnectionSlot description for Removes a Hybrid Connection from this site. +// DeleteHybridConnectionSlot removes a Hybrid Connection from this site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -5886,7 +5880,7 @@ func (client AppsClient) DeleteHybridConnectionSlotResponder(resp *http.Response return } -// DeleteInstanceFunctionSlot description for Delete a function for web site, or a deployment slot. +// DeleteInstanceFunctionSlot delete a function for web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -5973,8 +5967,8 @@ func (client AppsClient) DeleteInstanceFunctionSlotResponder(resp *http.Response return } -// DeleteInstanceProcess description for Terminate a process by its ID for a web site, or a deployment slot, or -// specific scaled-out instance in a web site. +// DeleteInstanceProcess terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out +// instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -6062,8 +6056,8 @@ func (client AppsClient) DeleteInstanceProcessResponder(resp *http.Response) (re return } -// DeleteInstanceProcessSlot description for Terminate a process by its ID for a web site, or a deployment slot, or -// specific scaled-out instance in a web site. +// DeleteInstanceProcessSlot terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out +// instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -6154,7 +6148,7 @@ func (client AppsClient) DeleteInstanceProcessSlotResponder(resp *http.Response) return } -// DeletePremierAddOn description for Delete a premier add-on from an app. +// DeletePremierAddOn delete a premier add-on from an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -6239,7 +6233,7 @@ func (client AppsClient) DeletePremierAddOnResponder(resp *http.Response) (resul return } -// DeletePremierAddOnSlot description for Delete a premier add-on from an app. +// DeletePremierAddOnSlot delete a premier add-on from an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -6327,7 +6321,7 @@ func (client AppsClient) DeletePremierAddOnSlotResponder(resp *http.Response) (r return } -// DeletePrivateEndpointConnection description for Deletes a private endpoint connection +// DeletePrivateEndpointConnection deletes a private endpoint connection // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the site. @@ -6415,7 +6409,7 @@ func (client AppsClient) DeletePrivateEndpointConnectionResponder(resp *http.Res return } -// DeletePrivateEndpointConnectionSlot description for Deletes a private endpoint connection +// DeletePrivateEndpointConnectionSlot deletes a private endpoint connection // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the site. @@ -6504,8 +6498,8 @@ func (client AppsClient) DeletePrivateEndpointConnectionSlotResponder(resp *http return } -// DeleteProcess description for Terminate a process by its ID for a web site, or a deployment slot, or specific -// scaled-out instance in a web site. +// DeleteProcess terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in +// a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -6590,8 +6584,8 @@ func (client AppsClient) DeleteProcessResponder(resp *http.Response) (result aut return } -// DeleteProcessSlot description for Terminate a process by its ID for a web site, or a deployment slot, or specific -// scaled-out instance in a web site. +// DeleteProcessSlot terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out +// instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -6679,7 +6673,7 @@ func (client AppsClient) DeleteProcessSlotResponder(resp *http.Response) (result return } -// DeletePublicCertificate description for Deletes a hostname binding for an app. +// DeletePublicCertificate deletes a hostname binding for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -6764,7 +6758,7 @@ func (client AppsClient) DeletePublicCertificateResponder(resp *http.Response) ( return } -// DeletePublicCertificateSlot description for Deletes a hostname binding for an app. +// DeletePublicCertificateSlot deletes a hostname binding for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -6852,7 +6846,7 @@ func (client AppsClient) DeletePublicCertificateSlotResponder(resp *http.Respons return } -// DeleteRelayServiceConnection description for Deletes a relay service connection by its name. +// DeleteRelayServiceConnection deletes a relay service connection by its name. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -6937,7 +6931,7 @@ func (client AppsClient) DeleteRelayServiceConnectionResponder(resp *http.Respon return } -// DeleteRelayServiceConnectionSlot description for Deletes a relay service connection by its name. +// DeleteRelayServiceConnectionSlot deletes a relay service connection by its name. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -7025,7 +7019,7 @@ func (client AppsClient) DeleteRelayServiceConnectionSlotResponder(resp *http.Re return } -// DeleteSiteExtension description for Remove a site extension from a web site, or a deployment slot. +// DeleteSiteExtension remove a site extension from a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -7110,7 +7104,7 @@ func (client AppsClient) DeleteSiteExtensionResponder(resp *http.Response) (resu return } -// DeleteSiteExtensionSlot description for Remove a site extension from a web site, or a deployment slot. +// DeleteSiteExtensionSlot remove a site extension from a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -7198,7 +7192,7 @@ func (client AppsClient) DeleteSiteExtensionSlotResponder(resp *http.Response) ( return } -// DeleteSlot description for Deletes a web, mobile, or API app, or one of the deployment slots. +// DeleteSlot deletes a web, mobile, or API app, or one of the deployment slots. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app to delete. @@ -7292,7 +7286,7 @@ func (client AppsClient) DeleteSlotResponder(resp *http.Response) (result autore return } -// DeleteSourceControl description for Deletes the source control configuration of an app. +// DeleteSourceControl deletes the source control configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -7378,7 +7372,7 @@ func (client AppsClient) DeleteSourceControlResponder(resp *http.Response) (resu return } -// DeleteSourceControlSlot description for Deletes the source control configuration of an app. +// DeleteSourceControlSlot deletes the source control configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -7467,8 +7461,7 @@ func (client AppsClient) DeleteSourceControlSlotResponder(resp *http.Response) ( return } -// DeleteSwiftVirtualNetwork description for Deletes a Swift Virtual Network connection from an app (or deployment -// slot). +// DeleteSwiftVirtualNetwork deletes a Swift Virtual Network connection from an app (or deployment slot). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -7551,8 +7544,7 @@ func (client AppsClient) DeleteSwiftVirtualNetworkResponder(resp *http.Response) return } -// DeleteSwiftVirtualNetworkSlot description for Deletes a Swift Virtual Network connection from an app (or deployment -// slot). +// DeleteSwiftVirtualNetworkSlot deletes a Swift Virtual Network connection from an app (or deployment slot). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -7638,7 +7630,7 @@ func (client AppsClient) DeleteSwiftVirtualNetworkSlotResponder(resp *http.Respo return } -// DeleteTriggeredWebJob description for Delete a triggered web job by its ID for an app, or a deployment slot. +// DeleteTriggeredWebJob delete a triggered web job by its ID for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -7723,7 +7715,7 @@ func (client AppsClient) DeleteTriggeredWebJobResponder(resp *http.Response) (re return } -// DeleteTriggeredWebJobSlot description for Delete a triggered web job by its ID for an app, or a deployment slot. +// DeleteTriggeredWebJobSlot delete a triggered web job by its ID for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -7811,8 +7803,7 @@ func (client AppsClient) DeleteTriggeredWebJobSlotResponder(resp *http.Response) return } -// DeleteVnetConnection description for Deletes a connection from an app (or deployment slot to a named virtual -// network. +// DeleteVnetConnection deletes a connection from an app (or deployment slot to a named virtual network. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -7897,8 +7888,7 @@ func (client AppsClient) DeleteVnetConnectionResponder(resp *http.Response) (res return } -// DeleteVnetConnectionSlot description for Deletes a connection from an app (or deployment slot to a named virtual -// network. +// DeleteVnetConnectionSlot deletes a connection from an app (or deployment slot to a named virtual network. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -7986,8 +7976,8 @@ func (client AppsClient) DeleteVnetConnectionSlotResponder(resp *http.Response) return } -// DiscoverBackup description for Discovers an existing app backup that can be restored from a blob in Azure storage. -// Use this to get information about the databases stored in a backup. +// DiscoverBackup discovers an existing app backup that can be restored from a blob in Azure storage. Use this to get +// information about the databases stored in a backup. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -8079,8 +8069,8 @@ func (client AppsClient) DiscoverBackupResponder(resp *http.Response) (result Re return } -// DiscoverBackupSlot description for Discovers an existing app backup that can be restored from a blob in Azure -// storage. Use this to get information about the databases stored in a backup. +// DiscoverBackupSlot discovers an existing app backup that can be restored from a blob in Azure storage. Use this to +// get information about the databases stored in a backup. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -8175,8 +8165,7 @@ func (client AppsClient) DiscoverBackupSlotResponder(resp *http.Response) (resul return } -// GenerateNewSitePublishingPassword description for Generates a new publishing password for an app (or deployment -// slot, if specified). +// GenerateNewSitePublishingPassword generates a new publishing password for an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -8259,8 +8248,8 @@ func (client AppsClient) GenerateNewSitePublishingPasswordResponder(resp *http.R return } -// GenerateNewSitePublishingPasswordSlot description for Generates a new publishing password for an app (or deployment -// slot, if specified). +// GenerateNewSitePublishingPasswordSlot generates a new publishing password for an app (or deployment slot, if +// specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -8346,7 +8335,7 @@ func (client AppsClient) GenerateNewSitePublishingPasswordSlotResponder(resp *ht return } -// Get description for Gets the details of a web, mobile, or API app. +// Get gets the details of a web, mobile, or API app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -8430,7 +8419,7 @@ func (client AppsClient) GetResponder(resp *http.Response) (result Site, err err return } -// GetAppSettingKeyVaultReference description for Gets the config reference and status of an app +// GetAppSettingKeyVaultReference gets the config reference and status of an app // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -8516,7 +8505,7 @@ func (client AppsClient) GetAppSettingKeyVaultReferenceResponder(resp *http.Resp return } -// GetAppSettingKeyVaultReferenceSlot description for Gets the config reference and status of an app +// GetAppSettingKeyVaultReferenceSlot gets the config reference and status of an app // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -8603,7 +8592,7 @@ func (client AppsClient) GetAppSettingKeyVaultReferenceSlotResponder(resp *http. return } -// GetAppSettingsKeyVaultReferences description for Gets the config reference app settings and status of an app +// GetAppSettingsKeyVaultReferences gets the config reference app settings and status of an app // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -8729,7 +8718,7 @@ func (client AppsClient) GetAppSettingsKeyVaultReferencesComplete(ctx context.Co return } -// GetAppSettingsKeyVaultReferencesSlot description for Gets the config reference app settings and status of an app +// GetAppSettingsKeyVaultReferencesSlot gets the config reference app settings and status of an app // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -8856,7 +8845,7 @@ func (client AppsClient) GetAppSettingsKeyVaultReferencesSlotComplete(ctx contex return } -// GetAuthSettings description for Gets the Authentication/Authorization settings of an app. +// GetAuthSettings gets the Authentication/Authorization settings of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -8940,7 +8929,7 @@ func (client AppsClient) GetAuthSettingsResponder(resp *http.Response) (result S return } -// GetAuthSettingsSlot description for Gets the Authentication/Authorization settings of an app. +// GetAuthSettingsSlot gets the Authentication/Authorization settings of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -9027,7 +9016,7 @@ func (client AppsClient) GetAuthSettingsSlotResponder(resp *http.Response) (resu return } -// GetAuthSettingsV2 description for Gets site's Authentication / Authorization settings for apps via the V2 format +// GetAuthSettingsV2 gets site's Authentication / Authorization settings for apps via the V2 format // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -9111,7 +9100,7 @@ func (client AppsClient) GetAuthSettingsV2Responder(resp *http.Response) (result return } -// GetAuthSettingsV2Slot description for Gets site's Authentication / Authorization settings for apps via the V2 format +// GetAuthSettingsV2Slot gets site's Authentication / Authorization settings for apps via the V2 format // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -9198,7 +9187,7 @@ func (client AppsClient) GetAuthSettingsV2SlotResponder(resp *http.Response) (re return } -// GetBackupConfiguration description for Gets the backup configuration of an app. +// GetBackupConfiguration gets the backup configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -9282,7 +9271,7 @@ func (client AppsClient) GetBackupConfigurationResponder(resp *http.Response) (r return } -// GetBackupConfigurationSlot description for Gets the backup configuration of an app. +// GetBackupConfigurationSlot gets the backup configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -9369,7 +9358,7 @@ func (client AppsClient) GetBackupConfigurationSlotResponder(resp *http.Response return } -// GetBackupStatus description for Gets a backup of an app by its ID. +// GetBackupStatus gets a backup of an app by its ID. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -9455,7 +9444,7 @@ func (client AppsClient) GetBackupStatusResponder(resp *http.Response) (result B return } -// GetBackupStatusSlot description for Gets a backup of an app by its ID. +// GetBackupStatusSlot gets a backup of an app by its ID. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -9544,8 +9533,8 @@ func (client AppsClient) GetBackupStatusSlotResponder(resp *http.Response) (resu return } -// GetConfiguration description for Gets the configuration of an app, such as platform version and bitness, default -// documents, virtual applications, Always On, etc. +// GetConfiguration gets the configuration of an app, such as platform version and bitness, default documents, virtual +// applications, Always On, etc. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -9629,8 +9618,8 @@ func (client AppsClient) GetConfigurationResponder(resp *http.Response) (result return } -// GetConfigurationSlot description for Gets the configuration of an app, such as platform version and bitness, default -// documents, virtual applications, Always On, etc. +// GetConfigurationSlot gets the configuration of an app, such as platform version and bitness, default documents, +// virtual applications, Always On, etc. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -9717,7 +9706,7 @@ func (client AppsClient) GetConfigurationSlotResponder(resp *http.Response) (res return } -// GetConfigurationSnapshot description for Gets a snapshot of the configuration of an app at a previous point in time. +// GetConfigurationSnapshot gets a snapshot of the configuration of an app at a previous point in time. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -9803,8 +9792,7 @@ func (client AppsClient) GetConfigurationSnapshotResponder(resp *http.Response) return } -// GetConfigurationSnapshotSlot description for Gets a snapshot of the configuration of an app at a previous point in -// time. +// GetConfigurationSnapshotSlot gets a snapshot of the configuration of an app at a previous point in time. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -9893,7 +9881,7 @@ func (client AppsClient) GetConfigurationSnapshotSlotResponder(resp *http.Respon return } -// GetContainerLogsZip description for Gets the ZIP archived docker log files for the given site +// GetContainerLogsZip gets the ZIP archived docker log files for the given site // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -9976,7 +9964,7 @@ func (client AppsClient) GetContainerLogsZipResponder(resp *http.Response) (resu return } -// GetContainerLogsZipSlot description for Gets the ZIP archived docker log files for the given site +// GetContainerLogsZipSlot gets the ZIP archived docker log files for the given site // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -10061,7 +10049,7 @@ func (client AppsClient) GetContainerLogsZipSlotResponder(resp *http.Response) ( return } -// GetContinuousWebJob description for Gets a continuous web job by its ID for an app, or a deployment slot. +// GetContinuousWebJob gets a continuous web job by its ID for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -10147,7 +10135,7 @@ func (client AppsClient) GetContinuousWebJobResponder(resp *http.Response) (resu return } -// GetContinuousWebJobSlot description for Gets a continuous web job by its ID for an app, or a deployment slot. +// GetContinuousWebJobSlot gets a continuous web job by its ID for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -10236,7 +10224,7 @@ func (client AppsClient) GetContinuousWebJobSlotResponder(resp *http.Response) ( return } -// GetDeployment description for Get a deployment by its ID for an app, or a deployment slot. +// GetDeployment get a deployment by its ID for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -10322,7 +10310,7 @@ func (client AppsClient) GetDeploymentResponder(resp *http.Response) (result Dep return } -// GetDeploymentSlot description for Get a deployment by its ID for an app, or a deployment slot. +// GetDeploymentSlot get a deployment by its ID for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -10411,7 +10399,7 @@ func (client AppsClient) GetDeploymentSlotResponder(resp *http.Response) (result return } -// GetDiagnosticLogsConfiguration description for Gets the logging configuration of an app. +// GetDiagnosticLogsConfiguration gets the logging configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -10495,7 +10483,7 @@ func (client AppsClient) GetDiagnosticLogsConfigurationResponder(resp *http.Resp return } -// GetDiagnosticLogsConfigurationSlot description for Gets the logging configuration of an app. +// GetDiagnosticLogsConfigurationSlot gets the logging configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -10582,7 +10570,7 @@ func (client AppsClient) GetDiagnosticLogsConfigurationSlotResponder(resp *http. return } -// GetDomainOwnershipIdentifier description for Get domain ownership identifier for web app. +// GetDomainOwnershipIdentifier get domain ownership identifier for web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -10668,7 +10656,7 @@ func (client AppsClient) GetDomainOwnershipIdentifierResponder(resp *http.Respon return } -// GetDomainOwnershipIdentifierSlot description for Get domain ownership identifier for web app. +// GetDomainOwnershipIdentifierSlot get domain ownership identifier for web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -10757,7 +10745,7 @@ func (client AppsClient) GetDomainOwnershipIdentifierSlotResponder(resp *http.Re return } -// GetFtpAllowed description for Returns whether FTP is allowed on the site or not. +// GetFtpAllowed returns whether FTP is allowed on the site or not. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -10841,7 +10829,7 @@ func (client AppsClient) GetFtpAllowedResponder(resp *http.Response) (result Csm return } -// GetFtpAllowedSlot description for Returns whether FTP is allowed on the site or not. +// GetFtpAllowedSlot returns whether FTP is allowed on the site or not. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -10926,7 +10914,7 @@ func (client AppsClient) GetFtpAllowedSlotResponder(resp *http.Response) (result return } -// GetFunction description for Get function information by its ID for web site, or a deployment slot. +// GetFunction get function information by its ID for web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -11012,7 +11000,7 @@ func (client AppsClient) GetFunctionResponder(resp *http.Response) (result Funct return } -// GetFunctionsAdminToken description for Fetch a short lived token that can be exchanged for a master key. +// GetFunctionsAdminToken fetch a short lived token that can be exchanged for a master key. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -11096,7 +11084,7 @@ func (client AppsClient) GetFunctionsAdminTokenResponder(resp *http.Response) (r return } -// GetFunctionsAdminTokenSlot description for Fetch a short lived token that can be exchanged for a master key. +// GetFunctionsAdminTokenSlot fetch a short lived token that can be exchanged for a master key. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -11182,7 +11170,7 @@ func (client AppsClient) GetFunctionsAdminTokenSlotResponder(resp *http.Response return } -// GetHostNameBinding description for Get the named hostname binding for an app (or deployment slot, if specified). +// GetHostNameBinding get the named hostname binding for an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -11268,7 +11256,7 @@ func (client AppsClient) GetHostNameBindingResponder(resp *http.Response) (resul return } -// GetHostNameBindingSlot description for Get the named hostname binding for an app (or deployment slot, if specified). +// GetHostNameBindingSlot get the named hostname binding for an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -11357,7 +11345,7 @@ func (client AppsClient) GetHostNameBindingSlotResponder(resp *http.Response) (r return } -// GetHybridConnection description for Retrieves a specific Service Bus Hybrid Connection used by this Web App. +// GetHybridConnection retrieves a specific Service Bus Hybrid Connection used by this Web App. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -11445,7 +11433,7 @@ func (client AppsClient) GetHybridConnectionResponder(resp *http.Response) (resu return } -// GetHybridConnectionSlot description for Retrieves a specific Service Bus Hybrid Connection used by this Web App. +// GetHybridConnectionSlot retrieves a specific Service Bus Hybrid Connection used by this Web App. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -11535,7 +11523,7 @@ func (client AppsClient) GetHybridConnectionSlotResponder(resp *http.Response) ( return } -// GetInstanceFunctionSlot description for Get function information by its ID for web site, or a deployment slot. +// GetInstanceFunctionSlot get function information by its ID for web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -11623,7 +11611,7 @@ func (client AppsClient) GetInstanceFunctionSlotResponder(resp *http.Response) ( return } -// GetInstanceInfo description for Gets all scale-out instances of an app. +// GetInstanceInfo gets all scale-out instances of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -11708,7 +11696,7 @@ func (client AppsClient) GetInstanceInfoResponder(resp *http.Response) (result S return } -// GetInstanceInfoSlot description for Gets all scale-out instances of an app. +// GetInstanceInfoSlot gets all scale-out instances of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -11795,7 +11783,7 @@ func (client AppsClient) GetInstanceInfoSlotResponder(resp *http.Response) (resu return } -// GetInstanceMSDeployLog description for Get the MSDeploy Log for the last MSDeploy operation. +// GetInstanceMSDeployLog get the MSDeploy Log for the last MSDeploy operation. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -11881,7 +11869,7 @@ func (client AppsClient) GetInstanceMSDeployLogResponder(resp *http.Response) (r return } -// GetInstanceMSDeployLogSlot description for Get the MSDeploy Log for the last MSDeploy operation. +// GetInstanceMSDeployLogSlot get the MSDeploy Log for the last MSDeploy operation. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -11969,7 +11957,7 @@ func (client AppsClient) GetInstanceMSDeployLogSlotResponder(resp *http.Response return } -// GetInstanceMsDeployStatus description for Get the status of the last MSDeploy operation. +// GetInstanceMsDeployStatus get the status of the last MSDeploy operation. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -12055,7 +12043,7 @@ func (client AppsClient) GetInstanceMsDeployStatusResponder(resp *http.Response) return } -// GetInstanceMsDeployStatusSlot description for Get the status of the last MSDeploy operation. +// GetInstanceMsDeployStatusSlot get the status of the last MSDeploy operation. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -12143,8 +12131,7 @@ func (client AppsClient) GetInstanceMsDeployStatusSlotResponder(resp *http.Respo return } -// GetInstanceProcess description for Get process information by its ID for a specific scaled-out instance in a web -// site. +// GetInstanceProcess get process information by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -12233,8 +12220,7 @@ func (client AppsClient) GetInstanceProcessResponder(resp *http.Response) (resul return } -// GetInstanceProcessDump description for Get a memory dump of a process by its ID for a specific scaled-out instance -// in a web site. +// GetInstanceProcessDump get a memory dump of a process by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -12322,8 +12308,8 @@ func (client AppsClient) GetInstanceProcessDumpResponder(resp *http.Response) (r return } -// GetInstanceProcessDumpSlot description for Get a memory dump of a process by its ID for a specific scaled-out -// instance in a web site. +// GetInstanceProcessDumpSlot get a memory dump of a process by its ID for a specific scaled-out instance in a web +// site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -12414,8 +12400,7 @@ func (client AppsClient) GetInstanceProcessDumpSlotResponder(resp *http.Response return } -// GetInstanceProcessModule description for Get process information by its ID for a specific scaled-out instance in a -// web site. +// GetInstanceProcessModule get process information by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -12506,8 +12491,7 @@ func (client AppsClient) GetInstanceProcessModuleResponder(resp *http.Response) return } -// GetInstanceProcessModuleSlot description for Get process information by its ID for a specific scaled-out instance in -// a web site. +// GetInstanceProcessModuleSlot get process information by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -12601,8 +12585,7 @@ func (client AppsClient) GetInstanceProcessModuleSlotResponder(resp *http.Respon return } -// GetInstanceProcessSlot description for Get process information by its ID for a specific scaled-out instance in a web -// site. +// GetInstanceProcessSlot get process information by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -12694,8 +12677,8 @@ func (client AppsClient) GetInstanceProcessSlotResponder(resp *http.Response) (r return } -// GetMigrateMySQLStatus description for Returns the status of MySql in app migration, if one is active, and whether or -// not MySql in app is enabled +// GetMigrateMySQLStatus returns the status of MySql in app migration, if one is active, and whether or not MySql in +// app is enabled // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -12779,8 +12762,8 @@ func (client AppsClient) GetMigrateMySQLStatusResponder(resp *http.Response) (re return } -// GetMigrateMySQLStatusSlot description for Returns the status of MySql in app migration, if one is active, and -// whether or not MySql in app is enabled +// GetMigrateMySQLStatusSlot returns the status of MySql in app migration, if one is active, and whether or not MySql +// in app is enabled // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -12866,7 +12849,7 @@ func (client AppsClient) GetMigrateMySQLStatusSlotResponder(resp *http.Response) return } -// GetMSDeployLog description for Get the MSDeploy Log for the last MSDeploy operation. +// GetMSDeployLog get the MSDeploy Log for the last MSDeploy operation. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -12950,7 +12933,7 @@ func (client AppsClient) GetMSDeployLogResponder(resp *http.Response) (result MS return } -// GetMSDeployLogSlot description for Get the MSDeploy Log for the last MSDeploy operation. +// GetMSDeployLogSlot get the MSDeploy Log for the last MSDeploy operation. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -13036,7 +13019,7 @@ func (client AppsClient) GetMSDeployLogSlotResponder(resp *http.Response) (resul return } -// GetMSDeployStatus description for Get the status of the last MSDeploy operation. +// GetMSDeployStatus get the status of the last MSDeploy operation. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -13120,7 +13103,7 @@ func (client AppsClient) GetMSDeployStatusResponder(resp *http.Response) (result return } -// GetMSDeployStatusSlot description for Get the status of the last MSDeploy operation. +// GetMSDeployStatusSlot get the status of the last MSDeploy operation. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -13206,8 +13189,7 @@ func (client AppsClient) GetMSDeployStatusSlotResponder(resp *http.Response) (re return } -// GetNetworkTraceOperation description for Gets a named operation for a network trace capturing (or deployment slot, -// if specified). +// GetNetworkTraceOperation gets a named operation for a network trace capturing (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -13293,8 +13275,8 @@ func (client AppsClient) GetNetworkTraceOperationResponder(resp *http.Response) return } -// GetNetworkTraceOperationSlot description for Gets a named operation for a network trace capturing (or deployment -// slot, if specified). +// GetNetworkTraceOperationSlot gets a named operation for a network trace capturing (or deployment slot, if +// specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -13383,8 +13365,8 @@ func (client AppsClient) GetNetworkTraceOperationSlotResponder(resp *http.Respon return } -// GetNetworkTraceOperationSlotV2 description for Gets a named operation for a network trace capturing (or deployment -// slot, if specified). +// GetNetworkTraceOperationSlotV2 gets a named operation for a network trace capturing (or deployment slot, if +// specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -13473,8 +13455,7 @@ func (client AppsClient) GetNetworkTraceOperationSlotV2Responder(resp *http.Resp return } -// GetNetworkTraceOperationV2 description for Gets a named operation for a network trace capturing (or deployment slot, -// if specified). +// GetNetworkTraceOperationV2 gets a named operation for a network trace capturing (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -13560,8 +13541,7 @@ func (client AppsClient) GetNetworkTraceOperationV2Responder(resp *http.Response return } -// GetNetworkTraces description for Gets a named operation for a network trace capturing (or deployment slot, if -// specified). +// GetNetworkTraces gets a named operation for a network trace capturing (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -13647,8 +13627,7 @@ func (client AppsClient) GetNetworkTracesResponder(resp *http.Response) (result return } -// GetNetworkTracesSlot description for Gets a named operation for a network trace capturing (or deployment slot, if -// specified). +// GetNetworkTracesSlot gets a named operation for a network trace capturing (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -13737,8 +13716,7 @@ func (client AppsClient) GetNetworkTracesSlotResponder(resp *http.Response) (res return } -// GetNetworkTracesSlotV2 description for Gets a named operation for a network trace capturing (or deployment slot, if -// specified). +// GetNetworkTracesSlotV2 gets a named operation for a network trace capturing (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -13827,8 +13805,7 @@ func (client AppsClient) GetNetworkTracesSlotV2Responder(resp *http.Response) (r return } -// GetNetworkTracesV2 description for Gets a named operation for a network trace capturing (or deployment slot, if -// specified). +// GetNetworkTracesV2 gets a named operation for a network trace capturing (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -13914,7 +13891,7 @@ func (client AppsClient) GetNetworkTracesV2Responder(resp *http.Response) (resul return } -// GetPremierAddOn description for Gets a named add-on of an app. +// GetPremierAddOn gets a named add-on of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -14000,7 +13977,7 @@ func (client AppsClient) GetPremierAddOnResponder(resp *http.Response) (result P return } -// GetPremierAddOnSlot description for Gets a named add-on of an app. +// GetPremierAddOnSlot gets a named add-on of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -14089,8 +14066,8 @@ func (client AppsClient) GetPremierAddOnSlotResponder(resp *http.Response) (resu return } -// GetPrivateAccess description for Gets data around private site access enablement and authorized Virtual Networks -// that can access the site. +// GetPrivateAccess gets data around private site access enablement and authorized Virtual Networks that can access the +// site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -14174,8 +14151,8 @@ func (client AppsClient) GetPrivateAccessResponder(resp *http.Response) (result return } -// GetPrivateAccessSlot description for Gets data around private site access enablement and authorized Virtual Networks -// that can access the site. +// GetPrivateAccessSlot gets data around private site access enablement and authorized Virtual Networks that can access +// the site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -14261,7 +14238,7 @@ func (client AppsClient) GetPrivateAccessSlotResponder(resp *http.Response) (res return } -// GetPrivateEndpointConnection description for Gets a private endpoint connection +// GetPrivateEndpointConnection gets a private endpoint connection // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the site. @@ -14347,8 +14324,7 @@ func (client AppsClient) GetPrivateEndpointConnectionResponder(resp *http.Respon return } -// GetPrivateEndpointConnectionList description for Gets the list of private endpoint connections associated with a -// site +// GetPrivateEndpointConnectionList gets the list of private endpoint connections associated with a site // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the site. @@ -14474,8 +14450,7 @@ func (client AppsClient) GetPrivateEndpointConnectionListComplete(ctx context.Co return } -// GetPrivateEndpointConnectionListSlot description for Gets the list of private endpoint connections associated with a -// site +// GetPrivateEndpointConnectionListSlot gets the list of private endpoint connections associated with a site // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the site. @@ -14603,7 +14578,7 @@ func (client AppsClient) GetPrivateEndpointConnectionListSlotComplete(ctx contex return } -// GetPrivateEndpointConnectionSlot description for Gets a private endpoint connection +// GetPrivateEndpointConnectionSlot gets a private endpoint connection // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the site. @@ -14691,7 +14666,7 @@ func (client AppsClient) GetPrivateEndpointConnectionSlotResponder(resp *http.Re return } -// GetPrivateLinkResources description for Gets the private link resources +// GetPrivateLinkResources gets the private link resources // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the site. @@ -14775,7 +14750,7 @@ func (client AppsClient) GetPrivateLinkResourcesResponder(resp *http.Response) ( return } -// GetPrivateLinkResourcesSlot description for Gets the private link resources +// GetPrivateLinkResourcesSlot gets the private link resources // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the site. @@ -14860,7 +14835,7 @@ func (client AppsClient) GetPrivateLinkResourcesSlotResponder(resp *http.Respons return } -// GetProcess description for Get process information by its ID for a specific scaled-out instance in a web site. +// GetProcess get process information by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -14946,8 +14921,7 @@ func (client AppsClient) GetProcessResponder(resp *http.Response) (result Proces return } -// GetProcessDump description for Get a memory dump of a process by its ID for a specific scaled-out instance in a web -// site. +// GetProcessDump get a memory dump of a process by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -15032,8 +15006,7 @@ func (client AppsClient) GetProcessDumpResponder(resp *http.Response) (result Re return } -// GetProcessDumpSlot description for Get a memory dump of a process by its ID for a specific scaled-out instance in a -// web site. +// GetProcessDumpSlot get a memory dump of a process by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -15121,7 +15094,7 @@ func (client AppsClient) GetProcessDumpSlotResponder(resp *http.Response) (resul return } -// GetProcessModule description for Get process information by its ID for a specific scaled-out instance in a web site. +// GetProcessModule get process information by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -15209,8 +15182,7 @@ func (client AppsClient) GetProcessModuleResponder(resp *http.Response) (result return } -// GetProcessModuleSlot description for Get process information by its ID for a specific scaled-out instance in a web -// site. +// GetProcessModuleSlot get process information by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -15301,7 +15273,7 @@ func (client AppsClient) GetProcessModuleSlotResponder(resp *http.Response) (res return } -// GetProcessSlot description for Get process information by its ID for a specific scaled-out instance in a web site. +// GetProcessSlot get process information by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -15390,7 +15362,7 @@ func (client AppsClient) GetProcessSlotResponder(resp *http.Response) (result Pr return } -// GetPublicCertificate description for Get the named public certificate for an app (or deployment slot, if specified). +// GetPublicCertificate get the named public certificate for an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -15476,8 +15448,7 @@ func (client AppsClient) GetPublicCertificateResponder(resp *http.Response) (res return } -// GetPublicCertificateSlot description for Get the named public certificate for an app (or deployment slot, if -// specified). +// GetPublicCertificateSlot get the named public certificate for an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -15566,7 +15537,7 @@ func (client AppsClient) GetPublicCertificateSlotResponder(resp *http.Response) return } -// GetRelayServiceConnection description for Gets a hybrid connection configuration by its name. +// GetRelayServiceConnection gets a hybrid connection configuration by its name. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -15652,7 +15623,7 @@ func (client AppsClient) GetRelayServiceConnectionResponder(resp *http.Response) return } -// GetRelayServiceConnectionSlot description for Gets a hybrid connection configuration by its name. +// GetRelayServiceConnectionSlot gets a hybrid connection configuration by its name. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -15741,7 +15712,7 @@ func (client AppsClient) GetRelayServiceConnectionSlotResponder(resp *http.Respo return } -// GetScmAllowed description for Returns whether Scm basic auth is allowed on the site or not. +// GetScmAllowed returns whether Scm basic auth is allowed on the site or not. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -15825,7 +15796,7 @@ func (client AppsClient) GetScmAllowedResponder(resp *http.Response) (result Csm return } -// GetScmAllowedSlot description for Returns whether Scm basic auth is allowed on the site or not. +// GetScmAllowedSlot returns whether Scm basic auth is allowed on the site or not. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -15910,7 +15881,7 @@ func (client AppsClient) GetScmAllowedSlotResponder(resp *http.Response) (result return } -// GetSiteConnectionStringKeyVaultReference description for Gets the config reference and status of an app +// GetSiteConnectionStringKeyVaultReference gets the config reference and status of an app // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -15995,8 +15966,7 @@ func (client AppsClient) GetSiteConnectionStringKeyVaultReferenceResponder(resp return } -// GetSiteConnectionStringKeyVaultReferences description for Gets the config reference app settings and status of an -// app +// GetSiteConnectionStringKeyVaultReferences gets the config reference app settings and status of an app // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -16122,7 +16092,7 @@ func (client AppsClient) GetSiteConnectionStringKeyVaultReferencesComplete(ctx c return } -// GetSiteConnectionStringKeyVaultReferenceSlot description for Gets the config reference and status of an app +// GetSiteConnectionStringKeyVaultReferenceSlot gets the config reference and status of an app // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -16208,8 +16178,7 @@ func (client AppsClient) GetSiteConnectionStringKeyVaultReferenceSlotResponder(r return } -// GetSiteConnectionStringKeyVaultReferencesSlot description for Gets the config reference app settings and status of -// an app +// GetSiteConnectionStringKeyVaultReferencesSlot gets the config reference app settings and status of an app // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -16336,7 +16305,7 @@ func (client AppsClient) GetSiteConnectionStringKeyVaultReferencesSlotComplete(c return } -// GetSiteExtension description for Get site extension information by its ID for a web site, or a deployment slot. +// GetSiteExtension get site extension information by its ID for a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -16422,7 +16391,7 @@ func (client AppsClient) GetSiteExtensionResponder(resp *http.Response) (result return } -// GetSiteExtensionSlot description for Get site extension information by its ID for a web site, or a deployment slot. +// GetSiteExtensionSlot get site extension information by its ID for a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -16510,7 +16479,7 @@ func (client AppsClient) GetSiteExtensionSlotResponder(resp *http.Response) (res return } -// GetSitePhpErrorLogFlag description for Gets web app's event logs. +// GetSitePhpErrorLogFlag gets web app's event logs. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -16594,7 +16563,7 @@ func (client AppsClient) GetSitePhpErrorLogFlagResponder(resp *http.Response) (r return } -// GetSitePhpErrorLogFlagSlot description for Gets web app's event logs. +// GetSitePhpErrorLogFlagSlot gets web app's event logs. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -16680,7 +16649,7 @@ func (client AppsClient) GetSitePhpErrorLogFlagSlotResponder(resp *http.Response return } -// GetSlot description for Gets the details of a web, mobile, or API app. +// GetSlot gets the details of a web, mobile, or API app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -16766,7 +16735,7 @@ func (client AppsClient) GetSlotResponder(resp *http.Response) (result Site, err return } -// GetSourceControl description for Gets the source control configuration of an app. +// GetSourceControl gets the source control configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -16850,7 +16819,7 @@ func (client AppsClient) GetSourceControlResponder(resp *http.Response) (result return } -// GetSourceControlSlot description for Gets the source control configuration of an app. +// GetSourceControlSlot gets the source control configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -16937,7 +16906,7 @@ func (client AppsClient) GetSourceControlSlotResponder(resp *http.Response) (res return } -// GetSwiftVirtualNetworkConnection description for Gets a Swift Virtual Network connection. +// GetSwiftVirtualNetworkConnection gets a Swift Virtual Network connection. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -17021,7 +16990,7 @@ func (client AppsClient) GetSwiftVirtualNetworkConnectionResponder(resp *http.Re return } -// GetSwiftVirtualNetworkConnectionSlot description for Gets a Swift Virtual Network connection. +// GetSwiftVirtualNetworkConnectionSlot gets a Swift Virtual Network connection. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -17108,7 +17077,7 @@ func (client AppsClient) GetSwiftVirtualNetworkConnectionSlotResponder(resp *htt return } -// GetTriggeredWebJob description for Gets a triggered web job by its ID for an app, or a deployment slot. +// GetTriggeredWebJob gets a triggered web job by its ID for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -17194,8 +17163,7 @@ func (client AppsClient) GetTriggeredWebJobResponder(resp *http.Response) (resul return } -// GetTriggeredWebJobHistory description for Gets a triggered web job's history by its ID for an app, , or a deployment -// slot. +// GetTriggeredWebJobHistory gets a triggered web job's history by its ID for an app, , or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -17283,8 +17251,7 @@ func (client AppsClient) GetTriggeredWebJobHistoryResponder(resp *http.Response) return } -// GetTriggeredWebJobHistorySlot description for Gets a triggered web job's history by its ID for an app, , or a -// deployment slot. +// GetTriggeredWebJobHistorySlot gets a triggered web job's history by its ID for an app, , or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -17374,7 +17341,7 @@ func (client AppsClient) GetTriggeredWebJobHistorySlotResponder(resp *http.Respo return } -// GetTriggeredWebJobSlot description for Gets a triggered web job by its ID for an app, or a deployment slot. +// GetTriggeredWebJobSlot gets a triggered web job by its ID for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -17462,7 +17429,7 @@ func (client AppsClient) GetTriggeredWebJobSlotResponder(resp *http.Response) (r return } -// GetVnetConnection description for Gets a virtual network the app (or deployment slot) is connected to by name. +// GetVnetConnection gets a virtual network the app (or deployment slot) is connected to by name. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -17548,7 +17515,7 @@ func (client AppsClient) GetVnetConnectionResponder(resp *http.Response) (result return } -// GetVnetConnectionGateway description for Gets an app's Virtual Network gateway. +// GetVnetConnectionGateway gets an app's Virtual Network gateway. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -17636,7 +17603,7 @@ func (client AppsClient) GetVnetConnectionGatewayResponder(resp *http.Response) return } -// GetVnetConnectionGatewaySlot description for Gets an app's Virtual Network gateway. +// GetVnetConnectionGatewaySlot gets an app's Virtual Network gateway. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -17727,7 +17694,7 @@ func (client AppsClient) GetVnetConnectionGatewaySlotResponder(resp *http.Respon return } -// GetVnetConnectionSlot description for Gets a virtual network the app (or deployment slot) is connected to by name. +// GetVnetConnectionSlot gets a virtual network the app (or deployment slot) is connected to by name. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -17816,7 +17783,7 @@ func (client AppsClient) GetVnetConnectionSlotResponder(resp *http.Response) (re return } -// GetWebJob description for Get webjob information for an app, or a deployment slot. +// GetWebJob get webjob information for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -17902,7 +17869,7 @@ func (client AppsClient) GetWebJobResponder(resp *http.Response) (result Job, er return } -// GetWebJobSlot description for Get webjob information for an app, or a deployment slot. +// GetWebJobSlot get webjob information for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -17991,7 +17958,7 @@ func (client AppsClient) GetWebJobSlotResponder(resp *http.Response) (result Job return } -// GetWebSiteContainerLogs description for Gets the last lines of docker logs for the given site +// GetWebSiteContainerLogs gets the last lines of docker logs for the given site // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -18074,7 +18041,7 @@ func (client AppsClient) GetWebSiteContainerLogsResponder(resp *http.Response) ( return } -// GetWebSiteContainerLogsSlot description for Gets the last lines of docker logs for the given site +// GetWebSiteContainerLogsSlot gets the last lines of docker logs for the given site // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -18159,7 +18126,7 @@ func (client AppsClient) GetWebSiteContainerLogsSlotResponder(resp *http.Respons return } -// InstallSiteExtension description for Install site extension on a web site, or a deployment slot. +// InstallSiteExtension install site extension on a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -18248,7 +18215,7 @@ func (client AppsClient) InstallSiteExtensionResponder(resp *http.Response) (res return } -// InstallSiteExtensionSlot description for Install site extension on a web site, or a deployment slot. +// InstallSiteExtensionSlot install site extension on a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -18339,7 +18306,7 @@ func (client AppsClient) InstallSiteExtensionSlotResponder(resp *http.Response) return } -// IsCloneable description for Shows whether an app can be cloned to another resource group or subscription. +// IsCloneable shows whether an app can be cloned to another resource group or subscription. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -18423,7 +18390,7 @@ func (client AppsClient) IsCloneableResponder(resp *http.Response) (result SiteC return } -// IsCloneableSlot description for Shows whether an app can be cloned to another resource group or subscription. +// IsCloneableSlot shows whether an app can be cloned to another resource group or subscription. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -18509,7 +18476,7 @@ func (client AppsClient) IsCloneableSlotResponder(resp *http.Response) (result S return } -// List description for Get all apps for a subscription. +// List get all apps for a subscription. func (client AppsClient) List(ctx context.Context) (result AppCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/AppsClient.List") @@ -18622,7 +18589,7 @@ func (client AppsClient) ListComplete(ctx context.Context) (result AppCollection return } -// ListApplicationSettings description for Gets the application settings of an app. +// ListApplicationSettings gets the application settings of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -18706,7 +18673,7 @@ func (client AppsClient) ListApplicationSettingsResponder(resp *http.Response) ( return } -// ListApplicationSettingsSlot description for Gets the application settings of an app. +// ListApplicationSettingsSlot gets the application settings of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -18793,7 +18760,7 @@ func (client AppsClient) ListApplicationSettingsSlotResponder(resp *http.Respons return } -// ListAzureStorageAccounts description for Gets the Azure storage account configurations of an app. +// ListAzureStorageAccounts gets the Azure storage account configurations of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -18877,7 +18844,7 @@ func (client AppsClient) ListAzureStorageAccountsResponder(resp *http.Response) return } -// ListAzureStorageAccountsSlot description for Gets the Azure storage account configurations of an app. +// ListAzureStorageAccountsSlot gets the Azure storage account configurations of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -18964,7 +18931,7 @@ func (client AppsClient) ListAzureStorageAccountsSlotResponder(resp *http.Respon return } -// ListBackups description for Gets existing backups of an app. +// ListBackups gets existing backups of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -19090,7 +19057,7 @@ func (client AppsClient) ListBackupsComplete(ctx context.Context, resourceGroupN return } -// ListBackupsSlot description for Gets existing backups of an app. +// ListBackupsSlot gets existing backups of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -19219,9 +19186,9 @@ func (client AppsClient) ListBackupsSlotComplete(ctx context.Context, resourceGr return } -// ListBackupStatusSecrets description for Gets status of a web app backup that may be in progress, including secrets -// associated with the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup -// if a new URL is passed in the request body. +// ListBackupStatusSecrets gets status of a web app backup that may be in progress, including secrets associated with +// the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup if a new URL is +// passed in the request body. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -19319,9 +19286,9 @@ func (client AppsClient) ListBackupStatusSecretsResponder(resp *http.Response) ( return } -// ListBackupStatusSecretsSlot description for Gets status of a web app backup that may be in progress, including -// secrets associated with the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for -// the backup if a new URL is passed in the request body. +// ListBackupStatusSecretsSlot gets status of a web app backup that may be in progress, including secrets associated +// with the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup if a new +// URL is passed in the request body. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -19421,8 +19388,8 @@ func (client AppsClient) ListBackupStatusSecretsSlotResponder(resp *http.Respons return } -// ListBasicPublishingCredentialsPolicies description for Returns whether Scm basic auth is allowed and whether Ftp is -// allowed for a given site. +// ListBasicPublishingCredentialsPolicies returns whether Scm basic auth is allowed and whether Ftp is allowed for a +// given site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -19548,8 +19515,8 @@ func (client AppsClient) ListBasicPublishingCredentialsPoliciesComplete(ctx cont return } -// ListBasicPublishingCredentialsPoliciesSlot description for Returns whether Scm basic auth is allowed and whether Ftp -// is allowed for a given site. +// ListBasicPublishingCredentialsPoliciesSlot returns whether Scm basic auth is allowed and whether Ftp is allowed for +// a given site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -19676,7 +19643,7 @@ func (client AppsClient) ListBasicPublishingCredentialsPoliciesSlotComplete(ctx return } -// ListByResourceGroup description for Gets all web, mobile, and API apps in the specified resource group. +// ListByResourceGroup gets all web, mobile, and API apps in the specified resource group. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // includeSlots - specify true to include deployment slots in results. The default is false, @@ -19805,7 +19772,7 @@ func (client AppsClient) ListByResourceGroupComplete(ctx context.Context, resour return } -// ListConfigurations description for List the configurations of an app +// ListConfigurations list the configurations of an app // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -19931,8 +19898,8 @@ func (client AppsClient) ListConfigurationsComplete(ctx context.Context, resourc return } -// ListConfigurationSnapshotInfo description for Gets a list of web app configuration snapshots identifiers. Each -// element of the list contains a timestamp and the ID of the snapshot. +// ListConfigurationSnapshotInfo gets a list of web app configuration snapshots identifiers. Each element of the list +// contains a timestamp and the ID of the snapshot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -20058,8 +20025,8 @@ func (client AppsClient) ListConfigurationSnapshotInfoComplete(ctx context.Conte return } -// ListConfigurationSnapshotInfoSlot description for Gets a list of web app configuration snapshots identifiers. Each -// element of the list contains a timestamp and the ID of the snapshot. +// ListConfigurationSnapshotInfoSlot gets a list of web app configuration snapshots identifiers. Each element of the +// list contains a timestamp and the ID of the snapshot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -20188,7 +20155,7 @@ func (client AppsClient) ListConfigurationSnapshotInfoSlotComplete(ctx context.C return } -// ListConfigurationsSlot description for List the configurations of an app +// ListConfigurationsSlot list the configurations of an app // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -20317,7 +20284,7 @@ func (client AppsClient) ListConfigurationsSlotComplete(ctx context.Context, res return } -// ListConnectionStrings description for Gets the connection strings of an app. +// ListConnectionStrings gets the connection strings of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -20401,7 +20368,7 @@ func (client AppsClient) ListConnectionStringsResponder(resp *http.Response) (re return } -// ListConnectionStringsSlot description for Gets the connection strings of an app. +// ListConnectionStringsSlot gets the connection strings of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -20488,7 +20455,7 @@ func (client AppsClient) ListConnectionStringsSlotResponder(resp *http.Response) return } -// ListContinuousWebJobs description for List continuous web jobs for an app, or a deployment slot. +// ListContinuousWebJobs list continuous web jobs for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -20614,7 +20581,7 @@ func (client AppsClient) ListContinuousWebJobsComplete(ctx context.Context, reso return } -// ListContinuousWebJobsSlot description for List continuous web jobs for an app, or a deployment slot. +// ListContinuousWebJobsSlot list continuous web jobs for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -20743,7 +20710,7 @@ func (client AppsClient) ListContinuousWebJobsSlotComplete(ctx context.Context, return } -// ListDeploymentLog description for List deployment log for specific deployment for an app, or a deployment slot. +// ListDeploymentLog list deployment log for specific deployment for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -20830,7 +20797,7 @@ func (client AppsClient) ListDeploymentLogResponder(resp *http.Response) (result return } -// ListDeploymentLogSlot description for List deployment log for specific deployment for an app, or a deployment slot. +// ListDeploymentLogSlot list deployment log for specific deployment for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -20920,7 +20887,7 @@ func (client AppsClient) ListDeploymentLogSlotResponder(resp *http.Response) (re return } -// ListDeployments description for List deployments for an app, or a deployment slot. +// ListDeployments list deployments for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -21046,7 +21013,7 @@ func (client AppsClient) ListDeploymentsComplete(ctx context.Context, resourceGr return } -// ListDeploymentsSlot description for List deployments for an app, or a deployment slot. +// ListDeploymentsSlot list deployments for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -21175,7 +21142,7 @@ func (client AppsClient) ListDeploymentsSlotComplete(ctx context.Context, resour return } -// ListDomainOwnershipIdentifiers description for Lists ownership identifiers for domain associated with web app. +// ListDomainOwnershipIdentifiers lists ownership identifiers for domain associated with web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -21301,7 +21268,7 @@ func (client AppsClient) ListDomainOwnershipIdentifiersComplete(ctx context.Cont return } -// ListDomainOwnershipIdentifiersSlot description for Lists ownership identifiers for domain associated with web app. +// ListDomainOwnershipIdentifiersSlot lists ownership identifiers for domain associated with web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -21430,7 +21397,7 @@ func (client AppsClient) ListDomainOwnershipIdentifiersSlotComplete(ctx context. return } -// ListFunctionKeys description for Get function keys for a function in a web site, or a deployment slot. +// ListFunctionKeys get function keys for a function in a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -21516,7 +21483,7 @@ func (client AppsClient) ListFunctionKeysResponder(resp *http.Response) (result return } -// ListFunctionKeysSlot description for Get function keys for a function in a web site, or a deployment slot. +// ListFunctionKeysSlot get function keys for a function in a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -21604,7 +21571,7 @@ func (client AppsClient) ListFunctionKeysSlotResponder(resp *http.Response) (res return } -// ListFunctions description for List the functions for a web site, or a deployment slot. +// ListFunctions list the functions for a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -21730,7 +21697,7 @@ func (client AppsClient) ListFunctionsComplete(ctx context.Context, resourceGrou return } -// ListFunctionSecrets description for Get function secrets for a function in a web site, or a deployment slot. +// ListFunctionSecrets get function secrets for a function in a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -21816,7 +21783,7 @@ func (client AppsClient) ListFunctionSecretsResponder(resp *http.Response) (resu return } -// ListFunctionSecretsSlot description for Get function secrets for a function in a web site, or a deployment slot. +// ListFunctionSecretsSlot get function secrets for a function in a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -21904,7 +21871,7 @@ func (client AppsClient) ListFunctionSecretsSlotResponder(resp *http.Response) ( return } -// ListHostKeys description for Get host secrets for a function app. +// ListHostKeys get host secrets for a function app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -21988,7 +21955,7 @@ func (client AppsClient) ListHostKeysResponder(resp *http.Response) (result Host return } -// ListHostKeysSlot description for Get host secrets for a function app. +// ListHostKeysSlot get host secrets for a function app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -22074,7 +22041,7 @@ func (client AppsClient) ListHostKeysSlotResponder(resp *http.Response) (result return } -// ListHostNameBindings description for Get hostname bindings for an app or a deployment slot. +// ListHostNameBindings get hostname bindings for an app or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -22200,7 +22167,7 @@ func (client AppsClient) ListHostNameBindingsComplete(ctx context.Context, resou return } -// ListHostNameBindingsSlot description for Get hostname bindings for an app or a deployment slot. +// ListHostNameBindingsSlot get hostname bindings for an app or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -22329,7 +22296,7 @@ func (client AppsClient) ListHostNameBindingsSlotComplete(ctx context.Context, r return } -// ListHybridConnections description for Retrieves all Service Bus Hybrid Connections used by this Web App. +// ListHybridConnections retrieves all Service Bus Hybrid Connections used by this Web App. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -22413,7 +22380,7 @@ func (client AppsClient) ListHybridConnectionsResponder(resp *http.Response) (re return } -// ListHybridConnectionsSlot description for Retrieves all Service Bus Hybrid Connections used by this Web App. +// ListHybridConnectionsSlot retrieves all Service Bus Hybrid Connections used by this Web App. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -22499,7 +22466,7 @@ func (client AppsClient) ListHybridConnectionsSlotResponder(resp *http.Response) return } -// ListInstanceFunctionsSlot description for List the functions for a web site, or a deployment slot. +// ListInstanceFunctionsSlot list the functions for a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -22627,7 +22594,7 @@ func (client AppsClient) ListInstanceFunctionsSlotComplete(ctx context.Context, return } -// ListInstanceIdentifiers description for Gets all scale-out instances of an app. +// ListInstanceIdentifiers gets all scale-out instances of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -22753,7 +22720,7 @@ func (client AppsClient) ListInstanceIdentifiersComplete(ctx context.Context, re return } -// ListInstanceIdentifiersSlot description for Gets all scale-out instances of an app. +// ListInstanceIdentifiersSlot gets all scale-out instances of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -22881,8 +22848,8 @@ func (client AppsClient) ListInstanceIdentifiersSlotComplete(ctx context.Context return } -// ListInstanceProcesses description for Get list of processes for a web site, or a deployment slot, or for a specific -// scaled-out instance in a web site. +// ListInstanceProcesses get list of processes for a web site, or a deployment slot, or for a specific scaled-out +// instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -23011,8 +22978,8 @@ func (client AppsClient) ListInstanceProcessesComplete(ctx context.Context, reso return } -// ListInstanceProcessesSlot description for Get list of processes for a web site, or a deployment slot, or for a -// specific scaled-out instance in a web site. +// ListInstanceProcessesSlot get list of processes for a web site, or a deployment slot, or for a specific scaled-out +// instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -23144,8 +23111,8 @@ func (client AppsClient) ListInstanceProcessesSlotComplete(ctx context.Context, return } -// ListInstanceProcessModules description for List module information for a process by its ID for a specific scaled-out -// instance in a web site. +// ListInstanceProcessModules list module information for a process by its ID for a specific scaled-out instance in a +// web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -23276,8 +23243,8 @@ func (client AppsClient) ListInstanceProcessModulesComplete(ctx context.Context, return } -// ListInstanceProcessModulesSlot description for List module information for a process by its ID for a specific -// scaled-out instance in a web site. +// ListInstanceProcessModulesSlot list module information for a process by its ID for a specific scaled-out instance in +// a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -23411,8 +23378,7 @@ func (client AppsClient) ListInstanceProcessModulesSlotComplete(ctx context.Cont return } -// ListInstanceProcessThreads description for List the threads in a process by its ID for a specific scaled-out -// instance in a web site. +// ListInstanceProcessThreads list the threads in a process by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -23543,8 +23509,8 @@ func (client AppsClient) ListInstanceProcessThreadsComplete(ctx context.Context, return } -// ListInstanceProcessThreadsSlot description for List the threads in a process by its ID for a specific scaled-out -// instance in a web site. +// ListInstanceProcessThreadsSlot list the threads in a process by its ID for a specific scaled-out instance in a web +// site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -23678,7 +23644,7 @@ func (client AppsClient) ListInstanceProcessThreadsSlotComplete(ctx context.Cont return } -// ListMetadata description for Gets the metadata of an app. +// ListMetadata gets the metadata of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -23762,7 +23728,7 @@ func (client AppsClient) ListMetadataResponder(resp *http.Response) (result Stri return } -// ListMetadataSlot description for Gets the metadata of an app. +// ListMetadataSlot gets the metadata of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -23849,7 +23815,7 @@ func (client AppsClient) ListMetadataSlotResponder(resp *http.Response) (result return } -// ListNetworkFeatures description for Gets all network features used by the app (or deployment slot, if specified). +// ListNetworkFeatures gets all network features used by the app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -23935,8 +23901,7 @@ func (client AppsClient) ListNetworkFeaturesResponder(resp *http.Response) (resu return } -// ListNetworkFeaturesSlot description for Gets all network features used by the app (or deployment slot, if -// specified). +// ListNetworkFeaturesSlot gets all network features used by the app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -24025,7 +23990,7 @@ func (client AppsClient) ListNetworkFeaturesSlotResponder(resp *http.Response) ( return } -// ListPerfMonCounters description for Gets perfmon counters for web app. +// ListPerfMonCounters gets perfmon counters for web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -24157,7 +24122,7 @@ func (client AppsClient) ListPerfMonCountersComplete(ctx context.Context, resour return } -// ListPerfMonCountersSlot description for Gets perfmon counters for web app. +// ListPerfMonCountersSlot gets perfmon counters for web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -24291,7 +24256,7 @@ func (client AppsClient) ListPerfMonCountersSlotComplete(ctx context.Context, re return } -// ListPremierAddOns description for Gets the premier add-ons of an app. +// ListPremierAddOns gets the premier add-ons of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -24375,7 +24340,7 @@ func (client AppsClient) ListPremierAddOnsResponder(resp *http.Response) (result return } -// ListPremierAddOnsSlot description for Gets the premier add-ons of an app. +// ListPremierAddOnsSlot gets the premier add-ons of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -24462,8 +24427,8 @@ func (client AppsClient) ListPremierAddOnsSlotResponder(resp *http.Response) (re return } -// ListProcesses description for Get list of processes for a web site, or a deployment slot, or for a specific -// scaled-out instance in a web site. +// ListProcesses get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a +// web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -24589,8 +24554,8 @@ func (client AppsClient) ListProcessesComplete(ctx context.Context, resourceGrou return } -// ListProcessesSlot description for Get list of processes for a web site, or a deployment slot, or for a specific -// scaled-out instance in a web site. +// ListProcessesSlot get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance +// in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -24719,8 +24684,7 @@ func (client AppsClient) ListProcessesSlotComplete(ctx context.Context, resource return } -// ListProcessModules description for List module information for a process by its ID for a specific scaled-out -// instance in a web site. +// ListProcessModules list module information for a process by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -24848,8 +24812,8 @@ func (client AppsClient) ListProcessModulesComplete(ctx context.Context, resourc return } -// ListProcessModulesSlot description for List module information for a process by its ID for a specific scaled-out -// instance in a web site. +// ListProcessModulesSlot list module information for a process by its ID for a specific scaled-out instance in a web +// site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -24980,8 +24944,7 @@ func (client AppsClient) ListProcessModulesSlotComplete(ctx context.Context, res return } -// ListProcessThreads description for List the threads in a process by its ID for a specific scaled-out instance in a -// web site. +// ListProcessThreads list the threads in a process by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -25109,8 +25072,7 @@ func (client AppsClient) ListProcessThreadsComplete(ctx context.Context, resourc return } -// ListProcessThreadsSlot description for List the threads in a process by its ID for a specific scaled-out instance in -// a web site. +// ListProcessThreadsSlot list the threads in a process by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -25241,7 +25203,7 @@ func (client AppsClient) ListProcessThreadsSlotComplete(ctx context.Context, res return } -// ListPublicCertificates description for Get public certificates for an app or a deployment slot. +// ListPublicCertificates get public certificates for an app or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -25367,7 +25329,7 @@ func (client AppsClient) ListPublicCertificatesComplete(ctx context.Context, res return } -// ListPublicCertificatesSlot description for Get public certificates for an app or a deployment slot. +// ListPublicCertificatesSlot get public certificates for an app or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -25496,7 +25458,7 @@ func (client AppsClient) ListPublicCertificatesSlotComplete(ctx context.Context, return } -// ListPublishingCredentials description for Gets the Git/FTP publishing credentials of an app. +// ListPublishingCredentials gets the Git/FTP publishing credentials of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -25583,7 +25545,7 @@ func (client AppsClient) ListPublishingCredentialsResponder(resp *http.Response) return } -// ListPublishingCredentialsSlot description for Gets the Git/FTP publishing credentials of an app. +// ListPublishingCredentialsSlot gets the Git/FTP publishing credentials of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -25673,8 +25635,7 @@ func (client AppsClient) ListPublishingCredentialsSlotResponder(resp *http.Respo return } -// ListPublishingProfileXMLWithSecrets description for Gets the publishing profile for an app (or deployment slot, if -// specified). +// ListPublishingProfileXMLWithSecrets gets the publishing profile for an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -25761,8 +25722,7 @@ func (client AppsClient) ListPublishingProfileXMLWithSecretsResponder(resp *http return } -// ListPublishingProfileXMLWithSecretsSlot description for Gets the publishing profile for an app (or deployment slot, -// if specified). +// ListPublishingProfileXMLWithSecretsSlot gets the publishing profile for an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -25852,8 +25812,7 @@ func (client AppsClient) ListPublishingProfileXMLWithSecretsSlotResponder(resp * return } -// ListRelayServiceConnections description for Gets hybrid connections configured for an app (or deployment slot, if -// specified). +// ListRelayServiceConnections gets hybrid connections configured for an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -25937,8 +25896,7 @@ func (client AppsClient) ListRelayServiceConnectionsResponder(resp *http.Respons return } -// ListRelayServiceConnectionsSlot description for Gets hybrid connections configured for an app (or deployment slot, -// if specified). +// ListRelayServiceConnectionsSlot gets hybrid connections configured for an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -26025,7 +25983,7 @@ func (client AppsClient) ListRelayServiceConnectionsSlotResponder(resp *http.Res return } -// ListSiteBackups description for Gets existing backups of an app. +// ListSiteBackups gets existing backups of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -26151,7 +26109,7 @@ func (client AppsClient) ListSiteBackupsComplete(ctx context.Context, resourceGr return } -// ListSiteBackupsSlot description for Gets existing backups of an app. +// ListSiteBackupsSlot gets existing backups of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -26280,7 +26238,7 @@ func (client AppsClient) ListSiteBackupsSlotComplete(ctx context.Context, resour return } -// ListSiteExtensions description for Get list of siteextensions for a web site, or a deployment slot. +// ListSiteExtensions get list of siteextensions for a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -26406,7 +26364,7 @@ func (client AppsClient) ListSiteExtensionsComplete(ctx context.Context, resourc return } -// ListSiteExtensionsSlot description for Get list of siteextensions for a web site, or a deployment slot. +// ListSiteExtensionsSlot get list of siteextensions for a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -26534,7 +26492,7 @@ func (client AppsClient) ListSiteExtensionsSlotComplete(ctx context.Context, res return } -// ListSitePushSettings description for Gets the Push settings associated with web app. +// ListSitePushSettings gets the Push settings associated with web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -26618,7 +26576,7 @@ func (client AppsClient) ListSitePushSettingsResponder(resp *http.Response) (res return } -// ListSitePushSettingsSlot description for Gets the Push settings associated with web app. +// ListSitePushSettingsSlot gets the Push settings associated with web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -26704,8 +26662,8 @@ func (client AppsClient) ListSitePushSettingsSlotResponder(resp *http.Response) return } -// ListSlotConfigurationNames description for Gets the names of app settings and connection strings that stick to the -// slot (not swapped). +// ListSlotConfigurationNames gets the names of app settings and connection strings that stick to the slot (not +// swapped). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -26789,8 +26747,7 @@ func (client AppsClient) ListSlotConfigurationNamesResponder(resp *http.Response return } -// ListSlotDifferencesFromProduction description for Get the difference in configuration settings between two web app -// slots. +// ListSlotDifferencesFromProduction get the difference in configuration settings between two web app slots. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -26922,7 +26879,7 @@ func (client AppsClient) ListSlotDifferencesFromProductionComplete(ctx context.C return } -// ListSlotDifferencesSlot description for Get the difference in configuration settings between two web app slots. +// ListSlotDifferencesSlot get the difference in configuration settings between two web app slots. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -27056,7 +27013,7 @@ func (client AppsClient) ListSlotDifferencesSlotComplete(ctx context.Context, re return } -// ListSlots description for Gets an app's deployment slots. +// ListSlots gets an app's deployment slots. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -27182,7 +27139,7 @@ func (client AppsClient) ListSlotsComplete(ctx context.Context, resourceGroupNam return } -// ListSnapshots description for Returns all Snapshots to the user. +// ListSnapshots returns all Snapshots to the user. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - website Name. @@ -27308,7 +27265,7 @@ func (client AppsClient) ListSnapshotsComplete(ctx context.Context, resourceGrou return } -// ListSnapshotsFromDRSecondary description for Returns all Snapshots to the user from DRSecondary endpoint. +// ListSnapshotsFromDRSecondary returns all Snapshots to the user from DRSecondary endpoint. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - website Name. @@ -27434,7 +27391,7 @@ func (client AppsClient) ListSnapshotsFromDRSecondaryComplete(ctx context.Contex return } -// ListSnapshotsFromDRSecondarySlot description for Returns all Snapshots to the user from DRSecondary endpoint. +// ListSnapshotsFromDRSecondarySlot returns all Snapshots to the user from DRSecondary endpoint. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - website Name. @@ -27562,7 +27519,7 @@ func (client AppsClient) ListSnapshotsFromDRSecondarySlotComplete(ctx context.Co return } -// ListSnapshotsSlot description for Returns all Snapshots to the user. +// ListSnapshotsSlot returns all Snapshots to the user. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - website Name. @@ -27690,7 +27647,7 @@ func (client AppsClient) ListSnapshotsSlotComplete(ctx context.Context, resource return } -// ListSyncFunctionTriggers description for This is to allow calling via powershell and ARM template. +// ListSyncFunctionTriggers this is to allow calling via powershell and ARM template. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -27774,7 +27731,7 @@ func (client AppsClient) ListSyncFunctionTriggersResponder(resp *http.Response) return } -// ListSyncFunctionTriggersSlot description for This is to allow calling via powershell and ARM template. +// ListSyncFunctionTriggersSlot this is to allow calling via powershell and ARM template. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -27860,7 +27817,7 @@ func (client AppsClient) ListSyncFunctionTriggersSlotResponder(resp *http.Respon return } -// ListSyncStatus description for This is to allow calling via powershell and ARM template. +// ListSyncStatus this is to allow calling via powershell and ARM template. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -27943,7 +27900,7 @@ func (client AppsClient) ListSyncStatusResponder(resp *http.Response) (result au return } -// ListSyncStatusSlot description for This is to allow calling via powershell and ARM template. +// ListSyncStatusSlot this is to allow calling via powershell and ARM template. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -28028,7 +27985,7 @@ func (client AppsClient) ListSyncStatusSlotResponder(resp *http.Response) (resul return } -// ListTriggeredWebJobHistory description for List a triggered web job's history for an app, or a deployment slot. +// ListTriggeredWebJobHistory list a triggered web job's history for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -28156,7 +28113,7 @@ func (client AppsClient) ListTriggeredWebJobHistoryComplete(ctx context.Context, return } -// ListTriggeredWebJobHistorySlot description for List a triggered web job's history for an app, or a deployment slot. +// ListTriggeredWebJobHistorySlot list a triggered web job's history for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -28286,7 +28243,7 @@ func (client AppsClient) ListTriggeredWebJobHistorySlotComplete(ctx context.Cont return } -// ListTriggeredWebJobs description for List triggered web jobs for an app, or a deployment slot. +// ListTriggeredWebJobs list triggered web jobs for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -28412,7 +28369,7 @@ func (client AppsClient) ListTriggeredWebJobsComplete(ctx context.Context, resou return } -// ListTriggeredWebJobsSlot description for List triggered web jobs for an app, or a deployment slot. +// ListTriggeredWebJobsSlot list triggered web jobs for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -28541,7 +28498,7 @@ func (client AppsClient) ListTriggeredWebJobsSlotComplete(ctx context.Context, r return } -// ListUsages description for Gets the quota usage information of an app (or deployment slot, if specified). +// ListUsages gets the quota usage information of an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -28673,7 +28630,7 @@ func (client AppsClient) ListUsagesComplete(ctx context.Context, resourceGroupNa return } -// ListUsagesSlot description for Gets the quota usage information of an app (or deployment slot, if specified). +// ListUsagesSlot gets the quota usage information of an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -28808,7 +28765,7 @@ func (client AppsClient) ListUsagesSlotComplete(ctx context.Context, resourceGro return } -// ListVnetConnections description for Gets the virtual networks the app (or deployment slot) is connected to. +// ListVnetConnections gets the virtual networks the app (or deployment slot) is connected to. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -28892,7 +28849,7 @@ func (client AppsClient) ListVnetConnectionsResponder(resp *http.Response) (resu return } -// ListVnetConnectionsSlot description for Gets the virtual networks the app (or deployment slot) is connected to. +// ListVnetConnectionsSlot gets the virtual networks the app (or deployment slot) is connected to. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -28979,7 +28936,7 @@ func (client AppsClient) ListVnetConnectionsSlotResponder(resp *http.Response) ( return } -// ListWebJobs description for List webjobs for an app, or a deployment slot. +// ListWebJobs list webjobs for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -29105,7 +29062,7 @@ func (client AppsClient) ListWebJobsComplete(ctx context.Context, resourceGroupN return } -// ListWebJobsSlot description for List webjobs for an app, or a deployment slot. +// ListWebJobsSlot list webjobs for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -29234,7 +29191,7 @@ func (client AppsClient) ListWebJobsSlotComplete(ctx context.Context, resourceGr return } -// MigrateMySQL description for Migrates a local (in-app) MySql database to a remote MySql database. +// MigrateMySQL migrates a local (in-app) MySql database to a remote MySql database. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -29327,7 +29284,7 @@ func (client AppsClient) MigrateMySQLResponder(resp *http.Response) (result Oper return } -// MigrateStorage description for Restores a web app. +// MigrateStorage restores a web app. // Parameters: // subscriptionName - azure subscription. // resourceGroupName - name of the resource group to which the resource belongs. @@ -29424,8 +29381,8 @@ func (client AppsClient) MigrateStorageResponder(resp *http.Response) (result St return } -// PutPrivateAccessVnet description for Sets data around private site access enablement and authorized Virtual Networks -// that can access the site. +// PutPrivateAccessVnet sets data around private site access enablement and authorized Virtual Networks that can access +// the site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -29512,8 +29469,8 @@ func (client AppsClient) PutPrivateAccessVnetResponder(resp *http.Response) (res return } -// PutPrivateAccessVnetSlot description for Sets data around private site access enablement and authorized Virtual -// Networks that can access the site. +// PutPrivateAccessVnetSlot sets data around private site access enablement and authorized Virtual Networks that can +// access the site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -29602,7 +29559,7 @@ func (client AppsClient) PutPrivateAccessVnetSlotResponder(resp *http.Response) return } -// RecoverSiteConfigurationSnapshot description for Reverts the configuration of an app to a previous snapshot. +// RecoverSiteConfigurationSnapshot reverts the configuration of an app to a previous snapshot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -29687,7 +29644,7 @@ func (client AppsClient) RecoverSiteConfigurationSnapshotResponder(resp *http.Re return } -// RecoverSiteConfigurationSnapshotSlot description for Reverts the configuration of an app to a previous snapshot. +// RecoverSiteConfigurationSnapshotSlot reverts the configuration of an app to a previous snapshot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -29775,8 +29732,8 @@ func (client AppsClient) RecoverSiteConfigurationSnapshotSlotResponder(resp *htt return } -// ResetProductionSlotConfig description for Resets the configuration settings of the current slot if they were -// previously modified by calling the API with POST. +// ResetProductionSlotConfig resets the configuration settings of the current slot if they were previously modified by +// calling the API with POST. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -29859,8 +29816,8 @@ func (client AppsClient) ResetProductionSlotConfigResponder(resp *http.Response) return } -// ResetSlotConfigurationSlot description for Resets the configuration settings of the current slot if they were -// previously modified by calling the API with POST. +// ResetSlotConfigurationSlot resets the configuration settings of the current slot if they were previously modified by +// calling the API with POST. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -29946,7 +29903,7 @@ func (client AppsClient) ResetSlotConfigurationSlotResponder(resp *http.Response return } -// Restart description for Restarts an app (or deployment slot, if specified). +// Restart restarts an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -30039,7 +29996,7 @@ func (client AppsClient) RestartResponder(resp *http.Response) (result autorest. return } -// RestartSlot description for Restarts an app (or deployment slot, if specified). +// RestartSlot restarts an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -30134,7 +30091,7 @@ func (client AppsClient) RestartSlotResponder(resp *http.Response) (result autor return } -// Restore description for Restores a specific backup to another app (or deployment slot, if specified). +// Restore restores a specific backup to another app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -30230,7 +30187,7 @@ func (client AppsClient) RestoreResponder(resp *http.Response) (result autorest. return } -// RestoreFromBackupBlob description for Restores an app from a backup blob in Azure Storage. +// RestoreFromBackupBlob restores an app from a backup blob in Azure Storage. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -30324,7 +30281,7 @@ func (client AppsClient) RestoreFromBackupBlobResponder(resp *http.Response) (re return } -// RestoreFromBackupBlobSlot description for Restores an app from a backup blob in Azure Storage. +// RestoreFromBackupBlobSlot restores an app from a backup blob in Azure Storage. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -30421,7 +30378,7 @@ func (client AppsClient) RestoreFromBackupBlobSlotResponder(resp *http.Response) return } -// RestoreFromDeletedApp description for Restores a deleted web app to this web app. +// RestoreFromDeletedApp restores a deleted web app to this web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -30510,7 +30467,7 @@ func (client AppsClient) RestoreFromDeletedAppResponder(resp *http.Response) (re return } -// RestoreFromDeletedAppSlot description for Restores a deleted web app to this web app. +// RestoreFromDeletedAppSlot restores a deleted web app to this web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -30601,7 +30558,7 @@ func (client AppsClient) RestoreFromDeletedAppSlotResponder(resp *http.Response) return } -// RestoreSlot description for Restores a specific backup to another app (or deployment slot, if specified). +// RestoreSlot restores a specific backup to another app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -30700,7 +30657,7 @@ func (client AppsClient) RestoreSlotResponder(resp *http.Response) (result autor return } -// RestoreSnapshot description for Restores a web app from a snapshot. +// RestoreSnapshot restores a web app from a snapshot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -30793,7 +30750,7 @@ func (client AppsClient) RestoreSnapshotResponder(resp *http.Response) (result a return } -// RestoreSnapshotSlot description for Restores a web app from a snapshot. +// RestoreSnapshotSlot restores a web app from a snapshot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -30888,7 +30845,7 @@ func (client AppsClient) RestoreSnapshotSlotResponder(resp *http.Response) (resu return } -// RunTriggeredWebJob description for Run a triggered web job for an app, or a deployment slot. +// RunTriggeredWebJob run a triggered web job for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -30973,7 +30930,7 @@ func (client AppsClient) RunTriggeredWebJobResponder(resp *http.Response) (resul return } -// RunTriggeredWebJobSlot description for Run a triggered web job for an app, or a deployment slot. +// RunTriggeredWebJobSlot run a triggered web job for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -31060,7 +31017,7 @@ func (client AppsClient) RunTriggeredWebJobSlotResponder(resp *http.Response) (r return } -// Start description for Starts an app (or deployment slot, if specified). +// Start starts an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -31143,7 +31100,7 @@ func (client AppsClient) StartResponder(resp *http.Response) (result autorest.Re return } -// StartContinuousWebJob description for Start a continuous web job for an app, or a deployment slot. +// StartContinuousWebJob start a continuous web job for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -31228,7 +31185,7 @@ func (client AppsClient) StartContinuousWebJobResponder(resp *http.Response) (re return } -// StartContinuousWebJobSlot description for Start a continuous web job for an app, or a deployment slot. +// StartContinuousWebJobSlot start a continuous web job for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -31316,7 +31273,7 @@ func (client AppsClient) StartContinuousWebJobSlotResponder(resp *http.Response) return } -// StartNetworkTrace description for Start capturing network packets for the site. +// StartNetworkTrace start capturing network packets for the site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -31415,7 +31372,7 @@ func (client AppsClient) StartNetworkTraceResponder(resp *http.Response) (result return } -// StartNetworkTraceSlot description for Start capturing network packets for the site. +// StartNetworkTraceSlot start capturing network packets for the site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -31516,7 +31473,7 @@ func (client AppsClient) StartNetworkTraceSlotResponder(resp *http.Response) (re return } -// StartSlot description for Starts an app (or deployment slot, if specified). +// StartSlot starts an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -31601,7 +31558,7 @@ func (client AppsClient) StartSlotResponder(resp *http.Response) (result autores return } -// StartWebSiteNetworkTrace description for Start capturing network packets for the site (To be deprecated). +// StartWebSiteNetworkTrace start capturing network packets for the site (To be deprecated). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -31697,7 +31654,7 @@ func (client AppsClient) StartWebSiteNetworkTraceResponder(resp *http.Response) return } -// StartWebSiteNetworkTraceOperation description for Start capturing network packets for the site. +// StartWebSiteNetworkTraceOperation start capturing network packets for the site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -31796,7 +31753,7 @@ func (client AppsClient) StartWebSiteNetworkTraceOperationResponder(resp *http.R return } -// StartWebSiteNetworkTraceOperationSlot description for Start capturing network packets for the site. +// StartWebSiteNetworkTraceOperationSlot start capturing network packets for the site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -31897,7 +31854,7 @@ func (client AppsClient) StartWebSiteNetworkTraceOperationSlotResponder(resp *ht return } -// StartWebSiteNetworkTraceSlot description for Start capturing network packets for the site (To be deprecated). +// StartWebSiteNetworkTraceSlot start capturing network packets for the site (To be deprecated). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -31995,7 +31952,7 @@ func (client AppsClient) StartWebSiteNetworkTraceSlotResponder(resp *http.Respon return } -// Stop description for Stops an app (or deployment slot, if specified). +// Stop stops an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -32078,7 +32035,7 @@ func (client AppsClient) StopResponder(resp *http.Response) (result autorest.Res return } -// StopContinuousWebJob description for Stop a continuous web job for an app, or a deployment slot. +// StopContinuousWebJob stop a continuous web job for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -32163,7 +32120,7 @@ func (client AppsClient) StopContinuousWebJobResponder(resp *http.Response) (res return } -// StopContinuousWebJobSlot description for Stop a continuous web job for an app, or a deployment slot. +// StopContinuousWebJobSlot stop a continuous web job for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -32251,7 +32208,7 @@ func (client AppsClient) StopContinuousWebJobSlotResponder(resp *http.Response) return } -// StopNetworkTrace description for Stop ongoing capturing network packets for the site. +// StopNetworkTrace stop ongoing capturing network packets for the site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -32334,7 +32291,7 @@ func (client AppsClient) StopNetworkTraceResponder(resp *http.Response) (result return } -// StopNetworkTraceSlot description for Stop ongoing capturing network packets for the site. +// StopNetworkTraceSlot stop ongoing capturing network packets for the site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -32419,7 +32376,7 @@ func (client AppsClient) StopNetworkTraceSlotResponder(resp *http.Response) (res return } -// StopSlot description for Stops an app (or deployment slot, if specified). +// StopSlot stops an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -32504,7 +32461,7 @@ func (client AppsClient) StopSlotResponder(resp *http.Response) (result autorest return } -// StopWebSiteNetworkTrace description for Stop ongoing capturing network packets for the site. +// StopWebSiteNetworkTrace stop ongoing capturing network packets for the site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -32587,7 +32544,7 @@ func (client AppsClient) StopWebSiteNetworkTraceResponder(resp *http.Response) ( return } -// StopWebSiteNetworkTraceSlot description for Stop ongoing capturing network packets for the site. +// StopWebSiteNetworkTraceSlot stop ongoing capturing network packets for the site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -32672,7 +32629,7 @@ func (client AppsClient) StopWebSiteNetworkTraceSlotResponder(resp *http.Respons return } -// SwapSlotSlot description for Swaps two deployment slots of an app. +// SwapSlotSlot swaps two deployment slots of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -32766,7 +32723,7 @@ func (client AppsClient) SwapSlotSlotResponder(resp *http.Response) (result auto return } -// SwapSlotWithProduction description for Swaps two deployment slots of an app. +// SwapSlotWithProduction swaps two deployment slots of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -32858,7 +32815,7 @@ func (client AppsClient) SwapSlotWithProductionResponder(resp *http.Response) (r return } -// SyncFunctions description for Syncs function trigger metadata to the management database +// SyncFunctions syncs function trigger metadata to the management database // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -32941,7 +32898,7 @@ func (client AppsClient) SyncFunctionsResponder(resp *http.Response) (result aut return } -// SyncFunctionsSlot description for Syncs function trigger metadata to the management database +// SyncFunctionsSlot syncs function trigger metadata to the management database // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -33026,7 +32983,7 @@ func (client AppsClient) SyncFunctionsSlotResponder(resp *http.Response) (result return } -// SyncFunctionTriggers description for Syncs function trigger metadata to the management database +// SyncFunctionTriggers syncs function trigger metadata to the management database // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -33109,7 +33066,7 @@ func (client AppsClient) SyncFunctionTriggersResponder(resp *http.Response) (res return } -// SyncFunctionTriggersSlot description for Syncs function trigger metadata to the management database +// SyncFunctionTriggersSlot syncs function trigger metadata to the management database // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -33194,7 +33151,7 @@ func (client AppsClient) SyncFunctionTriggersSlotResponder(resp *http.Response) return } -// SyncRepository description for Sync web app repository. +// SyncRepository sync web app repository. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -33277,7 +33234,7 @@ func (client AppsClient) SyncRepositoryResponder(resp *http.Response) (result au return } -// SyncRepositorySlot description for Sync web app repository. +// SyncRepositorySlot sync web app repository. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -33362,8 +33319,7 @@ func (client AppsClient) SyncRepositorySlotResponder(resp *http.Response) (resul return } -// Update description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing -// app. +// Update creates a new web, mobile, or API app in an existing resource group, or updates an existing app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - unique name of the app to create or update. To create or update a deployment slot, use the {slot} @@ -33451,7 +33407,7 @@ func (client AppsClient) UpdateResponder(resp *http.Response) (result Site, err return } -// UpdateApplicationSettings description for Replaces the application settings of an app. +// UpdateApplicationSettings replaces the application settings of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -33538,7 +33494,7 @@ func (client AppsClient) UpdateApplicationSettingsResponder(resp *http.Response) return } -// UpdateApplicationSettingsSlot description for Replaces the application settings of an app. +// UpdateApplicationSettingsSlot replaces the application settings of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -33628,7 +33584,7 @@ func (client AppsClient) UpdateApplicationSettingsSlotResponder(resp *http.Respo return } -// UpdateAuthSettings description for Updates the Authentication / Authorization settings associated with web app. +// UpdateAuthSettings updates the Authentication / Authorization settings associated with web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -33715,7 +33671,7 @@ func (client AppsClient) UpdateAuthSettingsResponder(resp *http.Response) (resul return } -// UpdateAuthSettingsSlot description for Updates the Authentication / Authorization settings associated with web app. +// UpdateAuthSettingsSlot updates the Authentication / Authorization settings associated with web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -33804,8 +33760,7 @@ func (client AppsClient) UpdateAuthSettingsSlotResponder(resp *http.Response) (r return } -// UpdateAuthSettingsV2 description for Updates site's Authentication / Authorization settings for apps via the V2 -// format +// UpdateAuthSettingsV2 updates site's Authentication / Authorization settings for apps via the V2 format // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -33892,8 +33847,7 @@ func (client AppsClient) UpdateAuthSettingsV2Responder(resp *http.Response) (res return } -// UpdateAuthSettingsV2Slot description for Updates site's Authentication / Authorization settings for apps via the V2 -// format +// UpdateAuthSettingsV2Slot updates site's Authentication / Authorization settings for apps via the V2 format // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -33982,7 +33936,7 @@ func (client AppsClient) UpdateAuthSettingsV2SlotResponder(resp *http.Response) return } -// UpdateAzureStorageAccounts description for Updates the Azure storage account configurations of an app. +// UpdateAzureStorageAccounts updates the Azure storage account configurations of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -34069,7 +34023,7 @@ func (client AppsClient) UpdateAzureStorageAccountsResponder(resp *http.Response return } -// UpdateAzureStorageAccountsSlot description for Updates the Azure storage account configurations of an app. +// UpdateAzureStorageAccountsSlot updates the Azure storage account configurations of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -34159,7 +34113,7 @@ func (client AppsClient) UpdateAzureStorageAccountsSlotResponder(resp *http.Resp return } -// UpdateBackupConfiguration description for Updates the backup configuration of an app. +// UpdateBackupConfiguration updates the backup configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -34255,7 +34209,7 @@ func (client AppsClient) UpdateBackupConfigurationResponder(resp *http.Response) return } -// UpdateBackupConfigurationSlot description for Updates the backup configuration of an app. +// UpdateBackupConfigurationSlot updates the backup configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -34354,7 +34308,7 @@ func (client AppsClient) UpdateBackupConfigurationSlotResponder(resp *http.Respo return } -// UpdateConfiguration description for Updates the configuration of an app. +// UpdateConfiguration updates the configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -34441,7 +34395,7 @@ func (client AppsClient) UpdateConfigurationResponder(resp *http.Response) (resu return } -// UpdateConfigurationSlot description for Updates the configuration of an app. +// UpdateConfigurationSlot updates the configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -34531,7 +34485,7 @@ func (client AppsClient) UpdateConfigurationSlotResponder(resp *http.Response) ( return } -// UpdateConnectionStrings description for Replaces the connection strings of an app. +// UpdateConnectionStrings replaces the connection strings of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -34618,7 +34572,7 @@ func (client AppsClient) UpdateConnectionStringsResponder(resp *http.Response) ( return } -// UpdateConnectionStringsSlot description for Replaces the connection strings of an app. +// UpdateConnectionStringsSlot replaces the connection strings of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -34708,7 +34662,7 @@ func (client AppsClient) UpdateConnectionStringsSlotResponder(resp *http.Respons return } -// UpdateDiagnosticLogsConfig description for Updates the logging configuration of an app. +// UpdateDiagnosticLogsConfig updates the logging configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -34811,7 +34765,7 @@ func (client AppsClient) UpdateDiagnosticLogsConfigResponder(resp *http.Response return } -// UpdateDiagnosticLogsConfigSlot description for Updates the logging configuration of an app. +// UpdateDiagnosticLogsConfigSlot updates the logging configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -34917,8 +34871,8 @@ func (client AppsClient) UpdateDiagnosticLogsConfigSlotResponder(resp *http.Resp return } -// UpdateDomainOwnershipIdentifier description for Creates a domain ownership identifier for web app, or updates an -// existing ownership identifier. +// UpdateDomainOwnershipIdentifier creates a domain ownership identifier for web app, or updates an existing ownership +// identifier. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -35007,8 +34961,8 @@ func (client AppsClient) UpdateDomainOwnershipIdentifierResponder(resp *http.Res return } -// UpdateDomainOwnershipIdentifierSlot description for Creates a domain ownership identifier for web app, or updates an -// existing ownership identifier. +// UpdateDomainOwnershipIdentifierSlot creates a domain ownership identifier for web app, or updates an existing +// ownership identifier. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -35100,7 +35054,7 @@ func (client AppsClient) UpdateDomainOwnershipIdentifierSlotResponder(resp *http return } -// UpdateFtpAllowed description for Updates whether FTP is allowed on the site or not. +// UpdateFtpAllowed updates whether FTP is allowed on the site or not. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -35189,7 +35143,7 @@ func (client AppsClient) UpdateFtpAllowedResponder(resp *http.Response) (result return } -// UpdateFtpAllowedSlot description for Updates whether FTP is allowed on the site or not. +// UpdateFtpAllowedSlot updates whether FTP is allowed on the site or not. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -35279,7 +35233,7 @@ func (client AppsClient) UpdateFtpAllowedSlotResponder(resp *http.Response) (res return } -// UpdateHybridConnection description for Creates a new Hybrid Connection using a Service Bus relay. +// UpdateHybridConnection creates a new Hybrid Connection using a Service Bus relay. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -35370,7 +35324,7 @@ func (client AppsClient) UpdateHybridConnectionResponder(resp *http.Response) (r return } -// UpdateHybridConnectionSlot description for Creates a new Hybrid Connection using a Service Bus relay. +// UpdateHybridConnectionSlot creates a new Hybrid Connection using a Service Bus relay. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -35463,7 +35417,7 @@ func (client AppsClient) UpdateHybridConnectionSlotResponder(resp *http.Response return } -// UpdateMetadata description for Replaces the metadata of an app. +// UpdateMetadata replaces the metadata of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -35550,7 +35504,7 @@ func (client AppsClient) UpdateMetadataResponder(resp *http.Response) (result St return } -// UpdateMetadataSlot description for Replaces the metadata of an app. +// UpdateMetadataSlot replaces the metadata of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -35640,7 +35594,7 @@ func (client AppsClient) UpdateMetadataSlotResponder(resp *http.Response) (resul return } -// UpdatePremierAddOn description for Updates a named add-on of an app. +// UpdatePremierAddOn updates a named add-on of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -35729,7 +35683,7 @@ func (client AppsClient) UpdatePremierAddOnResponder(resp *http.Response) (resul return } -// UpdatePremierAddOnSlot description for Updates a named add-on of an app. +// UpdatePremierAddOnSlot updates a named add-on of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -35821,8 +35775,8 @@ func (client AppsClient) UpdatePremierAddOnSlotResponder(resp *http.Response) (r return } -// UpdateRelayServiceConnection description for Creates a new hybrid connection configuration (PUT), or updates an -// existing one (PATCH). +// UpdateRelayServiceConnection creates a new hybrid connection configuration (PUT), or updates an existing one +// (PATCH). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -35911,8 +35865,8 @@ func (client AppsClient) UpdateRelayServiceConnectionResponder(resp *http.Respon return } -// UpdateRelayServiceConnectionSlot description for Creates a new hybrid connection configuration (PUT), or updates an -// existing one (PATCH). +// UpdateRelayServiceConnectionSlot creates a new hybrid connection configuration (PUT), or updates an existing one +// (PATCH). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -36004,7 +35958,7 @@ func (client AppsClient) UpdateRelayServiceConnectionSlotResponder(resp *http.Re return } -// UpdateScmAllowed description for Updates whether user publishing credentials are allowed on the site or not. +// UpdateScmAllowed updates whether user publishing credentials are allowed on the site or not. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -36093,7 +36047,7 @@ func (client AppsClient) UpdateScmAllowedResponder(resp *http.Response) (result return } -// UpdateScmAllowedSlot description for Updates whether user publishing credentials are allowed on the site or not. +// UpdateScmAllowedSlot updates whether user publishing credentials are allowed on the site or not. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -36183,7 +36137,7 @@ func (client AppsClient) UpdateScmAllowedSlotResponder(resp *http.Response) (res return } -// UpdateSitePushSettings description for Updates the Push settings associated with web app. +// UpdateSitePushSettings updates the Push settings associated with web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -36273,7 +36227,7 @@ func (client AppsClient) UpdateSitePushSettingsResponder(resp *http.Response) (r return } -// UpdateSitePushSettingsSlot description for Updates the Push settings associated with web app. +// UpdateSitePushSettingsSlot updates the Push settings associated with web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -36365,8 +36319,7 @@ func (client AppsClient) UpdateSitePushSettingsSlotResponder(resp *http.Response return } -// UpdateSlot description for Creates a new web, mobile, or API app in an existing resource group, or updates an -// existing app. +// UpdateSlot creates a new web, mobile, or API app in an existing resource group, or updates an existing app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - unique name of the app to create or update. To create or update a deployment slot, use the {slot} @@ -36457,8 +36410,8 @@ func (client AppsClient) UpdateSlotResponder(resp *http.Response) (result Site, return } -// UpdateSlotConfigurationNames description for Updates the names of application settings and connection string that -// remain with the slot during swap operation. +// UpdateSlotConfigurationNames updates the names of application settings and connection string that remain with the +// slot during swap operation. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -36545,7 +36498,7 @@ func (client AppsClient) UpdateSlotConfigurationNamesResponder(resp *http.Respon return } -// UpdateSourceControl description for Updates the source control configuration of an app. +// UpdateSourceControl updates the source control configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -36632,7 +36585,7 @@ func (client AppsClient) UpdateSourceControlResponder(resp *http.Response) (resu return } -// UpdateSourceControlSlot description for Updates the source control configuration of an app. +// UpdateSourceControlSlot updates the source control configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -36722,9 +36675,9 @@ func (client AppsClient) UpdateSourceControlSlotResponder(resp *http.Response) ( return } -// UpdateSwiftVirtualNetworkConnectionWithCheck description for Integrates this Web App with a Virtual Network. This -// requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has -// already been delegated, and is not +// UpdateSwiftVirtualNetworkConnectionWithCheck integrates this Web App with a Virtual Network. This requires that 1) +// "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been +// delegated, and is not // in use by another App Service Plan other than the one this App is in. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. @@ -36812,9 +36765,9 @@ func (client AppsClient) UpdateSwiftVirtualNetworkConnectionWithCheckResponder(r return } -// UpdateSwiftVirtualNetworkConnectionWithCheckSlot description for Integrates this Web App with a Virtual Network. -// This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet -// has already been delegated, and is not +// UpdateSwiftVirtualNetworkConnectionWithCheckSlot integrates this Web App with a Virtual Network. This requires that +// 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been +// delegated, and is not // in use by another App Service Plan other than the one this App is in. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. @@ -36905,8 +36858,8 @@ func (client AppsClient) UpdateSwiftVirtualNetworkConnectionWithCheckSlotRespond return } -// UpdateVnetConnection description for Adds a Virtual Network connection to an app or slot (PUT) or updates the -// connection properties (PATCH). +// UpdateVnetConnection adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties +// (PATCH). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -36995,8 +36948,7 @@ func (client AppsClient) UpdateVnetConnectionResponder(resp *http.Response) (res return } -// UpdateVnetConnectionGateway description for Adds a gateway to a connected Virtual Network (PUT) or updates it -// (PATCH). +// UpdateVnetConnectionGateway adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -37087,8 +37039,7 @@ func (client AppsClient) UpdateVnetConnectionGatewayResponder(resp *http.Respons return } -// UpdateVnetConnectionGatewaySlot description for Adds a gateway to a connected Virtual Network (PUT) or updates it -// (PATCH). +// UpdateVnetConnectionGatewaySlot adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -37182,8 +37133,8 @@ func (client AppsClient) UpdateVnetConnectionGatewaySlotResponder(resp *http.Res return } -// UpdateVnetConnectionSlot description for Adds a Virtual Network connection to an app or slot (PUT) or updates the -// connection properties (PATCH). +// UpdateVnetConnectionSlot adds a Virtual Network connection to an app or slot (PUT) or updates the connection +// properties (PATCH). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. diff --git a/services/web/mgmt/2021-02-01/web/appservicecertificateorders.go b/services/web/mgmt/2021-02-01/web/appservicecertificateorders.go index 7b2ac28ed241..cd377dec925d 100644 --- a/services/web/mgmt/2021-02-01/web/appservicecertificateorders.go +++ b/services/web/mgmt/2021-02-01/web/appservicecertificateorders.go @@ -32,7 +32,7 @@ func NewAppServiceCertificateOrdersClientWithBaseURI(baseURI string, subscriptio return AppServiceCertificateOrdersClient{NewWithBaseURI(baseURI, subscriptionID)} } -// CreateOrUpdate description for Create or update a certificate purchase order. +// CreateOrUpdate create or update a certificate purchase order. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -122,7 +122,7 @@ func (client AppServiceCertificateOrdersClient) CreateOrUpdateResponder(resp *ht return } -// CreateOrUpdateCertificate description for Creates or updates a certificate and associates with key vault secret. +// CreateOrUpdateCertificate creates or updates a certificate and associates with key vault secret. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -214,7 +214,7 @@ func (client AppServiceCertificateOrdersClient) CreateOrUpdateCertificateRespond return } -// Delete description for Delete an existing certificate order. +// Delete delete an existing certificate order. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -297,7 +297,7 @@ func (client AppServiceCertificateOrdersClient) DeleteResponder(resp *http.Respo return } -// DeleteCertificate description for Delete the certificate associated with a certificate order. +// DeleteCertificate delete the certificate associated with a certificate order. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -382,7 +382,7 @@ func (client AppServiceCertificateOrdersClient) DeleteCertificateResponder(resp return } -// Get description for Get a certificate order. +// Get get a certificate order. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order.. @@ -466,7 +466,7 @@ func (client AppServiceCertificateOrdersClient) GetResponder(resp *http.Response return } -// GetCertificate description for Get the certificate associated with a certificate order. +// GetCertificate get the certificate associated with a certificate order. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -552,7 +552,7 @@ func (client AppServiceCertificateOrdersClient) GetCertificateResponder(resp *ht return } -// List description for List all certificate orders in a subscription. +// List list all certificate orders in a subscription. func (client AppServiceCertificateOrdersClient) List(ctx context.Context) (result AppServiceCertificateOrderCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/AppServiceCertificateOrdersClient.List") @@ -665,7 +665,7 @@ func (client AppServiceCertificateOrdersClient) ListComplete(ctx context.Context return } -// ListByResourceGroup description for Get certificate orders in a resource group. +// ListByResourceGroup get certificate orders in a resource group. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. func (client AppServiceCertificateOrdersClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result AppServiceCertificateOrderCollectionPage, err error) { @@ -789,7 +789,7 @@ func (client AppServiceCertificateOrdersClient) ListByResourceGroupComplete(ctx return } -// ListCertificates description for List all certificates associated with a certificate order. +// ListCertificates list all certificates associated with a certificate order. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -915,7 +915,7 @@ func (client AppServiceCertificateOrdersClient) ListCertificatesComplete(ctx con return } -// Reissue description for Reissue an existing certificate order. +// Reissue reissue an existing certificate order. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -1001,7 +1001,7 @@ func (client AppServiceCertificateOrdersClient) ReissueResponder(resp *http.Resp return } -// Renew description for Renew an existing certificate order. +// Renew renew an existing certificate order. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -1087,7 +1087,7 @@ func (client AppServiceCertificateOrdersClient) RenewResponder(resp *http.Respon return } -// ResendEmail description for Resend certificate email. +// ResendEmail resend certificate email. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -1257,7 +1257,7 @@ func (client AppServiceCertificateOrdersClient) ResendRequestEmailsResponder(res return } -// RetrieveCertificateActions description for Retrieve the list of certificate actions. +// RetrieveCertificateActions retrieve the list of certificate actions. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the certificate order. @@ -1341,7 +1341,7 @@ func (client AppServiceCertificateOrdersClient) RetrieveCertificateActionsRespon return } -// RetrieveCertificateEmailHistory description for Retrieve email history. +// RetrieveCertificateEmailHistory retrieve email history. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the certificate order. @@ -1517,7 +1517,7 @@ func (client AppServiceCertificateOrdersClient) RetrieveSiteSealResponder(resp * return } -// Update description for Create or update a certificate purchase order. +// Update create or update a certificate purchase order. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -1604,7 +1604,7 @@ func (client AppServiceCertificateOrdersClient) UpdateResponder(resp *http.Respo return } -// UpdateCertificate description for Creates or updates a certificate and associates with key vault secret. +// UpdateCertificate creates or updates a certificate and associates with key vault secret. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -1693,7 +1693,7 @@ func (client AppServiceCertificateOrdersClient) UpdateCertificateResponder(resp return } -// ValidatePurchaseInformation description for Validate information for a certificate order. +// ValidatePurchaseInformation validate information for a certificate order. // Parameters: // appServiceCertificateOrder - information for a certificate order. func (client AppServiceCertificateOrdersClient) ValidatePurchaseInformation(ctx context.Context, appServiceCertificateOrder AppServiceCertificateOrder) (result autorest.Response, err error) { @@ -1767,7 +1767,7 @@ func (client AppServiceCertificateOrdersClient) ValidatePurchaseInformationRespo return } -// VerifyDomainOwnership description for Verify domain ownership for this certificate order. +// VerifyDomainOwnership verify domain ownership for this certificate order. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. diff --git a/services/web/mgmt/2021-02-01/web/appserviceenvironments.go b/services/web/mgmt/2021-02-01/web/appserviceenvironments.go index 8da92ac8f0fb..0725418499e3 100644 --- a/services/web/mgmt/2021-02-01/web/appserviceenvironments.go +++ b/services/web/mgmt/2021-02-01/web/appserviceenvironments.go @@ -32,7 +32,7 @@ func NewAppServiceEnvironmentsClientWithBaseURI(baseURI string, subscriptionID s return AppServiceEnvironmentsClient{NewWithBaseURI(baseURI, subscriptionID)} } -// ApproveOrRejectPrivateEndpointConnection description for Approves or rejects a private endpoint connection +// ApproveOrRejectPrivateEndpointConnection approves or rejects a private endpoint connection // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -122,7 +122,7 @@ func (client AppServiceEnvironmentsClient) ApproveOrRejectPrivateEndpointConnect return } -// ChangeVnet description for Move an App Service Environment to a different VNET. +// ChangeVnet move an App Service Environment to a different VNET. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -257,7 +257,7 @@ func (client AppServiceEnvironmentsClient) ChangeVnetComplete(ctx context.Contex return } -// CreateOrUpdate description for Create or update an App Service Environment. +// CreateOrUpdate create or update an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -352,7 +352,7 @@ func (client AppServiceEnvironmentsClient) CreateOrUpdateResponder(resp *http.Re return } -// CreateOrUpdateMultiRolePool description for Create or update a multi-role pool. +// CreateOrUpdateMultiRolePool create or update a multi-role pool. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -442,7 +442,7 @@ func (client AppServiceEnvironmentsClient) CreateOrUpdateMultiRolePoolResponder( return } -// CreateOrUpdateWorkerPool description for Create or update a worker pool. +// CreateOrUpdateWorkerPool create or update a worker pool. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -534,7 +534,7 @@ func (client AppServiceEnvironmentsClient) CreateOrUpdateWorkerPoolResponder(res return } -// Delete description for Delete an App Service Environment. +// Delete delete an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -625,7 +625,7 @@ func (client AppServiceEnvironmentsClient) DeleteResponder(resp *http.Response) return } -// DeletePrivateEndpointConnection description for Deletes a private endpoint connection +// DeletePrivateEndpointConnection deletes a private endpoint connection // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -713,7 +713,7 @@ func (client AppServiceEnvironmentsClient) DeletePrivateEndpointConnectionRespon return } -// Get description for Get the properties of an App Service Environment. +// Get get the properties of an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -797,7 +797,7 @@ func (client AppServiceEnvironmentsClient) GetResponder(resp *http.Response) (re return } -// GetAseV3NetworkingConfiguration description for Get networking configuration of an App Service Environment +// GetAseV3NetworkingConfiguration get networking configuration of an App Service Environment // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -881,7 +881,7 @@ func (client AppServiceEnvironmentsClient) GetAseV3NetworkingConfigurationRespon return } -// GetDiagnosticsItem description for Get a diagnostics item for an App Service Environment. +// GetDiagnosticsItem get a diagnostics item for an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -967,8 +967,8 @@ func (client AppServiceEnvironmentsClient) GetDiagnosticsItemResponder(resp *htt return } -// GetInboundNetworkDependenciesEndpoints description for Get the network endpoints of all inbound dependencies of an -// App Service Environment. +// GetInboundNetworkDependenciesEndpoints get the network endpoints of all inbound dependencies of an App Service +// Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -1094,7 +1094,7 @@ func (client AppServiceEnvironmentsClient) GetInboundNetworkDependenciesEndpoint return } -// GetMultiRolePool description for Get properties of a multi-role pool. +// GetMultiRolePool get properties of a multi-role pool. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -1178,8 +1178,8 @@ func (client AppServiceEnvironmentsClient) GetMultiRolePoolResponder(resp *http. return } -// GetOutboundNetworkDependenciesEndpoints description for Get the network endpoints of all outbound dependencies of an -// App Service Environment. +// GetOutboundNetworkDependenciesEndpoints get the network endpoints of all outbound dependencies of an App Service +// Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -1305,7 +1305,7 @@ func (client AppServiceEnvironmentsClient) GetOutboundNetworkDependenciesEndpoin return } -// GetPrivateEndpointConnection description for Gets a private endpoint connection +// GetPrivateEndpointConnection gets a private endpoint connection // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -1391,8 +1391,7 @@ func (client AppServiceEnvironmentsClient) GetPrivateEndpointConnectionResponder return } -// GetPrivateEndpointConnectionList description for Gets the list of private endpoints associated with a hosting -// environment +// GetPrivateEndpointConnectionList gets the list of private endpoints associated with a hosting environment // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -1518,7 +1517,7 @@ func (client AppServiceEnvironmentsClient) GetPrivateEndpointConnectionListCompl return } -// GetPrivateLinkResources description for Gets the private link resources +// GetPrivateLinkResources gets the private link resources // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -1602,7 +1601,7 @@ func (client AppServiceEnvironmentsClient) GetPrivateLinkResourcesResponder(resp return } -// GetVipInfo description for Get IP addresses assigned to an App Service Environment. +// GetVipInfo get IP addresses assigned to an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -1686,7 +1685,7 @@ func (client AppServiceEnvironmentsClient) GetVipInfoResponder(resp *http.Respon return } -// GetWorkerPool description for Get properties of a worker pool. +// GetWorkerPool get properties of a worker pool. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -1772,7 +1771,7 @@ func (client AppServiceEnvironmentsClient) GetWorkerPoolResponder(resp *http.Res return } -// List description for Get all App Service Environments for a subscription. +// List get all App Service Environments for a subscription. func (client AppServiceEnvironmentsClient) List(ctx context.Context) (result AppServiceEnvironmentCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/AppServiceEnvironmentsClient.List") @@ -1885,7 +1884,7 @@ func (client AppServiceEnvironmentsClient) ListComplete(ctx context.Context) (re return } -// ListAppServicePlans description for Get all App Service plans in an App Service Environment. +// ListAppServicePlans get all App Service plans in an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -2011,7 +2010,7 @@ func (client AppServiceEnvironmentsClient) ListAppServicePlansComplete(ctx conte return } -// ListByResourceGroup description for Get all App Service Environments in a resource group. +// ListByResourceGroup get all App Service Environments in a resource group. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. func (client AppServiceEnvironmentsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result AppServiceEnvironmentCollectionPage, err error) { @@ -2135,7 +2134,7 @@ func (client AppServiceEnvironmentsClient) ListByResourceGroupComplete(ctx conte return } -// ListCapacities description for Get the used, available, and total worker capacity an App Service Environment. +// ListCapacities get the used, available, and total worker capacity an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -2261,7 +2260,7 @@ func (client AppServiceEnvironmentsClient) ListCapacitiesComplete(ctx context.Co return } -// ListDiagnostics description for Get diagnostic information for an App Service Environment. +// ListDiagnostics get diagnostic information for an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -2345,8 +2344,7 @@ func (client AppServiceEnvironmentsClient) ListDiagnosticsResponder(resp *http.R return } -// ListMultiRoleMetricDefinitions description for Get metric definitions for a multi-role pool of an App Service -// Environment. +// ListMultiRoleMetricDefinitions get metric definitions for a multi-role pool of an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -2472,8 +2470,8 @@ func (client AppServiceEnvironmentsClient) ListMultiRoleMetricDefinitionsComplet return } -// ListMultiRolePoolInstanceMetricDefinitions description for Get metric definitions for a specific instance of a -// multi-role pool of an App Service Environment. +// ListMultiRolePoolInstanceMetricDefinitions get metric definitions for a specific instance of a multi-role pool of an +// App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -2601,7 +2599,7 @@ func (client AppServiceEnvironmentsClient) ListMultiRolePoolInstanceMetricDefini return } -// ListMultiRolePools description for Get all multi-role pools. +// ListMultiRolePools get all multi-role pools. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -2727,7 +2725,7 @@ func (client AppServiceEnvironmentsClient) ListMultiRolePoolsComplete(ctx contex return } -// ListMultiRolePoolSkus description for Get available SKUs for scaling a multi-role pool. +// ListMultiRolePoolSkus get available SKUs for scaling a multi-role pool. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -2853,7 +2851,7 @@ func (client AppServiceEnvironmentsClient) ListMultiRolePoolSkusComplete(ctx con return } -// ListMultiRoleUsages description for Get usage metrics for a multi-role pool of an App Service Environment. +// ListMultiRoleUsages get usage metrics for a multi-role pool of an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -2979,7 +2977,7 @@ func (client AppServiceEnvironmentsClient) ListMultiRoleUsagesComplete(ctx conte return } -// ListOperations description for List all currently running operations on the App Service Environment. +// ListOperations list all currently running operations on the App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -3063,7 +3061,7 @@ func (client AppServiceEnvironmentsClient) ListOperationsResponder(resp *http.Re return } -// ListUsages description for Get global usage metrics of an App Service Environment. +// ListUsages get global usage metrics of an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -3195,7 +3193,7 @@ func (client AppServiceEnvironmentsClient) ListUsagesComplete(ctx context.Contex return } -// ListWebApps description for Get all apps in an App Service Environment. +// ListWebApps get all apps in an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -3325,8 +3323,7 @@ func (client AppServiceEnvironmentsClient) ListWebAppsComplete(ctx context.Conte return } -// ListWebWorkerMetricDefinitions description for Get metric definitions for a worker pool of an App Service -// Environment. +// ListWebWorkerMetricDefinitions get metric definitions for a worker pool of an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -3454,7 +3451,7 @@ func (client AppServiceEnvironmentsClient) ListWebWorkerMetricDefinitionsComplet return } -// ListWebWorkerUsages description for Get usage metrics for a worker pool of an App Service Environment. +// ListWebWorkerUsages get usage metrics for a worker pool of an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -3582,8 +3579,8 @@ func (client AppServiceEnvironmentsClient) ListWebWorkerUsagesComplete(ctx conte return } -// ListWorkerPoolInstanceMetricDefinitions description for Get metric definitions for a specific instance of a worker -// pool of an App Service Environment. +// ListWorkerPoolInstanceMetricDefinitions get metric definitions for a specific instance of a worker pool of an App +// Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -3713,7 +3710,7 @@ func (client AppServiceEnvironmentsClient) ListWorkerPoolInstanceMetricDefinitio return } -// ListWorkerPools description for Get all worker pools of an App Service Environment. +// ListWorkerPools get all worker pools of an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -3839,7 +3836,7 @@ func (client AppServiceEnvironmentsClient) ListWorkerPoolsComplete(ctx context.C return } -// ListWorkerPoolSkus description for Get available SKUs for scaling a worker pool. +// ListWorkerPoolSkus get available SKUs for scaling a worker pool. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -3967,7 +3964,7 @@ func (client AppServiceEnvironmentsClient) ListWorkerPoolSkusComplete(ctx contex return } -// Reboot description for Reboot all machines in an App Service Environment. +// Reboot reboot all machines in an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -4050,7 +4047,7 @@ func (client AppServiceEnvironmentsClient) RebootResponder(resp *http.Response) return } -// Resume description for Resume an App Service Environment. +// Resume resume an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -4178,7 +4175,7 @@ func (client AppServiceEnvironmentsClient) ResumeComplete(ctx context.Context, r return } -// Suspend description for Suspend an App Service Environment. +// Suspend suspend an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -4306,7 +4303,7 @@ func (client AppServiceEnvironmentsClient) SuspendComplete(ctx context.Context, return } -// Update description for Create or update an App Service Environment. +// Update create or update an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -4393,7 +4390,7 @@ func (client AppServiceEnvironmentsClient) UpdateResponder(resp *http.Response) return } -// UpdateAseNetworkingConfiguration description for Update networking configuration of an App Service Environment +// UpdateAseNetworkingConfiguration update networking configuration of an App Service Environment // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -4479,7 +4476,7 @@ func (client AppServiceEnvironmentsClient) UpdateAseNetworkingConfigurationRespo return } -// UpdateMultiRolePool description for Create or update a multi-role pool. +// UpdateMultiRolePool create or update a multi-role pool. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -4566,7 +4563,7 @@ func (client AppServiceEnvironmentsClient) UpdateMultiRolePoolResponder(resp *ht return } -// UpdateWorkerPool description for Create or update a worker pool. +// UpdateWorkerPool create or update a worker pool. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. diff --git a/services/web/mgmt/2021-02-01/web/appserviceplans.go b/services/web/mgmt/2021-02-01/web/appserviceplans.go index 9157061a0bca..2fea5983cfa9 100644 --- a/services/web/mgmt/2021-02-01/web/appserviceplans.go +++ b/services/web/mgmt/2021-02-01/web/appserviceplans.go @@ -31,7 +31,7 @@ func NewAppServicePlansClientWithBaseURI(baseURI string, subscriptionID string) return AppServicePlansClient{NewWithBaseURI(baseURI, subscriptionID)} } -// CreateOrUpdate description for Creates or updates an App Service Plan. +// CreateOrUpdate creates or updates an App Service Plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -121,7 +121,7 @@ func (client AppServicePlansClient) CreateOrUpdateResponder(resp *http.Response) return } -// CreateOrUpdateVnetRoute description for Create or update a Virtual Network route in an App Service plan. +// CreateOrUpdateVnetRoute create or update a Virtual Network route in an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -212,7 +212,7 @@ func (client AppServicePlansClient) CreateOrUpdateVnetRouteResponder(resp *http. return } -// Delete description for Delete an App Service plan. +// Delete delete an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -295,7 +295,7 @@ func (client AppServicePlansClient) DeleteResponder(resp *http.Response) (result return } -// DeleteHybridConnection description for Delete a Hybrid Connection in use in an App Service plan. +// DeleteHybridConnection delete a Hybrid Connection in use in an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -382,7 +382,7 @@ func (client AppServicePlansClient) DeleteHybridConnectionResponder(resp *http.R return } -// DeleteVnetRoute description for Delete a Virtual Network route in an App Service plan. +// DeleteVnetRoute delete a Virtual Network route in an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -469,7 +469,7 @@ func (client AppServicePlansClient) DeleteVnetRouteResponder(resp *http.Response return } -// Get description for Get an App Service plan. +// Get get an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -553,7 +553,7 @@ func (client AppServicePlansClient) GetResponder(resp *http.Response) (result Ap return } -// GetHybridConnection description for Retrieve a Hybrid Connection in use in an App Service plan. +// GetHybridConnection retrieve a Hybrid Connection in use in an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -641,8 +641,7 @@ func (client AppServicePlansClient) GetHybridConnectionResponder(resp *http.Resp return } -// GetHybridConnectionPlanLimit description for Get the maximum number of Hybrid Connections allowed in an App Service -// plan. +// GetHybridConnectionPlanLimit get the maximum number of Hybrid Connections allowed in an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -726,7 +725,7 @@ func (client AppServicePlansClient) GetHybridConnectionPlanLimitResponder(resp * return } -// GetRouteForVnet description for Get a Virtual Network route in an App Service plan. +// GetRouteForVnet get a Virtual Network route in an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -814,7 +813,7 @@ func (client AppServicePlansClient) GetRouteForVnetResponder(resp *http.Response return } -// GetServerFarmSkus description for Gets all selectable SKUs for a given App Service Plan +// GetServerFarmSkus gets all selectable SKUs for a given App Service Plan // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of App Service Plan @@ -898,7 +897,7 @@ func (client AppServicePlansClient) GetServerFarmSkusResponder(resp *http.Respon return } -// GetVnetFromServerFarm description for Get a Virtual Network associated with an App Service plan. +// GetVnetFromServerFarm get a Virtual Network associated with an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -984,7 +983,7 @@ func (client AppServicePlansClient) GetVnetFromServerFarmResponder(resp *http.Re return } -// GetVnetGateway description for Get a Virtual Network gateway. +// GetVnetGateway get a Virtual Network gateway. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -1072,7 +1071,7 @@ func (client AppServicePlansClient) GetVnetGatewayResponder(resp *http.Response) return } -// List description for Get all App Service plans for a subscription. +// List get all App Service plans for a subscription. // Parameters: // detailed - specify true to return all App Service plan properties. The default is // false, which returns a subset of the properties. @@ -1192,7 +1191,7 @@ func (client AppServicePlansClient) ListComplete(ctx context.Context, detailed * return } -// ListByResourceGroup description for Get all App Service plans in a resource group. +// ListByResourceGroup get all App Service plans in a resource group. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. func (client AppServicePlansClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result AppServicePlanCollectionPage, err error) { @@ -1316,7 +1315,7 @@ func (client AppServicePlansClient) ListByResourceGroupComplete(ctx context.Cont return } -// ListCapabilities description for List all capabilities of an App Service plan. +// ListCapabilities list all capabilities of an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -1400,7 +1399,7 @@ func (client AppServicePlansClient) ListCapabilitiesResponder(resp *http.Respons return } -// ListHybridConnectionKeys description for Get the send key name and value of a Hybrid Connection. +// ListHybridConnectionKeys get the send key name and value of a Hybrid Connection. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -1488,7 +1487,7 @@ func (client AppServicePlansClient) ListHybridConnectionKeysResponder(resp *http return } -// ListHybridConnections description for Retrieve all Hybrid Connections in use in an App Service plan. +// ListHybridConnections retrieve all Hybrid Connections in use in an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -1614,7 +1613,7 @@ func (client AppServicePlansClient) ListHybridConnectionsComplete(ctx context.Co return } -// ListRoutesForVnet description for Get all routes that are associated with a Virtual Network in an App Service plan. +// ListRoutesForVnet get all routes that are associated with a Virtual Network in an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -1700,7 +1699,7 @@ func (client AppServicePlansClient) ListRoutesForVnetResponder(resp *http.Respon return } -// ListUsages description for Gets server farm usage information +// ListUsages gets server farm usage information // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of App Service Plan @@ -1831,7 +1830,7 @@ func (client AppServicePlansClient) ListUsagesComplete(ctx context.Context, reso return } -// ListVnets description for Get all Virtual Networks associated with an App Service plan. +// ListVnets get all Virtual Networks associated with an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -1915,7 +1914,7 @@ func (client AppServicePlansClient) ListVnetsResponder(resp *http.Response) (res return } -// ListWebApps description for Get all apps associated with an App Service plan. +// ListWebApps get all apps associated with an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -2055,7 +2054,7 @@ func (client AppServicePlansClient) ListWebAppsComplete(ctx context.Context, res return } -// ListWebAppsByHybridConnection description for Get all apps that use a Hybrid Connection in an App Service Plan. +// ListWebAppsByHybridConnection get all apps that use a Hybrid Connection in an App Service Plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -2185,7 +2184,7 @@ func (client AppServicePlansClient) ListWebAppsByHybridConnectionComplete(ctx co return } -// RebootWorker description for Reboot a worker machine in an App Service plan. +// RebootWorker reboot a worker machine in an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -2270,7 +2269,7 @@ func (client AppServicePlansClient) RebootWorkerResponder(resp *http.Response) ( return } -// RestartWebApps description for Restart all apps in an App Service plan. +// RestartWebApps restart all apps in an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -2359,7 +2358,7 @@ func (client AppServicePlansClient) RestartWebAppsResponder(resp *http.Response) return } -// Update description for Creates or updates an App Service Plan. +// Update creates or updates an App Service Plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -2446,7 +2445,7 @@ func (client AppServicePlansClient) UpdateResponder(resp *http.Response) (result return } -// UpdateVnetGateway description for Update a Virtual Network gateway. +// UpdateVnetGateway update a Virtual Network gateway. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -2540,7 +2539,7 @@ func (client AppServicePlansClient) UpdateVnetGatewayResponder(resp *http.Respon return } -// UpdateVnetRoute description for Create or update a Virtual Network route in an App Service plan. +// UpdateVnetRoute create or update a Virtual Network route in an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. diff --git a/services/web/mgmt/2021-02-01/web/certificateordersdiagnostics.go b/services/web/mgmt/2021-02-01/web/certificateordersdiagnostics.go index 41dc0a458720..474d386f09d9 100644 --- a/services/web/mgmt/2021-02-01/web/certificateordersdiagnostics.go +++ b/services/web/mgmt/2021-02-01/web/certificateordersdiagnostics.go @@ -33,8 +33,8 @@ func NewCertificateOrdersDiagnosticsClientWithBaseURI(baseURI string, subscripti return CertificateOrdersDiagnosticsClient{NewWithBaseURI(baseURI, subscriptionID)} } -// GetAppServiceCertificateOrderDetectorResponse description for Microsoft.CertificateRegistration call to get a -// detector response from App Lens. +// GetAppServiceCertificateOrderDetectorResponse microsoft.CertificateRegistration call to get a detector response from +// App Lens. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - the certificate order name for which the response is needed. @@ -135,8 +135,8 @@ func (client CertificateOrdersDiagnosticsClient) GetAppServiceCertificateOrderDe return } -// ListAppServiceCertificateOrderDetectorResponse description for Microsoft.CertificateRegistration to get the list of -// detectors for this RP. +// ListAppServiceCertificateOrderDetectorResponse microsoft.CertificateRegistration to get the list of detectors for +// this RP. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - the certificate order name for which the response is needed. diff --git a/services/web/mgmt/2021-02-01/web/certificateregistrationprovider.go b/services/web/mgmt/2021-02-01/web/certificateregistrationprovider.go index 1c4639a69657..33fb843a527a 100644 --- a/services/web/mgmt/2021-02-01/web/certificateregistrationprovider.go +++ b/services/web/mgmt/2021-02-01/web/certificateregistrationprovider.go @@ -31,8 +31,7 @@ func NewCertificateRegistrationProviderClientWithBaseURI(baseURI string, subscri return CertificateRegistrationProviderClient{NewWithBaseURI(baseURI, subscriptionID)} } -// ListOperations description for Implements Csm operations Api to exposes the list of available Csm Apis under the -// resource provider +// ListOperations implements Csm operations Api to exposes the list of available Csm Apis under the resource provider func (client CertificateRegistrationProviderClient) ListOperations(ctx context.Context) (result CsmOperationCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/CertificateRegistrationProviderClient.ListOperations") diff --git a/services/web/mgmt/2021-02-01/web/certificates.go b/services/web/mgmt/2021-02-01/web/certificates.go index 7daf83fef09d..cb9b01843d93 100644 --- a/services/web/mgmt/2021-02-01/web/certificates.go +++ b/services/web/mgmt/2021-02-01/web/certificates.go @@ -31,7 +31,7 @@ func NewCertificatesClientWithBaseURI(baseURI string, subscriptionID string) Cer return CertificatesClient{NewWithBaseURI(baseURI, subscriptionID)} } -// CreateOrUpdate description for Create or update a certificate. +// CreateOrUpdate create or update a certificate. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the certificate. @@ -118,7 +118,7 @@ func (client CertificatesClient) CreateOrUpdateResponder(resp *http.Response) (r return } -// Delete description for Delete a certificate. +// Delete delete a certificate. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the certificate. @@ -201,7 +201,7 @@ func (client CertificatesClient) DeleteResponder(resp *http.Response) (result au return } -// Get description for Get a certificate. +// Get get a certificate. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the certificate. @@ -285,7 +285,7 @@ func (client CertificatesClient) GetResponder(resp *http.Response) (result Certi return } -// List description for Get all certificates for a subscription. +// List get all certificates for a subscription. // Parameters: // filter - return only information specified in the filter (using OData syntax). For example: // $filter=KeyVaultId eq 'KeyVaultId' @@ -404,7 +404,7 @@ func (client CertificatesClient) ListComplete(ctx context.Context, filter string return } -// ListByResourceGroup description for Get all certificates in a resource group. +// ListByResourceGroup get all certificates in a resource group. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. func (client CertificatesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result CertificateCollectionPage, err error) { @@ -528,7 +528,7 @@ func (client CertificatesClient) ListByResourceGroupComplete(ctx context.Context return } -// Update description for Create or update a certificate. +// Update create or update a certificate. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the certificate. diff --git a/services/web/mgmt/2021-02-01/web/client.go b/services/web/mgmt/2021-02-01/web/client.go index 9d21a1083031..41b29b8b044c 100644 --- a/services/web/mgmt/2021-02-01/web/client.go +++ b/services/web/mgmt/2021-02-01/web/client.go @@ -45,7 +45,7 @@ func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient { } } -// CheckNameAvailability description for Check if a resource name is available. +// CheckNameAvailability check if a resource name is available. // Parameters: // request - name availability request. func (client BaseClient) CheckNameAvailability(ctx context.Context, request ResourceNameAvailabilityRequest) (result ResourceNameAvailability, err error) { @@ -126,84 +126,7 @@ func (client BaseClient) CheckNameAvailabilityResponder(resp *http.Response) (re return } -// GenerateGithubAccessTokenForAppserviceCLIAsync description for Exchange code for GitHub access token for AppService -// CLI -func (client BaseClient) GenerateGithubAccessTokenForAppserviceCLIAsync(ctx context.Context, request AppserviceGithubTokenRequest) (result AppserviceGithubToken, err error) { - if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/BaseClient.GenerateGithubAccessTokenForAppserviceCLIAsync") - defer func() { - sc := -1 - if result.Response.Response != nil { - sc = result.Response.Response.StatusCode - } - tracing.EndSpan(ctx, sc, err) - }() - } - if err := validation.Validate([]validation.Validation{ - {TargetValue: request, - Constraints: []validation.Constraint{{Target: "request.Code", Name: validation.Null, Rule: true, Chain: nil}, - {Target: "request.State", Name: validation.Null, Rule: true, Chain: nil}}}}); err != nil { - return result, validation.NewError("web.BaseClient", "GenerateGithubAccessTokenForAppserviceCLIAsync", err.Error()) - } - - req, err := client.GenerateGithubAccessTokenForAppserviceCLIAsyncPreparer(ctx, request) - if err != nil { - err = autorest.NewErrorWithError(err, "web.BaseClient", "GenerateGithubAccessTokenForAppserviceCLIAsync", nil, "Failure preparing request") - return - } - - resp, err := client.GenerateGithubAccessTokenForAppserviceCLIAsyncSender(req) - if err != nil { - result.Response = autorest.Response{Response: resp} - err = autorest.NewErrorWithError(err, "web.BaseClient", "GenerateGithubAccessTokenForAppserviceCLIAsync", resp, "Failure sending request") - return - } - - result, err = client.GenerateGithubAccessTokenForAppserviceCLIAsyncResponder(resp) - if err != nil { - err = autorest.NewErrorWithError(err, "web.BaseClient", "GenerateGithubAccessTokenForAppserviceCLIAsync", resp, "Failure responding to request") - return - } - - return -} - -// GenerateGithubAccessTokenForAppserviceCLIAsyncPreparer prepares the GenerateGithubAccessTokenForAppserviceCLIAsync request. -func (client BaseClient) GenerateGithubAccessTokenForAppserviceCLIAsyncPreparer(ctx context.Context, request AppserviceGithubTokenRequest) (*http.Request, error) { - const APIVersion = "2021-02-01" - queryParameters := map[string]interface{}{ - "api-version": APIVersion, - } - - preparer := autorest.CreatePreparer( - autorest.AsContentType("application/json; charset=utf-8"), - autorest.AsPost(), - autorest.WithBaseURL(client.BaseURI), - autorest.WithPath("/providers/Microsoft.Web/generateGithubAccessTokenForAppserviceCLI"), - autorest.WithJSON(request), - autorest.WithQueryParameters(queryParameters)) - return preparer.Prepare((&http.Request{}).WithContext(ctx)) -} - -// GenerateGithubAccessTokenForAppserviceCLIAsyncSender sends the GenerateGithubAccessTokenForAppserviceCLIAsync request. The method will close the -// http.Response Body if it receives an error. -func (client BaseClient) GenerateGithubAccessTokenForAppserviceCLIAsyncSender(req *http.Request) (*http.Response, error) { - return client.Send(req, autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...)) -} - -// GenerateGithubAccessTokenForAppserviceCLIAsyncResponder handles the response to the GenerateGithubAccessTokenForAppserviceCLIAsync request. The method always -// closes the http.Response Body. -func (client BaseClient) GenerateGithubAccessTokenForAppserviceCLIAsyncResponder(resp *http.Response) (result AppserviceGithubToken, err error) { - err = autorest.Respond( - resp, - azure.WithErrorUnlessStatusCode(http.StatusOK), - autorest.ByUnmarshallingJSON(&result), - autorest.ByClosing()) - result.Response = autorest.Response{Response: resp} - return -} - -// GetPublishingUser description for Gets publishing user +// GetPublishingUser gets publishing user func (client BaseClient) GetPublishingUser(ctx context.Context) (result User, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/BaseClient.GetPublishingUser") @@ -270,7 +193,7 @@ func (client BaseClient) GetPublishingUserResponder(resp *http.Response) (result return } -// GetSourceControl description for Gets source control token +// GetSourceControl gets source control token // Parameters: // sourceControlType - type of source control func (client BaseClient) GetSourceControl(ctx context.Context, sourceControlType string) (result SourceControl, err error) { @@ -343,7 +266,7 @@ func (client BaseClient) GetSourceControlResponder(resp *http.Response) (result return } -// GetSubscriptionDeploymentLocations description for Gets list of available geo regions plus ministamps +// GetSubscriptionDeploymentLocations gets list of available geo regions plus ministamps func (client BaseClient) GetSubscriptionDeploymentLocations(ctx context.Context) (result DeploymentLocations, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/BaseClient.GetSubscriptionDeploymentLocations") @@ -414,7 +337,7 @@ func (client BaseClient) GetSubscriptionDeploymentLocationsResponder(resp *http. return } -// ListBillingMeters description for Gets a list of meters for a given location. +// ListBillingMeters gets a list of meters for a given location. // Parameters: // billingLocation - azure Location of billable resource // osType - app Service OS type meters used for @@ -536,7 +459,7 @@ func (client BaseClient) ListBillingMetersComplete(ctx context.Context, billingL return } -// ListGeoRegions description for Get a list of available geographical regions. +// ListGeoRegions get a list of available geographical regions. // Parameters: // sku - name of SKU used to filter the regions. // linuxWorkersEnabled - specify true if you want to filter to only regions that support Linux @@ -669,7 +592,7 @@ func (client BaseClient) ListGeoRegionsComplete(ctx context.Context, sku SkuName return } -// ListPremierAddOnOffers description for List all premier add-on offers. +// ListPremierAddOnOffers list all premier add-on offers. func (client BaseClient) ListPremierAddOnOffers(ctx context.Context) (result PremierAddOnOfferCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/BaseClient.ListPremierAddOnOffers") @@ -782,7 +705,7 @@ func (client BaseClient) ListPremierAddOnOffersComplete(ctx context.Context) (re return } -// ListSiteIdentifiersAssignedToHostName description for List all apps that are assigned to a hostname. +// ListSiteIdentifiersAssignedToHostName list all apps that are assigned to a hostname. // Parameters: // nameIdentifier - hostname information. func (client BaseClient) ListSiteIdentifiersAssignedToHostName(ctx context.Context, nameIdentifier NameIdentifier) (result IdentifierCollectionPage, err error) { @@ -899,7 +822,7 @@ func (client BaseClient) ListSiteIdentifiersAssignedToHostNameComplete(ctx conte return } -// ListSkus description for List all SKUs. +// ListSkus list all SKUs. func (client BaseClient) ListSkus(ctx context.Context) (result SkuInfos, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/BaseClient.ListSkus") @@ -970,7 +893,7 @@ func (client BaseClient) ListSkusResponder(resp *http.Response) (result SkuInfos return } -// ListSourceControls description for Gets the source controls available for Azure websites. +// ListSourceControls gets the source controls available for Azure websites. func (client BaseClient) ListSourceControls(ctx context.Context) (result SourceControlCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/BaseClient.ListSourceControls") @@ -1079,7 +1002,7 @@ func (client BaseClient) ListSourceControlsComplete(ctx context.Context) (result return } -// Move description for Move resources between resource groups. +// Move move resources between resource groups. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // moveResourceEnvelope - object that represents the resource to move. @@ -1169,7 +1092,7 @@ func (client BaseClient) MoveResponder(resp *http.Response) (result autorest.Res return } -// UpdatePublishingUser description for Updates publishing user +// UpdatePublishingUser updates publishing user // Parameters: // userDetails - details of publishing user func (client BaseClient) UpdatePublishingUser(ctx context.Context, userDetails User) (result User, err error) { @@ -1247,7 +1170,7 @@ func (client BaseClient) UpdatePublishingUserResponder(resp *http.Response) (res return } -// UpdateSourceControl description for Updates source control token +// UpdateSourceControl updates source control token // Parameters: // sourceControlType - type of source control // requestMessage - source control token information @@ -1323,7 +1246,7 @@ func (client BaseClient) UpdateSourceControlResponder(resp *http.Response) (resu return } -// Validate description for Validate if a resource can be created. +// Validate validate if a resource can be created. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // validateRequest - request with the resources to validate. @@ -1419,7 +1342,7 @@ func (client BaseClient) ValidateResponder(resp *http.Response) (result Validate return } -// ValidateMove description for Validate whether a resource can be moved. +// ValidateMove validate whether a resource can be moved. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // moveResourceEnvelope - object that represents the resource to move. @@ -1509,8 +1432,8 @@ func (client BaseClient) ValidateMoveResponder(resp *http.Response) (result auto return } -// VerifyHostingEnvironmentVnet description for Verifies if this VNET is compatible with an App Service Environment by -// analyzing the Network Security Group rules. +// VerifyHostingEnvironmentVnet verifies if this VNET is compatible with an App Service Environment by analyzing the +// Network Security Group rules. // Parameters: // parameters - VNET information func (client BaseClient) VerifyHostingEnvironmentVnet(ctx context.Context, parameters VnetParameters) (result VnetValidationFailureDetails, err error) { diff --git a/services/web/mgmt/2021-02-01/web/deletedwebapps.go b/services/web/mgmt/2021-02-01/web/deletedwebapps.go index 89ecd1376a6f..a8e6bbf80b0a 100644 --- a/services/web/mgmt/2021-02-01/web/deletedwebapps.go +++ b/services/web/mgmt/2021-02-01/web/deletedwebapps.go @@ -30,7 +30,7 @@ func NewDeletedWebAppsClientWithBaseURI(baseURI string, subscriptionID string) D return DeletedWebAppsClient{NewWithBaseURI(baseURI, subscriptionID)} } -// GetDeletedWebAppByLocation description for Get deleted app for a subscription at location. +// GetDeletedWebAppByLocation get deleted app for a subscription at location. // Parameters: // deletedSiteID - the numeric ID of the deleted app, e.g. 12345 func (client DeletedWebAppsClient) GetDeletedWebAppByLocation(ctx context.Context, location string, deletedSiteID string) (result DeletedSite, err error) { @@ -105,7 +105,7 @@ func (client DeletedWebAppsClient) GetDeletedWebAppByLocationResponder(resp *htt return } -// List description for Get all deleted apps for a subscription. +// List get all deleted apps for a subscription. func (client DeletedWebAppsClient) List(ctx context.Context) (result DeletedWebAppCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/DeletedWebAppsClient.List") @@ -218,7 +218,7 @@ func (client DeletedWebAppsClient) ListComplete(ctx context.Context) (result Del return } -// ListByLocation description for Get all deleted apps for a subscription at location +// ListByLocation get all deleted apps for a subscription at location func (client DeletedWebAppsClient) ListByLocation(ctx context.Context, location string) (result DeletedWebAppCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/DeletedWebAppsClient.ListByLocation") diff --git a/services/web/mgmt/2021-02-01/web/diagnostics.go b/services/web/mgmt/2021-02-01/web/diagnostics.go index bca9bcb3ac3e..adab96846189 100644 --- a/services/web/mgmt/2021-02-01/web/diagnostics.go +++ b/services/web/mgmt/2021-02-01/web/diagnostics.go @@ -32,7 +32,7 @@ func NewDiagnosticsClientWithBaseURI(baseURI string, subscriptionID string) Diag return DiagnosticsClient{NewWithBaseURI(baseURI, subscriptionID)} } -// ExecuteSiteAnalysis description for Execute Analysis +// ExecuteSiteAnalysis execute Analysis // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -135,7 +135,7 @@ func (client DiagnosticsClient) ExecuteSiteAnalysisResponder(resp *http.Response return } -// ExecuteSiteAnalysisSlot description for Execute Analysis +// ExecuteSiteAnalysisSlot execute Analysis // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -240,7 +240,7 @@ func (client DiagnosticsClient) ExecuteSiteAnalysisSlotResponder(resp *http.Resp return } -// ExecuteSiteDetector description for Execute Detector +// ExecuteSiteDetector execute Detector // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -343,7 +343,7 @@ func (client DiagnosticsClient) ExecuteSiteDetectorResponder(resp *http.Response return } -// ExecuteSiteDetectorSlot description for Execute Detector +// ExecuteSiteDetectorSlot execute Detector // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -448,7 +448,7 @@ func (client DiagnosticsClient) ExecuteSiteDetectorSlotResponder(resp *http.Resp return } -// GetHostingEnvironmentDetectorResponse description for Get Hosting Environment Detector Response +// GetHostingEnvironmentDetectorResponse get Hosting Environment Detector Response // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - app Service Environment Name @@ -549,7 +549,7 @@ func (client DiagnosticsClient) GetHostingEnvironmentDetectorResponseResponder(r return } -// GetSiteAnalysis description for Get Site Analysis +// GetSiteAnalysis get Site Analysis // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -637,7 +637,7 @@ func (client DiagnosticsClient) GetSiteAnalysisResponder(resp *http.Response) (r return } -// GetSiteAnalysisSlot description for Get Site Analysis +// GetSiteAnalysisSlot get Site Analysis // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -727,7 +727,7 @@ func (client DiagnosticsClient) GetSiteAnalysisSlotResponder(resp *http.Response return } -// GetSiteDetector description for Get Detector +// GetSiteDetector get Detector // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -815,7 +815,7 @@ func (client DiagnosticsClient) GetSiteDetectorResponder(resp *http.Response) (r return } -// GetSiteDetectorResponse description for Get site detector response +// GetSiteDetectorResponse get site detector response // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -916,7 +916,7 @@ func (client DiagnosticsClient) GetSiteDetectorResponseResponder(resp *http.Resp return } -// GetSiteDetectorResponseSlot description for Get site detector response +// GetSiteDetectorResponseSlot get site detector response // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -1019,7 +1019,7 @@ func (client DiagnosticsClient) GetSiteDetectorResponseSlotResponder(resp *http. return } -// GetSiteDetectorSlot description for Get Detector +// GetSiteDetectorSlot get Detector // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -1109,7 +1109,7 @@ func (client DiagnosticsClient) GetSiteDetectorSlotResponder(resp *http.Response return } -// GetSiteDiagnosticCategory description for Get Diagnostics Category +// GetSiteDiagnosticCategory get Diagnostics Category // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -1195,7 +1195,7 @@ func (client DiagnosticsClient) GetSiteDiagnosticCategoryResponder(resp *http.Re return } -// GetSiteDiagnosticCategorySlot description for Get Diagnostics Category +// GetSiteDiagnosticCategorySlot get Diagnostics Category // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -1283,7 +1283,7 @@ func (client DiagnosticsClient) GetSiteDiagnosticCategorySlotResponder(resp *htt return } -// ListHostingEnvironmentDetectorResponses description for List Hosting Environment Detector Responses +// ListHostingEnvironmentDetectorResponses list Hosting Environment Detector Responses // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site Name @@ -1409,7 +1409,7 @@ func (client DiagnosticsClient) ListHostingEnvironmentDetectorResponsesComplete( return } -// ListSiteAnalyses description for Get Site Analyses +// ListSiteAnalyses get Site Analyses // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -1537,7 +1537,7 @@ func (client DiagnosticsClient) ListSiteAnalysesComplete(ctx context.Context, re return } -// ListSiteAnalysesSlot description for Get Site Analyses +// ListSiteAnalysesSlot get Site Analyses // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -1667,7 +1667,7 @@ func (client DiagnosticsClient) ListSiteAnalysesSlotComplete(ctx context.Context return } -// ListSiteDetectorResponses description for List Site Detector Responses +// ListSiteDetectorResponses list Site Detector Responses // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -1793,7 +1793,7 @@ func (client DiagnosticsClient) ListSiteDetectorResponsesComplete(ctx context.Co return } -// ListSiteDetectorResponsesSlot description for List Site Detector Responses +// ListSiteDetectorResponsesSlot list Site Detector Responses // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -1921,7 +1921,7 @@ func (client DiagnosticsClient) ListSiteDetectorResponsesSlotComplete(ctx contex return } -// ListSiteDetectors description for Get Detectors +// ListSiteDetectors get Detectors // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -2049,7 +2049,7 @@ func (client DiagnosticsClient) ListSiteDetectorsComplete(ctx context.Context, r return } -// ListSiteDetectorsSlot description for Get Detectors +// ListSiteDetectorsSlot get Detectors // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -2179,7 +2179,7 @@ func (client DiagnosticsClient) ListSiteDetectorsSlotComplete(ctx context.Contex return } -// ListSiteDiagnosticCategories description for Get Diagnostics Categories +// ListSiteDiagnosticCategories get Diagnostics Categories // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -2305,7 +2305,7 @@ func (client DiagnosticsClient) ListSiteDiagnosticCategoriesComplete(ctx context return } -// ListSiteDiagnosticCategoriesSlot description for Get Diagnostics Categories +// ListSiteDiagnosticCategoriesSlot get Diagnostics Categories // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name diff --git a/services/web/mgmt/2021-02-01/web/domainregistrationprovider.go b/services/web/mgmt/2021-02-01/web/domainregistrationprovider.go index 21c4ddf8b9dd..a781ed7ba6df 100644 --- a/services/web/mgmt/2021-02-01/web/domainregistrationprovider.go +++ b/services/web/mgmt/2021-02-01/web/domainregistrationprovider.go @@ -31,8 +31,7 @@ func NewDomainRegistrationProviderClientWithBaseURI(baseURI string, subscription return DomainRegistrationProviderClient{NewWithBaseURI(baseURI, subscriptionID)} } -// ListOperations description for Implements Csm operations Api to exposes the list of available Csm Apis under the -// resource provider +// ListOperations implements Csm operations Api to exposes the list of available Csm Apis under the resource provider func (client DomainRegistrationProviderClient) ListOperations(ctx context.Context) (result CsmOperationCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/DomainRegistrationProviderClient.ListOperations") diff --git a/services/web/mgmt/2021-02-01/web/domains.go b/services/web/mgmt/2021-02-01/web/domains.go index 40833168c813..76cae285e07f 100644 --- a/services/web/mgmt/2021-02-01/web/domains.go +++ b/services/web/mgmt/2021-02-01/web/domains.go @@ -31,7 +31,7 @@ func NewDomainsClientWithBaseURI(baseURI string, subscriptionID string) DomainsC return DomainsClient{NewWithBaseURI(baseURI, subscriptionID)} } -// CheckAvailability description for Check if a domain is available for registration. +// CheckAvailability check if a domain is available for registration. // Parameters: // identifier - name of the domain. func (client DomainsClient) CheckAvailability(ctx context.Context, identifier NameIdentifier) (result DomainAvailabilityCheckResult, err error) { @@ -106,7 +106,7 @@ func (client DomainsClient) CheckAvailabilityResponder(resp *http.Response) (res return } -// CreateOrUpdate description for Creates or updates a domain. +// CreateOrUpdate creates or updates a domain. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // domainName - name of the domain. @@ -254,8 +254,8 @@ func (client DomainsClient) CreateOrUpdateResponder(resp *http.Response) (result return } -// CreateOrUpdateOwnershipIdentifier description for Creates an ownership identifier for a domain or updates identifier -// details for an existing identifier +// CreateOrUpdateOwnershipIdentifier creates an ownership identifier for a domain or updates identifier details for an +// existing identifier // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // domainName - name of domain. @@ -344,7 +344,7 @@ func (client DomainsClient) CreateOrUpdateOwnershipIdentifierResponder(resp *htt return } -// Delete description for Delete a domain. +// Delete delete a domain. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // domainName - name of the domain. @@ -432,7 +432,7 @@ func (client DomainsClient) DeleteResponder(resp *http.Response) (result autores return } -// DeleteOwnershipIdentifier description for Delete ownership identifier for domain +// DeleteOwnershipIdentifier delete ownership identifier for domain // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // domainName - name of domain. @@ -517,7 +517,7 @@ func (client DomainsClient) DeleteOwnershipIdentifierResponder(resp *http.Respon return } -// Get description for Get a domain. +// Get get a domain. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // domainName - name of the domain. @@ -601,7 +601,7 @@ func (client DomainsClient) GetResponder(resp *http.Response) (result Domain, er return } -// GetControlCenterSsoRequest description for Generate a single sign-on request for the domain management portal. +// GetControlCenterSsoRequest generate a single sign-on request for the domain management portal. func (client DomainsClient) GetControlCenterSsoRequest(ctx context.Context) (result DomainControlCenterSsoRequest, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/DomainsClient.GetControlCenterSsoRequest") @@ -672,7 +672,7 @@ func (client DomainsClient) GetControlCenterSsoRequestResponder(resp *http.Respo return } -// GetOwnershipIdentifier description for Get ownership identifier for domain +// GetOwnershipIdentifier get ownership identifier for domain // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // domainName - name of domain. @@ -758,7 +758,7 @@ func (client DomainsClient) GetOwnershipIdentifierResponder(resp *http.Response) return } -// List description for Get all domains in a subscription. +// List get all domains in a subscription. func (client DomainsClient) List(ctx context.Context) (result DomainCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/DomainsClient.List") @@ -871,7 +871,7 @@ func (client DomainsClient) ListComplete(ctx context.Context) (result DomainColl return } -// ListByResourceGroup description for Get all domains in a resource group. +// ListByResourceGroup get all domains in a resource group. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. func (client DomainsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result DomainCollectionPage, err error) { @@ -995,7 +995,7 @@ func (client DomainsClient) ListByResourceGroupComplete(ctx context.Context, res return } -// ListOwnershipIdentifiers description for Lists domain ownership identifiers. +// ListOwnershipIdentifiers lists domain ownership identifiers. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // domainName - name of domain. @@ -1121,7 +1121,7 @@ func (client DomainsClient) ListOwnershipIdentifiersComplete(ctx context.Context return } -// ListRecommendations description for Get domain name recommendations based on keywords. +// ListRecommendations get domain name recommendations based on keywords. // Parameters: // parameters - search parameters for domain name recommendations. func (client DomainsClient) ListRecommendations(ctx context.Context, parameters DomainRecommendationSearchParameters) (result NameIdentifierCollectionPage, err error) { @@ -1238,7 +1238,7 @@ func (client DomainsClient) ListRecommendationsComplete(ctx context.Context, par return } -// Renew description for Renew a domain. +// Renew renew a domain. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // domainName - name of the domain. @@ -1321,7 +1321,7 @@ func (client DomainsClient) RenewResponder(resp *http.Response) (result autorest return } -// Update description for Creates or updates a domain. +// Update creates or updates a domain. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // domainName - name of the domain. @@ -1410,8 +1410,8 @@ func (client DomainsClient) UpdateResponder(resp *http.Response) (result Domain, return } -// UpdateOwnershipIdentifier description for Creates an ownership identifier for a domain or updates identifier details -// for an existing identifier +// UpdateOwnershipIdentifier creates an ownership identifier for a domain or updates identifier details for an existing +// identifier // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // domainName - name of domain. diff --git a/services/web/mgmt/2021-02-01/web/enums.go b/services/web/mgmt/2021-02-01/web/enums.go index 19d2fbefd6d1..67fe75a60f7c 100644 --- a/services/web/mgmt/2021-02-01/web/enums.go +++ b/services/web/mgmt/2021-02-01/web/enums.go @@ -1087,6 +1087,44 @@ func PossibleOperationStatusValues() []OperationStatus { return []OperationStatus{OperationStatusCreated, OperationStatusFailed, OperationStatusInProgress, OperationStatusSucceeded, OperationStatusTimedOut} } +// ProviderOsTypeSelected enumerates the values for provider os type selected. +type ProviderOsTypeSelected string + +const ( + // ProviderOsTypeSelectedAll ... + ProviderOsTypeSelectedAll ProviderOsTypeSelected = "All" + // ProviderOsTypeSelectedLinux ... + ProviderOsTypeSelectedLinux ProviderOsTypeSelected = "Linux" + // ProviderOsTypeSelectedLinuxFunctions ... + ProviderOsTypeSelectedLinuxFunctions ProviderOsTypeSelected = "LinuxFunctions" + // ProviderOsTypeSelectedWindows ... + ProviderOsTypeSelectedWindows ProviderOsTypeSelected = "Windows" + // ProviderOsTypeSelectedWindowsFunctions ... + ProviderOsTypeSelectedWindowsFunctions ProviderOsTypeSelected = "WindowsFunctions" +) + +// PossibleProviderOsTypeSelectedValues returns an array of possible values for the ProviderOsTypeSelected const type. +func PossibleProviderOsTypeSelectedValues() []ProviderOsTypeSelected { + return []ProviderOsTypeSelected{ProviderOsTypeSelectedAll, ProviderOsTypeSelectedLinux, ProviderOsTypeSelectedLinuxFunctions, ProviderOsTypeSelectedWindows, ProviderOsTypeSelectedWindowsFunctions} +} + +// ProviderStackOsType enumerates the values for provider stack os type. +type ProviderStackOsType string + +const ( + // ProviderStackOsTypeAll ... + ProviderStackOsTypeAll ProviderStackOsType = "All" + // ProviderStackOsTypeLinux ... + ProviderStackOsTypeLinux ProviderStackOsType = "Linux" + // ProviderStackOsTypeWindows ... + ProviderStackOsTypeWindows ProviderStackOsType = "Windows" +) + +// PossibleProviderStackOsTypeValues returns an array of possible values for the ProviderStackOsType const type. +func PossibleProviderStackOsTypeValues() []ProviderStackOsType { + return []ProviderStackOsType{ProviderStackOsTypeAll, ProviderStackOsTypeLinux, ProviderStackOsTypeWindows} +} + // ProvisioningState enumerates the values for provisioning state. type ProvisioningState string diff --git a/services/web/mgmt/2021-02-01/web/global.go b/services/web/mgmt/2021-02-01/web/global.go index 383b3c45e326..96b40a7a343e 100644 --- a/services/web/mgmt/2021-02-01/web/global.go +++ b/services/web/mgmt/2021-02-01/web/global.go @@ -30,7 +30,7 @@ func NewGlobalClientWithBaseURI(baseURI string, subscriptionID string) GlobalCli return GlobalClient{NewWithBaseURI(baseURI, subscriptionID)} } -// GetDeletedWebApp description for Get deleted app for a subscription. +// GetDeletedWebApp get deleted app for a subscription. // Parameters: // deletedSiteID - the numeric ID of the deleted app, e.g. 12345 func (client GlobalClient) GetDeletedWebApp(ctx context.Context, deletedSiteID string) (result DeletedSite, err error) { @@ -104,7 +104,7 @@ func (client GlobalClient) GetDeletedWebAppResponder(resp *http.Response) (resul return } -// GetDeletedWebAppSnapshots description for Get all deleted apps for a subscription. +// GetDeletedWebAppSnapshots get all deleted apps for a subscription. // Parameters: // deletedSiteID - the numeric ID of the deleted app, e.g. 12345 func (client GlobalClient) GetDeletedWebAppSnapshots(ctx context.Context, deletedSiteID string) (result ListSnapshot, err error) { @@ -178,7 +178,7 @@ func (client GlobalClient) GetDeletedWebAppSnapshotsResponder(resp *http.Respons return } -// GetSubscriptionOperationWithAsyncResponse description for Gets an operation in a subscription and given region +// GetSubscriptionOperationWithAsyncResponse gets an operation in a subscription and given region // Parameters: // location - location name // operationID - operation Id diff --git a/services/web/mgmt/2021-02-01/web/kubeenvironments.go b/services/web/mgmt/2021-02-01/web/kubeenvironments.go index a1ad3179d7ce..43bbb984f150 100644 --- a/services/web/mgmt/2021-02-01/web/kubeenvironments.go +++ b/services/web/mgmt/2021-02-01/web/kubeenvironments.go @@ -32,7 +32,7 @@ func NewKubeEnvironmentsClientWithBaseURI(baseURI string, subscriptionID string) return KubeEnvironmentsClient{NewWithBaseURI(baseURI, subscriptionID)} } -// CreateOrUpdate description for Creates or updates a Kubernetes Environment. +// CreateOrUpdate creates or updates a Kubernetes Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the Kubernetes Environment. @@ -122,7 +122,7 @@ func (client KubeEnvironmentsClient) CreateOrUpdateResponder(resp *http.Response return } -// Delete description for Delete a Kubernetes Environment. +// Delete delete a Kubernetes Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the Kubernetes Environment. @@ -208,7 +208,7 @@ func (client KubeEnvironmentsClient) DeleteResponder(resp *http.Response) (resul return } -// Get description for Get the properties of a Kubernetes Environment. +// Get get the properties of a Kubernetes Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the Kubernetes Environment. @@ -292,7 +292,7 @@ func (client KubeEnvironmentsClient) GetResponder(resp *http.Response) (result K return } -// ListByResourceGroup description for Get all the Kubernetes Environments in a resource group. +// ListByResourceGroup get all the Kubernetes Environments in a resource group. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. func (client KubeEnvironmentsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result KubeEnvironmentCollectionPage, err error) { @@ -416,7 +416,7 @@ func (client KubeEnvironmentsClient) ListByResourceGroupComplete(ctx context.Con return } -// ListBySubscription description for Get all Kubernetes Environments for a subscription. +// ListBySubscription get all Kubernetes Environments for a subscription. func (client KubeEnvironmentsClient) ListBySubscription(ctx context.Context) (result KubeEnvironmentCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/KubeEnvironmentsClient.ListBySubscription") @@ -529,7 +529,7 @@ func (client KubeEnvironmentsClient) ListBySubscriptionComplete(ctx context.Cont return } -// Update description for Creates or updates a Kubernetes Environment. +// Update creates or updates a Kubernetes Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the Kubernetes Environment. diff --git a/services/web/mgmt/2021-02-01/web/models.go b/services/web/mgmt/2021-02-01/web/models.go index e3deb815db42..89aad283a9d2 100644 --- a/services/web/mgmt/2021-02-01/web/models.go +++ b/services/web/mgmt/2021-02-01/web/models.go @@ -157,92 +157,6 @@ type AllowedAudiencesValidation struct { // AllowedPrincipals the configuration settings of the Azure Active Directory allowed principals. type AllowedPrincipals struct { - // AllowedPrincipalsProperties - AllowedPrincipals resource specific properties - *AllowedPrincipalsProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for AllowedPrincipals. -func (ap AllowedPrincipals) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if ap.AllowedPrincipalsProperties != nil { - objectMap["properties"] = ap.AllowedPrincipalsProperties - } - if ap.Kind != nil { - objectMap["kind"] = ap.Kind - } - return json.Marshal(objectMap) -} - -// UnmarshalJSON is the custom unmarshaler for AllowedPrincipals struct. -func (ap *AllowedPrincipals) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var allowedPrincipalsProperties AllowedPrincipalsProperties - err = json.Unmarshal(*v, &allowedPrincipalsProperties) - if err != nil { - return err - } - ap.AllowedPrincipalsProperties = &allowedPrincipalsProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - ap.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - ap.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - ap.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - ap.Type = &typeVar - } - } - } - - return nil -} - -// AllowedPrincipalsProperties allowedPrincipals resource specific properties -type AllowedPrincipalsProperties struct { // Groups - The list of the allowed groups. Groups *[]string `json:"groups,omitempty"` // Identities - The list of the allowed identities. @@ -996,92 +910,6 @@ func NewAppInstanceStatusCollectionPage(cur AppInstanceStatusCollection, getNext // Apple the configuration settings of the Apple provider. type Apple struct { - // AppleProperties - Apple resource specific properties - *AppleProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for Apple. -func (a Apple) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if a.AppleProperties != nil { - objectMap["properties"] = a.AppleProperties - } - if a.Kind != nil { - objectMap["kind"] = a.Kind - } - return json.Marshal(objectMap) -} - -// UnmarshalJSON is the custom unmarshaler for Apple struct. -func (a *Apple) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var appleProperties AppleProperties - err = json.Unmarshal(*v, &appleProperties) - if err != nil { - return err - } - a.AppleProperties = &appleProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - a.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - a.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - a.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - a.Type = &typeVar - } - } - } - - return nil -} - -// AppleProperties apple resource specific properties -type AppleProperties struct { // Enabled - false if the Apple provider should not be enabled despite the set registration; otherwise, true. Enabled *bool `json:"enabled,omitempty"` // Registration - The configuration settings of the Apple registration. @@ -1420,92 +1248,6 @@ func (amv AppMinorVersion) MarshalJSON() ([]byte, error) { // AppRegistration the configuration settings of the app registration for providers that have app ids and // app secrets type AppRegistration struct { - // AppRegistrationProperties - AppRegistration resource specific properties - *AppRegistrationProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for AppRegistration. -func (ar AppRegistration) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if ar.AppRegistrationProperties != nil { - objectMap["properties"] = ar.AppRegistrationProperties - } - if ar.Kind != nil { - objectMap["kind"] = ar.Kind - } - return json.Marshal(objectMap) -} - -// UnmarshalJSON is the custom unmarshaler for AppRegistration struct. -func (ar *AppRegistration) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var appRegistrationProperties AppRegistrationProperties - err = json.Unmarshal(*v, &appRegistrationProperties) - if err != nil { - return err - } - ar.AppRegistrationProperties = &appRegistrationProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - ar.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - ar.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - ar.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - ar.Type = &typeVar - } - } - } - - return nil -} - -// AppRegistrationProperties appRegistration resource specific properties -type AppRegistrationProperties struct { // AppID - The App ID of the app used for login. AppID *string `json:"appId,omitempty"` // AppSecretSettingName - The app setting name that contains the app secret. @@ -4111,7 +3853,6 @@ func (future *AppServiceEnvironmentsSuspendFuture) result(client AppServiceEnvir // AppserviceGithubToken github access token for Appservice CLI github integration. type AppserviceGithubToken struct { - autorest.Response `json:"-"` // AccessToken - Github access token for Appservice CLI github integration AccessToken *string `json:"accessToken,omitempty"` // Scope - Scope of the github access token @@ -6076,188 +5817,16 @@ type AzureActiveDirectory struct { // AzureActiveDirectoryLogin the configuration settings of the Azure Active Directory login flow. type AzureActiveDirectoryLogin struct { - // AzureActiveDirectoryLoginProperties - AzureActiveDirectoryLogin resource specific properties - *AzureActiveDirectoryLoginProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for AzureActiveDirectoryLogin. -func (aadl AzureActiveDirectoryLogin) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if aadl.AzureActiveDirectoryLoginProperties != nil { - objectMap["properties"] = aadl.AzureActiveDirectoryLoginProperties - } - if aadl.Kind != nil { - objectMap["kind"] = aadl.Kind - } - return json.Marshal(objectMap) -} - -// UnmarshalJSON is the custom unmarshaler for AzureActiveDirectoryLogin struct. -func (aadl *AzureActiveDirectoryLogin) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var azureActiveDirectoryLoginProperties AzureActiveDirectoryLoginProperties - err = json.Unmarshal(*v, &azureActiveDirectoryLoginProperties) - if err != nil { - return err - } - aadl.AzureActiveDirectoryLoginProperties = &azureActiveDirectoryLoginProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - aadl.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - aadl.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - aadl.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - aadl.Type = &typeVar - } - } - } - - return nil -} - -// AzureActiveDirectoryLoginProperties azureActiveDirectoryLogin resource specific properties -type AzureActiveDirectoryLoginProperties struct { - // LoginParameters - Login parameters to send to the OpenID Connect authorization endpoint when - // a user logs in. Each parameter must be in the form "key=value". - LoginParameters *[]string `json:"loginParameters,omitempty"` - // DisableWWWAuthenticate - true if the www-authenticate provider should be omitted from the request; otherwise, false. - DisableWWWAuthenticate *bool `json:"disableWWWAuthenticate,omitempty"` + // LoginParameters - Login parameters to send to the OpenID Connect authorization endpoint when + // a user logs in. Each parameter must be in the form "key=value". + LoginParameters *[]string `json:"loginParameters,omitempty"` + // DisableWWWAuthenticate - true if the www-authenticate provider should be omitted from the request; otherwise, false. + DisableWWWAuthenticate *bool `json:"disableWWWAuthenticate,omitempty"` } // AzureActiveDirectoryRegistration the configuration settings of the Azure Active Directory app // registration. type AzureActiveDirectoryRegistration struct { - // AzureActiveDirectoryRegistrationProperties - AzureActiveDirectoryRegistration resource specific properties - *AzureActiveDirectoryRegistrationProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for AzureActiveDirectoryRegistration. -func (aadr AzureActiveDirectoryRegistration) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if aadr.AzureActiveDirectoryRegistrationProperties != nil { - objectMap["properties"] = aadr.AzureActiveDirectoryRegistrationProperties - } - if aadr.Kind != nil { - objectMap["kind"] = aadr.Kind - } - return json.Marshal(objectMap) -} - -// UnmarshalJSON is the custom unmarshaler for AzureActiveDirectoryRegistration struct. -func (aadr *AzureActiveDirectoryRegistration) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var azureActiveDirectoryRegistrationProperties AzureActiveDirectoryRegistrationProperties - err = json.Unmarshal(*v, &azureActiveDirectoryRegistrationProperties) - if err != nil { - return err - } - aadr.AzureActiveDirectoryRegistrationProperties = &azureActiveDirectoryRegistrationProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - aadr.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - aadr.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - aadr.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - aadr.Type = &typeVar - } - } - } - - return nil -} - -// AzureActiveDirectoryRegistrationProperties azureActiveDirectoryRegistration resource specific properties -type AzureActiveDirectoryRegistrationProperties struct { // OpenIDIssuer - The OpenID Connect Issuer URI that represents the entity which issues access tokens for this application. // When using Azure Active Directory, this value is the URI of the directory tenant, e.g. https://login.microsoftonline.com/v2.0/{tenant-guid}/. // This URI is a case-sensitive identifier for the token issuer. @@ -6276,220 +5845,48 @@ type AzureActiveDirectoryRegistrationProperties struct { // ClientSecretCertificateSubjectAlternativeName - An alternative to the client secret thumbprint, that is the subject alternative name of a certificate used for signing purposes. This property acts as // a replacement for the Client Secret Certificate Thumbprint. It is also optional. ClientSecretCertificateSubjectAlternativeName *string `json:"clientSecretCertificateSubjectAlternativeName,omitempty"` - // ClientSecretCertificateIssuer - An alternative to the client secret thumbprint, that is the issuer of a certificate used for signing purposes. This property acts as - // a replacement for the Client Secret Certificate Thumbprint. It is also optional. - ClientSecretCertificateIssuer *string `json:"clientSecretCertificateIssuer,omitempty"` -} - -// AzureActiveDirectoryValidation the configuration settings of the Azure Active Directory token validation -// flow. -type AzureActiveDirectoryValidation struct { - // AzureActiveDirectoryValidationProperties - AzureActiveDirectoryValidation resource specific properties - *AzureActiveDirectoryValidationProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for AzureActiveDirectoryValidation. -func (aadv AzureActiveDirectoryValidation) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if aadv.AzureActiveDirectoryValidationProperties != nil { - objectMap["properties"] = aadv.AzureActiveDirectoryValidationProperties - } - if aadv.Kind != nil { - objectMap["kind"] = aadv.Kind - } - return json.Marshal(objectMap) -} - -// UnmarshalJSON is the custom unmarshaler for AzureActiveDirectoryValidation struct. -func (aadv *AzureActiveDirectoryValidation) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var azureActiveDirectoryValidationProperties AzureActiveDirectoryValidationProperties - err = json.Unmarshal(*v, &azureActiveDirectoryValidationProperties) - if err != nil { - return err - } - aadv.AzureActiveDirectoryValidationProperties = &azureActiveDirectoryValidationProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - aadv.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - aadv.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - aadv.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - aadv.Type = &typeVar - } - } - } - - return nil -} - -// AzureActiveDirectoryValidationProperties azureActiveDirectoryValidation resource specific properties -type AzureActiveDirectoryValidationProperties struct { - // JwtClaimChecks - The configuration settings of the checks that should be made while validating the JWT Claims. - JwtClaimChecks *JwtClaimChecks `json:"jwtClaimChecks,omitempty"` - // AllowedAudiences - The list of audiences that can make successful authentication/authorization requests. - AllowedAudiences *[]string `json:"allowedAudiences,omitempty"` - // DefaultAuthorizationPolicy - The configuration settings of the default authorization policy. - DefaultAuthorizationPolicy *DefaultAuthorizationPolicy `json:"defaultAuthorizationPolicy,omitempty"` -} - -// AzureBlobStorageApplicationLogsConfig application logs azure blob storage configuration. -type AzureBlobStorageApplicationLogsConfig struct { - // Level - Log level. Possible values include: 'LogLevelOff', 'LogLevelVerbose', 'LogLevelInformation', 'LogLevelWarning', 'LogLevelError' - Level LogLevel `json:"level,omitempty"` - // SasURL - SAS url to a azure blob container with read/write/list/delete permissions. - SasURL *string `json:"sasUrl,omitempty"` - // RetentionInDays - Retention in days. - // Remove blobs older than X days. - // 0 or lower means no retention. - RetentionInDays *int32 `json:"retentionInDays,omitempty"` -} - -// AzureBlobStorageHTTPLogsConfig http logs to azure blob storage configuration. -type AzureBlobStorageHTTPLogsConfig struct { - // SasURL - SAS url to a azure blob container with read/write/list/delete permissions. - SasURL *string `json:"sasUrl,omitempty"` - // RetentionInDays - Retention in days. - // Remove blobs older than X days. - // 0 or lower means no retention. - RetentionInDays *int32 `json:"retentionInDays,omitempty"` - // Enabled - True if configuration is enabled, false if it is disabled and null if configuration is not set. - Enabled *bool `json:"enabled,omitempty"` -} - -// AzureStaticWebApps the configuration settings of the Azure Static Web Apps provider. -type AzureStaticWebApps struct { - // AzureStaticWebAppsProperties - AzureStaticWebApps resource specific properties - *AzureStaticWebAppsProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for AzureStaticWebApps. -func (aswa AzureStaticWebApps) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if aswa.AzureStaticWebAppsProperties != nil { - objectMap["properties"] = aswa.AzureStaticWebAppsProperties - } - if aswa.Kind != nil { - objectMap["kind"] = aswa.Kind - } - return json.Marshal(objectMap) -} - -// UnmarshalJSON is the custom unmarshaler for AzureStaticWebApps struct. -func (aswa *AzureStaticWebApps) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var azureStaticWebAppsProperties AzureStaticWebAppsProperties - err = json.Unmarshal(*v, &azureStaticWebAppsProperties) - if err != nil { - return err - } - aswa.AzureStaticWebAppsProperties = &azureStaticWebAppsProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - aswa.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - aswa.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - aswa.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - aswa.Type = &typeVar - } - } - } + // ClientSecretCertificateIssuer - An alternative to the client secret thumbprint, that is the issuer of a certificate used for signing purposes. This property acts as + // a replacement for the Client Secret Certificate Thumbprint. It is also optional. + ClientSecretCertificateIssuer *string `json:"clientSecretCertificateIssuer,omitempty"` +} - return nil +// AzureActiveDirectoryValidation the configuration settings of the Azure Active Directory token validation +// flow. +type AzureActiveDirectoryValidation struct { + // JwtClaimChecks - The configuration settings of the checks that should be made while validating the JWT Claims. + JwtClaimChecks *JwtClaimChecks `json:"jwtClaimChecks,omitempty"` + // AllowedAudiences - The list of audiences that can make successful authentication/authorization requests. + AllowedAudiences *[]string `json:"allowedAudiences,omitempty"` + // DefaultAuthorizationPolicy - The configuration settings of the default authorization policy. + DefaultAuthorizationPolicy *DefaultAuthorizationPolicy `json:"defaultAuthorizationPolicy,omitempty"` +} + +// AzureBlobStorageApplicationLogsConfig application logs azure blob storage configuration. +type AzureBlobStorageApplicationLogsConfig struct { + // Level - Log level. Possible values include: 'LogLevelOff', 'LogLevelVerbose', 'LogLevelInformation', 'LogLevelWarning', 'LogLevelError' + Level LogLevel `json:"level,omitempty"` + // SasURL - SAS url to a azure blob container with read/write/list/delete permissions. + SasURL *string `json:"sasUrl,omitempty"` + // RetentionInDays - Retention in days. + // Remove blobs older than X days. + // 0 or lower means no retention. + RetentionInDays *int32 `json:"retentionInDays,omitempty"` +} + +// AzureBlobStorageHTTPLogsConfig http logs to azure blob storage configuration. +type AzureBlobStorageHTTPLogsConfig struct { + // SasURL - SAS url to a azure blob container with read/write/list/delete permissions. + SasURL *string `json:"sasUrl,omitempty"` + // RetentionInDays - Retention in days. + // Remove blobs older than X days. + // 0 or lower means no retention. + RetentionInDays *int32 `json:"retentionInDays,omitempty"` + // Enabled - True if configuration is enabled, false if it is disabled and null if configuration is not set. + Enabled *bool `json:"enabled,omitempty"` } -// AzureStaticWebAppsProperties azureStaticWebApps resource specific properties -type AzureStaticWebAppsProperties struct { +// AzureStaticWebApps the configuration settings of the Azure Static Web Apps provider. +type AzureStaticWebApps struct { // Enabled - false if the Azure Static Web Apps provider should not be enabled despite the set registration; otherwise, true. Enabled *bool `json:"enabled,omitempty"` // Registration - The configuration settings of the Azure Static Web Apps registration. @@ -7282,92 +6679,6 @@ type BillingMeterProperties struct { // BlobStorageTokenStore the configuration settings of the storage of the tokens if blob storage is used. type BlobStorageTokenStore struct { - // BlobStorageTokenStoreProperties - BlobStorageTokenStore resource specific properties - *BlobStorageTokenStoreProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for BlobStorageTokenStore. -func (bsts BlobStorageTokenStore) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if bsts.BlobStorageTokenStoreProperties != nil { - objectMap["properties"] = bsts.BlobStorageTokenStoreProperties - } - if bsts.Kind != nil { - objectMap["kind"] = bsts.Kind - } - return json.Marshal(objectMap) -} - -// UnmarshalJSON is the custom unmarshaler for BlobStorageTokenStore struct. -func (bsts *BlobStorageTokenStore) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var blobStorageTokenStoreProperties BlobStorageTokenStoreProperties - err = json.Unmarshal(*v, &blobStorageTokenStoreProperties) - if err != nil { - return err - } - bsts.BlobStorageTokenStoreProperties = &blobStorageTokenStoreProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - bsts.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - bsts.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - bsts.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - bsts.Type = &typeVar - } - } - } - - return nil -} - -// BlobStorageTokenStoreProperties blobStorageTokenStore resource specific properties -type BlobStorageTokenStoreProperties struct { // SasURLSettingName - The name of the app setting containing the SAS URL of the blob storage containing the tokens. SasURLSettingName *string `json:"sasUrlSettingName,omitempty"` } @@ -9297,92 +8608,6 @@ func (char CustomHostnameAnalysisResultProperties) MarshalJSON() ([]byte, error) // CustomOpenIDConnectProvider the configuration settings of the custom Open ID Connect provider. type CustomOpenIDConnectProvider struct { - // CustomOpenIDConnectProviderProperties - CustomOpenIdConnectProvider resource specific properties - *CustomOpenIDConnectProviderProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for CustomOpenIDConnectProvider. -func (coicp CustomOpenIDConnectProvider) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if coicp.CustomOpenIDConnectProviderProperties != nil { - objectMap["properties"] = coicp.CustomOpenIDConnectProviderProperties - } - if coicp.Kind != nil { - objectMap["kind"] = coicp.Kind - } - return json.Marshal(objectMap) -} - -// UnmarshalJSON is the custom unmarshaler for CustomOpenIDConnectProvider struct. -func (coicp *CustomOpenIDConnectProvider) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var customOpenIDConnectProviderProperties CustomOpenIDConnectProviderProperties - err = json.Unmarshal(*v, &customOpenIDConnectProviderProperties) - if err != nil { - return err - } - coicp.CustomOpenIDConnectProviderProperties = &customOpenIDConnectProviderProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - coicp.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - coicp.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - coicp.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - coicp.Type = &typeVar - } - } - } - - return nil -} - -// CustomOpenIDConnectProviderProperties customOpenIdConnectProvider resource specific properties -type CustomOpenIDConnectProviderProperties struct { // Enabled - false if the custom Open ID provider provider should not be enabled; otherwise, true. Enabled *bool `json:"enabled,omitempty"` // Registration - The configuration settings of the app registration for the custom Open ID Connect provider. @@ -13434,106 +12659,30 @@ func NewGeoRegionCollectionPage(cur GeoRegionCollection, getNextPage func(contex } } -// GeoRegionProperties geoRegion resource specific properties -type GeoRegionProperties struct { - // Description - READ-ONLY; Region description. - Description *string `json:"description,omitempty"` - // DisplayName - READ-ONLY; Display name for region. - DisplayName *string `json:"displayName,omitempty"` - // OrgDomain - READ-ONLY; Display name for region. - OrgDomain *string `json:"orgDomain,omitempty"` -} - -// MarshalJSON is the custom marshaler for GeoRegionProperties. -func (gr GeoRegionProperties) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - return json.Marshal(objectMap) -} - -// GitHub the configuration settings of the GitHub provider. -type GitHub struct { - // GitHubProperties - GitHub resource specific properties - *GitHubProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for GitHub. -func (gh GitHub) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if gh.GitHubProperties != nil { - objectMap["properties"] = gh.GitHubProperties - } - if gh.Kind != nil { - objectMap["kind"] = gh.Kind - } - return json.Marshal(objectMap) -} - -// UnmarshalJSON is the custom unmarshaler for GitHub struct. -func (gh *GitHub) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var gitHubProperties GitHubProperties - err = json.Unmarshal(*v, &gitHubProperties) - if err != nil { - return err - } - gh.GitHubProperties = &gitHubProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - gh.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - gh.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - gh.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - gh.Type = &typeVar - } - } - } - - return nil +// GeoRegionProperties geoRegion resource specific properties +type GeoRegionProperties struct { + // Description - READ-ONLY; Region description. + Description *string `json:"description,omitempty"` + // DisplayName - READ-ONLY; Display name for region. + DisplayName *string `json:"displayName,omitempty"` + // OrgDomain - READ-ONLY; Display name for region. + OrgDomain *string `json:"orgDomain,omitempty"` +} + +// MarshalJSON is the custom marshaler for GeoRegionProperties. +func (gr GeoRegionProperties) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + return json.Marshal(objectMap) +} + +// GitHub the configuration settings of the GitHub provider. +type GitHub struct { + // Enabled - false if the GitHub provider should not be enabled despite the set registration; otherwise, true. + Enabled *bool `json:"enabled,omitempty"` + // Registration - The configuration settings of the app registration for the GitHub provider. + Registration *ClientRegistration `json:"registration,omitempty"` + // Login - The configuration settings of the login flow. + Login *LoginScopes `json:"login,omitempty"` } // GitHubActionCodeConfiguration the GitHub action code configuration. @@ -13582,16 +12731,6 @@ func (ghawass GitHubActionWebAppStackSettings) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } -// GitHubProperties gitHub resource specific properties -type GitHubProperties struct { - // Enabled - false if the GitHub provider should not be enabled despite the set registration; otherwise, true. - Enabled *bool `json:"enabled,omitempty"` - // Registration - The configuration settings of the app registration for the GitHub provider. - Registration *ClientRegistration `json:"registration,omitempty"` - // Login - The configuration settings of the login flow. - Login *LoginScopes `json:"login,omitempty"` -} - // GlobalCsmSkuDescription a Global SKU Description. type GlobalCsmSkuDescription struct { // Name - Name of the resource SKU. @@ -13627,92 +12766,6 @@ type GlobalValidation struct { // Google the configuration settings of the Google provider. type Google struct { - // GoogleProperties - Google resource specific properties - *GoogleProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for Google. -func (g Google) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if g.GoogleProperties != nil { - objectMap["properties"] = g.GoogleProperties - } - if g.Kind != nil { - objectMap["kind"] = g.Kind - } - return json.Marshal(objectMap) -} - -// UnmarshalJSON is the custom unmarshaler for Google struct. -func (g *Google) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var googleProperties GoogleProperties - err = json.Unmarshal(*v, &googleProperties) - if err != nil { - return err - } - g.GoogleProperties = &googleProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - g.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - g.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - g.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - g.Type = &typeVar - } - } - } - - return nil -} - -// GoogleProperties google resource specific properties -type GoogleProperties struct { // Enabled - false if the Google provider should not be enabled despite the set registration; otherwise, true. Enabled *bool `json:"enabled,omitempty"` // Registration - The configuration settings of the app registration for the Google provider. @@ -14914,17 +13967,17 @@ type IdentityProviders struct { GitHub *GitHub `json:"gitHub,omitempty"` // Google - The configuration settings of the Google provider. Google *Google `json:"google,omitempty"` - // Twitter - The configuration settings of the Twitter provider. - Twitter *Twitter `json:"twitter,omitempty"` - // CustomOpenIDConnectProviders - The map of the name of the alias of each custom Open ID Connect provider to the - // configuration settings of the custom Open ID Connect provider. - CustomOpenIDConnectProviders map[string]*CustomOpenIDConnectProvider `json:"customOpenIdConnectProviders"` // LegacyMicrosoftAccount - The configuration settings of the legacy Microsoft Account provider. LegacyMicrosoftAccount *LegacyMicrosoftAccount `json:"legacyMicrosoftAccount,omitempty"` + // Twitter - The configuration settings of the Twitter provider. + Twitter *Twitter `json:"twitter,omitempty"` // Apple - The configuration settings of the Apple provider. Apple *Apple `json:"apple,omitempty"` // AzureStaticWebApps - The configuration settings of the Azure Static Web Apps provider. AzureStaticWebApps *AzureStaticWebApps `json:"azureStaticWebApps,omitempty"` + // CustomOpenIDConnectProviders - The map of the name of the alias of each custom Open ID Connect provider to the + // configuration settings of the custom Open ID Connect provider. + CustomOpenIDConnectProviders map[string]*CustomOpenIDConnectProvider `json:"customOpenIdConnectProviders"` } // MarshalJSON is the custom marshaler for IdentityProviders. @@ -14942,21 +13995,21 @@ func (IP IdentityProviders) MarshalJSON() ([]byte, error) { if IP.Google != nil { objectMap["google"] = IP.Google } - if IP.Twitter != nil { - objectMap["twitter"] = IP.Twitter - } - if IP.CustomOpenIDConnectProviders != nil { - objectMap["customOpenIdConnectProviders"] = IP.CustomOpenIDConnectProviders - } if IP.LegacyMicrosoftAccount != nil { objectMap["legacyMicrosoftAccount"] = IP.LegacyMicrosoftAccount } + if IP.Twitter != nil { + objectMap["twitter"] = IP.Twitter + } if IP.Apple != nil { objectMap["apple"] = IP.Apple } if IP.AzureStaticWebApps != nil { objectMap["azureStaticWebApps"] = IP.AzureStaticWebApps } + if IP.CustomOpenIDConnectProviders != nil { + objectMap["customOpenIdConnectProviders"] = IP.CustomOpenIDConnectProviders + } return json.Marshal(objectMap) } @@ -16124,92 +15177,6 @@ func (future *KubeEnvironmentsDeleteFuture) result(client KubeEnvironmentsClient // LegacyMicrosoftAccount the configuration settings of the legacy Microsoft Account provider. type LegacyMicrosoftAccount struct { - // LegacyMicrosoftAccountProperties - LegacyMicrosoftAccount resource specific properties - *LegacyMicrosoftAccountProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for LegacyMicrosoftAccount. -func (lma LegacyMicrosoftAccount) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if lma.LegacyMicrosoftAccountProperties != nil { - objectMap["properties"] = lma.LegacyMicrosoftAccountProperties - } - if lma.Kind != nil { - objectMap["kind"] = lma.Kind - } - return json.Marshal(objectMap) -} - -// UnmarshalJSON is the custom unmarshaler for LegacyMicrosoftAccount struct. -func (lma *LegacyMicrosoftAccount) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var legacyMicrosoftAccountProperties LegacyMicrosoftAccountProperties - err = json.Unmarshal(*v, &legacyMicrosoftAccountProperties) - if err != nil { - return err - } - lma.LegacyMicrosoftAccountProperties = &legacyMicrosoftAccountProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - lma.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - lma.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - lma.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - lma.Type = &typeVar - } - } - } - - return nil -} - -// LegacyMicrosoftAccountProperties legacyMicrosoftAccount resource specific properties -type LegacyMicrosoftAccountProperties struct { // Enabled - false if the legacy Microsoft Account provider should not be enabled despite the set registration; otherwise, true. Enabled *bool `json:"enabled,omitempty"` // Registration - The configuration settings of the app registration for the legacy Microsoft Account provider. @@ -31159,92 +30126,6 @@ func (twj TriggeredWebJobProperties) MarshalJSON() ([]byte, error) { // Twitter the configuration settings of the Twitter provider. type Twitter struct { - // TwitterProperties - Twitter resource specific properties - *TwitterProperties `json:"properties,omitempty"` - // ID - READ-ONLY; Resource Id. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; Resource Name. - Name *string `json:"name,omitempty"` - // Kind - Kind of resource. - Kind *string `json:"kind,omitempty"` - // Type - READ-ONLY; Resource type. - Type *string `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for Twitter. -func (t Twitter) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if t.TwitterProperties != nil { - objectMap["properties"] = t.TwitterProperties - } - if t.Kind != nil { - objectMap["kind"] = t.Kind - } - return json.Marshal(objectMap) -} - -// UnmarshalJSON is the custom unmarshaler for Twitter struct. -func (t *Twitter) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var twitterProperties TwitterProperties - err = json.Unmarshal(*v, &twitterProperties) - if err != nil { - return err - } - t.TwitterProperties = &twitterProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - t.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - t.Name = &name - } - case "kind": - if v != nil { - var kind string - err = json.Unmarshal(*v, &kind) - if err != nil { - return err - } - t.Kind = &kind - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - t.Type = &typeVar - } - } - } - - return nil -} - -// TwitterProperties twitter resource specific properties -type TwitterProperties struct { // Enabled - false if the Twitter provider should not be enabled despite the set registration; otherwise, true. Enabled *bool `json:"enabled,omitempty"` // Registration - The configuration settings of the app registration for the Twitter provider. diff --git a/services/web/mgmt/2021-02-01/web/provider.go b/services/web/mgmt/2021-02-01/web/provider.go index aea0c5c5cae6..df1f372fecea 100644 --- a/services/web/mgmt/2021-02-01/web/provider.go +++ b/services/web/mgmt/2021-02-01/web/provider.go @@ -30,8 +30,8 @@ func NewProviderClientWithBaseURI(baseURI string, subscriptionID string) Provide return ProviderClient{NewWithBaseURI(baseURI, subscriptionID)} } -// GetAvailableStacks description for Get available application frameworks and their versions -func (client ProviderClient) GetAvailableStacks(ctx context.Context, osTypeSelected string) (result ApplicationStackCollectionPage, err error) { +// GetAvailableStacks get available application frameworks and their versions +func (client ProviderClient) GetAvailableStacks(ctx context.Context, osTypeSelected ProviderOsTypeSelected) (result ApplicationStackCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/ProviderClient.GetAvailableStacks") defer func() { @@ -70,7 +70,7 @@ func (client ProviderClient) GetAvailableStacks(ctx context.Context, osTypeSelec } // GetAvailableStacksPreparer prepares the GetAvailableStacks request. -func (client ProviderClient) GetAvailableStacksPreparer(ctx context.Context, osTypeSelected string) (*http.Request, error) { +func (client ProviderClient) GetAvailableStacksPreparer(ctx context.Context, osTypeSelected ProviderOsTypeSelected) (*http.Request, error) { const APIVersion = "2021-02-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, @@ -127,7 +127,7 @@ func (client ProviderClient) getAvailableStacksNextResults(ctx context.Context, } // GetAvailableStacksComplete enumerates all values, automatically crossing page boundaries as required. -func (client ProviderClient) GetAvailableStacksComplete(ctx context.Context, osTypeSelected string) (result ApplicationStackCollectionIterator, err error) { +func (client ProviderClient) GetAvailableStacksComplete(ctx context.Context, osTypeSelected ProviderOsTypeSelected) (result ApplicationStackCollectionIterator, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/ProviderClient.GetAvailableStacks") defer func() { @@ -142,8 +142,8 @@ func (client ProviderClient) GetAvailableStacksComplete(ctx context.Context, osT return } -// GetAvailableStacksOnPrem description for Get available application frameworks and their versions -func (client ProviderClient) GetAvailableStacksOnPrem(ctx context.Context, osTypeSelected string) (result ApplicationStackCollectionPage, err error) { +// GetAvailableStacksOnPrem get available application frameworks and their versions +func (client ProviderClient) GetAvailableStacksOnPrem(ctx context.Context, osTypeSelected ProviderOsTypeSelected) (result ApplicationStackCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/ProviderClient.GetAvailableStacksOnPrem") defer func() { @@ -182,7 +182,7 @@ func (client ProviderClient) GetAvailableStacksOnPrem(ctx context.Context, osTyp } // GetAvailableStacksOnPremPreparer prepares the GetAvailableStacksOnPrem request. -func (client ProviderClient) GetAvailableStacksOnPremPreparer(ctx context.Context, osTypeSelected string) (*http.Request, error) { +func (client ProviderClient) GetAvailableStacksOnPremPreparer(ctx context.Context, osTypeSelected ProviderOsTypeSelected) (*http.Request, error) { pathParameters := map[string]interface{}{ "subscriptionId": autorest.Encode("path", client.SubscriptionID), } @@ -243,7 +243,7 @@ func (client ProviderClient) getAvailableStacksOnPremNextResults(ctx context.Con } // GetAvailableStacksOnPremComplete enumerates all values, automatically crossing page boundaries as required. -func (client ProviderClient) GetAvailableStacksOnPremComplete(ctx context.Context, osTypeSelected string) (result ApplicationStackCollectionIterator, err error) { +func (client ProviderClient) GetAvailableStacksOnPremComplete(ctx context.Context, osTypeSelected ProviderOsTypeSelected) (result ApplicationStackCollectionIterator, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/ProviderClient.GetAvailableStacksOnPrem") defer func() { @@ -258,10 +258,10 @@ func (client ProviderClient) GetAvailableStacksOnPremComplete(ctx context.Contex return } -// GetFunctionAppStacks description for Get available Function app frameworks and their versions +// GetFunctionAppStacks get available Function app frameworks and their versions // Parameters: // stackOsType - stack OS Type -func (client ProviderClient) GetFunctionAppStacks(ctx context.Context, stackOsType string) (result FunctionAppStackCollectionPage, err error) { +func (client ProviderClient) GetFunctionAppStacks(ctx context.Context, stackOsType ProviderStackOsType) (result FunctionAppStackCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/ProviderClient.GetFunctionAppStacks") defer func() { @@ -300,7 +300,7 @@ func (client ProviderClient) GetFunctionAppStacks(ctx context.Context, stackOsTy } // GetFunctionAppStacksPreparer prepares the GetFunctionAppStacks request. -func (client ProviderClient) GetFunctionAppStacksPreparer(ctx context.Context, stackOsType string) (*http.Request, error) { +func (client ProviderClient) GetFunctionAppStacksPreparer(ctx context.Context, stackOsType ProviderStackOsType) (*http.Request, error) { const APIVersion = "2021-02-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, @@ -357,7 +357,7 @@ func (client ProviderClient) getFunctionAppStacksNextResults(ctx context.Context } // GetFunctionAppStacksComplete enumerates all values, automatically crossing page boundaries as required. -func (client ProviderClient) GetFunctionAppStacksComplete(ctx context.Context, stackOsType string) (result FunctionAppStackCollectionIterator, err error) { +func (client ProviderClient) GetFunctionAppStacksComplete(ctx context.Context, stackOsType ProviderStackOsType) (result FunctionAppStackCollectionIterator, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/ProviderClient.GetFunctionAppStacks") defer func() { @@ -372,12 +372,11 @@ func (client ProviderClient) GetFunctionAppStacksComplete(ctx context.Context, s return } -// GetFunctionAppStacksForLocation description for Get available Function app frameworks and their versions for -// location +// GetFunctionAppStacksForLocation get available Function app frameworks and their versions for location // Parameters: // location - function App stack location. // stackOsType - stack OS Type -func (client ProviderClient) GetFunctionAppStacksForLocation(ctx context.Context, location string, stackOsType string) (result FunctionAppStackCollectionPage, err error) { +func (client ProviderClient) GetFunctionAppStacksForLocation(ctx context.Context, location string, stackOsType ProviderStackOsType) (result FunctionAppStackCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/ProviderClient.GetFunctionAppStacksForLocation") defer func() { @@ -416,7 +415,7 @@ func (client ProviderClient) GetFunctionAppStacksForLocation(ctx context.Context } // GetFunctionAppStacksForLocationPreparer prepares the GetFunctionAppStacksForLocation request. -func (client ProviderClient) GetFunctionAppStacksForLocationPreparer(ctx context.Context, location string, stackOsType string) (*http.Request, error) { +func (client ProviderClient) GetFunctionAppStacksForLocationPreparer(ctx context.Context, location string, stackOsType ProviderStackOsType) (*http.Request, error) { pathParameters := map[string]interface{}{ "location": autorest.Encode("path", location), } @@ -477,7 +476,7 @@ func (client ProviderClient) getFunctionAppStacksForLocationNextResults(ctx cont } // GetFunctionAppStacksForLocationComplete enumerates all values, automatically crossing page boundaries as required. -func (client ProviderClient) GetFunctionAppStacksForLocationComplete(ctx context.Context, location string, stackOsType string) (result FunctionAppStackCollectionIterator, err error) { +func (client ProviderClient) GetFunctionAppStacksForLocationComplete(ctx context.Context, location string, stackOsType ProviderStackOsType) (result FunctionAppStackCollectionIterator, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/ProviderClient.GetFunctionAppStacksForLocation") defer func() { @@ -492,10 +491,10 @@ func (client ProviderClient) GetFunctionAppStacksForLocationComplete(ctx context return } -// GetWebAppStacks description for Get available Web app frameworks and their versions +// GetWebAppStacks get available Web app frameworks and their versions // Parameters: // stackOsType - stack OS Type -func (client ProviderClient) GetWebAppStacks(ctx context.Context, stackOsType string) (result AppStackCollectionPage, err error) { +func (client ProviderClient) GetWebAppStacks(ctx context.Context, stackOsType ProviderStackOsType) (result AppStackCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/ProviderClient.GetWebAppStacks") defer func() { @@ -534,7 +533,7 @@ func (client ProviderClient) GetWebAppStacks(ctx context.Context, stackOsType st } // GetWebAppStacksPreparer prepares the GetWebAppStacks request. -func (client ProviderClient) GetWebAppStacksPreparer(ctx context.Context, stackOsType string) (*http.Request, error) { +func (client ProviderClient) GetWebAppStacksPreparer(ctx context.Context, stackOsType ProviderStackOsType) (*http.Request, error) { const APIVersion = "2021-02-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, @@ -591,7 +590,7 @@ func (client ProviderClient) getWebAppStacksNextResults(ctx context.Context, las } // GetWebAppStacksComplete enumerates all values, automatically crossing page boundaries as required. -func (client ProviderClient) GetWebAppStacksComplete(ctx context.Context, stackOsType string) (result AppStackCollectionIterator, err error) { +func (client ProviderClient) GetWebAppStacksComplete(ctx context.Context, stackOsType ProviderStackOsType) (result AppStackCollectionIterator, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/ProviderClient.GetWebAppStacks") defer func() { @@ -606,11 +605,11 @@ func (client ProviderClient) GetWebAppStacksComplete(ctx context.Context, stackO return } -// GetWebAppStacksForLocation description for Get available Web app frameworks and their versions for location +// GetWebAppStacksForLocation get available Web app frameworks and their versions for location // Parameters: // location - web App stack location. // stackOsType - stack OS Type -func (client ProviderClient) GetWebAppStacksForLocation(ctx context.Context, location string, stackOsType string) (result AppStackCollectionPage, err error) { +func (client ProviderClient) GetWebAppStacksForLocation(ctx context.Context, location string, stackOsType ProviderStackOsType) (result AppStackCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/ProviderClient.GetWebAppStacksForLocation") defer func() { @@ -649,7 +648,7 @@ func (client ProviderClient) GetWebAppStacksForLocation(ctx context.Context, loc } // GetWebAppStacksForLocationPreparer prepares the GetWebAppStacksForLocation request. -func (client ProviderClient) GetWebAppStacksForLocationPreparer(ctx context.Context, location string, stackOsType string) (*http.Request, error) { +func (client ProviderClient) GetWebAppStacksForLocationPreparer(ctx context.Context, location string, stackOsType ProviderStackOsType) (*http.Request, error) { pathParameters := map[string]interface{}{ "location": autorest.Encode("path", location), } @@ -710,7 +709,7 @@ func (client ProviderClient) getWebAppStacksForLocationNextResults(ctx context.C } // GetWebAppStacksForLocationComplete enumerates all values, automatically crossing page boundaries as required. -func (client ProviderClient) GetWebAppStacksForLocationComplete(ctx context.Context, location string, stackOsType string) (result AppStackCollectionIterator, err error) { +func (client ProviderClient) GetWebAppStacksForLocationComplete(ctx context.Context, location string, stackOsType ProviderStackOsType) (result AppStackCollectionIterator, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/ProviderClient.GetWebAppStacksForLocation") defer func() { @@ -725,8 +724,8 @@ func (client ProviderClient) GetWebAppStacksForLocationComplete(ctx context.Cont return } -// ListOperations description for Gets all available operations for the Microsoft.Web resource provider. Also exposes -// resource metric definitions +// ListOperations gets all available operations for the Microsoft.Web resource provider. Also exposes resource metric +// definitions func (client ProviderClient) ListOperations(ctx context.Context) (result CsmOperationCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/ProviderClient.ListOperations") diff --git a/services/web/mgmt/2021-02-01/web/recommendations.go b/services/web/mgmt/2021-02-01/web/recommendations.go index 21385e2b51d4..e556f5f8c251 100644 --- a/services/web/mgmt/2021-02-01/web/recommendations.go +++ b/services/web/mgmt/2021-02-01/web/recommendations.go @@ -31,7 +31,7 @@ func NewRecommendationsClientWithBaseURI(baseURI string, subscriptionID string) return RecommendationsClient{NewWithBaseURI(baseURI, subscriptionID)} } -// DisableAllForHostingEnvironment description for Disable all recommendations for an app. +// DisableAllForHostingEnvironment disable all recommendations for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // environmentName - name of the app. @@ -115,7 +115,7 @@ func (client RecommendationsClient) DisableAllForHostingEnvironmentResponder(res return } -// DisableAllForWebApp description for Disable all recommendations for an app. +// DisableAllForWebApp disable all recommendations for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - name of the app. @@ -198,7 +198,7 @@ func (client RecommendationsClient) DisableAllForWebAppResponder(resp *http.Resp return } -// DisableRecommendationForHostingEnvironment description for Disables the specific rule for a web site permanently. +// DisableRecommendationForHostingEnvironment disables the specific rule for a web site permanently. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // environmentName - site name @@ -284,7 +284,7 @@ func (client RecommendationsClient) DisableRecommendationForHostingEnvironmentRe return } -// DisableRecommendationForSite description for Disables the specific rule for a web site permanently. +// DisableRecommendationForSite disables the specific rule for a web site permanently. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site name @@ -369,8 +369,8 @@ func (client RecommendationsClient) DisableRecommendationForSiteResponder(resp * return } -// DisableRecommendationForSubscription description for Disables the specified rule so it will not apply to a -// subscription in the future. +// DisableRecommendationForSubscription disables the specified rule so it will not apply to a subscription in the +// future. // Parameters: // name - rule name func (client RecommendationsClient) DisableRecommendationForSubscription(ctx context.Context, name string) (result autorest.Response, err error) { @@ -443,7 +443,7 @@ func (client RecommendationsClient) DisableRecommendationForSubscriptionResponde return } -// GetRuleDetailsByHostingEnvironment description for Get a recommendation rule for an app. +// GetRuleDetailsByHostingEnvironment get a recommendation rule for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // hostingEnvironmentName - name of the hosting environment. @@ -538,7 +538,7 @@ func (client RecommendationsClient) GetRuleDetailsByHostingEnvironmentResponder( return } -// GetRuleDetailsByWebApp description for Get a recommendation rule for an app. +// GetRuleDetailsByWebApp get a recommendation rule for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - name of the app. @@ -633,7 +633,7 @@ func (client RecommendationsClient) GetRuleDetailsByWebAppResponder(resp *http.R return } -// List description for List all recommendations for a subscription. +// List list all recommendations for a subscription. // Parameters: // featured - specify true to return only the most critical recommendations. The default is // false, which returns all recommendations. @@ -758,8 +758,7 @@ func (client RecommendationsClient) ListComplete(ctx context.Context, featured * return } -// ListHistoryForHostingEnvironment description for Get past recommendations for an app, optionally specified by the -// time range. +// ListHistoryForHostingEnvironment get past recommendations for an app, optionally specified by the time range. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // hostingEnvironmentName - name of the hosting environment. @@ -896,7 +895,7 @@ func (client RecommendationsClient) ListHistoryForHostingEnvironmentComplete(ctx return } -// ListHistoryForWebApp description for Get past recommendations for an app, optionally specified by the time range. +// ListHistoryForWebApp get past recommendations for an app, optionally specified by the time range. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - name of the app. @@ -1033,7 +1032,7 @@ func (client RecommendationsClient) ListHistoryForWebAppComplete(ctx context.Con return } -// ListRecommendedRulesForHostingEnvironment description for Get all recommendations for a hosting environment. +// ListRecommendedRulesForHostingEnvironment get all recommendations for a hosting environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // hostingEnvironmentName - name of the app. @@ -1169,7 +1168,7 @@ func (client RecommendationsClient) ListRecommendedRulesForHostingEnvironmentCom return } -// ListRecommendedRulesForWebApp description for Get all recommendations for an app. +// ListRecommendedRulesForWebApp get all recommendations for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - name of the app. @@ -1305,7 +1304,7 @@ func (client RecommendationsClient) ListRecommendedRulesForWebAppComplete(ctx co return } -// ResetAllFilters description for Reset all recommendation opt-out settings for a subscription. +// ResetAllFilters reset all recommendation opt-out settings for a subscription. func (client RecommendationsClient) ResetAllFilters(ctx context.Context) (result autorest.Response, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/RecommendationsClient.ResetAllFilters") @@ -1375,7 +1374,7 @@ func (client RecommendationsClient) ResetAllFiltersResponder(resp *http.Response return } -// ResetAllFiltersForHostingEnvironment description for Reset all recommendation opt-out settings for an app. +// ResetAllFiltersForHostingEnvironment reset all recommendation opt-out settings for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // environmentName - name of the app. @@ -1459,7 +1458,7 @@ func (client RecommendationsClient) ResetAllFiltersForHostingEnvironmentResponde return } -// ResetAllFiltersForWebApp description for Reset all recommendation opt-out settings for an app. +// ResetAllFiltersForWebApp reset all recommendation opt-out settings for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - name of the app. diff --git a/services/web/mgmt/2021-02-01/web/resourcehealthmetadata.go b/services/web/mgmt/2021-02-01/web/resourcehealthmetadata.go index 371a04d643f6..3ca41fdeccdd 100644 --- a/services/web/mgmt/2021-02-01/web/resourcehealthmetadata.go +++ b/services/web/mgmt/2021-02-01/web/resourcehealthmetadata.go @@ -32,7 +32,7 @@ func NewResourceHealthMetadataClientWithBaseURI(baseURI string, subscriptionID s return ResourceHealthMetadataClient{NewWithBaseURI(baseURI, subscriptionID)} } -// GetBySite description for Gets the category of ResourceHealthMetadata to use for the given site +// GetBySite gets the category of ResourceHealthMetadata to use for the given site // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app @@ -116,7 +116,7 @@ func (client ResourceHealthMetadataClient) GetBySiteResponder(resp *http.Respons return } -// GetBySiteSlot description for Gets the category of ResourceHealthMetadata to use for the given site +// GetBySiteSlot gets the category of ResourceHealthMetadata to use for the given site // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app @@ -202,7 +202,7 @@ func (client ResourceHealthMetadataClient) GetBySiteSlotResponder(resp *http.Res return } -// List description for List all ResourceHealthMetadata for all sites in the subscription. +// List list all ResourceHealthMetadata for all sites in the subscription. func (client ResourceHealthMetadataClient) List(ctx context.Context) (result ResourceHealthMetadataCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/ResourceHealthMetadataClient.List") @@ -315,8 +315,7 @@ func (client ResourceHealthMetadataClient) ListComplete(ctx context.Context) (re return } -// ListByResourceGroup description for List all ResourceHealthMetadata for all sites in the resource group in the -// subscription. +// ListByResourceGroup list all ResourceHealthMetadata for all sites in the resource group in the subscription. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. func (client ResourceHealthMetadataClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ResourceHealthMetadataCollectionPage, err error) { @@ -440,7 +439,7 @@ func (client ResourceHealthMetadataClient) ListByResourceGroupComplete(ctx conte return } -// ListBySite description for Gets the category of ResourceHealthMetadata to use for the given site as a collection +// ListBySite gets the category of ResourceHealthMetadata to use for the given site as a collection // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -566,7 +565,7 @@ func (client ResourceHealthMetadataClient) ListBySiteComplete(ctx context.Contex return } -// ListBySiteSlot description for Gets the category of ResourceHealthMetadata to use for the given site as a collection +// ListBySiteSlot gets the category of ResourceHealthMetadata to use for the given site as a collection // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. diff --git a/services/web/mgmt/2021-02-01/web/staticsites.go b/services/web/mgmt/2021-02-01/web/staticsites.go index 6fbb00ea3c5d..8c9c74d0ca6b 100644 --- a/services/web/mgmt/2021-02-01/web/staticsites.go +++ b/services/web/mgmt/2021-02-01/web/staticsites.go @@ -31,7 +31,7 @@ func NewStaticSitesClientWithBaseURI(baseURI string, subscriptionID string) Stat return StaticSitesClient{NewWithBaseURI(baseURI, subscriptionID)} } -// ApproveOrRejectPrivateEndpointConnection description for Approves or rejects a private endpoint connection +// ApproveOrRejectPrivateEndpointConnection approves or rejects a private endpoint connection // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -123,8 +123,8 @@ func (client StaticSitesClient) ApproveOrRejectPrivateEndpointConnectionResponde return } -// CreateOrUpdateStaticSite description for Creates a new static site in an existing resource group, or updates an -// existing static site. +// CreateOrUpdateStaticSite creates a new static site in an existing resource group, or updates an existing static +// site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site to create or update. @@ -214,7 +214,7 @@ func (client StaticSitesClient) CreateOrUpdateStaticSiteResponder(resp *http.Res return } -// CreateOrUpdateStaticSiteAppSettings description for Creates or updates the app settings of a static site. +// CreateOrUpdateStaticSiteAppSettings creates or updates the app settings of a static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -301,7 +301,7 @@ func (client StaticSitesClient) CreateOrUpdateStaticSiteAppSettingsResponder(res return } -// CreateOrUpdateStaticSiteBuildAppSettings description for Creates or updates the app settings of a static site build. +// CreateOrUpdateStaticSiteBuildAppSettings creates or updates the app settings of a static site build. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -390,8 +390,8 @@ func (client StaticSitesClient) CreateOrUpdateStaticSiteBuildAppSettingsResponde return } -// CreateOrUpdateStaticSiteBuildFunctionAppSettings description for Creates or updates the function app settings of a -// static site build. +// CreateOrUpdateStaticSiteBuildFunctionAppSettings creates or updates the function app settings of a static site +// build. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -480,8 +480,8 @@ func (client StaticSitesClient) CreateOrUpdateStaticSiteBuildFunctionAppSettings return } -// CreateOrUpdateStaticSiteCustomDomain description for Creates a new static site custom domain in an existing resource -// group and static site. +// CreateOrUpdateStaticSiteCustomDomain creates a new static site custom domain in an existing resource group and +// static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -574,8 +574,7 @@ func (client StaticSitesClient) CreateOrUpdateStaticSiteCustomDomainResponder(re return } -// CreateOrUpdateStaticSiteFunctionAppSettings description for Creates or updates the function app settings of a static -// site. +// CreateOrUpdateStaticSiteFunctionAppSettings creates or updates the function app settings of a static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -662,7 +661,7 @@ func (client StaticSitesClient) CreateOrUpdateStaticSiteFunctionAppSettingsRespo return } -// CreateUserRolesInvitationLink description for Creates an invitation link for a user with the role +// CreateUserRolesInvitationLink creates an invitation link for a user with the role // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -748,7 +747,7 @@ func (client StaticSitesClient) CreateUserRolesInvitationLinkResponder(resp *htt return } -// CreateZipDeploymentForStaticSite description for Deploys zipped content to a static site. +// CreateZipDeploymentForStaticSite deploys zipped content to a static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -838,8 +837,7 @@ func (client StaticSitesClient) CreateZipDeploymentForStaticSiteResponder(resp * return } -// CreateZipDeploymentForStaticSiteBuild description for Deploys zipped content to a specific environment of a static -// site. +// CreateZipDeploymentForStaticSiteBuild deploys zipped content to a specific environment of a static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -931,7 +929,7 @@ func (client StaticSitesClient) CreateZipDeploymentForStaticSiteBuildResponder(r return } -// DeletePrivateEndpointConnection description for Deletes a private endpoint connection +// DeletePrivateEndpointConnection deletes a private endpoint connection // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -1020,7 +1018,7 @@ func (client StaticSitesClient) DeletePrivateEndpointConnectionResponder(resp *h return } -// DeleteStaticSite description for Deletes a static site. +// DeleteStaticSite deletes a static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site to delete. @@ -1106,7 +1104,7 @@ func (client StaticSitesClient) DeleteStaticSiteResponder(resp *http.Response) ( return } -// DeleteStaticSiteBuild description for Deletes a static site build. +// DeleteStaticSiteBuild deletes a static site build. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -1194,7 +1192,7 @@ func (client StaticSitesClient) DeleteStaticSiteBuildResponder(resp *http.Respon return } -// DeleteStaticSiteCustomDomain description for Deletes a custom domain. +// DeleteStaticSiteCustomDomain deletes a custom domain. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -1282,7 +1280,7 @@ func (client StaticSitesClient) DeleteStaticSiteCustomDomainResponder(resp *http return } -// DeleteStaticSiteUser description for Deletes the user entry from the static site. +// DeleteStaticSiteUser deletes the user entry from the static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the staticsite. @@ -1369,7 +1367,7 @@ func (client StaticSitesClient) DeleteStaticSiteUserResponder(resp *http.Respons return } -// DetachStaticSite description for Detaches a static site. +// DetachStaticSite detaches a static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site to detach. @@ -1455,8 +1453,7 @@ func (client StaticSitesClient) DetachStaticSiteResponder(resp *http.Response) ( return } -// DetachUserProvidedFunctionAppFromStaticSite description for Detach the user provided function app from the static -// site +// DetachUserProvidedFunctionAppFromStaticSite detach the user provided function app from the static site // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -1541,8 +1538,7 @@ func (client StaticSitesClient) DetachUserProvidedFunctionAppFromStaticSiteRespo return } -// DetachUserProvidedFunctionAppFromStaticSiteBuild description for Detach the user provided function app from the -// static site build +// DetachUserProvidedFunctionAppFromStaticSiteBuild detach the user provided function app from the static site build // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -1629,7 +1625,7 @@ func (client StaticSitesClient) DetachUserProvidedFunctionAppFromStaticSiteBuild return } -// GetPrivateEndpointConnection description for Gets a private endpoint connection +// GetPrivateEndpointConnection gets a private endpoint connection // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -1715,8 +1711,7 @@ func (client StaticSitesClient) GetPrivateEndpointConnectionResponder(resp *http return } -// GetPrivateEndpointConnectionList description for Gets the list of private endpoint connections associated with a -// static site +// GetPrivateEndpointConnectionList gets the list of private endpoint connections associated with a static site // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -1842,7 +1837,7 @@ func (client StaticSitesClient) GetPrivateEndpointConnectionListComplete(ctx con return } -// GetPrivateLinkResources description for Gets the private link resources +// GetPrivateLinkResources gets the private link resources // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the site. @@ -1926,7 +1921,7 @@ func (client StaticSitesClient) GetPrivateLinkResourcesResponder(resp *http.Resp return } -// GetStaticSite description for Gets the details of a static site. +// GetStaticSite gets the details of a static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -2010,7 +2005,7 @@ func (client StaticSitesClient) GetStaticSiteResponder(resp *http.Response) (res return } -// GetStaticSiteBuild description for Gets the details of a static site build. +// GetStaticSiteBuild gets the details of a static site build. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -2096,7 +2091,7 @@ func (client StaticSitesClient) GetStaticSiteBuildResponder(resp *http.Response) return } -// GetStaticSiteBuilds description for Gets all static site builds for a particular static site. +// GetStaticSiteBuilds gets all static site builds for a particular static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -2222,7 +2217,7 @@ func (client StaticSitesClient) GetStaticSiteBuildsComplete(ctx context.Context, return } -// GetStaticSiteCustomDomain description for Gets an existing custom domain for a particular static site. +// GetStaticSiteCustomDomain gets an existing custom domain for a particular static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site resource to search in. @@ -2308,7 +2303,7 @@ func (client StaticSitesClient) GetStaticSiteCustomDomainResponder(resp *http.Re return } -// GetStaticSitesByResourceGroup description for Gets all static sites in the specified resource group. +// GetStaticSitesByResourceGroup gets all static sites in the specified resource group. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. func (client StaticSitesClient) GetStaticSitesByResourceGroup(ctx context.Context, resourceGroupName string) (result StaticSiteCollectionPage, err error) { @@ -2432,8 +2427,8 @@ func (client StaticSitesClient) GetStaticSitesByResourceGroupComplete(ctx contex return } -// GetUserProvidedFunctionAppForStaticSite description for Gets the details of the user provided function app -// registered with a static site +// GetUserProvidedFunctionAppForStaticSite gets the details of the user provided function app registered with a static +// site // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -2519,8 +2514,8 @@ func (client StaticSitesClient) GetUserProvidedFunctionAppForStaticSiteResponder return } -// GetUserProvidedFunctionAppForStaticSiteBuild description for Gets the details of the user provided function app -// registered with a static site build +// GetUserProvidedFunctionAppForStaticSiteBuild gets the details of the user provided function app registered with a +// static site build // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -2608,8 +2603,8 @@ func (client StaticSitesClient) GetUserProvidedFunctionAppForStaticSiteBuildResp return } -// GetUserProvidedFunctionAppsForStaticSite description for Gets the details of the user provided function apps -// registered with a static site +// GetUserProvidedFunctionAppsForStaticSite gets the details of the user provided function apps registered with a +// static site // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -2735,8 +2730,8 @@ func (client StaticSitesClient) GetUserProvidedFunctionAppsForStaticSiteComplete return } -// GetUserProvidedFunctionAppsForStaticSiteBuild description for Gets the details of the user provided function apps -// registered with a static site build +// GetUserProvidedFunctionAppsForStaticSiteBuild gets the details of the user provided function apps registered with a +// static site build // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -2864,7 +2859,7 @@ func (client StaticSitesClient) GetUserProvidedFunctionAppsForStaticSiteBuildCom return } -// List description for Get all Static Sites for a subscription. +// List get all Static Sites for a subscription. func (client StaticSitesClient) List(ctx context.Context) (result StaticSiteCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/StaticSitesClient.List") @@ -2977,7 +2972,7 @@ func (client StaticSitesClient) ListComplete(ctx context.Context) (result Static return } -// ListStaticSiteAppSettings description for Gets the application settings of a static site. +// ListStaticSiteAppSettings gets the application settings of a static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -3061,7 +3056,7 @@ func (client StaticSitesClient) ListStaticSiteAppSettingsResponder(resp *http.Re return } -// ListStaticSiteBuildAppSettings description for Gets the application settings of a static site build. +// ListStaticSiteBuildAppSettings gets the application settings of a static site build. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -3147,7 +3142,7 @@ func (client StaticSitesClient) ListStaticSiteBuildAppSettingsResponder(resp *ht return } -// ListStaticSiteBuildFunctionAppSettings description for Gets the application settings of a static site build. +// ListStaticSiteBuildFunctionAppSettings gets the application settings of a static site build. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -3233,7 +3228,7 @@ func (client StaticSitesClient) ListStaticSiteBuildFunctionAppSettingsResponder( return } -// ListStaticSiteBuildFunctions description for Gets the functions of a particular static site build. +// ListStaticSiteBuildFunctions gets the functions of a particular static site build. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -3361,7 +3356,7 @@ func (client StaticSitesClient) ListStaticSiteBuildFunctionsComplete(ctx context return } -// ListStaticSiteConfiguredRoles description for Lists the roles configured for the static site. +// ListStaticSiteConfiguredRoles lists the roles configured for the static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -3445,7 +3440,7 @@ func (client StaticSitesClient) ListStaticSiteConfiguredRolesResponder(resp *htt return } -// ListStaticSiteCustomDomains description for Gets all static site custom domains for a particular static site. +// ListStaticSiteCustomDomains gets all static site custom domains for a particular static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site resource to search in. @@ -3571,7 +3566,7 @@ func (client StaticSitesClient) ListStaticSiteCustomDomainsComplete(ctx context. return } -// ListStaticSiteFunctionAppSettings description for Gets the application settings of a static site. +// ListStaticSiteFunctionAppSettings gets the application settings of a static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -3655,7 +3650,7 @@ func (client StaticSitesClient) ListStaticSiteFunctionAppSettingsResponder(resp return } -// ListStaticSiteFunctions description for Gets the functions of a static site. +// ListStaticSiteFunctions gets the functions of a static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -3781,7 +3776,7 @@ func (client StaticSitesClient) ListStaticSiteFunctionsComplete(ctx context.Cont return } -// ListStaticSiteSecrets description for Lists the secrets for an existing static site. +// ListStaticSiteSecrets lists the secrets for an existing static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -3865,7 +3860,7 @@ func (client StaticSitesClient) ListStaticSiteSecretsResponder(resp *http.Respon return } -// ListStaticSiteUsers description for Gets the list of users of a static site. +// ListStaticSiteUsers gets the list of users of a static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -3993,7 +3988,7 @@ func (client StaticSitesClient) ListStaticSiteUsersComplete(ctx context.Context, return } -// PreviewWorkflow description for Generates a preview workflow file for the static site +// PreviewWorkflow generates a preview workflow file for the static site // Parameters: // location - location where you plan to create the static site. // staticSitesWorkflowPreviewRequest - a JSON representation of the StaticSitesWorkflowPreviewRequest @@ -4071,8 +4066,7 @@ func (client StaticSitesClient) PreviewWorkflowResponder(resp *http.Response) (r return } -// RegisterUserProvidedFunctionAppWithStaticSite description for Register a user provided function app with a static -// site +// RegisterUserProvidedFunctionAppWithStaticSite register a user provided function app with a static site // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -4171,8 +4165,7 @@ func (client StaticSitesClient) RegisterUserProvidedFunctionAppWithStaticSiteRes return } -// RegisterUserProvidedFunctionAppWithStaticSiteBuild description for Register a user provided function app with a -// static site build +// RegisterUserProvidedFunctionAppWithStaticSiteBuild register a user provided function app with a static site build // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -4273,7 +4266,7 @@ func (client StaticSitesClient) RegisterUserProvidedFunctionAppWithStaticSiteBui return } -// ResetStaticSiteAPIKey description for Resets the api key for an existing static site. +// ResetStaticSiteAPIKey resets the api key for an existing static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -4358,8 +4351,7 @@ func (client StaticSitesClient) ResetStaticSiteAPIKeyResponder(resp *http.Respon return } -// UpdateStaticSite description for Creates a new static site in an existing resource group, or updates an existing -// static site. +// UpdateStaticSite creates a new static site in an existing resource group, or updates an existing static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site to create or update. @@ -4446,7 +4438,7 @@ func (client StaticSitesClient) UpdateStaticSiteResponder(resp *http.Response) ( return } -// UpdateStaticSiteUser description for Updates a user entry with the listed roles +// UpdateStaticSiteUser updates a user entry with the listed roles // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -4537,8 +4529,7 @@ func (client StaticSitesClient) UpdateStaticSiteUserResponder(resp *http.Respons return } -// ValidateCustomDomainCanBeAddedToStaticSite description for Validates a particular custom domain can be added to a -// static site. +// ValidateCustomDomainCanBeAddedToStaticSite validates a particular custom domain can be added to a static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. diff --git a/services/web/mgmt/2021-02-01/web/topleveldomains.go b/services/web/mgmt/2021-02-01/web/topleveldomains.go index 53de717c2d5e..03e2a940d77b 100644 --- a/services/web/mgmt/2021-02-01/web/topleveldomains.go +++ b/services/web/mgmt/2021-02-01/web/topleveldomains.go @@ -30,7 +30,7 @@ func NewTopLevelDomainsClientWithBaseURI(baseURI string, subscriptionID string) return TopLevelDomainsClient{NewWithBaseURI(baseURI, subscriptionID)} } -// Get description for Get details of a top-level domain. +// Get get details of a top-level domain. // Parameters: // name - name of the top-level domain. func (client TopLevelDomainsClient) Get(ctx context.Context, name string) (result TopLevelDomain, err error) { @@ -104,7 +104,7 @@ func (client TopLevelDomainsClient) GetResponder(resp *http.Response) (result To return } -// List description for Get all top-level domains supported for registration. +// List get all top-level domains supported for registration. func (client TopLevelDomainsClient) List(ctx context.Context) (result TopLevelDomainCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/TopLevelDomainsClient.List") @@ -217,7 +217,7 @@ func (client TopLevelDomainsClient) ListComplete(ctx context.Context) (result To return } -// ListAgreements description for Gets all legal agreements that user needs to accept before purchasing a domain. +// ListAgreements gets all legal agreements that user needs to accept before purchasing a domain. // Parameters: // name - name of the top-level domain. // agreementOption - domain agreement options. diff --git a/services/web/mgmt/2021-02-01/web/webapi/interfaces.go b/services/web/mgmt/2021-02-01/web/webapi/interfaces.go index 27cfab05e161..fa74ebea247f 100644 --- a/services/web/mgmt/2021-02-01/web/webapi/interfaces.go +++ b/services/web/mgmt/2021-02-01/web/webapi/interfaces.go @@ -16,7 +16,6 @@ import ( // BaseClientAPI contains the set of methods on the BaseClient type. type BaseClientAPI interface { CheckNameAvailability(ctx context.Context, request web.ResourceNameAvailabilityRequest) (result web.ResourceNameAvailability, err error) - GenerateGithubAccessTokenForAppserviceCLIAsync(ctx context.Context, request web.AppserviceGithubTokenRequest) (result web.AppserviceGithubToken, err error) GetPublishingUser(ctx context.Context) (result web.User, err error) GetSourceControl(ctx context.Context, sourceControlType string) (result web.SourceControl, err error) GetSubscriptionDeploymentLocations(ctx context.Context) (result web.DeploymentLocations, err error) @@ -328,18 +327,18 @@ var _ KubeEnvironmentsClientAPI = (*web.KubeEnvironmentsClient)(nil) // ProviderClientAPI contains the set of methods on the ProviderClient type. type ProviderClientAPI interface { - GetAvailableStacks(ctx context.Context, osTypeSelected string) (result web.ApplicationStackCollectionPage, err error) - GetAvailableStacksComplete(ctx context.Context, osTypeSelected string) (result web.ApplicationStackCollectionIterator, err error) - GetAvailableStacksOnPrem(ctx context.Context, osTypeSelected string) (result web.ApplicationStackCollectionPage, err error) - GetAvailableStacksOnPremComplete(ctx context.Context, osTypeSelected string) (result web.ApplicationStackCollectionIterator, err error) - GetFunctionAppStacks(ctx context.Context, stackOsType string) (result web.FunctionAppStackCollectionPage, err error) - GetFunctionAppStacksComplete(ctx context.Context, stackOsType string) (result web.FunctionAppStackCollectionIterator, err error) - GetFunctionAppStacksForLocation(ctx context.Context, location string, stackOsType string) (result web.FunctionAppStackCollectionPage, err error) - GetFunctionAppStacksForLocationComplete(ctx context.Context, location string, stackOsType string) (result web.FunctionAppStackCollectionIterator, err error) - GetWebAppStacks(ctx context.Context, stackOsType string) (result web.AppStackCollectionPage, err error) - GetWebAppStacksComplete(ctx context.Context, stackOsType string) (result web.AppStackCollectionIterator, err error) - GetWebAppStacksForLocation(ctx context.Context, location string, stackOsType string) (result web.AppStackCollectionPage, err error) - GetWebAppStacksForLocationComplete(ctx context.Context, location string, stackOsType string) (result web.AppStackCollectionIterator, err error) + GetAvailableStacks(ctx context.Context, osTypeSelected web.ProviderOsTypeSelected) (result web.ApplicationStackCollectionPage, err error) + GetAvailableStacksComplete(ctx context.Context, osTypeSelected web.ProviderOsTypeSelected) (result web.ApplicationStackCollectionIterator, err error) + GetAvailableStacksOnPrem(ctx context.Context, osTypeSelected web.ProviderOsTypeSelected) (result web.ApplicationStackCollectionPage, err error) + GetAvailableStacksOnPremComplete(ctx context.Context, osTypeSelected web.ProviderOsTypeSelected) (result web.ApplicationStackCollectionIterator, err error) + GetFunctionAppStacks(ctx context.Context, stackOsType web.ProviderStackOsType) (result web.FunctionAppStackCollectionPage, err error) + GetFunctionAppStacksComplete(ctx context.Context, stackOsType web.ProviderStackOsType) (result web.FunctionAppStackCollectionIterator, err error) + GetFunctionAppStacksForLocation(ctx context.Context, location string, stackOsType web.ProviderStackOsType) (result web.FunctionAppStackCollectionPage, err error) + GetFunctionAppStacksForLocationComplete(ctx context.Context, location string, stackOsType web.ProviderStackOsType) (result web.FunctionAppStackCollectionIterator, err error) + GetWebAppStacks(ctx context.Context, stackOsType web.ProviderStackOsType) (result web.AppStackCollectionPage, err error) + GetWebAppStacksComplete(ctx context.Context, stackOsType web.ProviderStackOsType) (result web.AppStackCollectionIterator, err error) + GetWebAppStacksForLocation(ctx context.Context, location string, stackOsType web.ProviderStackOsType) (result web.AppStackCollectionPage, err error) + GetWebAppStacksForLocationComplete(ctx context.Context, location string, stackOsType web.ProviderStackOsType) (result web.AppStackCollectionIterator, err error) ListOperations(ctx context.Context) (result web.CsmOperationCollectionPage, err error) ListOperationsComplete(ctx context.Context) (result web.CsmOperationCollectionIterator, err error) } diff --git a/services/web/mgmt/2021-03-01/web/CHANGELOG.md b/services/web/mgmt/2021-03-01/web/CHANGELOG.md index 52911e4cc5e4..94109c32fcd4 100644 --- a/services/web/mgmt/2021-03-01/web/CHANGELOG.md +++ b/services/web/mgmt/2021-03-01/web/CHANGELOG.md @@ -1,2 +1,18 @@ -# Change History +# Unreleased +## Additive Changes + +### New Funcs + +1. AppsClient.CreateOneDeployOperation(context.Context, string, string) (SetObject, error) +1. AppsClient.CreateOneDeployOperationPreparer(context.Context, string, string) (*http.Request, error) +1. AppsClient.CreateOneDeployOperationResponder(*http.Response) (SetObject, error) +1. AppsClient.CreateOneDeployOperationSender(*http.Request) (*http.Response, error) +1. AppsClient.GetAuthSettingsV2WithoutSecretsSlot(context.Context, string, string, string) (SiteAuthSettingsV2, error) +1. AppsClient.GetAuthSettingsV2WithoutSecretsSlotPreparer(context.Context, string, string, string) (*http.Request, error) +1. AppsClient.GetAuthSettingsV2WithoutSecretsSlotResponder(*http.Response) (SiteAuthSettingsV2, error) +1. AppsClient.GetAuthSettingsV2WithoutSecretsSlotSender(*http.Request) (*http.Response, error) +1. AppsClient.GetOneDeployStatus(context.Context, string, string) (SetObject, error) +1. AppsClient.GetOneDeployStatusPreparer(context.Context, string, string) (*http.Request, error) +1. AppsClient.GetOneDeployStatusResponder(*http.Response) (SetObject, error) +1. AppsClient.GetOneDeployStatusSender(*http.Request) (*http.Response, error) diff --git a/services/web/mgmt/2021-03-01/web/_meta.json b/services/web/mgmt/2021-03-01/web/_meta.json index 5e8289ecebf2..06dec9a14684 100644 --- a/services/web/mgmt/2021-03-01/web/_meta.json +++ b/services/web/mgmt/2021-03-01/web/_meta.json @@ -1,5 +1,5 @@ { - "commit": "3587a60ea8f18e76a41e4b56b72aeddce879aae9", + "commit": "eb2b882ef0a4aa5956ca38cfa566fc4d7cfb3fb0", "readme": "/_/azure-rest-api-specs/specification/web/resource-manager/readme.md", "tag": "package-2021-03", "use": "@microsoft.azure/autorest.go@2.1.187", diff --git a/services/web/mgmt/2021-03-01/web/apps.go b/services/web/mgmt/2021-03-01/web/apps.go index 31cff2b913d3..f314e698cd65 100644 --- a/services/web/mgmt/2021-03-01/web/apps.go +++ b/services/web/mgmt/2021-03-01/web/apps.go @@ -31,7 +31,7 @@ func NewAppsClientWithBaseURI(baseURI string, subscriptionID string) AppsClient return AppsClient{NewWithBaseURI(baseURI, subscriptionID)} } -// AddPremierAddOn description for Updates a named add-on of an app. +// AddPremierAddOn updates a named add-on of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -120,7 +120,7 @@ func (client AppsClient) AddPremierAddOnResponder(resp *http.Response) (result P return } -// AddPremierAddOnSlot description for Updates a named add-on of an app. +// AddPremierAddOnSlot updates a named add-on of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -212,7 +212,7 @@ func (client AppsClient) AddPremierAddOnSlotResponder(resp *http.Response) (resu return } -// AnalyzeCustomHostname description for Analyze a custom hostname. +// AnalyzeCustomHostname analyze a custom hostname. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -300,7 +300,7 @@ func (client AppsClient) AnalyzeCustomHostnameResponder(resp *http.Response) (re return } -// AnalyzeCustomHostnameSlot description for Analyze a custom hostname. +// AnalyzeCustomHostnameSlot analyze a custom hostname. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -390,8 +390,7 @@ func (client AppsClient) AnalyzeCustomHostnameSlotResponder(resp *http.Response) return } -// ApplySlotConfigToProduction description for Applies the configuration settings from the target slot onto the current -// slot. +// ApplySlotConfigToProduction applies the configuration settings from the target slot onto the current slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -480,8 +479,7 @@ func (client AppsClient) ApplySlotConfigToProductionResponder(resp *http.Respons return } -// ApplySlotConfigurationSlot description for Applies the configuration settings from the target slot onto the current -// slot. +// ApplySlotConfigurationSlot applies the configuration settings from the target slot onto the current slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -572,7 +570,7 @@ func (client AppsClient) ApplySlotConfigurationSlotResponder(resp *http.Response return } -// ApproveOrRejectPrivateEndpointConnection description for Approves or rejects a private endpoint connection +// ApproveOrRejectPrivateEndpointConnection approves or rejects a private endpoint connection // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the site. @@ -662,7 +660,7 @@ func (client AppsClient) ApproveOrRejectPrivateEndpointConnectionResponder(resp return } -// ApproveOrRejectPrivateEndpointConnectionSlot description for Approves or rejects a private endpoint connection +// ApproveOrRejectPrivateEndpointConnectionSlot approves or rejects a private endpoint connection // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the site. @@ -753,7 +751,7 @@ func (client AppsClient) ApproveOrRejectPrivateEndpointConnectionSlotResponder(r return } -// Backup description for Creates a backup of an app. +// Backup creates a backup of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -849,7 +847,7 @@ func (client AppsClient) BackupResponder(resp *http.Response) (result BackupItem return } -// BackupSlot description for Creates a backup of an app. +// BackupSlot creates a backup of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -948,7 +946,7 @@ func (client AppsClient) BackupSlotResponder(resp *http.Response) (result Backup return } -// CreateDeployment description for Create a deployment for an app, or a deployment slot. +// CreateDeployment create a deployment for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -1037,7 +1035,7 @@ func (client AppsClient) CreateDeploymentResponder(resp *http.Response) (result return } -// CreateDeploymentSlot description for Create a deployment for an app, or a deployment slot. +// CreateDeploymentSlot create a deployment for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -1129,7 +1127,7 @@ func (client AppsClient) CreateDeploymentSlotResponder(resp *http.Response) (res return } -// CreateFunction description for Create function for web site, or a deployment slot. +// CreateFunction create function for web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -1221,7 +1219,7 @@ func (client AppsClient) CreateFunctionResponder(resp *http.Response) (result Fu return } -// CreateInstanceFunctionSlot description for Create function for web site, or a deployment slot. +// CreateInstanceFunctionSlot create function for web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -1315,7 +1313,7 @@ func (client AppsClient) CreateInstanceFunctionSlotResponder(resp *http.Response return } -// CreateInstanceMSDeployOperation description for Invoke the MSDeploy web app extension. +// CreateInstanceMSDeployOperation invoke the MSDeploy web app extension. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -1407,7 +1405,7 @@ func (client AppsClient) CreateInstanceMSDeployOperationResponder(resp *http.Res return } -// CreateInstanceMSDeployOperationSlot description for Invoke the MSDeploy web app extension. +// CreateInstanceMSDeployOperationSlot invoke the MSDeploy web app extension. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -1501,7 +1499,7 @@ func (client AppsClient) CreateInstanceMSDeployOperationSlotResponder(resp *http return } -// CreateMSDeployOperation description for Invoke the MSDeploy web app extension. +// CreateMSDeployOperation invoke the MSDeploy web app extension. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -1591,7 +1589,7 @@ func (client AppsClient) CreateMSDeployOperationResponder(resp *http.Response) ( return } -// CreateMSDeployOperationSlot description for Invoke the MSDeploy web app extension. +// CreateMSDeployOperationSlot invoke the MSDeploy web app extension. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -1683,8 +1681,91 @@ func (client AppsClient) CreateMSDeployOperationSlotResponder(resp *http.Respons return } -// CreateOrUpdate description for Creates a new web, mobile, or API app in an existing resource group, or updates an -// existing app. +// CreateOneDeployOperation invoke the OneDeploy publish web app extension. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of web app. +func (client AppsClient) CreateOneDeployOperation(ctx context.Context, resourceGroupName string, name string) (result SetObject, err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/AppsClient.CreateOneDeployOperation") + defer func() { + sc := -1 + if result.Response.Response != nil { + sc = result.Response.Response.StatusCode + } + tracing.EndSpan(ctx, sc, err) + }() + } + if err := validation.Validate([]validation.Validation{ + {TargetValue: resourceGroupName, + Constraints: []validation.Constraint{{Target: "resourceGroupName", Name: validation.MaxLength, Rule: 90, Chain: nil}, + {Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil}, + {Target: "resourceGroupName", Name: validation.Pattern, Rule: `^[-\w\._\(\)]+[^\.]$`, Chain: nil}}}}); err != nil { + return result, validation.NewError("web.AppsClient", "CreateOneDeployOperation", err.Error()) + } + + req, err := client.CreateOneDeployOperationPreparer(ctx, resourceGroupName, name) + if err != nil { + err = autorest.NewErrorWithError(err, "web.AppsClient", "CreateOneDeployOperation", nil, "Failure preparing request") + return + } + + resp, err := client.CreateOneDeployOperationSender(req) + if err != nil { + result.Response = autorest.Response{Response: resp} + err = autorest.NewErrorWithError(err, "web.AppsClient", "CreateOneDeployOperation", resp, "Failure sending request") + return + } + + result, err = client.CreateOneDeployOperationResponder(resp) + if err != nil { + err = autorest.NewErrorWithError(err, "web.AppsClient", "CreateOneDeployOperation", resp, "Failure responding to request") + return + } + + return +} + +// CreateOneDeployOperationPreparer prepares the CreateOneDeployOperation request. +func (client AppsClient) CreateOneDeployOperationPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error) { + pathParameters := map[string]interface{}{ + "name": autorest.Encode("path", name), + "resourceGroupName": autorest.Encode("path", resourceGroupName), + "subscriptionId": autorest.Encode("path", client.SubscriptionID), + } + + const APIVersion = "2021-03-01" + queryParameters := map[string]interface{}{ + "api-version": APIVersion, + } + + preparer := autorest.CreatePreparer( + autorest.AsPut(), + autorest.WithBaseURL(client.BaseURI), + autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/extensions/onedeploy", pathParameters), + autorest.WithQueryParameters(queryParameters)) + return preparer.Prepare((&http.Request{}).WithContext(ctx)) +} + +// CreateOneDeployOperationSender sends the CreateOneDeployOperation request. The method will close the +// http.Response Body if it receives an error. +func (client AppsClient) CreateOneDeployOperationSender(req *http.Request) (*http.Response, error) { + return client.Send(req, azure.DoRetryWithRegistration(client.Client)) +} + +// CreateOneDeployOperationResponder handles the response to the CreateOneDeployOperation request. The method always +// closes the http.Response Body. +func (client AppsClient) CreateOneDeployOperationResponder(resp *http.Response) (result SetObject, err error) { + err = autorest.Respond( + resp, + azure.WithErrorUnlessStatusCode(http.StatusOK), + autorest.ByUnmarshallingJSON(&result.Value), + autorest.ByClosing()) + result.Response = autorest.Response{Response: resp} + return +} + +// CreateOrUpdate creates a new web, mobile, or API app in an existing resource group, or updates an existing app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - unique name of the app to create or update. To create or update a deployment slot, use the {slot} @@ -1796,7 +1877,7 @@ func (client AppsClient) CreateOrUpdateResponder(resp *http.Response) (result Si return } -// CreateOrUpdateConfiguration description for Updates the configuration of an app. +// CreateOrUpdateConfiguration updates the configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -1900,7 +1981,7 @@ func (client AppsClient) CreateOrUpdateConfigurationResponder(resp *http.Respons return } -// CreateOrUpdateConfigurationSlot description for Updates the configuration of an app. +// CreateOrUpdateConfigurationSlot updates the configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -2007,8 +2088,8 @@ func (client AppsClient) CreateOrUpdateConfigurationSlotResponder(resp *http.Res return } -// CreateOrUpdateDomainOwnershipIdentifier description for Creates a domain ownership identifier for web app, or -// updates an existing ownership identifier. +// CreateOrUpdateDomainOwnershipIdentifier creates a domain ownership identifier for web app, or updates an existing +// ownership identifier. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -2097,8 +2178,8 @@ func (client AppsClient) CreateOrUpdateDomainOwnershipIdentifierResponder(resp * return } -// CreateOrUpdateDomainOwnershipIdentifierSlot description for Creates a domain ownership identifier for web app, or -// updates an existing ownership identifier. +// CreateOrUpdateDomainOwnershipIdentifierSlot creates a domain ownership identifier for web app, or updates an +// existing ownership identifier. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -2190,7 +2271,7 @@ func (client AppsClient) CreateOrUpdateDomainOwnershipIdentifierSlotResponder(re return } -// CreateOrUpdateFunctionSecret description for Add or update a function secret. +// CreateOrUpdateFunctionSecret add or update a function secret. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -2281,7 +2362,7 @@ func (client AppsClient) CreateOrUpdateFunctionSecretResponder(resp *http.Respon return } -// CreateOrUpdateFunctionSecretSlot description for Add or update a function secret. +// CreateOrUpdateFunctionSecretSlot add or update a function secret. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -2374,7 +2455,7 @@ func (client AppsClient) CreateOrUpdateFunctionSecretSlotResponder(resp *http.Re return } -// CreateOrUpdateHostNameBinding description for Creates a hostname binding for an app. +// CreateOrUpdateHostNameBinding creates a hostname binding for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -2463,7 +2544,7 @@ func (client AppsClient) CreateOrUpdateHostNameBindingResponder(resp *http.Respo return } -// CreateOrUpdateHostNameBindingSlot description for Creates a hostname binding for an app. +// CreateOrUpdateHostNameBindingSlot creates a hostname binding for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -2555,7 +2636,7 @@ func (client AppsClient) CreateOrUpdateHostNameBindingSlotResponder(resp *http.R return } -// CreateOrUpdateHostSecret description for Add or update a host level secret. +// CreateOrUpdateHostSecret add or update a host level secret. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -2646,7 +2727,7 @@ func (client AppsClient) CreateOrUpdateHostSecretResponder(resp *http.Response) return } -// CreateOrUpdateHostSecretSlot description for Add or update a host level secret. +// CreateOrUpdateHostSecretSlot add or update a host level secret. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -2739,7 +2820,7 @@ func (client AppsClient) CreateOrUpdateHostSecretSlotResponder(resp *http.Respon return } -// CreateOrUpdateHybridConnection description for Creates a new Hybrid Connection using a Service Bus relay. +// CreateOrUpdateHybridConnection creates a new Hybrid Connection using a Service Bus relay. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -2830,7 +2911,7 @@ func (client AppsClient) CreateOrUpdateHybridConnectionResponder(resp *http.Resp return } -// CreateOrUpdateHybridConnectionSlot description for Creates a new Hybrid Connection using a Service Bus relay. +// CreateOrUpdateHybridConnectionSlot creates a new Hybrid Connection using a Service Bus relay. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -2923,7 +3004,7 @@ func (client AppsClient) CreateOrUpdateHybridConnectionSlotResponder(resp *http. return } -// CreateOrUpdatePublicCertificate description for Creates a hostname binding for an app. +// CreateOrUpdatePublicCertificate creates a hostname binding for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -3013,7 +3094,7 @@ func (client AppsClient) CreateOrUpdatePublicCertificateResponder(resp *http.Res return } -// CreateOrUpdatePublicCertificateSlot description for Creates a hostname binding for an app. +// CreateOrUpdatePublicCertificateSlot creates a hostname binding for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -3106,8 +3187,8 @@ func (client AppsClient) CreateOrUpdatePublicCertificateSlotResponder(resp *http return } -// CreateOrUpdateRelayServiceConnection description for Creates a new hybrid connection configuration (PUT), or updates -// an existing one (PATCH). +// CreateOrUpdateRelayServiceConnection creates a new hybrid connection configuration (PUT), or updates an existing one +// (PATCH). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -3196,8 +3277,8 @@ func (client AppsClient) CreateOrUpdateRelayServiceConnectionResponder(resp *htt return } -// CreateOrUpdateRelayServiceConnectionSlot description for Creates a new hybrid connection configuration (PUT), or -// updates an existing one (PATCH). +// CreateOrUpdateRelayServiceConnectionSlot creates a new hybrid connection configuration (PUT), or updates an existing +// one (PATCH). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -3289,8 +3370,7 @@ func (client AppsClient) CreateOrUpdateRelayServiceConnectionSlotResponder(resp return } -// CreateOrUpdateSlot description for Creates a new web, mobile, or API app in an existing resource group, or updates -// an existing app. +// CreateOrUpdateSlot creates a new web, mobile, or API app in an existing resource group, or updates an existing app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - unique name of the app to create or update. To create or update a deployment slot, use the {slot} @@ -3405,7 +3485,7 @@ func (client AppsClient) CreateOrUpdateSlotResponder(resp *http.Response) (resul return } -// CreateOrUpdateSourceControl description for Updates the source control configuration of an app. +// CreateOrUpdateSourceControl updates the source control configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -3495,7 +3575,7 @@ func (client AppsClient) CreateOrUpdateSourceControlResponder(resp *http.Respons return } -// CreateOrUpdateSourceControlSlot description for Updates the source control configuration of an app. +// CreateOrUpdateSourceControlSlot updates the source control configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -3588,9 +3668,9 @@ func (client AppsClient) CreateOrUpdateSourceControlSlotResponder(resp *http.Res return } -// CreateOrUpdateSwiftVirtualNetworkConnectionWithCheck description for Integrates this Web App with a Virtual Network. -// This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet -// has already been delegated, and is not +// CreateOrUpdateSwiftVirtualNetworkConnectionWithCheck integrates this Web App with a Virtual Network. This requires +// that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already +// been delegated, and is not // in use by another App Service Plan other than the one this App is in. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. @@ -3678,9 +3758,9 @@ func (client AppsClient) CreateOrUpdateSwiftVirtualNetworkConnectionWithCheckRes return } -// CreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlot description for Integrates this Web App with a Virtual -// Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the -// target Subnet has already been delegated, and is not +// CreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlot integrates this Web App with a Virtual Network. This +// requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has +// already been delegated, and is not // in use by another App Service Plan other than the one this App is in. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. @@ -3771,8 +3851,8 @@ func (client AppsClient) CreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlo return } -// CreateOrUpdateVnetConnection description for Adds a Virtual Network connection to an app or slot (PUT) or updates -// the connection properties (PATCH). +// CreateOrUpdateVnetConnection adds a Virtual Network connection to an app or slot (PUT) or updates the connection +// properties (PATCH). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -3861,8 +3941,7 @@ func (client AppsClient) CreateOrUpdateVnetConnectionResponder(resp *http.Respon return } -// CreateOrUpdateVnetConnectionGateway description for Adds a gateway to a connected Virtual Network (PUT) or updates -// it (PATCH). +// CreateOrUpdateVnetConnectionGateway adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -3956,8 +4035,7 @@ func (client AppsClient) CreateOrUpdateVnetConnectionGatewayResponder(resp *http return } -// CreateOrUpdateVnetConnectionGatewaySlot description for Adds a gateway to a connected Virtual Network (PUT) or -// updates it (PATCH). +// CreateOrUpdateVnetConnectionGatewaySlot adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -4054,8 +4132,8 @@ func (client AppsClient) CreateOrUpdateVnetConnectionGatewaySlotResponder(resp * return } -// CreateOrUpdateVnetConnectionSlot description for Adds a Virtual Network connection to an app or slot (PUT) or -// updates the connection properties (PATCH). +// CreateOrUpdateVnetConnectionSlot adds a Virtual Network connection to an app or slot (PUT) or updates the connection +// properties (PATCH). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -4147,7 +4225,7 @@ func (client AppsClient) CreateOrUpdateVnetConnectionSlotResponder(resp *http.Re return } -// Delete description for Deletes a web, mobile, or API app, or one of the deployment slots. +// Delete deletes a web, mobile, or API app, or one of the deployment slots. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app to delete. @@ -4239,7 +4317,7 @@ func (client AppsClient) DeleteResponder(resp *http.Response) (result autorest.R return } -// DeleteBackup description for Deletes a backup of an app by its ID. +// DeleteBackup deletes a backup of an app by its ID. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -4324,7 +4402,7 @@ func (client AppsClient) DeleteBackupResponder(resp *http.Response) (result auto return } -// DeleteBackupConfiguration description for Deletes the backup configuration of an app. +// DeleteBackupConfiguration deletes the backup configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -4407,7 +4485,7 @@ func (client AppsClient) DeleteBackupConfigurationResponder(resp *http.Response) return } -// DeleteBackupConfigurationSlot description for Deletes the backup configuration of an app. +// DeleteBackupConfigurationSlot deletes the backup configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -4493,7 +4571,7 @@ func (client AppsClient) DeleteBackupConfigurationSlotResponder(resp *http.Respo return } -// DeleteBackupSlot description for Deletes a backup of an app by its ID. +// DeleteBackupSlot deletes a backup of an app by its ID. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -4581,7 +4659,7 @@ func (client AppsClient) DeleteBackupSlotResponder(resp *http.Response) (result return } -// DeleteContinuousWebJob description for Delete a continuous web job by its ID for an app, or a deployment slot. +// DeleteContinuousWebJob delete a continuous web job by its ID for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -4666,7 +4744,7 @@ func (client AppsClient) DeleteContinuousWebJobResponder(resp *http.Response) (r return } -// DeleteContinuousWebJobSlot description for Delete a continuous web job by its ID for an app, or a deployment slot. +// DeleteContinuousWebJobSlot delete a continuous web job by its ID for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -4754,7 +4832,7 @@ func (client AppsClient) DeleteContinuousWebJobSlotResponder(resp *http.Response return } -// DeleteDeployment description for Delete a deployment by its ID for an app, or a deployment slot. +// DeleteDeployment delete a deployment by its ID for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -4839,7 +4917,7 @@ func (client AppsClient) DeleteDeploymentResponder(resp *http.Response) (result return } -// DeleteDeploymentSlot description for Delete a deployment by its ID for an app, or a deployment slot. +// DeleteDeploymentSlot delete a deployment by its ID for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -4927,7 +5005,7 @@ func (client AppsClient) DeleteDeploymentSlotResponder(resp *http.Response) (res return } -// DeleteDomainOwnershipIdentifier description for Deletes a domain ownership identifier for a web app. +// DeleteDomainOwnershipIdentifier deletes a domain ownership identifier for a web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -5012,7 +5090,7 @@ func (client AppsClient) DeleteDomainOwnershipIdentifierResponder(resp *http.Res return } -// DeleteDomainOwnershipIdentifierSlot description for Deletes a domain ownership identifier for a web app. +// DeleteDomainOwnershipIdentifierSlot deletes a domain ownership identifier for a web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -5100,7 +5178,7 @@ func (client AppsClient) DeleteDomainOwnershipIdentifierSlotResponder(resp *http return } -// DeleteFunction description for Delete a function for web site, or a deployment slot. +// DeleteFunction delete a function for web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -5185,7 +5263,7 @@ func (client AppsClient) DeleteFunctionResponder(resp *http.Response) (result au return } -// DeleteFunctionSecret description for Delete a function secret. +// DeleteFunctionSecret delete a function secret. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -5272,7 +5350,7 @@ func (client AppsClient) DeleteFunctionSecretResponder(resp *http.Response) (res return } -// DeleteFunctionSecretSlot description for Delete a function secret. +// DeleteFunctionSecretSlot delete a function secret. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -5361,7 +5439,7 @@ func (client AppsClient) DeleteFunctionSecretSlotResponder(resp *http.Response) return } -// DeleteHostNameBinding description for Deletes a hostname binding for an app. +// DeleteHostNameBinding deletes a hostname binding for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -5446,7 +5524,7 @@ func (client AppsClient) DeleteHostNameBindingResponder(resp *http.Response) (re return } -// DeleteHostNameBindingSlot description for Deletes a hostname binding for an app. +// DeleteHostNameBindingSlot deletes a hostname binding for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -5534,7 +5612,7 @@ func (client AppsClient) DeleteHostNameBindingSlotResponder(resp *http.Response) return } -// DeleteHostSecret description for Delete a host level secret. +// DeleteHostSecret delete a host level secret. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -5621,7 +5699,7 @@ func (client AppsClient) DeleteHostSecretResponder(resp *http.Response) (result return } -// DeleteHostSecretSlot description for Delete a host level secret. +// DeleteHostSecretSlot delete a host level secret. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -5710,7 +5788,7 @@ func (client AppsClient) DeleteHostSecretSlotResponder(resp *http.Response) (res return } -// DeleteHybridConnection description for Removes a Hybrid Connection from this site. +// DeleteHybridConnection removes a Hybrid Connection from this site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -5797,7 +5875,7 @@ func (client AppsClient) DeleteHybridConnectionResponder(resp *http.Response) (r return } -// DeleteHybridConnectionSlot description for Removes a Hybrid Connection from this site. +// DeleteHybridConnectionSlot removes a Hybrid Connection from this site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -5886,7 +5964,7 @@ func (client AppsClient) DeleteHybridConnectionSlotResponder(resp *http.Response return } -// DeleteInstanceFunctionSlot description for Delete a function for web site, or a deployment slot. +// DeleteInstanceFunctionSlot delete a function for web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -5973,8 +6051,8 @@ func (client AppsClient) DeleteInstanceFunctionSlotResponder(resp *http.Response return } -// DeleteInstanceProcess description for Terminate a process by its ID for a web site, or a deployment slot, or -// specific scaled-out instance in a web site. +// DeleteInstanceProcess terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out +// instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -6062,8 +6140,8 @@ func (client AppsClient) DeleteInstanceProcessResponder(resp *http.Response) (re return } -// DeleteInstanceProcessSlot description for Terminate a process by its ID for a web site, or a deployment slot, or -// specific scaled-out instance in a web site. +// DeleteInstanceProcessSlot terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out +// instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -6154,7 +6232,7 @@ func (client AppsClient) DeleteInstanceProcessSlotResponder(resp *http.Response) return } -// DeletePremierAddOn description for Delete a premier add-on from an app. +// DeletePremierAddOn delete a premier add-on from an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -6239,7 +6317,7 @@ func (client AppsClient) DeletePremierAddOnResponder(resp *http.Response) (resul return } -// DeletePremierAddOnSlot description for Delete a premier add-on from an app. +// DeletePremierAddOnSlot delete a premier add-on from an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -6327,7 +6405,7 @@ func (client AppsClient) DeletePremierAddOnSlotResponder(resp *http.Response) (r return } -// DeletePrivateEndpointConnection description for Deletes a private endpoint connection +// DeletePrivateEndpointConnection deletes a private endpoint connection // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the site. @@ -6415,7 +6493,7 @@ func (client AppsClient) DeletePrivateEndpointConnectionResponder(resp *http.Res return } -// DeletePrivateEndpointConnectionSlot description for Deletes a private endpoint connection +// DeletePrivateEndpointConnectionSlot deletes a private endpoint connection // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the site. @@ -6504,8 +6582,8 @@ func (client AppsClient) DeletePrivateEndpointConnectionSlotResponder(resp *http return } -// DeleteProcess description for Terminate a process by its ID for a web site, or a deployment slot, or specific -// scaled-out instance in a web site. +// DeleteProcess terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in +// a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -6590,8 +6668,8 @@ func (client AppsClient) DeleteProcessResponder(resp *http.Response) (result aut return } -// DeleteProcessSlot description for Terminate a process by its ID for a web site, or a deployment slot, or specific -// scaled-out instance in a web site. +// DeleteProcessSlot terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out +// instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -6679,7 +6757,7 @@ func (client AppsClient) DeleteProcessSlotResponder(resp *http.Response) (result return } -// DeletePublicCertificate description for Deletes a hostname binding for an app. +// DeletePublicCertificate deletes a hostname binding for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -6764,7 +6842,7 @@ func (client AppsClient) DeletePublicCertificateResponder(resp *http.Response) ( return } -// DeletePublicCertificateSlot description for Deletes a hostname binding for an app. +// DeletePublicCertificateSlot deletes a hostname binding for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -6852,7 +6930,7 @@ func (client AppsClient) DeletePublicCertificateSlotResponder(resp *http.Respons return } -// DeleteRelayServiceConnection description for Deletes a relay service connection by its name. +// DeleteRelayServiceConnection deletes a relay service connection by its name. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -6937,7 +7015,7 @@ func (client AppsClient) DeleteRelayServiceConnectionResponder(resp *http.Respon return } -// DeleteRelayServiceConnectionSlot description for Deletes a relay service connection by its name. +// DeleteRelayServiceConnectionSlot deletes a relay service connection by its name. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -7025,7 +7103,7 @@ func (client AppsClient) DeleteRelayServiceConnectionSlotResponder(resp *http.Re return } -// DeleteSiteExtension description for Remove a site extension from a web site, or a deployment slot. +// DeleteSiteExtension remove a site extension from a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -7110,7 +7188,7 @@ func (client AppsClient) DeleteSiteExtensionResponder(resp *http.Response) (resu return } -// DeleteSiteExtensionSlot description for Remove a site extension from a web site, or a deployment slot. +// DeleteSiteExtensionSlot remove a site extension from a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -7198,7 +7276,7 @@ func (client AppsClient) DeleteSiteExtensionSlotResponder(resp *http.Response) ( return } -// DeleteSlot description for Deletes a web, mobile, or API app, or one of the deployment slots. +// DeleteSlot deletes a web, mobile, or API app, or one of the deployment slots. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app to delete. @@ -7292,7 +7370,7 @@ func (client AppsClient) DeleteSlotResponder(resp *http.Response) (result autore return } -// DeleteSourceControl description for Deletes the source control configuration of an app. +// DeleteSourceControl deletes the source control configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -7378,7 +7456,7 @@ func (client AppsClient) DeleteSourceControlResponder(resp *http.Response) (resu return } -// DeleteSourceControlSlot description for Deletes the source control configuration of an app. +// DeleteSourceControlSlot deletes the source control configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -7467,8 +7545,7 @@ func (client AppsClient) DeleteSourceControlSlotResponder(resp *http.Response) ( return } -// DeleteSwiftVirtualNetwork description for Deletes a Swift Virtual Network connection from an app (or deployment -// slot). +// DeleteSwiftVirtualNetwork deletes a Swift Virtual Network connection from an app (or deployment slot). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -7551,8 +7628,7 @@ func (client AppsClient) DeleteSwiftVirtualNetworkResponder(resp *http.Response) return } -// DeleteSwiftVirtualNetworkSlot description for Deletes a Swift Virtual Network connection from an app (or deployment -// slot). +// DeleteSwiftVirtualNetworkSlot deletes a Swift Virtual Network connection from an app (or deployment slot). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -7638,7 +7714,7 @@ func (client AppsClient) DeleteSwiftVirtualNetworkSlotResponder(resp *http.Respo return } -// DeleteTriggeredWebJob description for Delete a triggered web job by its ID for an app, or a deployment slot. +// DeleteTriggeredWebJob delete a triggered web job by its ID for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -7723,7 +7799,7 @@ func (client AppsClient) DeleteTriggeredWebJobResponder(resp *http.Response) (re return } -// DeleteTriggeredWebJobSlot description for Delete a triggered web job by its ID for an app, or a deployment slot. +// DeleteTriggeredWebJobSlot delete a triggered web job by its ID for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -7811,8 +7887,7 @@ func (client AppsClient) DeleteTriggeredWebJobSlotResponder(resp *http.Response) return } -// DeleteVnetConnection description for Deletes a connection from an app (or deployment slot to a named virtual -// network. +// DeleteVnetConnection deletes a connection from an app (or deployment slot to a named virtual network. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -7897,8 +7972,7 @@ func (client AppsClient) DeleteVnetConnectionResponder(resp *http.Response) (res return } -// DeleteVnetConnectionSlot description for Deletes a connection from an app (or deployment slot to a named virtual -// network. +// DeleteVnetConnectionSlot deletes a connection from an app (or deployment slot to a named virtual network. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -7986,8 +8060,8 @@ func (client AppsClient) DeleteVnetConnectionSlotResponder(resp *http.Response) return } -// DiscoverBackup description for Discovers an existing app backup that can be restored from a blob in Azure storage. -// Use this to get information about the databases stored in a backup. +// DiscoverBackup discovers an existing app backup that can be restored from a blob in Azure storage. Use this to get +// information about the databases stored in a backup. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -8079,8 +8153,8 @@ func (client AppsClient) DiscoverBackupResponder(resp *http.Response) (result Re return } -// DiscoverBackupSlot description for Discovers an existing app backup that can be restored from a blob in Azure -// storage. Use this to get information about the databases stored in a backup. +// DiscoverBackupSlot discovers an existing app backup that can be restored from a blob in Azure storage. Use this to +// get information about the databases stored in a backup. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -8175,8 +8249,7 @@ func (client AppsClient) DiscoverBackupSlotResponder(resp *http.Response) (resul return } -// GenerateNewSitePublishingPassword description for Generates a new publishing password for an app (or deployment -// slot, if specified). +// GenerateNewSitePublishingPassword generates a new publishing password for an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -8259,8 +8332,8 @@ func (client AppsClient) GenerateNewSitePublishingPasswordResponder(resp *http.R return } -// GenerateNewSitePublishingPasswordSlot description for Generates a new publishing password for an app (or deployment -// slot, if specified). +// GenerateNewSitePublishingPasswordSlot generates a new publishing password for an app (or deployment slot, if +// specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -8346,7 +8419,7 @@ func (client AppsClient) GenerateNewSitePublishingPasswordSlotResponder(resp *ht return } -// Get description for Gets the details of a web, mobile, or API app. +// Get gets the details of a web, mobile, or API app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -8430,7 +8503,7 @@ func (client AppsClient) GetResponder(resp *http.Response) (result Site, err err return } -// GetAppSettingKeyVaultReference description for Gets the config reference and status of an app +// GetAppSettingKeyVaultReference gets the config reference and status of an app // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -8516,7 +8589,7 @@ func (client AppsClient) GetAppSettingKeyVaultReferenceResponder(resp *http.Resp return } -// GetAppSettingKeyVaultReferenceSlot description for Gets the config reference and status of an app +// GetAppSettingKeyVaultReferenceSlot gets the config reference and status of an app // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -8603,7 +8676,7 @@ func (client AppsClient) GetAppSettingKeyVaultReferenceSlotResponder(resp *http. return } -// GetAppSettingsKeyVaultReferences description for Gets the config reference app settings and status of an app +// GetAppSettingsKeyVaultReferences gets the config reference app settings and status of an app // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -8729,7 +8802,7 @@ func (client AppsClient) GetAppSettingsKeyVaultReferencesComplete(ctx context.Co return } -// GetAppSettingsKeyVaultReferencesSlot description for Gets the config reference app settings and status of an app +// GetAppSettingsKeyVaultReferencesSlot gets the config reference app settings and status of an app // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -8856,7 +8929,7 @@ func (client AppsClient) GetAppSettingsKeyVaultReferencesSlotComplete(ctx contex return } -// GetAuthSettings description for Gets the Authentication/Authorization settings of an app. +// GetAuthSettings gets the Authentication/Authorization settings of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -8940,7 +9013,7 @@ func (client AppsClient) GetAuthSettingsResponder(resp *http.Response) (result S return } -// GetAuthSettingsSlot description for Gets the Authentication/Authorization settings of an app. +// GetAuthSettingsSlot gets the Authentication/Authorization settings of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -9027,7 +9100,7 @@ func (client AppsClient) GetAuthSettingsSlotResponder(resp *http.Response) (resu return } -// GetAuthSettingsV2 description for Gets site's Authentication / Authorization settings for apps via the V2 format +// GetAuthSettingsV2 gets site's Authentication / Authorization settings for apps via the V2 format // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -9111,7 +9184,7 @@ func (client AppsClient) GetAuthSettingsV2Responder(resp *http.Response) (result return } -// GetAuthSettingsV2Slot description for Gets site's Authentication / Authorization settings for apps via the V2 format +// GetAuthSettingsV2Slot gets site's Authentication / Authorization settings for apps via the V2 format // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -9198,8 +9271,7 @@ func (client AppsClient) GetAuthSettingsV2SlotResponder(resp *http.Response) (re return } -// GetAuthSettingsV2WithoutSecrets description for Gets site's Authentication / Authorization settings for apps via the -// V2 format +// GetAuthSettingsV2WithoutSecrets gets site's Authentication / Authorization settings for apps via the V2 format // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -9283,7 +9355,94 @@ func (client AppsClient) GetAuthSettingsV2WithoutSecretsResponder(resp *http.Res return } -// GetBackupConfiguration description for Gets the backup configuration of an app. +// GetAuthSettingsV2WithoutSecretsSlot sends the get auth settings v2 without secrets slot request. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// slot - name of the deployment slot. If a slot is not specified, the API will get the settings for the +// production slot. +func (client AppsClient) GetAuthSettingsV2WithoutSecretsSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result SiteAuthSettingsV2, err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/AppsClient.GetAuthSettingsV2WithoutSecretsSlot") + defer func() { + sc := -1 + if result.Response.Response != nil { + sc = result.Response.Response.StatusCode + } + tracing.EndSpan(ctx, sc, err) + }() + } + if err := validation.Validate([]validation.Validation{ + {TargetValue: resourceGroupName, + Constraints: []validation.Constraint{{Target: "resourceGroupName", Name: validation.MaxLength, Rule: 90, Chain: nil}, + {Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil}, + {Target: "resourceGroupName", Name: validation.Pattern, Rule: `^[-\w\._\(\)]+[^\.]$`, Chain: nil}}}}); err != nil { + return result, validation.NewError("web.AppsClient", "GetAuthSettingsV2WithoutSecretsSlot", err.Error()) + } + + req, err := client.GetAuthSettingsV2WithoutSecretsSlotPreparer(ctx, resourceGroupName, name, slot) + if err != nil { + err = autorest.NewErrorWithError(err, "web.AppsClient", "GetAuthSettingsV2WithoutSecretsSlot", nil, "Failure preparing request") + return + } + + resp, err := client.GetAuthSettingsV2WithoutSecretsSlotSender(req) + if err != nil { + result.Response = autorest.Response{Response: resp} + err = autorest.NewErrorWithError(err, "web.AppsClient", "GetAuthSettingsV2WithoutSecretsSlot", resp, "Failure sending request") + return + } + + result, err = client.GetAuthSettingsV2WithoutSecretsSlotResponder(resp) + if err != nil { + err = autorest.NewErrorWithError(err, "web.AppsClient", "GetAuthSettingsV2WithoutSecretsSlot", resp, "Failure responding to request") + return + } + + return +} + +// GetAuthSettingsV2WithoutSecretsSlotPreparer prepares the GetAuthSettingsV2WithoutSecretsSlot request. +func (client AppsClient) GetAuthSettingsV2WithoutSecretsSlotPreparer(ctx context.Context, resourceGroupName string, name string, slot string) (*http.Request, error) { + pathParameters := map[string]interface{}{ + "name": autorest.Encode("path", name), + "resourceGroupName": autorest.Encode("path", resourceGroupName), + "slot": autorest.Encode("path", slot), + "subscriptionId": autorest.Encode("path", client.SubscriptionID), + } + + const APIVersion = "2021-03-01" + queryParameters := map[string]interface{}{ + "api-version": APIVersion, + } + + preparer := autorest.CreatePreparer( + autorest.AsGet(), + autorest.WithBaseURL(client.BaseURI), + autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/authsettingsV2", pathParameters), + autorest.WithQueryParameters(queryParameters)) + return preparer.Prepare((&http.Request{}).WithContext(ctx)) +} + +// GetAuthSettingsV2WithoutSecretsSlotSender sends the GetAuthSettingsV2WithoutSecretsSlot request. The method will close the +// http.Response Body if it receives an error. +func (client AppsClient) GetAuthSettingsV2WithoutSecretsSlotSender(req *http.Request) (*http.Response, error) { + return client.Send(req, azure.DoRetryWithRegistration(client.Client)) +} + +// GetAuthSettingsV2WithoutSecretsSlotResponder handles the response to the GetAuthSettingsV2WithoutSecretsSlot request. The method always +// closes the http.Response Body. +func (client AppsClient) GetAuthSettingsV2WithoutSecretsSlotResponder(resp *http.Response) (result SiteAuthSettingsV2, err error) { + err = autorest.Respond( + resp, + azure.WithErrorUnlessStatusCode(http.StatusOK), + autorest.ByUnmarshallingJSON(&result), + autorest.ByClosing()) + result.Response = autorest.Response{Response: resp} + return +} + +// GetBackupConfiguration gets the backup configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -9367,7 +9526,7 @@ func (client AppsClient) GetBackupConfigurationResponder(resp *http.Response) (r return } -// GetBackupConfigurationSlot description for Gets the backup configuration of an app. +// GetBackupConfigurationSlot gets the backup configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -9454,7 +9613,7 @@ func (client AppsClient) GetBackupConfigurationSlotResponder(resp *http.Response return } -// GetBackupStatus description for Gets a backup of an app by its ID. +// GetBackupStatus gets a backup of an app by its ID. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -9540,7 +9699,7 @@ func (client AppsClient) GetBackupStatusResponder(resp *http.Response) (result B return } -// GetBackupStatusSlot description for Gets a backup of an app by its ID. +// GetBackupStatusSlot gets a backup of an app by its ID. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -9629,8 +9788,8 @@ func (client AppsClient) GetBackupStatusSlotResponder(resp *http.Response) (resu return } -// GetConfiguration description for Gets the configuration of an app, such as platform version and bitness, default -// documents, virtual applications, Always On, etc. +// GetConfiguration gets the configuration of an app, such as platform version and bitness, default documents, virtual +// applications, Always On, etc. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -9714,8 +9873,8 @@ func (client AppsClient) GetConfigurationResponder(resp *http.Response) (result return } -// GetConfigurationSlot description for Gets the configuration of an app, such as platform version and bitness, default -// documents, virtual applications, Always On, etc. +// GetConfigurationSlot gets the configuration of an app, such as platform version and bitness, default documents, +// virtual applications, Always On, etc. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -9802,7 +9961,7 @@ func (client AppsClient) GetConfigurationSlotResponder(resp *http.Response) (res return } -// GetConfigurationSnapshot description for Gets a snapshot of the configuration of an app at a previous point in time. +// GetConfigurationSnapshot gets a snapshot of the configuration of an app at a previous point in time. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -9888,8 +10047,7 @@ func (client AppsClient) GetConfigurationSnapshotResponder(resp *http.Response) return } -// GetConfigurationSnapshotSlot description for Gets a snapshot of the configuration of an app at a previous point in -// time. +// GetConfigurationSnapshotSlot gets a snapshot of the configuration of an app at a previous point in time. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -9978,7 +10136,7 @@ func (client AppsClient) GetConfigurationSnapshotSlotResponder(resp *http.Respon return } -// GetContainerLogsZip description for Gets the ZIP archived docker log files for the given site +// GetContainerLogsZip gets the ZIP archived docker log files for the given site // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -10061,7 +10219,7 @@ func (client AppsClient) GetContainerLogsZipResponder(resp *http.Response) (resu return } -// GetContainerLogsZipSlot description for Gets the ZIP archived docker log files for the given site +// GetContainerLogsZipSlot gets the ZIP archived docker log files for the given site // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -10146,7 +10304,7 @@ func (client AppsClient) GetContainerLogsZipSlotResponder(resp *http.Response) ( return } -// GetContinuousWebJob description for Gets a continuous web job by its ID for an app, or a deployment slot. +// GetContinuousWebJob gets a continuous web job by its ID for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -10232,7 +10390,7 @@ func (client AppsClient) GetContinuousWebJobResponder(resp *http.Response) (resu return } -// GetContinuousWebJobSlot description for Gets a continuous web job by its ID for an app, or a deployment slot. +// GetContinuousWebJobSlot gets a continuous web job by its ID for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -10321,7 +10479,7 @@ func (client AppsClient) GetContinuousWebJobSlotResponder(resp *http.Response) ( return } -// GetDeployment description for Get a deployment by its ID for an app, or a deployment slot. +// GetDeployment get a deployment by its ID for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -10407,7 +10565,7 @@ func (client AppsClient) GetDeploymentResponder(resp *http.Response) (result Dep return } -// GetDeploymentSlot description for Get a deployment by its ID for an app, or a deployment slot. +// GetDeploymentSlot get a deployment by its ID for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -10496,7 +10654,7 @@ func (client AppsClient) GetDeploymentSlotResponder(resp *http.Response) (result return } -// GetDiagnosticLogsConfiguration description for Gets the logging configuration of an app. +// GetDiagnosticLogsConfiguration gets the logging configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -10580,7 +10738,7 @@ func (client AppsClient) GetDiagnosticLogsConfigurationResponder(resp *http.Resp return } -// GetDiagnosticLogsConfigurationSlot description for Gets the logging configuration of an app. +// GetDiagnosticLogsConfigurationSlot gets the logging configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -10667,7 +10825,7 @@ func (client AppsClient) GetDiagnosticLogsConfigurationSlotResponder(resp *http. return } -// GetDomainOwnershipIdentifier description for Get domain ownership identifier for web app. +// GetDomainOwnershipIdentifier get domain ownership identifier for web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -10753,7 +10911,7 @@ func (client AppsClient) GetDomainOwnershipIdentifierResponder(resp *http.Respon return } -// GetDomainOwnershipIdentifierSlot description for Get domain ownership identifier for web app. +// GetDomainOwnershipIdentifierSlot get domain ownership identifier for web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -10842,7 +11000,7 @@ func (client AppsClient) GetDomainOwnershipIdentifierSlotResponder(resp *http.Re return } -// GetFtpAllowed description for Returns whether FTP is allowed on the site or not. +// GetFtpAllowed returns whether FTP is allowed on the site or not. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -10926,7 +11084,7 @@ func (client AppsClient) GetFtpAllowedResponder(resp *http.Response) (result Csm return } -// GetFtpAllowedSlot description for Returns whether FTP is allowed on the site or not. +// GetFtpAllowedSlot returns whether FTP is allowed on the site or not. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -11011,7 +11169,7 @@ func (client AppsClient) GetFtpAllowedSlotResponder(resp *http.Response) (result return } -// GetFunction description for Get function information by its ID for web site, or a deployment slot. +// GetFunction get function information by its ID for web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -11097,7 +11255,7 @@ func (client AppsClient) GetFunctionResponder(resp *http.Response) (result Funct return } -// GetFunctionsAdminToken description for Fetch a short lived token that can be exchanged for a master key. +// GetFunctionsAdminToken fetch a short lived token that can be exchanged for a master key. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -11181,7 +11339,7 @@ func (client AppsClient) GetFunctionsAdminTokenResponder(resp *http.Response) (r return } -// GetFunctionsAdminTokenSlot description for Fetch a short lived token that can be exchanged for a master key. +// GetFunctionsAdminTokenSlot fetch a short lived token that can be exchanged for a master key. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -11267,7 +11425,7 @@ func (client AppsClient) GetFunctionsAdminTokenSlotResponder(resp *http.Response return } -// GetHostNameBinding description for Get the named hostname binding for an app (or deployment slot, if specified). +// GetHostNameBinding get the named hostname binding for an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -11353,7 +11511,7 @@ func (client AppsClient) GetHostNameBindingResponder(resp *http.Response) (resul return } -// GetHostNameBindingSlot description for Get the named hostname binding for an app (or deployment slot, if specified). +// GetHostNameBindingSlot get the named hostname binding for an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -11442,7 +11600,7 @@ func (client AppsClient) GetHostNameBindingSlotResponder(resp *http.Response) (r return } -// GetHybridConnection description for Retrieves a specific Service Bus Hybrid Connection used by this Web App. +// GetHybridConnection retrieves a specific Service Bus Hybrid Connection used by this Web App. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -11530,7 +11688,7 @@ func (client AppsClient) GetHybridConnectionResponder(resp *http.Response) (resu return } -// GetHybridConnectionSlot description for Retrieves a specific Service Bus Hybrid Connection used by this Web App. +// GetHybridConnectionSlot retrieves a specific Service Bus Hybrid Connection used by this Web App. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -11620,7 +11778,7 @@ func (client AppsClient) GetHybridConnectionSlotResponder(resp *http.Response) ( return } -// GetInstanceFunctionSlot description for Get function information by its ID for web site, or a deployment slot. +// GetInstanceFunctionSlot get function information by its ID for web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -11708,7 +11866,7 @@ func (client AppsClient) GetInstanceFunctionSlotResponder(resp *http.Response) ( return } -// GetInstanceInfo description for Gets all scale-out instances of an app. +// GetInstanceInfo gets all scale-out instances of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -11793,7 +11951,7 @@ func (client AppsClient) GetInstanceInfoResponder(resp *http.Response) (result S return } -// GetInstanceInfoSlot description for Gets all scale-out instances of an app. +// GetInstanceInfoSlot gets all scale-out instances of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -11880,7 +12038,7 @@ func (client AppsClient) GetInstanceInfoSlotResponder(resp *http.Response) (resu return } -// GetInstanceMSDeployLog description for Get the MSDeploy Log for the last MSDeploy operation. +// GetInstanceMSDeployLog get the MSDeploy Log for the last MSDeploy operation. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -11966,7 +12124,7 @@ func (client AppsClient) GetInstanceMSDeployLogResponder(resp *http.Response) (r return } -// GetInstanceMSDeployLogSlot description for Get the MSDeploy Log for the last MSDeploy operation. +// GetInstanceMSDeployLogSlot get the MSDeploy Log for the last MSDeploy operation. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -12054,7 +12212,7 @@ func (client AppsClient) GetInstanceMSDeployLogSlotResponder(resp *http.Response return } -// GetInstanceMsDeployStatus description for Get the status of the last MSDeploy operation. +// GetInstanceMsDeployStatus get the status of the last MSDeploy operation. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -12140,7 +12298,7 @@ func (client AppsClient) GetInstanceMsDeployStatusResponder(resp *http.Response) return } -// GetInstanceMsDeployStatusSlot description for Get the status of the last MSDeploy operation. +// GetInstanceMsDeployStatusSlot get the status of the last MSDeploy operation. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -12228,8 +12386,7 @@ func (client AppsClient) GetInstanceMsDeployStatusSlotResponder(resp *http.Respo return } -// GetInstanceProcess description for Get process information by its ID for a specific scaled-out instance in a web -// site. +// GetInstanceProcess get process information by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -12318,8 +12475,7 @@ func (client AppsClient) GetInstanceProcessResponder(resp *http.Response) (resul return } -// GetInstanceProcessDump description for Get a memory dump of a process by its ID for a specific scaled-out instance -// in a web site. +// GetInstanceProcessDump get a memory dump of a process by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -12407,8 +12563,8 @@ func (client AppsClient) GetInstanceProcessDumpResponder(resp *http.Response) (r return } -// GetInstanceProcessDumpSlot description for Get a memory dump of a process by its ID for a specific scaled-out -// instance in a web site. +// GetInstanceProcessDumpSlot get a memory dump of a process by its ID for a specific scaled-out instance in a web +// site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -12499,8 +12655,7 @@ func (client AppsClient) GetInstanceProcessDumpSlotResponder(resp *http.Response return } -// GetInstanceProcessModule description for Get process information by its ID for a specific scaled-out instance in a -// web site. +// GetInstanceProcessModule get process information by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -12591,8 +12746,7 @@ func (client AppsClient) GetInstanceProcessModuleResponder(resp *http.Response) return } -// GetInstanceProcessModuleSlot description for Get process information by its ID for a specific scaled-out instance in -// a web site. +// GetInstanceProcessModuleSlot get process information by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -12686,8 +12840,7 @@ func (client AppsClient) GetInstanceProcessModuleSlotResponder(resp *http.Respon return } -// GetInstanceProcessSlot description for Get process information by its ID for a specific scaled-out instance in a web -// site. +// GetInstanceProcessSlot get process information by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -12779,8 +12932,8 @@ func (client AppsClient) GetInstanceProcessSlotResponder(resp *http.Response) (r return } -// GetMigrateMySQLStatus description for Returns the status of MySql in app migration, if one is active, and whether or -// not MySql in app is enabled +// GetMigrateMySQLStatus returns the status of MySql in app migration, if one is active, and whether or not MySql in +// app is enabled // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -12864,8 +13017,8 @@ func (client AppsClient) GetMigrateMySQLStatusResponder(resp *http.Response) (re return } -// GetMigrateMySQLStatusSlot description for Returns the status of MySql in app migration, if one is active, and -// whether or not MySql in app is enabled +// GetMigrateMySQLStatusSlot returns the status of MySql in app migration, if one is active, and whether or not MySql +// in app is enabled // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -12951,7 +13104,7 @@ func (client AppsClient) GetMigrateMySQLStatusSlotResponder(resp *http.Response) return } -// GetMSDeployLog description for Get the MSDeploy Log for the last MSDeploy operation. +// GetMSDeployLog get the MSDeploy Log for the last MSDeploy operation. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -13035,7 +13188,7 @@ func (client AppsClient) GetMSDeployLogResponder(resp *http.Response) (result MS return } -// GetMSDeployLogSlot description for Get the MSDeploy Log for the last MSDeploy operation. +// GetMSDeployLogSlot get the MSDeploy Log for the last MSDeploy operation. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -13121,7 +13274,7 @@ func (client AppsClient) GetMSDeployLogSlotResponder(resp *http.Response) (resul return } -// GetMSDeployStatus description for Get the status of the last MSDeploy operation. +// GetMSDeployStatus get the status of the last MSDeploy operation. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -13205,7 +13358,7 @@ func (client AppsClient) GetMSDeployStatusResponder(resp *http.Response) (result return } -// GetMSDeployStatusSlot description for Get the status of the last MSDeploy operation. +// GetMSDeployStatusSlot get the status of the last MSDeploy operation. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -13291,8 +13444,7 @@ func (client AppsClient) GetMSDeployStatusSlotResponder(resp *http.Response) (re return } -// GetNetworkTraceOperation description for Gets a named operation for a network trace capturing (or deployment slot, -// if specified). +// GetNetworkTraceOperation gets a named operation for a network trace capturing (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -13378,8 +13530,8 @@ func (client AppsClient) GetNetworkTraceOperationResponder(resp *http.Response) return } -// GetNetworkTraceOperationSlot description for Gets a named operation for a network trace capturing (or deployment -// slot, if specified). +// GetNetworkTraceOperationSlot gets a named operation for a network trace capturing (or deployment slot, if +// specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -13468,8 +13620,8 @@ func (client AppsClient) GetNetworkTraceOperationSlotResponder(resp *http.Respon return } -// GetNetworkTraceOperationSlotV2 description for Gets a named operation for a network trace capturing (or deployment -// slot, if specified). +// GetNetworkTraceOperationSlotV2 gets a named operation for a network trace capturing (or deployment slot, if +// specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -13558,8 +13710,7 @@ func (client AppsClient) GetNetworkTraceOperationSlotV2Responder(resp *http.Resp return } -// GetNetworkTraceOperationV2 description for Gets a named operation for a network trace capturing (or deployment slot, -// if specified). +// GetNetworkTraceOperationV2 gets a named operation for a network trace capturing (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -13645,8 +13796,7 @@ func (client AppsClient) GetNetworkTraceOperationV2Responder(resp *http.Response return } -// GetNetworkTraces description for Gets a named operation for a network trace capturing (or deployment slot, if -// specified). +// GetNetworkTraces gets a named operation for a network trace capturing (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -13732,8 +13882,7 @@ func (client AppsClient) GetNetworkTracesResponder(resp *http.Response) (result return } -// GetNetworkTracesSlot description for Gets a named operation for a network trace capturing (or deployment slot, if -// specified). +// GetNetworkTracesSlot gets a named operation for a network trace capturing (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -13822,8 +13971,7 @@ func (client AppsClient) GetNetworkTracesSlotResponder(resp *http.Response) (res return } -// GetNetworkTracesSlotV2 description for Gets a named operation for a network trace capturing (or deployment slot, if -// specified). +// GetNetworkTracesSlotV2 gets a named operation for a network trace capturing (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -13912,8 +14060,7 @@ func (client AppsClient) GetNetworkTracesSlotV2Responder(resp *http.Response) (r return } -// GetNetworkTracesV2 description for Gets a named operation for a network trace capturing (or deployment slot, if -// specified). +// GetNetworkTracesV2 gets a named operation for a network trace capturing (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -13999,7 +14146,91 @@ func (client AppsClient) GetNetworkTracesV2Responder(resp *http.Response) (resul return } -// GetPremierAddOn description for Gets a named add-on of an app. +// GetOneDeployStatus invoke onedeploy status API /api/deployments and gets the deployment status for the site +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of web app. +func (client AppsClient) GetOneDeployStatus(ctx context.Context, resourceGroupName string, name string) (result SetObject, err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/AppsClient.GetOneDeployStatus") + defer func() { + sc := -1 + if result.Response.Response != nil { + sc = result.Response.Response.StatusCode + } + tracing.EndSpan(ctx, sc, err) + }() + } + if err := validation.Validate([]validation.Validation{ + {TargetValue: resourceGroupName, + Constraints: []validation.Constraint{{Target: "resourceGroupName", Name: validation.MaxLength, Rule: 90, Chain: nil}, + {Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil}, + {Target: "resourceGroupName", Name: validation.Pattern, Rule: `^[-\w\._\(\)]+[^\.]$`, Chain: nil}}}}); err != nil { + return result, validation.NewError("web.AppsClient", "GetOneDeployStatus", err.Error()) + } + + req, err := client.GetOneDeployStatusPreparer(ctx, resourceGroupName, name) + if err != nil { + err = autorest.NewErrorWithError(err, "web.AppsClient", "GetOneDeployStatus", nil, "Failure preparing request") + return + } + + resp, err := client.GetOneDeployStatusSender(req) + if err != nil { + result.Response = autorest.Response{Response: resp} + err = autorest.NewErrorWithError(err, "web.AppsClient", "GetOneDeployStatus", resp, "Failure sending request") + return + } + + result, err = client.GetOneDeployStatusResponder(resp) + if err != nil { + err = autorest.NewErrorWithError(err, "web.AppsClient", "GetOneDeployStatus", resp, "Failure responding to request") + return + } + + return +} + +// GetOneDeployStatusPreparer prepares the GetOneDeployStatus request. +func (client AppsClient) GetOneDeployStatusPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error) { + pathParameters := map[string]interface{}{ + "name": autorest.Encode("path", name), + "resourceGroupName": autorest.Encode("path", resourceGroupName), + "subscriptionId": autorest.Encode("path", client.SubscriptionID), + } + + const APIVersion = "2021-03-01" + queryParameters := map[string]interface{}{ + "api-version": APIVersion, + } + + preparer := autorest.CreatePreparer( + autorest.AsGet(), + autorest.WithBaseURL(client.BaseURI), + autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/extensions/onedeploy", pathParameters), + autorest.WithQueryParameters(queryParameters)) + return preparer.Prepare((&http.Request{}).WithContext(ctx)) +} + +// GetOneDeployStatusSender sends the GetOneDeployStatus request. The method will close the +// http.Response Body if it receives an error. +func (client AppsClient) GetOneDeployStatusSender(req *http.Request) (*http.Response, error) { + return client.Send(req, azure.DoRetryWithRegistration(client.Client)) +} + +// GetOneDeployStatusResponder handles the response to the GetOneDeployStatus request. The method always +// closes the http.Response Body. +func (client AppsClient) GetOneDeployStatusResponder(resp *http.Response) (result SetObject, err error) { + err = autorest.Respond( + resp, + azure.WithErrorUnlessStatusCode(http.StatusOK), + autorest.ByUnmarshallingJSON(&result.Value), + autorest.ByClosing()) + result.Response = autorest.Response{Response: resp} + return +} + +// GetPremierAddOn gets a named add-on of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -14085,7 +14316,7 @@ func (client AppsClient) GetPremierAddOnResponder(resp *http.Response) (result P return } -// GetPremierAddOnSlot description for Gets a named add-on of an app. +// GetPremierAddOnSlot gets a named add-on of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -14174,8 +14405,8 @@ func (client AppsClient) GetPremierAddOnSlotResponder(resp *http.Response) (resu return } -// GetPrivateAccess description for Gets data around private site access enablement and authorized Virtual Networks -// that can access the site. +// GetPrivateAccess gets data around private site access enablement and authorized Virtual Networks that can access the +// site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -14259,8 +14490,8 @@ func (client AppsClient) GetPrivateAccessResponder(resp *http.Response) (result return } -// GetPrivateAccessSlot description for Gets data around private site access enablement and authorized Virtual Networks -// that can access the site. +// GetPrivateAccessSlot gets data around private site access enablement and authorized Virtual Networks that can access +// the site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -14346,7 +14577,7 @@ func (client AppsClient) GetPrivateAccessSlotResponder(resp *http.Response) (res return } -// GetPrivateEndpointConnection description for Gets a private endpoint connection +// GetPrivateEndpointConnection gets a private endpoint connection // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the site. @@ -14432,8 +14663,7 @@ func (client AppsClient) GetPrivateEndpointConnectionResponder(resp *http.Respon return } -// GetPrivateEndpointConnectionList description for Gets the list of private endpoint connections associated with a -// site +// GetPrivateEndpointConnectionList gets the list of private endpoint connections associated with a site // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the site. @@ -14559,8 +14789,7 @@ func (client AppsClient) GetPrivateEndpointConnectionListComplete(ctx context.Co return } -// GetPrivateEndpointConnectionListSlot description for Gets the list of private endpoint connections associated with a -// site +// GetPrivateEndpointConnectionListSlot gets the list of private endpoint connections associated with a site // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the site. @@ -14688,7 +14917,7 @@ func (client AppsClient) GetPrivateEndpointConnectionListSlotComplete(ctx contex return } -// GetPrivateEndpointConnectionSlot description for Gets a private endpoint connection +// GetPrivateEndpointConnectionSlot gets a private endpoint connection // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the site. @@ -14776,7 +15005,7 @@ func (client AppsClient) GetPrivateEndpointConnectionSlotResponder(resp *http.Re return } -// GetPrivateLinkResources description for Gets the private link resources +// GetPrivateLinkResources gets the private link resources // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the site. @@ -14860,7 +15089,7 @@ func (client AppsClient) GetPrivateLinkResourcesResponder(resp *http.Response) ( return } -// GetPrivateLinkResourcesSlot description for Gets the private link resources +// GetPrivateLinkResourcesSlot gets the private link resources // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the site. @@ -14945,7 +15174,7 @@ func (client AppsClient) GetPrivateLinkResourcesSlotResponder(resp *http.Respons return } -// GetProcess description for Get process information by its ID for a specific scaled-out instance in a web site. +// GetProcess get process information by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -15031,8 +15260,7 @@ func (client AppsClient) GetProcessResponder(resp *http.Response) (result Proces return } -// GetProcessDump description for Get a memory dump of a process by its ID for a specific scaled-out instance in a web -// site. +// GetProcessDump get a memory dump of a process by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -15117,8 +15345,7 @@ func (client AppsClient) GetProcessDumpResponder(resp *http.Response) (result Re return } -// GetProcessDumpSlot description for Get a memory dump of a process by its ID for a specific scaled-out instance in a -// web site. +// GetProcessDumpSlot get a memory dump of a process by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -15206,7 +15433,7 @@ func (client AppsClient) GetProcessDumpSlotResponder(resp *http.Response) (resul return } -// GetProcessModule description for Get process information by its ID for a specific scaled-out instance in a web site. +// GetProcessModule get process information by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -15294,8 +15521,7 @@ func (client AppsClient) GetProcessModuleResponder(resp *http.Response) (result return } -// GetProcessModuleSlot description for Get process information by its ID for a specific scaled-out instance in a web -// site. +// GetProcessModuleSlot get process information by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -15386,7 +15612,7 @@ func (client AppsClient) GetProcessModuleSlotResponder(resp *http.Response) (res return } -// GetProcessSlot description for Get process information by its ID for a specific scaled-out instance in a web site. +// GetProcessSlot get process information by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -15475,7 +15701,7 @@ func (client AppsClient) GetProcessSlotResponder(resp *http.Response) (result Pr return } -// GetPublicCertificate description for Get the named public certificate for an app (or deployment slot, if specified). +// GetPublicCertificate get the named public certificate for an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -15561,8 +15787,7 @@ func (client AppsClient) GetPublicCertificateResponder(resp *http.Response) (res return } -// GetPublicCertificateSlot description for Get the named public certificate for an app (or deployment slot, if -// specified). +// GetPublicCertificateSlot get the named public certificate for an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -15651,7 +15876,7 @@ func (client AppsClient) GetPublicCertificateSlotResponder(resp *http.Response) return } -// GetRelayServiceConnection description for Gets a hybrid connection configuration by its name. +// GetRelayServiceConnection gets a hybrid connection configuration by its name. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -15737,7 +15962,7 @@ func (client AppsClient) GetRelayServiceConnectionResponder(resp *http.Response) return } -// GetRelayServiceConnectionSlot description for Gets a hybrid connection configuration by its name. +// GetRelayServiceConnectionSlot gets a hybrid connection configuration by its name. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -15826,7 +16051,7 @@ func (client AppsClient) GetRelayServiceConnectionSlotResponder(resp *http.Respo return } -// GetScmAllowed description for Returns whether Scm basic auth is allowed on the site or not. +// GetScmAllowed returns whether Scm basic auth is allowed on the site or not. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -15910,7 +16135,7 @@ func (client AppsClient) GetScmAllowedResponder(resp *http.Response) (result Csm return } -// GetScmAllowedSlot description for Returns whether Scm basic auth is allowed on the site or not. +// GetScmAllowedSlot returns whether Scm basic auth is allowed on the site or not. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -15995,7 +16220,7 @@ func (client AppsClient) GetScmAllowedSlotResponder(resp *http.Response) (result return } -// GetSiteConnectionStringKeyVaultReference description for Gets the config reference and status of an app +// GetSiteConnectionStringKeyVaultReference gets the config reference and status of an app // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -16080,8 +16305,7 @@ func (client AppsClient) GetSiteConnectionStringKeyVaultReferenceResponder(resp return } -// GetSiteConnectionStringKeyVaultReferences description for Gets the config reference app settings and status of an -// app +// GetSiteConnectionStringKeyVaultReferences gets the config reference app settings and status of an app // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -16207,7 +16431,7 @@ func (client AppsClient) GetSiteConnectionStringKeyVaultReferencesComplete(ctx c return } -// GetSiteConnectionStringKeyVaultReferenceSlot description for Gets the config reference and status of an app +// GetSiteConnectionStringKeyVaultReferenceSlot gets the config reference and status of an app // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -16293,8 +16517,7 @@ func (client AppsClient) GetSiteConnectionStringKeyVaultReferenceSlotResponder(r return } -// GetSiteConnectionStringKeyVaultReferencesSlot description for Gets the config reference app settings and status of -// an app +// GetSiteConnectionStringKeyVaultReferencesSlot gets the config reference app settings and status of an app // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -16421,7 +16644,7 @@ func (client AppsClient) GetSiteConnectionStringKeyVaultReferencesSlotComplete(c return } -// GetSiteExtension description for Get site extension information by its ID for a web site, or a deployment slot. +// GetSiteExtension get site extension information by its ID for a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -16507,7 +16730,7 @@ func (client AppsClient) GetSiteExtensionResponder(resp *http.Response) (result return } -// GetSiteExtensionSlot description for Get site extension information by its ID for a web site, or a deployment slot. +// GetSiteExtensionSlot get site extension information by its ID for a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -16595,7 +16818,7 @@ func (client AppsClient) GetSiteExtensionSlotResponder(resp *http.Response) (res return } -// GetSitePhpErrorLogFlag description for Gets web app's event logs. +// GetSitePhpErrorLogFlag gets web app's event logs. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -16679,7 +16902,7 @@ func (client AppsClient) GetSitePhpErrorLogFlagResponder(resp *http.Response) (r return } -// GetSitePhpErrorLogFlagSlot description for Gets web app's event logs. +// GetSitePhpErrorLogFlagSlot gets web app's event logs. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -16765,7 +16988,7 @@ func (client AppsClient) GetSitePhpErrorLogFlagSlotResponder(resp *http.Response return } -// GetSlot description for Gets the details of a web, mobile, or API app. +// GetSlot gets the details of a web, mobile, or API app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -16851,7 +17074,7 @@ func (client AppsClient) GetSlotResponder(resp *http.Response) (result Site, err return } -// GetSourceControl description for Gets the source control configuration of an app. +// GetSourceControl gets the source control configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -16935,7 +17158,7 @@ func (client AppsClient) GetSourceControlResponder(resp *http.Response) (result return } -// GetSourceControlSlot description for Gets the source control configuration of an app. +// GetSourceControlSlot gets the source control configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -17022,7 +17245,7 @@ func (client AppsClient) GetSourceControlSlotResponder(resp *http.Response) (res return } -// GetSwiftVirtualNetworkConnection description for Gets a Swift Virtual Network connection. +// GetSwiftVirtualNetworkConnection gets a Swift Virtual Network connection. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -17106,7 +17329,7 @@ func (client AppsClient) GetSwiftVirtualNetworkConnectionResponder(resp *http.Re return } -// GetSwiftVirtualNetworkConnectionSlot description for Gets a Swift Virtual Network connection. +// GetSwiftVirtualNetworkConnectionSlot gets a Swift Virtual Network connection. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -17193,7 +17416,7 @@ func (client AppsClient) GetSwiftVirtualNetworkConnectionSlotResponder(resp *htt return } -// GetTriggeredWebJob description for Gets a triggered web job by its ID for an app, or a deployment slot. +// GetTriggeredWebJob gets a triggered web job by its ID for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -17279,8 +17502,7 @@ func (client AppsClient) GetTriggeredWebJobResponder(resp *http.Response) (resul return } -// GetTriggeredWebJobHistory description for Gets a triggered web job's history by its ID for an app, , or a deployment -// slot. +// GetTriggeredWebJobHistory gets a triggered web job's history by its ID for an app, , or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -17368,8 +17590,7 @@ func (client AppsClient) GetTriggeredWebJobHistoryResponder(resp *http.Response) return } -// GetTriggeredWebJobHistorySlot description for Gets a triggered web job's history by its ID for an app, , or a -// deployment slot. +// GetTriggeredWebJobHistorySlot gets a triggered web job's history by its ID for an app, , or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -17459,7 +17680,7 @@ func (client AppsClient) GetTriggeredWebJobHistorySlotResponder(resp *http.Respo return } -// GetTriggeredWebJobSlot description for Gets a triggered web job by its ID for an app, or a deployment slot. +// GetTriggeredWebJobSlot gets a triggered web job by its ID for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -17547,7 +17768,7 @@ func (client AppsClient) GetTriggeredWebJobSlotResponder(resp *http.Response) (r return } -// GetVnetConnection description for Gets a virtual network the app (or deployment slot) is connected to by name. +// GetVnetConnection gets a virtual network the app (or deployment slot) is connected to by name. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -17633,7 +17854,7 @@ func (client AppsClient) GetVnetConnectionResponder(resp *http.Response) (result return } -// GetVnetConnectionGateway description for Gets an app's Virtual Network gateway. +// GetVnetConnectionGateway gets an app's Virtual Network gateway. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -17721,7 +17942,7 @@ func (client AppsClient) GetVnetConnectionGatewayResponder(resp *http.Response) return } -// GetVnetConnectionGatewaySlot description for Gets an app's Virtual Network gateway. +// GetVnetConnectionGatewaySlot gets an app's Virtual Network gateway. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -17812,7 +18033,7 @@ func (client AppsClient) GetVnetConnectionGatewaySlotResponder(resp *http.Respon return } -// GetVnetConnectionSlot description for Gets a virtual network the app (or deployment slot) is connected to by name. +// GetVnetConnectionSlot gets a virtual network the app (or deployment slot) is connected to by name. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -17901,7 +18122,7 @@ func (client AppsClient) GetVnetConnectionSlotResponder(resp *http.Response) (re return } -// GetWebJob description for Get webjob information for an app, or a deployment slot. +// GetWebJob get webjob information for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -17987,7 +18208,7 @@ func (client AppsClient) GetWebJobResponder(resp *http.Response) (result Job, er return } -// GetWebJobSlot description for Get webjob information for an app, or a deployment slot. +// GetWebJobSlot get webjob information for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -18076,7 +18297,7 @@ func (client AppsClient) GetWebJobSlotResponder(resp *http.Response) (result Job return } -// GetWebSiteContainerLogs description for Gets the last lines of docker logs for the given site +// GetWebSiteContainerLogs gets the last lines of docker logs for the given site // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -18159,7 +18380,7 @@ func (client AppsClient) GetWebSiteContainerLogsResponder(resp *http.Response) ( return } -// GetWebSiteContainerLogsSlot description for Gets the last lines of docker logs for the given site +// GetWebSiteContainerLogsSlot gets the last lines of docker logs for the given site // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -18244,7 +18465,7 @@ func (client AppsClient) GetWebSiteContainerLogsSlotResponder(resp *http.Respons return } -// InstallSiteExtension description for Install site extension on a web site, or a deployment slot. +// InstallSiteExtension install site extension on a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -18333,7 +18554,7 @@ func (client AppsClient) InstallSiteExtensionResponder(resp *http.Response) (res return } -// InstallSiteExtensionSlot description for Install site extension on a web site, or a deployment slot. +// InstallSiteExtensionSlot install site extension on a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -18424,7 +18645,7 @@ func (client AppsClient) InstallSiteExtensionSlotResponder(resp *http.Response) return } -// IsCloneable description for Shows whether an app can be cloned to another resource group or subscription. +// IsCloneable shows whether an app can be cloned to another resource group or subscription. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -18508,7 +18729,7 @@ func (client AppsClient) IsCloneableResponder(resp *http.Response) (result SiteC return } -// IsCloneableSlot description for Shows whether an app can be cloned to another resource group or subscription. +// IsCloneableSlot shows whether an app can be cloned to another resource group or subscription. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -18594,7 +18815,7 @@ func (client AppsClient) IsCloneableSlotResponder(resp *http.Response) (result S return } -// List description for Get all apps for a subscription. +// List get all apps for a subscription. func (client AppsClient) List(ctx context.Context) (result AppCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/AppsClient.List") @@ -18707,7 +18928,7 @@ func (client AppsClient) ListComplete(ctx context.Context) (result AppCollection return } -// ListApplicationSettings description for Gets the application settings of an app. +// ListApplicationSettings gets the application settings of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -18791,7 +19012,7 @@ func (client AppsClient) ListApplicationSettingsResponder(resp *http.Response) ( return } -// ListApplicationSettingsSlot description for Gets the application settings of an app. +// ListApplicationSettingsSlot gets the application settings of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -18878,7 +19099,7 @@ func (client AppsClient) ListApplicationSettingsSlotResponder(resp *http.Respons return } -// ListAzureStorageAccounts description for Gets the Azure storage account configurations of an app. +// ListAzureStorageAccounts gets the Azure storage account configurations of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -18962,7 +19183,7 @@ func (client AppsClient) ListAzureStorageAccountsResponder(resp *http.Response) return } -// ListAzureStorageAccountsSlot description for Gets the Azure storage account configurations of an app. +// ListAzureStorageAccountsSlot gets the Azure storage account configurations of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -19049,7 +19270,7 @@ func (client AppsClient) ListAzureStorageAccountsSlotResponder(resp *http.Respon return } -// ListBackups description for Gets existing backups of an app. +// ListBackups gets existing backups of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -19175,7 +19396,7 @@ func (client AppsClient) ListBackupsComplete(ctx context.Context, resourceGroupN return } -// ListBackupsSlot description for Gets existing backups of an app. +// ListBackupsSlot gets existing backups of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -19304,9 +19525,9 @@ func (client AppsClient) ListBackupsSlotComplete(ctx context.Context, resourceGr return } -// ListBackupStatusSecrets description for Gets status of a web app backup that may be in progress, including secrets -// associated with the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup -// if a new URL is passed in the request body. +// ListBackupStatusSecrets gets status of a web app backup that may be in progress, including secrets associated with +// the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup if a new URL is +// passed in the request body. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -19404,9 +19625,9 @@ func (client AppsClient) ListBackupStatusSecretsResponder(resp *http.Response) ( return } -// ListBackupStatusSecretsSlot description for Gets status of a web app backup that may be in progress, including -// secrets associated with the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for -// the backup if a new URL is passed in the request body. +// ListBackupStatusSecretsSlot gets status of a web app backup that may be in progress, including secrets associated +// with the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup if a new +// URL is passed in the request body. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -19506,8 +19727,8 @@ func (client AppsClient) ListBackupStatusSecretsSlotResponder(resp *http.Respons return } -// ListBasicPublishingCredentialsPolicies description for Returns whether Scm basic auth is allowed and whether Ftp is -// allowed for a given site. +// ListBasicPublishingCredentialsPolicies returns whether Scm basic auth is allowed and whether Ftp is allowed for a +// given site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -19633,8 +19854,8 @@ func (client AppsClient) ListBasicPublishingCredentialsPoliciesComplete(ctx cont return } -// ListBasicPublishingCredentialsPoliciesSlot description for Returns whether Scm basic auth is allowed and whether Ftp -// is allowed for a given site. +// ListBasicPublishingCredentialsPoliciesSlot returns whether Scm basic auth is allowed and whether Ftp is allowed for +// a given site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -19761,7 +19982,7 @@ func (client AppsClient) ListBasicPublishingCredentialsPoliciesSlotComplete(ctx return } -// ListByResourceGroup description for Gets all web, mobile, and API apps in the specified resource group. +// ListByResourceGroup gets all web, mobile, and API apps in the specified resource group. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // includeSlots - specify true to include deployment slots in results. The default is false, @@ -19890,7 +20111,7 @@ func (client AppsClient) ListByResourceGroupComplete(ctx context.Context, resour return } -// ListConfigurations description for List the configurations of an app +// ListConfigurations list the configurations of an app // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -20016,8 +20237,8 @@ func (client AppsClient) ListConfigurationsComplete(ctx context.Context, resourc return } -// ListConfigurationSnapshotInfo description for Gets a list of web app configuration snapshots identifiers. Each -// element of the list contains a timestamp and the ID of the snapshot. +// ListConfigurationSnapshotInfo gets a list of web app configuration snapshots identifiers. Each element of the list +// contains a timestamp and the ID of the snapshot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -20143,8 +20364,8 @@ func (client AppsClient) ListConfigurationSnapshotInfoComplete(ctx context.Conte return } -// ListConfigurationSnapshotInfoSlot description for Gets a list of web app configuration snapshots identifiers. Each -// element of the list contains a timestamp and the ID of the snapshot. +// ListConfigurationSnapshotInfoSlot gets a list of web app configuration snapshots identifiers. Each element of the +// list contains a timestamp and the ID of the snapshot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -20273,7 +20494,7 @@ func (client AppsClient) ListConfigurationSnapshotInfoSlotComplete(ctx context.C return } -// ListConfigurationsSlot description for List the configurations of an app +// ListConfigurationsSlot list the configurations of an app // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -20402,7 +20623,7 @@ func (client AppsClient) ListConfigurationsSlotComplete(ctx context.Context, res return } -// ListConnectionStrings description for Gets the connection strings of an app. +// ListConnectionStrings gets the connection strings of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -20486,7 +20707,7 @@ func (client AppsClient) ListConnectionStringsResponder(resp *http.Response) (re return } -// ListConnectionStringsSlot description for Gets the connection strings of an app. +// ListConnectionStringsSlot gets the connection strings of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -20573,7 +20794,7 @@ func (client AppsClient) ListConnectionStringsSlotResponder(resp *http.Response) return } -// ListContinuousWebJobs description for List continuous web jobs for an app, or a deployment slot. +// ListContinuousWebJobs list continuous web jobs for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -20699,7 +20920,7 @@ func (client AppsClient) ListContinuousWebJobsComplete(ctx context.Context, reso return } -// ListContinuousWebJobsSlot description for List continuous web jobs for an app, or a deployment slot. +// ListContinuousWebJobsSlot list continuous web jobs for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -20828,7 +21049,7 @@ func (client AppsClient) ListContinuousWebJobsSlotComplete(ctx context.Context, return } -// ListDeploymentLog description for List deployment log for specific deployment for an app, or a deployment slot. +// ListDeploymentLog list deployment log for specific deployment for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -20915,7 +21136,7 @@ func (client AppsClient) ListDeploymentLogResponder(resp *http.Response) (result return } -// ListDeploymentLogSlot description for List deployment log for specific deployment for an app, or a deployment slot. +// ListDeploymentLogSlot list deployment log for specific deployment for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -21005,7 +21226,7 @@ func (client AppsClient) ListDeploymentLogSlotResponder(resp *http.Response) (re return } -// ListDeployments description for List deployments for an app, or a deployment slot. +// ListDeployments list deployments for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -21131,7 +21352,7 @@ func (client AppsClient) ListDeploymentsComplete(ctx context.Context, resourceGr return } -// ListDeploymentsSlot description for List deployments for an app, or a deployment slot. +// ListDeploymentsSlot list deployments for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -21260,7 +21481,7 @@ func (client AppsClient) ListDeploymentsSlotComplete(ctx context.Context, resour return } -// ListDomainOwnershipIdentifiers description for Lists ownership identifiers for domain associated with web app. +// ListDomainOwnershipIdentifiers lists ownership identifiers for domain associated with web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -21386,7 +21607,7 @@ func (client AppsClient) ListDomainOwnershipIdentifiersComplete(ctx context.Cont return } -// ListDomainOwnershipIdentifiersSlot description for Lists ownership identifiers for domain associated with web app. +// ListDomainOwnershipIdentifiersSlot lists ownership identifiers for domain associated with web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -21515,7 +21736,7 @@ func (client AppsClient) ListDomainOwnershipIdentifiersSlotComplete(ctx context. return } -// ListFunctionKeys description for Get function keys for a function in a web site, or a deployment slot. +// ListFunctionKeys get function keys for a function in a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -21601,7 +21822,7 @@ func (client AppsClient) ListFunctionKeysResponder(resp *http.Response) (result return } -// ListFunctionKeysSlot description for Get function keys for a function in a web site, or a deployment slot. +// ListFunctionKeysSlot get function keys for a function in a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -21689,7 +21910,7 @@ func (client AppsClient) ListFunctionKeysSlotResponder(resp *http.Response) (res return } -// ListFunctions description for List the functions for a web site, or a deployment slot. +// ListFunctions list the functions for a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -21815,7 +22036,7 @@ func (client AppsClient) ListFunctionsComplete(ctx context.Context, resourceGrou return } -// ListFunctionSecrets description for Get function secrets for a function in a web site, or a deployment slot. +// ListFunctionSecrets get function secrets for a function in a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -21901,7 +22122,7 @@ func (client AppsClient) ListFunctionSecretsResponder(resp *http.Response) (resu return } -// ListFunctionSecretsSlot description for Get function secrets for a function in a web site, or a deployment slot. +// ListFunctionSecretsSlot get function secrets for a function in a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -21989,7 +22210,7 @@ func (client AppsClient) ListFunctionSecretsSlotResponder(resp *http.Response) ( return } -// ListHostKeys description for Get host secrets for a function app. +// ListHostKeys get host secrets for a function app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -22073,7 +22294,7 @@ func (client AppsClient) ListHostKeysResponder(resp *http.Response) (result Host return } -// ListHostKeysSlot description for Get host secrets for a function app. +// ListHostKeysSlot get host secrets for a function app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -22159,7 +22380,7 @@ func (client AppsClient) ListHostKeysSlotResponder(resp *http.Response) (result return } -// ListHostNameBindings description for Get hostname bindings for an app or a deployment slot. +// ListHostNameBindings get hostname bindings for an app or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -22285,7 +22506,7 @@ func (client AppsClient) ListHostNameBindingsComplete(ctx context.Context, resou return } -// ListHostNameBindingsSlot description for Get hostname bindings for an app or a deployment slot. +// ListHostNameBindingsSlot get hostname bindings for an app or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -22414,7 +22635,7 @@ func (client AppsClient) ListHostNameBindingsSlotComplete(ctx context.Context, r return } -// ListHybridConnections description for Retrieves all Service Bus Hybrid Connections used by this Web App. +// ListHybridConnections retrieves all Service Bus Hybrid Connections used by this Web App. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -22498,7 +22719,7 @@ func (client AppsClient) ListHybridConnectionsResponder(resp *http.Response) (re return } -// ListHybridConnectionsSlot description for Retrieves all Service Bus Hybrid Connections used by this Web App. +// ListHybridConnectionsSlot retrieves all Service Bus Hybrid Connections used by this Web App. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -22584,7 +22805,7 @@ func (client AppsClient) ListHybridConnectionsSlotResponder(resp *http.Response) return } -// ListInstanceFunctionsSlot description for List the functions for a web site, or a deployment slot. +// ListInstanceFunctionsSlot list the functions for a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -22712,7 +22933,7 @@ func (client AppsClient) ListInstanceFunctionsSlotComplete(ctx context.Context, return } -// ListInstanceIdentifiers description for Gets all scale-out instances of an app. +// ListInstanceIdentifiers gets all scale-out instances of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -22838,7 +23059,7 @@ func (client AppsClient) ListInstanceIdentifiersComplete(ctx context.Context, re return } -// ListInstanceIdentifiersSlot description for Gets all scale-out instances of an app. +// ListInstanceIdentifiersSlot gets all scale-out instances of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -22966,8 +23187,8 @@ func (client AppsClient) ListInstanceIdentifiersSlotComplete(ctx context.Context return } -// ListInstanceProcesses description for Get list of processes for a web site, or a deployment slot, or for a specific -// scaled-out instance in a web site. +// ListInstanceProcesses get list of processes for a web site, or a deployment slot, or for a specific scaled-out +// instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -23096,8 +23317,8 @@ func (client AppsClient) ListInstanceProcessesComplete(ctx context.Context, reso return } -// ListInstanceProcessesSlot description for Get list of processes for a web site, or a deployment slot, or for a -// specific scaled-out instance in a web site. +// ListInstanceProcessesSlot get list of processes for a web site, or a deployment slot, or for a specific scaled-out +// instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -23229,8 +23450,8 @@ func (client AppsClient) ListInstanceProcessesSlotComplete(ctx context.Context, return } -// ListInstanceProcessModules description for List module information for a process by its ID for a specific scaled-out -// instance in a web site. +// ListInstanceProcessModules list module information for a process by its ID for a specific scaled-out instance in a +// web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -23361,8 +23582,8 @@ func (client AppsClient) ListInstanceProcessModulesComplete(ctx context.Context, return } -// ListInstanceProcessModulesSlot description for List module information for a process by its ID for a specific -// scaled-out instance in a web site. +// ListInstanceProcessModulesSlot list module information for a process by its ID for a specific scaled-out instance in +// a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -23496,8 +23717,7 @@ func (client AppsClient) ListInstanceProcessModulesSlotComplete(ctx context.Cont return } -// ListInstanceProcessThreads description for List the threads in a process by its ID for a specific scaled-out -// instance in a web site. +// ListInstanceProcessThreads list the threads in a process by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -23628,8 +23848,8 @@ func (client AppsClient) ListInstanceProcessThreadsComplete(ctx context.Context, return } -// ListInstanceProcessThreadsSlot description for List the threads in a process by its ID for a specific scaled-out -// instance in a web site. +// ListInstanceProcessThreadsSlot list the threads in a process by its ID for a specific scaled-out instance in a web +// site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -23763,7 +23983,7 @@ func (client AppsClient) ListInstanceProcessThreadsSlotComplete(ctx context.Cont return } -// ListMetadata description for Gets the metadata of an app. +// ListMetadata gets the metadata of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -23847,7 +24067,7 @@ func (client AppsClient) ListMetadataResponder(resp *http.Response) (result Stri return } -// ListMetadataSlot description for Gets the metadata of an app. +// ListMetadataSlot gets the metadata of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -23934,7 +24154,7 @@ func (client AppsClient) ListMetadataSlotResponder(resp *http.Response) (result return } -// ListNetworkFeatures description for Gets all network features used by the app (or deployment slot, if specified). +// ListNetworkFeatures gets all network features used by the app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -24020,8 +24240,7 @@ func (client AppsClient) ListNetworkFeaturesResponder(resp *http.Response) (resu return } -// ListNetworkFeaturesSlot description for Gets all network features used by the app (or deployment slot, if -// specified). +// ListNetworkFeaturesSlot gets all network features used by the app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -24110,7 +24329,7 @@ func (client AppsClient) ListNetworkFeaturesSlotResponder(resp *http.Response) ( return } -// ListPerfMonCounters description for Gets perfmon counters for web app. +// ListPerfMonCounters gets perfmon counters for web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -24242,7 +24461,7 @@ func (client AppsClient) ListPerfMonCountersComplete(ctx context.Context, resour return } -// ListPerfMonCountersSlot description for Gets perfmon counters for web app. +// ListPerfMonCountersSlot gets perfmon counters for web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -24376,7 +24595,7 @@ func (client AppsClient) ListPerfMonCountersSlotComplete(ctx context.Context, re return } -// ListPremierAddOns description for Gets the premier add-ons of an app. +// ListPremierAddOns gets the premier add-ons of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -24460,7 +24679,7 @@ func (client AppsClient) ListPremierAddOnsResponder(resp *http.Response) (result return } -// ListPremierAddOnsSlot description for Gets the premier add-ons of an app. +// ListPremierAddOnsSlot gets the premier add-ons of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -24547,8 +24766,8 @@ func (client AppsClient) ListPremierAddOnsSlotResponder(resp *http.Response) (re return } -// ListProcesses description for Get list of processes for a web site, or a deployment slot, or for a specific -// scaled-out instance in a web site. +// ListProcesses get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a +// web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -24674,8 +24893,8 @@ func (client AppsClient) ListProcessesComplete(ctx context.Context, resourceGrou return } -// ListProcessesSlot description for Get list of processes for a web site, or a deployment slot, or for a specific -// scaled-out instance in a web site. +// ListProcessesSlot get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance +// in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -24804,8 +25023,7 @@ func (client AppsClient) ListProcessesSlotComplete(ctx context.Context, resource return } -// ListProcessModules description for List module information for a process by its ID for a specific scaled-out -// instance in a web site. +// ListProcessModules list module information for a process by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -24933,8 +25151,8 @@ func (client AppsClient) ListProcessModulesComplete(ctx context.Context, resourc return } -// ListProcessModulesSlot description for List module information for a process by its ID for a specific scaled-out -// instance in a web site. +// ListProcessModulesSlot list module information for a process by its ID for a specific scaled-out instance in a web +// site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -25065,8 +25283,7 @@ func (client AppsClient) ListProcessModulesSlotComplete(ctx context.Context, res return } -// ListProcessThreads description for List the threads in a process by its ID for a specific scaled-out instance in a -// web site. +// ListProcessThreads list the threads in a process by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -25194,8 +25411,7 @@ func (client AppsClient) ListProcessThreadsComplete(ctx context.Context, resourc return } -// ListProcessThreadsSlot description for List the threads in a process by its ID for a specific scaled-out instance in -// a web site. +// ListProcessThreadsSlot list the threads in a process by its ID for a specific scaled-out instance in a web site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -25326,7 +25542,7 @@ func (client AppsClient) ListProcessThreadsSlotComplete(ctx context.Context, res return } -// ListPublicCertificates description for Get public certificates for an app or a deployment slot. +// ListPublicCertificates get public certificates for an app or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -25452,7 +25668,7 @@ func (client AppsClient) ListPublicCertificatesComplete(ctx context.Context, res return } -// ListPublicCertificatesSlot description for Get public certificates for an app or a deployment slot. +// ListPublicCertificatesSlot get public certificates for an app or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -25581,7 +25797,7 @@ func (client AppsClient) ListPublicCertificatesSlotComplete(ctx context.Context, return } -// ListPublishingCredentials description for Gets the Git/FTP publishing credentials of an app. +// ListPublishingCredentials gets the Git/FTP publishing credentials of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -25668,7 +25884,7 @@ func (client AppsClient) ListPublishingCredentialsResponder(resp *http.Response) return } -// ListPublishingCredentialsSlot description for Gets the Git/FTP publishing credentials of an app. +// ListPublishingCredentialsSlot gets the Git/FTP publishing credentials of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -25758,8 +25974,7 @@ func (client AppsClient) ListPublishingCredentialsSlotResponder(resp *http.Respo return } -// ListPublishingProfileXMLWithSecrets description for Gets the publishing profile for an app (or deployment slot, if -// specified). +// ListPublishingProfileXMLWithSecrets gets the publishing profile for an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -25846,8 +26061,7 @@ func (client AppsClient) ListPublishingProfileXMLWithSecretsResponder(resp *http return } -// ListPublishingProfileXMLWithSecretsSlot description for Gets the publishing profile for an app (or deployment slot, -// if specified). +// ListPublishingProfileXMLWithSecretsSlot gets the publishing profile for an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -25937,8 +26151,7 @@ func (client AppsClient) ListPublishingProfileXMLWithSecretsSlotResponder(resp * return } -// ListRelayServiceConnections description for Gets hybrid connections configured for an app (or deployment slot, if -// specified). +// ListRelayServiceConnections gets hybrid connections configured for an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -26022,8 +26235,7 @@ func (client AppsClient) ListRelayServiceConnectionsResponder(resp *http.Respons return } -// ListRelayServiceConnectionsSlot description for Gets hybrid connections configured for an app (or deployment slot, -// if specified). +// ListRelayServiceConnectionsSlot gets hybrid connections configured for an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -26110,7 +26322,7 @@ func (client AppsClient) ListRelayServiceConnectionsSlotResponder(resp *http.Res return } -// ListSiteBackups description for Gets existing backups of an app. +// ListSiteBackups gets existing backups of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -26236,7 +26448,7 @@ func (client AppsClient) ListSiteBackupsComplete(ctx context.Context, resourceGr return } -// ListSiteBackupsSlot description for Gets existing backups of an app. +// ListSiteBackupsSlot gets existing backups of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -26365,7 +26577,7 @@ func (client AppsClient) ListSiteBackupsSlotComplete(ctx context.Context, resour return } -// ListSiteExtensions description for Get list of siteextensions for a web site, or a deployment slot. +// ListSiteExtensions get list of siteextensions for a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -26491,7 +26703,7 @@ func (client AppsClient) ListSiteExtensionsComplete(ctx context.Context, resourc return } -// ListSiteExtensionsSlot description for Get list of siteextensions for a web site, or a deployment slot. +// ListSiteExtensionsSlot get list of siteextensions for a web site, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -26619,7 +26831,7 @@ func (client AppsClient) ListSiteExtensionsSlotComplete(ctx context.Context, res return } -// ListSitePushSettings description for Gets the Push settings associated with web app. +// ListSitePushSettings gets the Push settings associated with web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -26703,7 +26915,7 @@ func (client AppsClient) ListSitePushSettingsResponder(resp *http.Response) (res return } -// ListSitePushSettingsSlot description for Gets the Push settings associated with web app. +// ListSitePushSettingsSlot gets the Push settings associated with web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -26789,8 +27001,8 @@ func (client AppsClient) ListSitePushSettingsSlotResponder(resp *http.Response) return } -// ListSlotConfigurationNames description for Gets the names of app settings and connection strings that stick to the -// slot (not swapped). +// ListSlotConfigurationNames gets the names of app settings and connection strings that stick to the slot (not +// swapped). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -26874,8 +27086,7 @@ func (client AppsClient) ListSlotConfigurationNamesResponder(resp *http.Response return } -// ListSlotDifferencesFromProduction description for Get the difference in configuration settings between two web app -// slots. +// ListSlotDifferencesFromProduction get the difference in configuration settings between two web app slots. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -27007,7 +27218,7 @@ func (client AppsClient) ListSlotDifferencesFromProductionComplete(ctx context.C return } -// ListSlotDifferencesSlot description for Get the difference in configuration settings between two web app slots. +// ListSlotDifferencesSlot get the difference in configuration settings between two web app slots. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -27141,7 +27352,7 @@ func (client AppsClient) ListSlotDifferencesSlotComplete(ctx context.Context, re return } -// ListSlots description for Gets an app's deployment slots. +// ListSlots gets an app's deployment slots. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -27267,7 +27478,7 @@ func (client AppsClient) ListSlotsComplete(ctx context.Context, resourceGroupNam return } -// ListSnapshots description for Returns all Snapshots to the user. +// ListSnapshots returns all Snapshots to the user. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - website Name. @@ -27393,7 +27604,7 @@ func (client AppsClient) ListSnapshotsComplete(ctx context.Context, resourceGrou return } -// ListSnapshotsFromDRSecondary description for Returns all Snapshots to the user from DRSecondary endpoint. +// ListSnapshotsFromDRSecondary returns all Snapshots to the user from DRSecondary endpoint. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - website Name. @@ -27519,7 +27730,7 @@ func (client AppsClient) ListSnapshotsFromDRSecondaryComplete(ctx context.Contex return } -// ListSnapshotsFromDRSecondarySlot description for Returns all Snapshots to the user from DRSecondary endpoint. +// ListSnapshotsFromDRSecondarySlot returns all Snapshots to the user from DRSecondary endpoint. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - website Name. @@ -27647,7 +27858,7 @@ func (client AppsClient) ListSnapshotsFromDRSecondarySlotComplete(ctx context.Co return } -// ListSnapshotsSlot description for Returns all Snapshots to the user. +// ListSnapshotsSlot returns all Snapshots to the user. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - website Name. @@ -27775,7 +27986,7 @@ func (client AppsClient) ListSnapshotsSlotComplete(ctx context.Context, resource return } -// ListSyncFunctionTriggers description for This is to allow calling via powershell and ARM template. +// ListSyncFunctionTriggers this is to allow calling via powershell and ARM template. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -27859,7 +28070,7 @@ func (client AppsClient) ListSyncFunctionTriggersResponder(resp *http.Response) return } -// ListSyncFunctionTriggersSlot description for This is to allow calling via powershell and ARM template. +// ListSyncFunctionTriggersSlot this is to allow calling via powershell and ARM template. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -27945,7 +28156,7 @@ func (client AppsClient) ListSyncFunctionTriggersSlotResponder(resp *http.Respon return } -// ListSyncStatus description for This is to allow calling via powershell and ARM template. +// ListSyncStatus this is to allow calling via powershell and ARM template. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -28028,7 +28239,7 @@ func (client AppsClient) ListSyncStatusResponder(resp *http.Response) (result au return } -// ListSyncStatusSlot description for This is to allow calling via powershell and ARM template. +// ListSyncStatusSlot this is to allow calling via powershell and ARM template. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -28113,7 +28324,7 @@ func (client AppsClient) ListSyncStatusSlotResponder(resp *http.Response) (resul return } -// ListTriggeredWebJobHistory description for List a triggered web job's history for an app, or a deployment slot. +// ListTriggeredWebJobHistory list a triggered web job's history for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -28241,7 +28452,7 @@ func (client AppsClient) ListTriggeredWebJobHistoryComplete(ctx context.Context, return } -// ListTriggeredWebJobHistorySlot description for List a triggered web job's history for an app, or a deployment slot. +// ListTriggeredWebJobHistorySlot list a triggered web job's history for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -28371,7 +28582,7 @@ func (client AppsClient) ListTriggeredWebJobHistorySlotComplete(ctx context.Cont return } -// ListTriggeredWebJobs description for List triggered web jobs for an app, or a deployment slot. +// ListTriggeredWebJobs list triggered web jobs for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -28497,7 +28708,7 @@ func (client AppsClient) ListTriggeredWebJobsComplete(ctx context.Context, resou return } -// ListTriggeredWebJobsSlot description for List triggered web jobs for an app, or a deployment slot. +// ListTriggeredWebJobsSlot list triggered web jobs for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -28626,7 +28837,7 @@ func (client AppsClient) ListTriggeredWebJobsSlotComplete(ctx context.Context, r return } -// ListUsages description for Gets the quota usage information of an app (or deployment slot, if specified). +// ListUsages gets the quota usage information of an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -28758,7 +28969,7 @@ func (client AppsClient) ListUsagesComplete(ctx context.Context, resourceGroupNa return } -// ListUsagesSlot description for Gets the quota usage information of an app (or deployment slot, if specified). +// ListUsagesSlot gets the quota usage information of an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -28893,7 +29104,7 @@ func (client AppsClient) ListUsagesSlotComplete(ctx context.Context, resourceGro return } -// ListVnetConnections description for Gets the virtual networks the app (or deployment slot) is connected to. +// ListVnetConnections gets the virtual networks the app (or deployment slot) is connected to. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -28977,7 +29188,7 @@ func (client AppsClient) ListVnetConnectionsResponder(resp *http.Response) (resu return } -// ListVnetConnectionsSlot description for Gets the virtual networks the app (or deployment slot) is connected to. +// ListVnetConnectionsSlot gets the virtual networks the app (or deployment slot) is connected to. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -29064,7 +29275,7 @@ func (client AppsClient) ListVnetConnectionsSlotResponder(resp *http.Response) ( return } -// ListWebJobs description for List webjobs for an app, or a deployment slot. +// ListWebJobs list webjobs for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -29190,7 +29401,7 @@ func (client AppsClient) ListWebJobsComplete(ctx context.Context, resourceGroupN return } -// ListWebJobsSlot description for List webjobs for an app, or a deployment slot. +// ListWebJobsSlot list webjobs for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -29319,7 +29530,7 @@ func (client AppsClient) ListWebJobsSlotComplete(ctx context.Context, resourceGr return } -// MigrateMySQL description for Migrates a local (in-app) MySql database to a remote MySql database. +// MigrateMySQL migrates a local (in-app) MySql database to a remote MySql database. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -29412,7 +29623,7 @@ func (client AppsClient) MigrateMySQLResponder(resp *http.Response) (result Oper return } -// MigrateStorage description for Restores a web app. +// MigrateStorage restores a web app. // Parameters: // subscriptionName - azure subscription. // resourceGroupName - name of the resource group to which the resource belongs. @@ -29509,8 +29720,8 @@ func (client AppsClient) MigrateStorageResponder(resp *http.Response) (result St return } -// PutPrivateAccessVnet description for Sets data around private site access enablement and authorized Virtual Networks -// that can access the site. +// PutPrivateAccessVnet sets data around private site access enablement and authorized Virtual Networks that can access +// the site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -29597,8 +29808,8 @@ func (client AppsClient) PutPrivateAccessVnetResponder(resp *http.Response) (res return } -// PutPrivateAccessVnetSlot description for Sets data around private site access enablement and authorized Virtual -// Networks that can access the site. +// PutPrivateAccessVnetSlot sets data around private site access enablement and authorized Virtual Networks that can +// access the site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -29687,7 +29898,7 @@ func (client AppsClient) PutPrivateAccessVnetSlotResponder(resp *http.Response) return } -// RecoverSiteConfigurationSnapshot description for Reverts the configuration of an app to a previous snapshot. +// RecoverSiteConfigurationSnapshot reverts the configuration of an app to a previous snapshot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -29772,7 +29983,7 @@ func (client AppsClient) RecoverSiteConfigurationSnapshotResponder(resp *http.Re return } -// RecoverSiteConfigurationSnapshotSlot description for Reverts the configuration of an app to a previous snapshot. +// RecoverSiteConfigurationSnapshotSlot reverts the configuration of an app to a previous snapshot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -29860,8 +30071,8 @@ func (client AppsClient) RecoverSiteConfigurationSnapshotSlotResponder(resp *htt return } -// ResetProductionSlotConfig description for Resets the configuration settings of the current slot if they were -// previously modified by calling the API with POST. +// ResetProductionSlotConfig resets the configuration settings of the current slot if they were previously modified by +// calling the API with POST. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -29944,8 +30155,8 @@ func (client AppsClient) ResetProductionSlotConfigResponder(resp *http.Response) return } -// ResetSlotConfigurationSlot description for Resets the configuration settings of the current slot if they were -// previously modified by calling the API with POST. +// ResetSlotConfigurationSlot resets the configuration settings of the current slot if they were previously modified by +// calling the API with POST. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -30031,7 +30242,7 @@ func (client AppsClient) ResetSlotConfigurationSlotResponder(resp *http.Response return } -// Restart description for Restarts an app (or deployment slot, if specified). +// Restart restarts an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -30124,7 +30335,7 @@ func (client AppsClient) RestartResponder(resp *http.Response) (result autorest. return } -// RestartSlot description for Restarts an app (or deployment slot, if specified). +// RestartSlot restarts an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -30219,7 +30430,7 @@ func (client AppsClient) RestartSlotResponder(resp *http.Response) (result autor return } -// Restore description for Restores a specific backup to another app (or deployment slot, if specified). +// Restore restores a specific backup to another app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -30315,7 +30526,7 @@ func (client AppsClient) RestoreResponder(resp *http.Response) (result autorest. return } -// RestoreFromBackupBlob description for Restores an app from a backup blob in Azure Storage. +// RestoreFromBackupBlob restores an app from a backup blob in Azure Storage. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -30409,7 +30620,7 @@ func (client AppsClient) RestoreFromBackupBlobResponder(resp *http.Response) (re return } -// RestoreFromBackupBlobSlot description for Restores an app from a backup blob in Azure Storage. +// RestoreFromBackupBlobSlot restores an app from a backup blob in Azure Storage. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -30506,7 +30717,7 @@ func (client AppsClient) RestoreFromBackupBlobSlotResponder(resp *http.Response) return } -// RestoreFromDeletedApp description for Restores a deleted web app to this web app. +// RestoreFromDeletedApp restores a deleted web app to this web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -30595,7 +30806,7 @@ func (client AppsClient) RestoreFromDeletedAppResponder(resp *http.Response) (re return } -// RestoreFromDeletedAppSlot description for Restores a deleted web app to this web app. +// RestoreFromDeletedAppSlot restores a deleted web app to this web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -30686,7 +30897,7 @@ func (client AppsClient) RestoreFromDeletedAppSlotResponder(resp *http.Response) return } -// RestoreSlot description for Restores a specific backup to another app (or deployment slot, if specified). +// RestoreSlot restores a specific backup to another app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -30785,7 +30996,7 @@ func (client AppsClient) RestoreSlotResponder(resp *http.Response) (result autor return } -// RestoreSnapshot description for Restores a web app from a snapshot. +// RestoreSnapshot restores a web app from a snapshot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -30878,7 +31089,7 @@ func (client AppsClient) RestoreSnapshotResponder(resp *http.Response) (result a return } -// RestoreSnapshotSlot description for Restores a web app from a snapshot. +// RestoreSnapshotSlot restores a web app from a snapshot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -30973,7 +31184,7 @@ func (client AppsClient) RestoreSnapshotSlotResponder(resp *http.Response) (resu return } -// RunTriggeredWebJob description for Run a triggered web job for an app, or a deployment slot. +// RunTriggeredWebJob run a triggered web job for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -31058,7 +31269,7 @@ func (client AppsClient) RunTriggeredWebJobResponder(resp *http.Response) (resul return } -// RunTriggeredWebJobSlot description for Run a triggered web job for an app, or a deployment slot. +// RunTriggeredWebJobSlot run a triggered web job for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -31145,7 +31356,7 @@ func (client AppsClient) RunTriggeredWebJobSlotResponder(resp *http.Response) (r return } -// Start description for Starts an app (or deployment slot, if specified). +// Start starts an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -31228,7 +31439,7 @@ func (client AppsClient) StartResponder(resp *http.Response) (result autorest.Re return } -// StartContinuousWebJob description for Start a continuous web job for an app, or a deployment slot. +// StartContinuousWebJob start a continuous web job for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -31313,7 +31524,7 @@ func (client AppsClient) StartContinuousWebJobResponder(resp *http.Response) (re return } -// StartContinuousWebJobSlot description for Start a continuous web job for an app, or a deployment slot. +// StartContinuousWebJobSlot start a continuous web job for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -31401,7 +31612,7 @@ func (client AppsClient) StartContinuousWebJobSlotResponder(resp *http.Response) return } -// StartNetworkTrace description for Start capturing network packets for the site. +// StartNetworkTrace start capturing network packets for the site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -31500,7 +31711,7 @@ func (client AppsClient) StartNetworkTraceResponder(resp *http.Response) (result return } -// StartNetworkTraceSlot description for Start capturing network packets for the site. +// StartNetworkTraceSlot start capturing network packets for the site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -31601,7 +31812,7 @@ func (client AppsClient) StartNetworkTraceSlotResponder(resp *http.Response) (re return } -// StartSlot description for Starts an app (or deployment slot, if specified). +// StartSlot starts an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -31686,7 +31897,7 @@ func (client AppsClient) StartSlotResponder(resp *http.Response) (result autores return } -// StartWebSiteNetworkTrace description for Start capturing network packets for the site (To be deprecated). +// StartWebSiteNetworkTrace start capturing network packets for the site (To be deprecated). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -31782,7 +31993,7 @@ func (client AppsClient) StartWebSiteNetworkTraceResponder(resp *http.Response) return } -// StartWebSiteNetworkTraceOperation description for Start capturing network packets for the site. +// StartWebSiteNetworkTraceOperation start capturing network packets for the site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -31881,7 +32092,7 @@ func (client AppsClient) StartWebSiteNetworkTraceOperationResponder(resp *http.R return } -// StartWebSiteNetworkTraceOperationSlot description for Start capturing network packets for the site. +// StartWebSiteNetworkTraceOperationSlot start capturing network packets for the site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -31982,7 +32193,7 @@ func (client AppsClient) StartWebSiteNetworkTraceOperationSlotResponder(resp *ht return } -// StartWebSiteNetworkTraceSlot description for Start capturing network packets for the site (To be deprecated). +// StartWebSiteNetworkTraceSlot start capturing network packets for the site (To be deprecated). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -32080,7 +32291,7 @@ func (client AppsClient) StartWebSiteNetworkTraceSlotResponder(resp *http.Respon return } -// Stop description for Stops an app (or deployment slot, if specified). +// Stop stops an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -32163,7 +32374,7 @@ func (client AppsClient) StopResponder(resp *http.Response) (result autorest.Res return } -// StopContinuousWebJob description for Stop a continuous web job for an app, or a deployment slot. +// StopContinuousWebJob stop a continuous web job for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -32248,7 +32459,7 @@ func (client AppsClient) StopContinuousWebJobResponder(resp *http.Response) (res return } -// StopContinuousWebJobSlot description for Stop a continuous web job for an app, or a deployment slot. +// StopContinuousWebJobSlot stop a continuous web job for an app, or a deployment slot. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site name. @@ -32336,7 +32547,7 @@ func (client AppsClient) StopContinuousWebJobSlotResponder(resp *http.Response) return } -// StopNetworkTrace description for Stop ongoing capturing network packets for the site. +// StopNetworkTrace stop ongoing capturing network packets for the site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -32419,7 +32630,7 @@ func (client AppsClient) StopNetworkTraceResponder(resp *http.Response) (result return } -// StopNetworkTraceSlot description for Stop ongoing capturing network packets for the site. +// StopNetworkTraceSlot stop ongoing capturing network packets for the site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -32504,7 +32715,7 @@ func (client AppsClient) StopNetworkTraceSlotResponder(resp *http.Response) (res return } -// StopSlot description for Stops an app (or deployment slot, if specified). +// StopSlot stops an app (or deployment slot, if specified). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -32589,7 +32800,7 @@ func (client AppsClient) StopSlotResponder(resp *http.Response) (result autorest return } -// StopWebSiteNetworkTrace description for Stop ongoing capturing network packets for the site. +// StopWebSiteNetworkTrace stop ongoing capturing network packets for the site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -32672,7 +32883,7 @@ func (client AppsClient) StopWebSiteNetworkTraceResponder(resp *http.Response) ( return } -// StopWebSiteNetworkTraceSlot description for Stop ongoing capturing network packets for the site. +// StopWebSiteNetworkTraceSlot stop ongoing capturing network packets for the site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -32757,7 +32968,7 @@ func (client AppsClient) StopWebSiteNetworkTraceSlotResponder(resp *http.Respons return } -// SwapSlotSlot description for Swaps two deployment slots of an app. +// SwapSlotSlot swaps two deployment slots of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -32851,7 +33062,7 @@ func (client AppsClient) SwapSlotSlotResponder(resp *http.Response) (result auto return } -// SwapSlotWithProduction description for Swaps two deployment slots of an app. +// SwapSlotWithProduction swaps two deployment slots of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -32943,7 +33154,7 @@ func (client AppsClient) SwapSlotWithProductionResponder(resp *http.Response) (r return } -// SyncFunctions description for Syncs function trigger metadata to the management database +// SyncFunctions syncs function trigger metadata to the management database // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -33026,7 +33237,7 @@ func (client AppsClient) SyncFunctionsResponder(resp *http.Response) (result aut return } -// SyncFunctionsSlot description for Syncs function trigger metadata to the management database +// SyncFunctionsSlot syncs function trigger metadata to the management database // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -33111,7 +33322,7 @@ func (client AppsClient) SyncFunctionsSlotResponder(resp *http.Response) (result return } -// SyncFunctionTriggers description for Syncs function trigger metadata to the management database +// SyncFunctionTriggers syncs function trigger metadata to the management database // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -33194,7 +33405,7 @@ func (client AppsClient) SyncFunctionTriggersResponder(resp *http.Response) (res return } -// SyncFunctionTriggersSlot description for Syncs function trigger metadata to the management database +// SyncFunctionTriggersSlot syncs function trigger metadata to the management database // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -33279,7 +33490,7 @@ func (client AppsClient) SyncFunctionTriggersSlotResponder(resp *http.Response) return } -// SyncRepository description for Sync web app repository. +// SyncRepository sync web app repository. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -33362,7 +33573,7 @@ func (client AppsClient) SyncRepositoryResponder(resp *http.Response) (result au return } -// SyncRepositorySlot description for Sync web app repository. +// SyncRepositorySlot sync web app repository. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -33447,8 +33658,7 @@ func (client AppsClient) SyncRepositorySlotResponder(resp *http.Response) (resul return } -// Update description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing -// app. +// Update creates a new web, mobile, or API app in an existing resource group, or updates an existing app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - unique name of the app to create or update. To create or update a deployment slot, use the {slot} @@ -33536,7 +33746,7 @@ func (client AppsClient) UpdateResponder(resp *http.Response) (result Site, err return } -// UpdateApplicationSettings description for Replaces the application settings of an app. +// UpdateApplicationSettings replaces the application settings of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -33623,7 +33833,7 @@ func (client AppsClient) UpdateApplicationSettingsResponder(resp *http.Response) return } -// UpdateApplicationSettingsSlot description for Replaces the application settings of an app. +// UpdateApplicationSettingsSlot replaces the application settings of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -33713,7 +33923,7 @@ func (client AppsClient) UpdateApplicationSettingsSlotResponder(resp *http.Respo return } -// UpdateAuthSettings description for Updates the Authentication / Authorization settings associated with web app. +// UpdateAuthSettings updates the Authentication / Authorization settings associated with web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -33800,7 +34010,7 @@ func (client AppsClient) UpdateAuthSettingsResponder(resp *http.Response) (resul return } -// UpdateAuthSettingsSlot description for Updates the Authentication / Authorization settings associated with web app. +// UpdateAuthSettingsSlot updates the Authentication / Authorization settings associated with web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -33889,8 +34099,7 @@ func (client AppsClient) UpdateAuthSettingsSlotResponder(resp *http.Response) (r return } -// UpdateAuthSettingsV2 description for Updates site's Authentication / Authorization settings for apps via the V2 -// format +// UpdateAuthSettingsV2 updates site's Authentication / Authorization settings for apps via the V2 format // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -33977,8 +34186,7 @@ func (client AppsClient) UpdateAuthSettingsV2Responder(resp *http.Response) (res return } -// UpdateAuthSettingsV2Slot description for Updates site's Authentication / Authorization settings for apps via the V2 -// format +// UpdateAuthSettingsV2Slot updates site's Authentication / Authorization settings for apps via the V2 format // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -34067,7 +34275,7 @@ func (client AppsClient) UpdateAuthSettingsV2SlotResponder(resp *http.Response) return } -// UpdateAzureStorageAccounts description for Updates the Azure storage account configurations of an app. +// UpdateAzureStorageAccounts updates the Azure storage account configurations of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -34154,7 +34362,7 @@ func (client AppsClient) UpdateAzureStorageAccountsResponder(resp *http.Response return } -// UpdateAzureStorageAccountsSlot description for Updates the Azure storage account configurations of an app. +// UpdateAzureStorageAccountsSlot updates the Azure storage account configurations of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -34244,7 +34452,7 @@ func (client AppsClient) UpdateAzureStorageAccountsSlotResponder(resp *http.Resp return } -// UpdateBackupConfiguration description for Updates the backup configuration of an app. +// UpdateBackupConfiguration updates the backup configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -34340,7 +34548,7 @@ func (client AppsClient) UpdateBackupConfigurationResponder(resp *http.Response) return } -// UpdateBackupConfigurationSlot description for Updates the backup configuration of an app. +// UpdateBackupConfigurationSlot updates the backup configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -34439,7 +34647,7 @@ func (client AppsClient) UpdateBackupConfigurationSlotResponder(resp *http.Respo return } -// UpdateConfiguration description for Updates the configuration of an app. +// UpdateConfiguration updates the configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -34526,7 +34734,7 @@ func (client AppsClient) UpdateConfigurationResponder(resp *http.Response) (resu return } -// UpdateConfigurationSlot description for Updates the configuration of an app. +// UpdateConfigurationSlot updates the configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -34616,7 +34824,7 @@ func (client AppsClient) UpdateConfigurationSlotResponder(resp *http.Response) ( return } -// UpdateConnectionStrings description for Replaces the connection strings of an app. +// UpdateConnectionStrings replaces the connection strings of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -34703,7 +34911,7 @@ func (client AppsClient) UpdateConnectionStringsResponder(resp *http.Response) ( return } -// UpdateConnectionStringsSlot description for Replaces the connection strings of an app. +// UpdateConnectionStringsSlot replaces the connection strings of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -34793,7 +35001,7 @@ func (client AppsClient) UpdateConnectionStringsSlotResponder(resp *http.Respons return } -// UpdateDiagnosticLogsConfig description for Updates the logging configuration of an app. +// UpdateDiagnosticLogsConfig updates the logging configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -34896,7 +35104,7 @@ func (client AppsClient) UpdateDiagnosticLogsConfigResponder(resp *http.Response return } -// UpdateDiagnosticLogsConfigSlot description for Updates the logging configuration of an app. +// UpdateDiagnosticLogsConfigSlot updates the logging configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -35002,8 +35210,8 @@ func (client AppsClient) UpdateDiagnosticLogsConfigSlotResponder(resp *http.Resp return } -// UpdateDomainOwnershipIdentifier description for Creates a domain ownership identifier for web app, or updates an -// existing ownership identifier. +// UpdateDomainOwnershipIdentifier creates a domain ownership identifier for web app, or updates an existing ownership +// identifier. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -35092,8 +35300,8 @@ func (client AppsClient) UpdateDomainOwnershipIdentifierResponder(resp *http.Res return } -// UpdateDomainOwnershipIdentifierSlot description for Creates a domain ownership identifier for web app, or updates an -// existing ownership identifier. +// UpdateDomainOwnershipIdentifierSlot creates a domain ownership identifier for web app, or updates an existing +// ownership identifier. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -35185,7 +35393,7 @@ func (client AppsClient) UpdateDomainOwnershipIdentifierSlotResponder(resp *http return } -// UpdateFtpAllowed description for Updates whether FTP is allowed on the site or not. +// UpdateFtpAllowed updates whether FTP is allowed on the site or not. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -35274,7 +35482,7 @@ func (client AppsClient) UpdateFtpAllowedResponder(resp *http.Response) (result return } -// UpdateFtpAllowedSlot description for Updates whether FTP is allowed on the site or not. +// UpdateFtpAllowedSlot updates whether FTP is allowed on the site or not. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -35364,7 +35572,7 @@ func (client AppsClient) UpdateFtpAllowedSlotResponder(resp *http.Response) (res return } -// UpdateHybridConnection description for Creates a new Hybrid Connection using a Service Bus relay. +// UpdateHybridConnection creates a new Hybrid Connection using a Service Bus relay. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -35455,7 +35663,7 @@ func (client AppsClient) UpdateHybridConnectionResponder(resp *http.Response) (r return } -// UpdateHybridConnectionSlot description for Creates a new Hybrid Connection using a Service Bus relay. +// UpdateHybridConnectionSlot creates a new Hybrid Connection using a Service Bus relay. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - the name of the web app. @@ -35548,7 +35756,7 @@ func (client AppsClient) UpdateHybridConnectionSlotResponder(resp *http.Response return } -// UpdateMetadata description for Replaces the metadata of an app. +// UpdateMetadata replaces the metadata of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -35635,7 +35843,7 @@ func (client AppsClient) UpdateMetadataResponder(resp *http.Response) (result St return } -// UpdateMetadataSlot description for Replaces the metadata of an app. +// UpdateMetadataSlot replaces the metadata of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -35725,7 +35933,7 @@ func (client AppsClient) UpdateMetadataSlotResponder(resp *http.Response) (resul return } -// UpdatePremierAddOn description for Updates a named add-on of an app. +// UpdatePremierAddOn updates a named add-on of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -35814,7 +36022,7 @@ func (client AppsClient) UpdatePremierAddOnResponder(resp *http.Response) (resul return } -// UpdatePremierAddOnSlot description for Updates a named add-on of an app. +// UpdatePremierAddOnSlot updates a named add-on of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -35906,8 +36114,8 @@ func (client AppsClient) UpdatePremierAddOnSlotResponder(resp *http.Response) (r return } -// UpdateRelayServiceConnection description for Creates a new hybrid connection configuration (PUT), or updates an -// existing one (PATCH). +// UpdateRelayServiceConnection creates a new hybrid connection configuration (PUT), or updates an existing one +// (PATCH). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -35996,8 +36204,8 @@ func (client AppsClient) UpdateRelayServiceConnectionResponder(resp *http.Respon return } -// UpdateRelayServiceConnectionSlot description for Creates a new hybrid connection configuration (PUT), or updates an -// existing one (PATCH). +// UpdateRelayServiceConnectionSlot creates a new hybrid connection configuration (PUT), or updates an existing one +// (PATCH). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -36089,7 +36297,7 @@ func (client AppsClient) UpdateRelayServiceConnectionSlotResponder(resp *http.Re return } -// UpdateScmAllowed description for Updates whether user publishing credentials are allowed on the site or not. +// UpdateScmAllowed updates whether user publishing credentials are allowed on the site or not. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -36178,7 +36386,7 @@ func (client AppsClient) UpdateScmAllowedResponder(resp *http.Response) (result return } -// UpdateScmAllowedSlot description for Updates whether user publishing credentials are allowed on the site or not. +// UpdateScmAllowedSlot updates whether user publishing credentials are allowed on the site or not. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -36268,7 +36476,7 @@ func (client AppsClient) UpdateScmAllowedSlotResponder(resp *http.Response) (res return } -// UpdateSitePushSettings description for Updates the Push settings associated with web app. +// UpdateSitePushSettings updates the Push settings associated with web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -36358,7 +36566,7 @@ func (client AppsClient) UpdateSitePushSettingsResponder(resp *http.Response) (r return } -// UpdateSitePushSettingsSlot description for Updates the Push settings associated with web app. +// UpdateSitePushSettingsSlot updates the Push settings associated with web app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -36450,8 +36658,7 @@ func (client AppsClient) UpdateSitePushSettingsSlotResponder(resp *http.Response return } -// UpdateSlot description for Creates a new web, mobile, or API app in an existing resource group, or updates an -// existing app. +// UpdateSlot creates a new web, mobile, or API app in an existing resource group, or updates an existing app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - unique name of the app to create or update. To create or update a deployment slot, use the {slot} @@ -36542,8 +36749,8 @@ func (client AppsClient) UpdateSlotResponder(resp *http.Response) (result Site, return } -// UpdateSlotConfigurationNames description for Updates the names of application settings and connection string that -// remain with the slot during swap operation. +// UpdateSlotConfigurationNames updates the names of application settings and connection string that remain with the +// slot during swap operation. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -36630,7 +36837,7 @@ func (client AppsClient) UpdateSlotConfigurationNamesResponder(resp *http.Respon return } -// UpdateSourceControl description for Updates the source control configuration of an app. +// UpdateSourceControl updates the source control configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -36717,7 +36924,7 @@ func (client AppsClient) UpdateSourceControlResponder(resp *http.Response) (resu return } -// UpdateSourceControlSlot description for Updates the source control configuration of an app. +// UpdateSourceControlSlot updates the source control configuration of an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -36807,9 +37014,9 @@ func (client AppsClient) UpdateSourceControlSlotResponder(resp *http.Response) ( return } -// UpdateSwiftVirtualNetworkConnectionWithCheck description for Integrates this Web App with a Virtual Network. This -// requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has -// already been delegated, and is not +// UpdateSwiftVirtualNetworkConnectionWithCheck integrates this Web App with a Virtual Network. This requires that 1) +// "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been +// delegated, and is not // in use by another App Service Plan other than the one this App is in. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. @@ -36897,9 +37104,9 @@ func (client AppsClient) UpdateSwiftVirtualNetworkConnectionWithCheckResponder(r return } -// UpdateSwiftVirtualNetworkConnectionWithCheckSlot description for Integrates this Web App with a Virtual Network. -// This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet -// has already been delegated, and is not +// UpdateSwiftVirtualNetworkConnectionWithCheckSlot integrates this Web App with a Virtual Network. This requires that +// 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been +// delegated, and is not // in use by another App Service Plan other than the one this App is in. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. @@ -36990,8 +37197,8 @@ func (client AppsClient) UpdateSwiftVirtualNetworkConnectionWithCheckSlotRespond return } -// UpdateVnetConnection description for Adds a Virtual Network connection to an app or slot (PUT) or updates the -// connection properties (PATCH). +// UpdateVnetConnection adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties +// (PATCH). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -37080,8 +37287,7 @@ func (client AppsClient) UpdateVnetConnectionResponder(resp *http.Response) (res return } -// UpdateVnetConnectionGateway description for Adds a gateway to a connected Virtual Network (PUT) or updates it -// (PATCH). +// UpdateVnetConnectionGateway adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -37172,8 +37378,7 @@ func (client AppsClient) UpdateVnetConnectionGatewayResponder(resp *http.Respons return } -// UpdateVnetConnectionGatewaySlot description for Adds a gateway to a connected Virtual Network (PUT) or updates it -// (PATCH). +// UpdateVnetConnectionGatewaySlot adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. @@ -37267,8 +37472,8 @@ func (client AppsClient) UpdateVnetConnectionGatewaySlotResponder(resp *http.Res return } -// UpdateVnetConnectionSlot description for Adds a Virtual Network connection to an app or slot (PUT) or updates the -// connection properties (PATCH). +// UpdateVnetConnectionSlot adds a Virtual Network connection to an app or slot (PUT) or updates the connection +// properties (PATCH). // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the app. diff --git a/services/web/mgmt/2021-03-01/web/appservicecertificateorders.go b/services/web/mgmt/2021-03-01/web/appservicecertificateorders.go index 3b852f77db6c..e59ead66869b 100644 --- a/services/web/mgmt/2021-03-01/web/appservicecertificateorders.go +++ b/services/web/mgmt/2021-03-01/web/appservicecertificateorders.go @@ -32,7 +32,7 @@ func NewAppServiceCertificateOrdersClientWithBaseURI(baseURI string, subscriptio return AppServiceCertificateOrdersClient{NewWithBaseURI(baseURI, subscriptionID)} } -// CreateOrUpdate description for Create or update a certificate purchase order. +// CreateOrUpdate create or update a certificate purchase order. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -122,7 +122,7 @@ func (client AppServiceCertificateOrdersClient) CreateOrUpdateResponder(resp *ht return } -// CreateOrUpdateCertificate description for Creates or updates a certificate and associates with key vault secret. +// CreateOrUpdateCertificate creates or updates a certificate and associates with key vault secret. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -214,7 +214,7 @@ func (client AppServiceCertificateOrdersClient) CreateOrUpdateCertificateRespond return } -// Delete description for Delete an existing certificate order. +// Delete delete an existing certificate order. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -297,7 +297,7 @@ func (client AppServiceCertificateOrdersClient) DeleteResponder(resp *http.Respo return } -// DeleteCertificate description for Delete the certificate associated with a certificate order. +// DeleteCertificate delete the certificate associated with a certificate order. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -382,7 +382,7 @@ func (client AppServiceCertificateOrdersClient) DeleteCertificateResponder(resp return } -// Get description for Get a certificate order. +// Get get a certificate order. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order.. @@ -466,7 +466,7 @@ func (client AppServiceCertificateOrdersClient) GetResponder(resp *http.Response return } -// GetCertificate description for Get the certificate associated with a certificate order. +// GetCertificate get the certificate associated with a certificate order. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -552,7 +552,7 @@ func (client AppServiceCertificateOrdersClient) GetCertificateResponder(resp *ht return } -// List description for List all certificate orders in a subscription. +// List list all certificate orders in a subscription. func (client AppServiceCertificateOrdersClient) List(ctx context.Context) (result AppServiceCertificateOrderCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/AppServiceCertificateOrdersClient.List") @@ -665,7 +665,7 @@ func (client AppServiceCertificateOrdersClient) ListComplete(ctx context.Context return } -// ListByResourceGroup description for Get certificate orders in a resource group. +// ListByResourceGroup get certificate orders in a resource group. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. func (client AppServiceCertificateOrdersClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result AppServiceCertificateOrderCollectionPage, err error) { @@ -789,7 +789,7 @@ func (client AppServiceCertificateOrdersClient) ListByResourceGroupComplete(ctx return } -// ListCertificates description for List all certificates associated with a certificate order. +// ListCertificates list all certificates associated with a certificate order. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -915,7 +915,7 @@ func (client AppServiceCertificateOrdersClient) ListCertificatesComplete(ctx con return } -// Reissue description for Reissue an existing certificate order. +// Reissue reissue an existing certificate order. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -1001,7 +1001,7 @@ func (client AppServiceCertificateOrdersClient) ReissueResponder(resp *http.Resp return } -// Renew description for Renew an existing certificate order. +// Renew renew an existing certificate order. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -1087,7 +1087,7 @@ func (client AppServiceCertificateOrdersClient) RenewResponder(resp *http.Respon return } -// ResendEmail description for Resend certificate email. +// ResendEmail resend certificate email. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -1257,7 +1257,7 @@ func (client AppServiceCertificateOrdersClient) ResendRequestEmailsResponder(res return } -// RetrieveCertificateActions description for Retrieve the list of certificate actions. +// RetrieveCertificateActions retrieve the list of certificate actions. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the certificate order. @@ -1341,7 +1341,7 @@ func (client AppServiceCertificateOrdersClient) RetrieveCertificateActionsRespon return } -// RetrieveCertificateEmailHistory description for Retrieve email history. +// RetrieveCertificateEmailHistory retrieve email history. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the certificate order. @@ -1517,7 +1517,7 @@ func (client AppServiceCertificateOrdersClient) RetrieveSiteSealResponder(resp * return } -// Update description for Create or update a certificate purchase order. +// Update create or update a certificate purchase order. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -1604,7 +1604,7 @@ func (client AppServiceCertificateOrdersClient) UpdateResponder(resp *http.Respo return } -// UpdateCertificate description for Creates or updates a certificate and associates with key vault secret. +// UpdateCertificate creates or updates a certificate and associates with key vault secret. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. @@ -1693,7 +1693,7 @@ func (client AppServiceCertificateOrdersClient) UpdateCertificateResponder(resp return } -// ValidatePurchaseInformation description for Validate information for a certificate order. +// ValidatePurchaseInformation validate information for a certificate order. // Parameters: // appServiceCertificateOrder - information for a certificate order. func (client AppServiceCertificateOrdersClient) ValidatePurchaseInformation(ctx context.Context, appServiceCertificateOrder AppServiceCertificateOrder) (result autorest.Response, err error) { @@ -1767,7 +1767,7 @@ func (client AppServiceCertificateOrdersClient) ValidatePurchaseInformationRespo return } -// VerifyDomainOwnership description for Verify domain ownership for this certificate order. +// VerifyDomainOwnership verify domain ownership for this certificate order. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - name of the certificate order. diff --git a/services/web/mgmt/2021-03-01/web/appserviceenvironments.go b/services/web/mgmt/2021-03-01/web/appserviceenvironments.go index 1c51249c605d..3d0dff6ba0fa 100644 --- a/services/web/mgmt/2021-03-01/web/appserviceenvironments.go +++ b/services/web/mgmt/2021-03-01/web/appserviceenvironments.go @@ -32,7 +32,7 @@ func NewAppServiceEnvironmentsClientWithBaseURI(baseURI string, subscriptionID s return AppServiceEnvironmentsClient{NewWithBaseURI(baseURI, subscriptionID)} } -// ApproveOrRejectPrivateEndpointConnection description for Approves or rejects a private endpoint connection +// ApproveOrRejectPrivateEndpointConnection approves or rejects a private endpoint connection // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -122,7 +122,7 @@ func (client AppServiceEnvironmentsClient) ApproveOrRejectPrivateEndpointConnect return } -// ChangeVnet description for Move an App Service Environment to a different VNET. +// ChangeVnet move an App Service Environment to a different VNET. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -257,7 +257,7 @@ func (client AppServiceEnvironmentsClient) ChangeVnetComplete(ctx context.Contex return } -// CreateOrUpdate description for Create or update an App Service Environment. +// CreateOrUpdate create or update an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -352,7 +352,7 @@ func (client AppServiceEnvironmentsClient) CreateOrUpdateResponder(resp *http.Re return } -// CreateOrUpdateMultiRolePool description for Create or update a multi-role pool. +// CreateOrUpdateMultiRolePool create or update a multi-role pool. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -442,7 +442,7 @@ func (client AppServiceEnvironmentsClient) CreateOrUpdateMultiRolePoolResponder( return } -// CreateOrUpdateWorkerPool description for Create or update a worker pool. +// CreateOrUpdateWorkerPool create or update a worker pool. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -534,7 +534,7 @@ func (client AppServiceEnvironmentsClient) CreateOrUpdateWorkerPoolResponder(res return } -// Delete description for Delete an App Service Environment. +// Delete delete an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -625,7 +625,7 @@ func (client AppServiceEnvironmentsClient) DeleteResponder(resp *http.Response) return } -// DeletePrivateEndpointConnection description for Deletes a private endpoint connection +// DeletePrivateEndpointConnection deletes a private endpoint connection // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -713,7 +713,7 @@ func (client AppServiceEnvironmentsClient) DeletePrivateEndpointConnectionRespon return } -// Get description for Get the properties of an App Service Environment. +// Get get the properties of an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -797,7 +797,7 @@ func (client AppServiceEnvironmentsClient) GetResponder(resp *http.Response) (re return } -// GetAseV3NetworkingConfiguration description for Get networking configuration of an App Service Environment +// GetAseV3NetworkingConfiguration get networking configuration of an App Service Environment // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -881,7 +881,7 @@ func (client AppServiceEnvironmentsClient) GetAseV3NetworkingConfigurationRespon return } -// GetDiagnosticsItem description for Get a diagnostics item for an App Service Environment. +// GetDiagnosticsItem get a diagnostics item for an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -967,8 +967,8 @@ func (client AppServiceEnvironmentsClient) GetDiagnosticsItemResponder(resp *htt return } -// GetInboundNetworkDependenciesEndpoints description for Get the network endpoints of all inbound dependencies of an -// App Service Environment. +// GetInboundNetworkDependenciesEndpoints get the network endpoints of all inbound dependencies of an App Service +// Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -1094,7 +1094,7 @@ func (client AppServiceEnvironmentsClient) GetInboundNetworkDependenciesEndpoint return } -// GetMultiRolePool description for Get properties of a multi-role pool. +// GetMultiRolePool get properties of a multi-role pool. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -1178,8 +1178,8 @@ func (client AppServiceEnvironmentsClient) GetMultiRolePoolResponder(resp *http. return } -// GetOutboundNetworkDependenciesEndpoints description for Get the network endpoints of all outbound dependencies of an -// App Service Environment. +// GetOutboundNetworkDependenciesEndpoints get the network endpoints of all outbound dependencies of an App Service +// Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -1305,7 +1305,7 @@ func (client AppServiceEnvironmentsClient) GetOutboundNetworkDependenciesEndpoin return } -// GetPrivateEndpointConnection description for Gets a private endpoint connection +// GetPrivateEndpointConnection gets a private endpoint connection // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -1391,8 +1391,7 @@ func (client AppServiceEnvironmentsClient) GetPrivateEndpointConnectionResponder return } -// GetPrivateEndpointConnectionList description for Gets the list of private endpoints associated with a hosting -// environment +// GetPrivateEndpointConnectionList gets the list of private endpoints associated with a hosting environment // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -1518,7 +1517,7 @@ func (client AppServiceEnvironmentsClient) GetPrivateEndpointConnectionListCompl return } -// GetPrivateLinkResources description for Gets the private link resources +// GetPrivateLinkResources gets the private link resources // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -1602,7 +1601,7 @@ func (client AppServiceEnvironmentsClient) GetPrivateLinkResourcesResponder(resp return } -// GetVipInfo description for Get IP addresses assigned to an App Service Environment. +// GetVipInfo get IP addresses assigned to an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -1686,7 +1685,7 @@ func (client AppServiceEnvironmentsClient) GetVipInfoResponder(resp *http.Respon return } -// GetWorkerPool description for Get properties of a worker pool. +// GetWorkerPool get properties of a worker pool. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -1772,7 +1771,7 @@ func (client AppServiceEnvironmentsClient) GetWorkerPoolResponder(resp *http.Res return } -// List description for Get all App Service Environments for a subscription. +// List get all App Service Environments for a subscription. func (client AppServiceEnvironmentsClient) List(ctx context.Context) (result AppServiceEnvironmentCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/AppServiceEnvironmentsClient.List") @@ -1885,7 +1884,7 @@ func (client AppServiceEnvironmentsClient) ListComplete(ctx context.Context) (re return } -// ListAppServicePlans description for Get all App Service plans in an App Service Environment. +// ListAppServicePlans get all App Service plans in an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -2011,7 +2010,7 @@ func (client AppServiceEnvironmentsClient) ListAppServicePlansComplete(ctx conte return } -// ListByResourceGroup description for Get all App Service Environments in a resource group. +// ListByResourceGroup get all App Service Environments in a resource group. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. func (client AppServiceEnvironmentsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result AppServiceEnvironmentCollectionPage, err error) { @@ -2135,7 +2134,7 @@ func (client AppServiceEnvironmentsClient) ListByResourceGroupComplete(ctx conte return } -// ListCapacities description for Get the used, available, and total worker capacity an App Service Environment. +// ListCapacities get the used, available, and total worker capacity an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -2261,7 +2260,7 @@ func (client AppServiceEnvironmentsClient) ListCapacitiesComplete(ctx context.Co return } -// ListDiagnostics description for Get diagnostic information for an App Service Environment. +// ListDiagnostics get diagnostic information for an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -2345,8 +2344,7 @@ func (client AppServiceEnvironmentsClient) ListDiagnosticsResponder(resp *http.R return } -// ListMultiRoleMetricDefinitions description for Get metric definitions for a multi-role pool of an App Service -// Environment. +// ListMultiRoleMetricDefinitions get metric definitions for a multi-role pool of an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -2472,8 +2470,8 @@ func (client AppServiceEnvironmentsClient) ListMultiRoleMetricDefinitionsComplet return } -// ListMultiRolePoolInstanceMetricDefinitions description for Get metric definitions for a specific instance of a -// multi-role pool of an App Service Environment. +// ListMultiRolePoolInstanceMetricDefinitions get metric definitions for a specific instance of a multi-role pool of an +// App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -2601,7 +2599,7 @@ func (client AppServiceEnvironmentsClient) ListMultiRolePoolInstanceMetricDefini return } -// ListMultiRolePools description for Get all multi-role pools. +// ListMultiRolePools get all multi-role pools. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -2727,7 +2725,7 @@ func (client AppServiceEnvironmentsClient) ListMultiRolePoolsComplete(ctx contex return } -// ListMultiRolePoolSkus description for Get available SKUs for scaling a multi-role pool. +// ListMultiRolePoolSkus get available SKUs for scaling a multi-role pool. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -2853,7 +2851,7 @@ func (client AppServiceEnvironmentsClient) ListMultiRolePoolSkusComplete(ctx con return } -// ListMultiRoleUsages description for Get usage metrics for a multi-role pool of an App Service Environment. +// ListMultiRoleUsages get usage metrics for a multi-role pool of an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -2979,7 +2977,7 @@ func (client AppServiceEnvironmentsClient) ListMultiRoleUsagesComplete(ctx conte return } -// ListOperations description for List all currently running operations on the App Service Environment. +// ListOperations list all currently running operations on the App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -3063,7 +3061,7 @@ func (client AppServiceEnvironmentsClient) ListOperationsResponder(resp *http.Re return } -// ListUsages description for Get global usage metrics of an App Service Environment. +// ListUsages get global usage metrics of an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -3195,7 +3193,7 @@ func (client AppServiceEnvironmentsClient) ListUsagesComplete(ctx context.Contex return } -// ListWebApps description for Get all apps in an App Service Environment. +// ListWebApps get all apps in an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -3325,8 +3323,7 @@ func (client AppServiceEnvironmentsClient) ListWebAppsComplete(ctx context.Conte return } -// ListWebWorkerMetricDefinitions description for Get metric definitions for a worker pool of an App Service -// Environment. +// ListWebWorkerMetricDefinitions get metric definitions for a worker pool of an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -3454,7 +3451,7 @@ func (client AppServiceEnvironmentsClient) ListWebWorkerMetricDefinitionsComplet return } -// ListWebWorkerUsages description for Get usage metrics for a worker pool of an App Service Environment. +// ListWebWorkerUsages get usage metrics for a worker pool of an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -3582,8 +3579,8 @@ func (client AppServiceEnvironmentsClient) ListWebWorkerUsagesComplete(ctx conte return } -// ListWorkerPoolInstanceMetricDefinitions description for Get metric definitions for a specific instance of a worker -// pool of an App Service Environment. +// ListWorkerPoolInstanceMetricDefinitions get metric definitions for a specific instance of a worker pool of an App +// Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -3713,7 +3710,7 @@ func (client AppServiceEnvironmentsClient) ListWorkerPoolInstanceMetricDefinitio return } -// ListWorkerPools description for Get all worker pools of an App Service Environment. +// ListWorkerPools get all worker pools of an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -3839,7 +3836,7 @@ func (client AppServiceEnvironmentsClient) ListWorkerPoolsComplete(ctx context.C return } -// ListWorkerPoolSkus description for Get available SKUs for scaling a worker pool. +// ListWorkerPoolSkus get available SKUs for scaling a worker pool. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -3967,7 +3964,7 @@ func (client AppServiceEnvironmentsClient) ListWorkerPoolSkusComplete(ctx contex return } -// Reboot description for Reboot all machines in an App Service Environment. +// Reboot reboot all machines in an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -4050,7 +4047,7 @@ func (client AppServiceEnvironmentsClient) RebootResponder(resp *http.Response) return } -// Resume description for Resume an App Service Environment. +// Resume resume an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -4178,7 +4175,7 @@ func (client AppServiceEnvironmentsClient) ResumeComplete(ctx context.Context, r return } -// Suspend description for Suspend an App Service Environment. +// Suspend suspend an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -4306,7 +4303,7 @@ func (client AppServiceEnvironmentsClient) SuspendComplete(ctx context.Context, return } -// Update description for Create or update an App Service Environment. +// Update create or update an App Service Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -4393,7 +4390,7 @@ func (client AppServiceEnvironmentsClient) UpdateResponder(resp *http.Response) return } -// UpdateAseNetworkingConfiguration description for Update networking configuration of an App Service Environment +// UpdateAseNetworkingConfiguration update networking configuration of an App Service Environment // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -4479,7 +4476,7 @@ func (client AppServiceEnvironmentsClient) UpdateAseNetworkingConfigurationRespo return } -// UpdateMultiRolePool description for Create or update a multi-role pool. +// UpdateMultiRolePool create or update a multi-role pool. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. @@ -4566,7 +4563,7 @@ func (client AppServiceEnvironmentsClient) UpdateMultiRolePoolResponder(resp *ht return } -// UpdateWorkerPool description for Create or update a worker pool. +// UpdateWorkerPool create or update a worker pool. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service Environment. diff --git a/services/web/mgmt/2021-03-01/web/appserviceplans.go b/services/web/mgmt/2021-03-01/web/appserviceplans.go index 90503203f87d..a76f0b2cd01f 100644 --- a/services/web/mgmt/2021-03-01/web/appserviceplans.go +++ b/services/web/mgmt/2021-03-01/web/appserviceplans.go @@ -31,7 +31,7 @@ func NewAppServicePlansClientWithBaseURI(baseURI string, subscriptionID string) return AppServicePlansClient{NewWithBaseURI(baseURI, subscriptionID)} } -// CreateOrUpdate description for Creates or updates an App Service Plan. +// CreateOrUpdate creates or updates an App Service Plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -121,7 +121,7 @@ func (client AppServicePlansClient) CreateOrUpdateResponder(resp *http.Response) return } -// CreateOrUpdateVnetRoute description for Create or update a Virtual Network route in an App Service plan. +// CreateOrUpdateVnetRoute create or update a Virtual Network route in an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -212,7 +212,7 @@ func (client AppServicePlansClient) CreateOrUpdateVnetRouteResponder(resp *http. return } -// Delete description for Delete an App Service plan. +// Delete delete an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -295,7 +295,7 @@ func (client AppServicePlansClient) DeleteResponder(resp *http.Response) (result return } -// DeleteHybridConnection description for Delete a Hybrid Connection in use in an App Service plan. +// DeleteHybridConnection delete a Hybrid Connection in use in an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -382,7 +382,7 @@ func (client AppServicePlansClient) DeleteHybridConnectionResponder(resp *http.R return } -// DeleteVnetRoute description for Delete a Virtual Network route in an App Service plan. +// DeleteVnetRoute delete a Virtual Network route in an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -469,7 +469,7 @@ func (client AppServicePlansClient) DeleteVnetRouteResponder(resp *http.Response return } -// Get description for Get an App Service plan. +// Get get an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -553,7 +553,7 @@ func (client AppServicePlansClient) GetResponder(resp *http.Response) (result Ap return } -// GetHybridConnection description for Retrieve a Hybrid Connection in use in an App Service plan. +// GetHybridConnection retrieve a Hybrid Connection in use in an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -641,8 +641,7 @@ func (client AppServicePlansClient) GetHybridConnectionResponder(resp *http.Resp return } -// GetHybridConnectionPlanLimit description for Get the maximum number of Hybrid Connections allowed in an App Service -// plan. +// GetHybridConnectionPlanLimit get the maximum number of Hybrid Connections allowed in an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -726,7 +725,7 @@ func (client AppServicePlansClient) GetHybridConnectionPlanLimitResponder(resp * return } -// GetRouteForVnet description for Get a Virtual Network route in an App Service plan. +// GetRouteForVnet get a Virtual Network route in an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -814,7 +813,7 @@ func (client AppServicePlansClient) GetRouteForVnetResponder(resp *http.Response return } -// GetServerFarmSkus description for Gets all selectable SKUs for a given App Service Plan +// GetServerFarmSkus gets all selectable SKUs for a given App Service Plan // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of App Service Plan @@ -898,7 +897,7 @@ func (client AppServicePlansClient) GetServerFarmSkusResponder(resp *http.Respon return } -// GetVnetFromServerFarm description for Get a Virtual Network associated with an App Service plan. +// GetVnetFromServerFarm get a Virtual Network associated with an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -984,7 +983,7 @@ func (client AppServicePlansClient) GetVnetFromServerFarmResponder(resp *http.Re return } -// GetVnetGateway description for Get a Virtual Network gateway. +// GetVnetGateway get a Virtual Network gateway. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -1072,7 +1071,7 @@ func (client AppServicePlansClient) GetVnetGatewayResponder(resp *http.Response) return } -// List description for Get all App Service plans for a subscription. +// List get all App Service plans for a subscription. // Parameters: // detailed - specify true to return all App Service plan properties. The default is // false, which returns a subset of the properties. @@ -1192,7 +1191,7 @@ func (client AppServicePlansClient) ListComplete(ctx context.Context, detailed * return } -// ListByResourceGroup description for Get all App Service plans in a resource group. +// ListByResourceGroup get all App Service plans in a resource group. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. func (client AppServicePlansClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result AppServicePlanCollectionPage, err error) { @@ -1316,7 +1315,7 @@ func (client AppServicePlansClient) ListByResourceGroupComplete(ctx context.Cont return } -// ListCapabilities description for List all capabilities of an App Service plan. +// ListCapabilities list all capabilities of an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -1400,7 +1399,7 @@ func (client AppServicePlansClient) ListCapabilitiesResponder(resp *http.Respons return } -// ListHybridConnectionKeys description for Get the send key name and value of a Hybrid Connection. +// ListHybridConnectionKeys get the send key name and value of a Hybrid Connection. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -1488,7 +1487,7 @@ func (client AppServicePlansClient) ListHybridConnectionKeysResponder(resp *http return } -// ListHybridConnections description for Retrieve all Hybrid Connections in use in an App Service plan. +// ListHybridConnections retrieve all Hybrid Connections in use in an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -1614,7 +1613,7 @@ func (client AppServicePlansClient) ListHybridConnectionsComplete(ctx context.Co return } -// ListRoutesForVnet description for Get all routes that are associated with a Virtual Network in an App Service plan. +// ListRoutesForVnet get all routes that are associated with a Virtual Network in an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -1700,7 +1699,7 @@ func (client AppServicePlansClient) ListRoutesForVnetResponder(resp *http.Respon return } -// ListUsages description for Gets server farm usage information +// ListUsages gets server farm usage information // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of App Service Plan @@ -1831,7 +1830,7 @@ func (client AppServicePlansClient) ListUsagesComplete(ctx context.Context, reso return } -// ListVnets description for Get all Virtual Networks associated with an App Service plan. +// ListVnets get all Virtual Networks associated with an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -1915,7 +1914,7 @@ func (client AppServicePlansClient) ListVnetsResponder(resp *http.Response) (res return } -// ListWebApps description for Get all apps associated with an App Service plan. +// ListWebApps get all apps associated with an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -2055,7 +2054,7 @@ func (client AppServicePlansClient) ListWebAppsComplete(ctx context.Context, res return } -// ListWebAppsByHybridConnection description for Get all apps that use a Hybrid Connection in an App Service Plan. +// ListWebAppsByHybridConnection get all apps that use a Hybrid Connection in an App Service Plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -2185,7 +2184,7 @@ func (client AppServicePlansClient) ListWebAppsByHybridConnectionComplete(ctx co return } -// RebootWorker description for Reboot a worker machine in an App Service plan. +// RebootWorker reboot a worker machine in an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -2270,7 +2269,7 @@ func (client AppServicePlansClient) RebootWorkerResponder(resp *http.Response) ( return } -// RestartWebApps description for Restart all apps in an App Service plan. +// RestartWebApps restart all apps in an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -2359,7 +2358,7 @@ func (client AppServicePlansClient) RestartWebAppsResponder(resp *http.Response) return } -// Update description for Creates or updates an App Service Plan. +// Update creates or updates an App Service Plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -2446,7 +2445,7 @@ func (client AppServicePlansClient) UpdateResponder(resp *http.Response) (result return } -// UpdateVnetGateway description for Update a Virtual Network gateway. +// UpdateVnetGateway update a Virtual Network gateway. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. @@ -2540,7 +2539,7 @@ func (client AppServicePlansClient) UpdateVnetGatewayResponder(resp *http.Respon return } -// UpdateVnetRoute description for Create or update a Virtual Network route in an App Service plan. +// UpdateVnetRoute create or update a Virtual Network route in an App Service plan. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the App Service plan. diff --git a/services/web/mgmt/2021-03-01/web/certificateordersdiagnostics.go b/services/web/mgmt/2021-03-01/web/certificateordersdiagnostics.go index 5394a46f0ee1..8bacc02196b6 100644 --- a/services/web/mgmt/2021-03-01/web/certificateordersdiagnostics.go +++ b/services/web/mgmt/2021-03-01/web/certificateordersdiagnostics.go @@ -33,8 +33,8 @@ func NewCertificateOrdersDiagnosticsClientWithBaseURI(baseURI string, subscripti return CertificateOrdersDiagnosticsClient{NewWithBaseURI(baseURI, subscriptionID)} } -// GetAppServiceCertificateOrderDetectorResponse description for Microsoft.CertificateRegistration call to get a -// detector response from App Lens. +// GetAppServiceCertificateOrderDetectorResponse microsoft.CertificateRegistration call to get a detector response from +// App Lens. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - the certificate order name for which the response is needed. @@ -135,8 +135,8 @@ func (client CertificateOrdersDiagnosticsClient) GetAppServiceCertificateOrderDe return } -// ListAppServiceCertificateOrderDetectorResponse description for Microsoft.CertificateRegistration to get the list of -// detectors for this RP. +// ListAppServiceCertificateOrderDetectorResponse microsoft.CertificateRegistration to get the list of detectors for +// this RP. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // certificateOrderName - the certificate order name for which the response is needed. diff --git a/services/web/mgmt/2021-03-01/web/certificateregistrationprovider.go b/services/web/mgmt/2021-03-01/web/certificateregistrationprovider.go index f551c2b175c7..320daed8658c 100644 --- a/services/web/mgmt/2021-03-01/web/certificateregistrationprovider.go +++ b/services/web/mgmt/2021-03-01/web/certificateregistrationprovider.go @@ -31,8 +31,7 @@ func NewCertificateRegistrationProviderClientWithBaseURI(baseURI string, subscri return CertificateRegistrationProviderClient{NewWithBaseURI(baseURI, subscriptionID)} } -// ListOperations description for Implements Csm operations Api to exposes the list of available Csm Apis under the -// resource provider +// ListOperations implements Csm operations Api to exposes the list of available Csm Apis under the resource provider func (client CertificateRegistrationProviderClient) ListOperations(ctx context.Context) (result CsmOperationCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/CertificateRegistrationProviderClient.ListOperations") diff --git a/services/web/mgmt/2021-03-01/web/certificates.go b/services/web/mgmt/2021-03-01/web/certificates.go index b10e3b7cb595..3e9d9d034970 100644 --- a/services/web/mgmt/2021-03-01/web/certificates.go +++ b/services/web/mgmt/2021-03-01/web/certificates.go @@ -31,7 +31,7 @@ func NewCertificatesClientWithBaseURI(baseURI string, subscriptionID string) Cer return CertificatesClient{NewWithBaseURI(baseURI, subscriptionID)} } -// CreateOrUpdate description for Create or update a certificate. +// CreateOrUpdate create or update a certificate. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the certificate. @@ -118,7 +118,7 @@ func (client CertificatesClient) CreateOrUpdateResponder(resp *http.Response) (r return } -// Delete description for Delete a certificate. +// Delete delete a certificate. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the certificate. @@ -201,7 +201,7 @@ func (client CertificatesClient) DeleteResponder(resp *http.Response) (result au return } -// Get description for Get a certificate. +// Get get a certificate. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the certificate. @@ -285,7 +285,7 @@ func (client CertificatesClient) GetResponder(resp *http.Response) (result Certi return } -// List description for Get all certificates for a subscription. +// List get all certificates for a subscription. // Parameters: // filter - return only information specified in the filter (using OData syntax). For example: // $filter=KeyVaultId eq 'KeyVaultId' @@ -404,7 +404,7 @@ func (client CertificatesClient) ListComplete(ctx context.Context, filter string return } -// ListByResourceGroup description for Get all certificates in a resource group. +// ListByResourceGroup get all certificates in a resource group. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. func (client CertificatesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result CertificateCollectionPage, err error) { @@ -528,7 +528,7 @@ func (client CertificatesClient) ListByResourceGroupComplete(ctx context.Context return } -// Update description for Create or update a certificate. +// Update create or update a certificate. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the certificate. diff --git a/services/web/mgmt/2021-03-01/web/client.go b/services/web/mgmt/2021-03-01/web/client.go index 5b43dc64f57b..eb4dab002a62 100644 --- a/services/web/mgmt/2021-03-01/web/client.go +++ b/services/web/mgmt/2021-03-01/web/client.go @@ -45,7 +45,7 @@ func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient { } } -// CheckNameAvailability description for Check if a resource name is available. +// CheckNameAvailability check if a resource name is available. // Parameters: // request - name availability request. func (client BaseClient) CheckNameAvailability(ctx context.Context, request ResourceNameAvailabilityRequest) (result ResourceNameAvailability, err error) { @@ -126,7 +126,7 @@ func (client BaseClient) CheckNameAvailabilityResponder(resp *http.Response) (re return } -// GetPublishingUser description for Gets publishing user +// GetPublishingUser gets publishing user func (client BaseClient) GetPublishingUser(ctx context.Context) (result User, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/BaseClient.GetPublishingUser") @@ -193,7 +193,7 @@ func (client BaseClient) GetPublishingUserResponder(resp *http.Response) (result return } -// GetSourceControl description for Gets source control token +// GetSourceControl gets source control token // Parameters: // sourceControlType - type of source control func (client BaseClient) GetSourceControl(ctx context.Context, sourceControlType string) (result SourceControl, err error) { @@ -266,7 +266,7 @@ func (client BaseClient) GetSourceControlResponder(resp *http.Response) (result return } -// GetSubscriptionDeploymentLocations description for Gets list of available geo regions plus ministamps +// GetSubscriptionDeploymentLocations gets list of available geo regions plus ministamps func (client BaseClient) GetSubscriptionDeploymentLocations(ctx context.Context) (result DeploymentLocations, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/BaseClient.GetSubscriptionDeploymentLocations") @@ -337,7 +337,7 @@ func (client BaseClient) GetSubscriptionDeploymentLocationsResponder(resp *http. return } -// ListBillingMeters description for Gets a list of meters for a given location. +// ListBillingMeters gets a list of meters for a given location. // Parameters: // billingLocation - azure Location of billable resource // osType - app Service OS type meters used for @@ -572,7 +572,7 @@ func (client BaseClient) ListCustomHostNameSitesComplete(ctx context.Context) (r return } -// ListGeoRegions description for Get a list of available geographical regions. +// ListGeoRegions get a list of available geographical regions. // Parameters: // sku - name of SKU used to filter the regions. // linuxWorkersEnabled - specify true if you want to filter to only regions that support Linux @@ -705,7 +705,7 @@ func (client BaseClient) ListGeoRegionsComplete(ctx context.Context, sku SkuName return } -// ListPremierAddOnOffers description for List all premier add-on offers. +// ListPremierAddOnOffers list all premier add-on offers. func (client BaseClient) ListPremierAddOnOffers(ctx context.Context) (result PremierAddOnOfferCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/BaseClient.ListPremierAddOnOffers") @@ -818,7 +818,7 @@ func (client BaseClient) ListPremierAddOnOffersComplete(ctx context.Context) (re return } -// ListSiteIdentifiersAssignedToHostName description for List all apps that are assigned to a hostname. +// ListSiteIdentifiersAssignedToHostName list all apps that are assigned to a hostname. // Parameters: // nameIdentifier - hostname information. func (client BaseClient) ListSiteIdentifiersAssignedToHostName(ctx context.Context, nameIdentifier NameIdentifier) (result IdentifierCollectionPage, err error) { @@ -935,7 +935,7 @@ func (client BaseClient) ListSiteIdentifiersAssignedToHostNameComplete(ctx conte return } -// ListSkus description for List all SKUs. +// ListSkus list all SKUs. func (client BaseClient) ListSkus(ctx context.Context) (result SkuInfos, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/BaseClient.ListSkus") @@ -1006,7 +1006,7 @@ func (client BaseClient) ListSkusResponder(resp *http.Response) (result SkuInfos return } -// ListSourceControls description for Gets the source controls available for Azure websites. +// ListSourceControls gets the source controls available for Azure websites. func (client BaseClient) ListSourceControls(ctx context.Context) (result SourceControlCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/BaseClient.ListSourceControls") @@ -1115,7 +1115,7 @@ func (client BaseClient) ListSourceControlsComplete(ctx context.Context) (result return } -// Move description for Move resources between resource groups. +// Move move resources between resource groups. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // moveResourceEnvelope - object that represents the resource to move. @@ -1205,7 +1205,7 @@ func (client BaseClient) MoveResponder(resp *http.Response) (result autorest.Res return } -// UpdatePublishingUser description for Updates publishing user +// UpdatePublishingUser updates publishing user // Parameters: // userDetails - details of publishing user func (client BaseClient) UpdatePublishingUser(ctx context.Context, userDetails User) (result User, err error) { @@ -1283,7 +1283,7 @@ func (client BaseClient) UpdatePublishingUserResponder(resp *http.Response) (res return } -// UpdateSourceControl description for Updates source control token +// UpdateSourceControl updates source control token // Parameters: // sourceControlType - type of source control // requestMessage - source control token information @@ -1359,7 +1359,7 @@ func (client BaseClient) UpdateSourceControlResponder(resp *http.Response) (resu return } -// Validate description for Validate if a resource can be created. +// Validate validate if a resource can be created. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // validateRequest - request with the resources to validate. @@ -1455,7 +1455,7 @@ func (client BaseClient) ValidateResponder(resp *http.Response) (result Validate return } -// ValidateMove description for Validate whether a resource can be moved. +// ValidateMove validate whether a resource can be moved. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // moveResourceEnvelope - object that represents the resource to move. @@ -1545,8 +1545,8 @@ func (client BaseClient) ValidateMoveResponder(resp *http.Response) (result auto return } -// VerifyHostingEnvironmentVnet description for Verifies if this VNET is compatible with an App Service Environment by -// analyzing the Network Security Group rules. +// VerifyHostingEnvironmentVnet verifies if this VNET is compatible with an App Service Environment by analyzing the +// Network Security Group rules. // Parameters: // parameters - VNET information func (client BaseClient) VerifyHostingEnvironmentVnet(ctx context.Context, parameters VnetParameters) (result VnetValidationFailureDetails, err error) { diff --git a/services/web/mgmt/2021-03-01/web/containerapps.go b/services/web/mgmt/2021-03-01/web/containerapps.go index 6c999ce689be..25d56b974191 100644 --- a/services/web/mgmt/2021-03-01/web/containerapps.go +++ b/services/web/mgmt/2021-03-01/web/containerapps.go @@ -31,7 +31,7 @@ func NewContainerAppsClientWithBaseURI(baseURI string, subscriptionID string) Co return ContainerAppsClient{NewWithBaseURI(baseURI, subscriptionID)} } -// CreateOrUpdate description for Create or update a Container App. +// CreateOrUpdate create or update a Container App. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the Container App. @@ -120,7 +120,7 @@ func (client ContainerAppsClient) CreateOrUpdateResponder(resp *http.Response) ( return } -// Delete description for Delete a Container App. +// Delete delete a Container App. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the Container App. diff --git a/services/web/mgmt/2021-03-01/web/deletedwebapps.go b/services/web/mgmt/2021-03-01/web/deletedwebapps.go index 8bd440611dba..df302267b69d 100644 --- a/services/web/mgmt/2021-03-01/web/deletedwebapps.go +++ b/services/web/mgmt/2021-03-01/web/deletedwebapps.go @@ -30,7 +30,7 @@ func NewDeletedWebAppsClientWithBaseURI(baseURI string, subscriptionID string) D return DeletedWebAppsClient{NewWithBaseURI(baseURI, subscriptionID)} } -// GetDeletedWebAppByLocation description for Get deleted app for a subscription at location. +// GetDeletedWebAppByLocation get deleted app for a subscription at location. // Parameters: // deletedSiteID - the numeric ID of the deleted app, e.g. 12345 func (client DeletedWebAppsClient) GetDeletedWebAppByLocation(ctx context.Context, location string, deletedSiteID string) (result DeletedSite, err error) { @@ -105,7 +105,7 @@ func (client DeletedWebAppsClient) GetDeletedWebAppByLocationResponder(resp *htt return } -// List description for Get all deleted apps for a subscription. +// List get all deleted apps for a subscription. func (client DeletedWebAppsClient) List(ctx context.Context) (result DeletedWebAppCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/DeletedWebAppsClient.List") @@ -218,7 +218,7 @@ func (client DeletedWebAppsClient) ListComplete(ctx context.Context) (result Del return } -// ListByLocation description for Get all deleted apps for a subscription at location +// ListByLocation get all deleted apps for a subscription at location func (client DeletedWebAppsClient) ListByLocation(ctx context.Context, location string) (result DeletedWebAppCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/DeletedWebAppsClient.ListByLocation") diff --git a/services/web/mgmt/2021-03-01/web/diagnostics.go b/services/web/mgmt/2021-03-01/web/diagnostics.go index 43988e0c81c4..b2b89b247e71 100644 --- a/services/web/mgmt/2021-03-01/web/diagnostics.go +++ b/services/web/mgmt/2021-03-01/web/diagnostics.go @@ -32,7 +32,7 @@ func NewDiagnosticsClientWithBaseURI(baseURI string, subscriptionID string) Diag return DiagnosticsClient{NewWithBaseURI(baseURI, subscriptionID)} } -// ExecuteSiteAnalysis description for Execute Analysis +// ExecuteSiteAnalysis execute Analysis // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -135,7 +135,7 @@ func (client DiagnosticsClient) ExecuteSiteAnalysisResponder(resp *http.Response return } -// ExecuteSiteAnalysisSlot description for Execute Analysis +// ExecuteSiteAnalysisSlot execute Analysis // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -240,7 +240,7 @@ func (client DiagnosticsClient) ExecuteSiteAnalysisSlotResponder(resp *http.Resp return } -// ExecuteSiteDetector description for Execute Detector +// ExecuteSiteDetector execute Detector // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -343,7 +343,7 @@ func (client DiagnosticsClient) ExecuteSiteDetectorResponder(resp *http.Response return } -// ExecuteSiteDetectorSlot description for Execute Detector +// ExecuteSiteDetectorSlot execute Detector // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -448,7 +448,7 @@ func (client DiagnosticsClient) ExecuteSiteDetectorSlotResponder(resp *http.Resp return } -// GetHostingEnvironmentDetectorResponse description for Get Hosting Environment Detector Response +// GetHostingEnvironmentDetectorResponse get Hosting Environment Detector Response // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - app Service Environment Name @@ -549,7 +549,7 @@ func (client DiagnosticsClient) GetHostingEnvironmentDetectorResponseResponder(r return } -// GetSiteAnalysis description for Get Site Analysis +// GetSiteAnalysis get Site Analysis // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -637,7 +637,7 @@ func (client DiagnosticsClient) GetSiteAnalysisResponder(resp *http.Response) (r return } -// GetSiteAnalysisSlot description for Get Site Analysis +// GetSiteAnalysisSlot get Site Analysis // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -727,7 +727,7 @@ func (client DiagnosticsClient) GetSiteAnalysisSlotResponder(resp *http.Response return } -// GetSiteDetector description for Get Detector +// GetSiteDetector get Detector // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -815,7 +815,7 @@ func (client DiagnosticsClient) GetSiteDetectorResponder(resp *http.Response) (r return } -// GetSiteDetectorResponse description for Get site detector response +// GetSiteDetectorResponse get site detector response // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -916,7 +916,7 @@ func (client DiagnosticsClient) GetSiteDetectorResponseResponder(resp *http.Resp return } -// GetSiteDetectorResponseSlot description for Get site detector response +// GetSiteDetectorResponseSlot get site detector response // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -1019,7 +1019,7 @@ func (client DiagnosticsClient) GetSiteDetectorResponseSlotResponder(resp *http. return } -// GetSiteDetectorSlot description for Get Detector +// GetSiteDetectorSlot get Detector // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -1109,7 +1109,7 @@ func (client DiagnosticsClient) GetSiteDetectorSlotResponder(resp *http.Response return } -// GetSiteDiagnosticCategory description for Get Diagnostics Category +// GetSiteDiagnosticCategory get Diagnostics Category // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -1195,7 +1195,7 @@ func (client DiagnosticsClient) GetSiteDiagnosticCategoryResponder(resp *http.Re return } -// GetSiteDiagnosticCategorySlot description for Get Diagnostics Category +// GetSiteDiagnosticCategorySlot get Diagnostics Category // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -1283,7 +1283,7 @@ func (client DiagnosticsClient) GetSiteDiagnosticCategorySlotResponder(resp *htt return } -// ListHostingEnvironmentDetectorResponses description for List Hosting Environment Detector Responses +// ListHostingEnvironmentDetectorResponses list Hosting Environment Detector Responses // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - site Name @@ -1409,7 +1409,7 @@ func (client DiagnosticsClient) ListHostingEnvironmentDetectorResponsesComplete( return } -// ListSiteAnalyses description for Get Site Analyses +// ListSiteAnalyses get Site Analyses // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -1537,7 +1537,7 @@ func (client DiagnosticsClient) ListSiteAnalysesComplete(ctx context.Context, re return } -// ListSiteAnalysesSlot description for Get Site Analyses +// ListSiteAnalysesSlot get Site Analyses // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -1667,7 +1667,7 @@ func (client DiagnosticsClient) ListSiteAnalysesSlotComplete(ctx context.Context return } -// ListSiteDetectorResponses description for List Site Detector Responses +// ListSiteDetectorResponses list Site Detector Responses // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -1793,7 +1793,7 @@ func (client DiagnosticsClient) ListSiteDetectorResponsesComplete(ctx context.Co return } -// ListSiteDetectorResponsesSlot description for List Site Detector Responses +// ListSiteDetectorResponsesSlot list Site Detector Responses // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -1921,7 +1921,7 @@ func (client DiagnosticsClient) ListSiteDetectorResponsesSlotComplete(ctx contex return } -// ListSiteDetectors description for Get Detectors +// ListSiteDetectors get Detectors // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -2049,7 +2049,7 @@ func (client DiagnosticsClient) ListSiteDetectorsComplete(ctx context.Context, r return } -// ListSiteDetectorsSlot description for Get Detectors +// ListSiteDetectorsSlot get Detectors // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -2179,7 +2179,7 @@ func (client DiagnosticsClient) ListSiteDetectorsSlotComplete(ctx context.Contex return } -// ListSiteDiagnosticCategories description for Get Diagnostics Categories +// ListSiteDiagnosticCategories get Diagnostics Categories // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name @@ -2305,7 +2305,7 @@ func (client DiagnosticsClient) ListSiteDiagnosticCategoriesComplete(ctx context return } -// ListSiteDiagnosticCategoriesSlot description for Get Diagnostics Categories +// ListSiteDiagnosticCategoriesSlot get Diagnostics Categories // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site Name diff --git a/services/web/mgmt/2021-03-01/web/domainregistrationprovider.go b/services/web/mgmt/2021-03-01/web/domainregistrationprovider.go index a04e086e447c..a3986ab8fc61 100644 --- a/services/web/mgmt/2021-03-01/web/domainregistrationprovider.go +++ b/services/web/mgmt/2021-03-01/web/domainregistrationprovider.go @@ -31,8 +31,7 @@ func NewDomainRegistrationProviderClientWithBaseURI(baseURI string, subscription return DomainRegistrationProviderClient{NewWithBaseURI(baseURI, subscriptionID)} } -// ListOperations description for Implements Csm operations Api to exposes the list of available Csm Apis under the -// resource provider +// ListOperations implements Csm operations Api to exposes the list of available Csm Apis under the resource provider func (client DomainRegistrationProviderClient) ListOperations(ctx context.Context) (result CsmOperationCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/DomainRegistrationProviderClient.ListOperations") diff --git a/services/web/mgmt/2021-03-01/web/domains.go b/services/web/mgmt/2021-03-01/web/domains.go index 1c9d9b47fe37..377f65ec28d5 100644 --- a/services/web/mgmt/2021-03-01/web/domains.go +++ b/services/web/mgmt/2021-03-01/web/domains.go @@ -31,7 +31,7 @@ func NewDomainsClientWithBaseURI(baseURI string, subscriptionID string) DomainsC return DomainsClient{NewWithBaseURI(baseURI, subscriptionID)} } -// CheckAvailability description for Check if a domain is available for registration. +// CheckAvailability check if a domain is available for registration. // Parameters: // identifier - name of the domain. func (client DomainsClient) CheckAvailability(ctx context.Context, identifier NameIdentifier) (result DomainAvailabilityCheckResult, err error) { @@ -106,7 +106,7 @@ func (client DomainsClient) CheckAvailabilityResponder(resp *http.Response) (res return } -// CreateOrUpdate description for Creates or updates a domain. +// CreateOrUpdate creates or updates a domain. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // domainName - name of the domain. @@ -254,8 +254,8 @@ func (client DomainsClient) CreateOrUpdateResponder(resp *http.Response) (result return } -// CreateOrUpdateOwnershipIdentifier description for Creates an ownership identifier for a domain or updates identifier -// details for an existing identifier +// CreateOrUpdateOwnershipIdentifier creates an ownership identifier for a domain or updates identifier details for an +// existing identifier // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // domainName - name of domain. @@ -344,7 +344,7 @@ func (client DomainsClient) CreateOrUpdateOwnershipIdentifierResponder(resp *htt return } -// Delete description for Delete a domain. +// Delete delete a domain. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // domainName - name of the domain. @@ -432,7 +432,7 @@ func (client DomainsClient) DeleteResponder(resp *http.Response) (result autores return } -// DeleteOwnershipIdentifier description for Delete ownership identifier for domain +// DeleteOwnershipIdentifier delete ownership identifier for domain // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // domainName - name of domain. @@ -517,7 +517,7 @@ func (client DomainsClient) DeleteOwnershipIdentifierResponder(resp *http.Respon return } -// Get description for Get a domain. +// Get get a domain. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // domainName - name of the domain. @@ -601,7 +601,7 @@ func (client DomainsClient) GetResponder(resp *http.Response) (result Domain, er return } -// GetControlCenterSsoRequest description for Generate a single sign-on request for the domain management portal. +// GetControlCenterSsoRequest generate a single sign-on request for the domain management portal. func (client DomainsClient) GetControlCenterSsoRequest(ctx context.Context) (result DomainControlCenterSsoRequest, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/DomainsClient.GetControlCenterSsoRequest") @@ -672,7 +672,7 @@ func (client DomainsClient) GetControlCenterSsoRequestResponder(resp *http.Respo return } -// GetOwnershipIdentifier description for Get ownership identifier for domain +// GetOwnershipIdentifier get ownership identifier for domain // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // domainName - name of domain. @@ -758,7 +758,7 @@ func (client DomainsClient) GetOwnershipIdentifierResponder(resp *http.Response) return } -// List description for Get all domains in a subscription. +// List get all domains in a subscription. func (client DomainsClient) List(ctx context.Context) (result DomainCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/DomainsClient.List") @@ -871,7 +871,7 @@ func (client DomainsClient) ListComplete(ctx context.Context) (result DomainColl return } -// ListByResourceGroup description for Get all domains in a resource group. +// ListByResourceGroup get all domains in a resource group. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. func (client DomainsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result DomainCollectionPage, err error) { @@ -995,7 +995,7 @@ func (client DomainsClient) ListByResourceGroupComplete(ctx context.Context, res return } -// ListOwnershipIdentifiers description for Lists domain ownership identifiers. +// ListOwnershipIdentifiers lists domain ownership identifiers. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // domainName - name of domain. @@ -1121,7 +1121,7 @@ func (client DomainsClient) ListOwnershipIdentifiersComplete(ctx context.Context return } -// ListRecommendations description for Get domain name recommendations based on keywords. +// ListRecommendations get domain name recommendations based on keywords. // Parameters: // parameters - search parameters for domain name recommendations. func (client DomainsClient) ListRecommendations(ctx context.Context, parameters DomainRecommendationSearchParameters) (result NameIdentifierCollectionPage, err error) { @@ -1238,7 +1238,7 @@ func (client DomainsClient) ListRecommendationsComplete(ctx context.Context, par return } -// Renew description for Renew a domain. +// Renew renew a domain. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // domainName - name of the domain. @@ -1405,7 +1405,7 @@ func (client DomainsClient) TransferOutResponder(resp *http.Response) (result Do return } -// Update description for Creates or updates a domain. +// Update creates or updates a domain. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // domainName - name of the domain. @@ -1494,8 +1494,8 @@ func (client DomainsClient) UpdateResponder(resp *http.Response) (result Domain, return } -// UpdateOwnershipIdentifier description for Creates an ownership identifier for a domain or updates identifier details -// for an existing identifier +// UpdateOwnershipIdentifier creates an ownership identifier for a domain or updates identifier details for an existing +// identifier // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // domainName - name of domain. diff --git a/services/web/mgmt/2021-03-01/web/global.go b/services/web/mgmt/2021-03-01/web/global.go index 3e7d015aea25..96b2a49ef2f4 100644 --- a/services/web/mgmt/2021-03-01/web/global.go +++ b/services/web/mgmt/2021-03-01/web/global.go @@ -30,7 +30,7 @@ func NewGlobalClientWithBaseURI(baseURI string, subscriptionID string) GlobalCli return GlobalClient{NewWithBaseURI(baseURI, subscriptionID)} } -// GetDeletedWebApp description for Get deleted app for a subscription. +// GetDeletedWebApp get deleted app for a subscription. // Parameters: // deletedSiteID - the numeric ID of the deleted app, e.g. 12345 func (client GlobalClient) GetDeletedWebApp(ctx context.Context, deletedSiteID string) (result DeletedSite, err error) { @@ -104,7 +104,7 @@ func (client GlobalClient) GetDeletedWebAppResponder(resp *http.Response) (resul return } -// GetDeletedWebAppSnapshots description for Get all deleted apps for a subscription. +// GetDeletedWebAppSnapshots get all deleted apps for a subscription. // Parameters: // deletedSiteID - the numeric ID of the deleted app, e.g. 12345 func (client GlobalClient) GetDeletedWebAppSnapshots(ctx context.Context, deletedSiteID string) (result ListSnapshot, err error) { @@ -178,7 +178,7 @@ func (client GlobalClient) GetDeletedWebAppSnapshotsResponder(resp *http.Respons return } -// GetSubscriptionOperationWithAsyncResponse description for Gets an operation in a subscription and given region +// GetSubscriptionOperationWithAsyncResponse gets an operation in a subscription and given region // Parameters: // location - location name // operationID - operation Id diff --git a/services/web/mgmt/2021-03-01/web/kubeenvironments.go b/services/web/mgmt/2021-03-01/web/kubeenvironments.go index 6b8a3cca1e4a..d8c1c73ddaec 100644 --- a/services/web/mgmt/2021-03-01/web/kubeenvironments.go +++ b/services/web/mgmt/2021-03-01/web/kubeenvironments.go @@ -32,7 +32,7 @@ func NewKubeEnvironmentsClientWithBaseURI(baseURI string, subscriptionID string) return KubeEnvironmentsClient{NewWithBaseURI(baseURI, subscriptionID)} } -// CreateOrUpdate description for Creates or updates a Kubernetes Environment. +// CreateOrUpdate creates or updates a Kubernetes Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the Kubernetes Environment. @@ -122,7 +122,7 @@ func (client KubeEnvironmentsClient) CreateOrUpdateResponder(resp *http.Response return } -// Delete description for Delete a Kubernetes Environment. +// Delete delete a Kubernetes Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the Kubernetes Environment. @@ -208,7 +208,7 @@ func (client KubeEnvironmentsClient) DeleteResponder(resp *http.Response) (resul return } -// Get description for Get the properties of a Kubernetes Environment. +// Get get the properties of a Kubernetes Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the Kubernetes Environment. @@ -292,7 +292,7 @@ func (client KubeEnvironmentsClient) GetResponder(resp *http.Response) (result K return } -// ListByResourceGroup description for Get all the Kubernetes Environments in a resource group. +// ListByResourceGroup get all the Kubernetes Environments in a resource group. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. func (client KubeEnvironmentsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result KubeEnvironmentCollectionPage, err error) { @@ -416,7 +416,7 @@ func (client KubeEnvironmentsClient) ListByResourceGroupComplete(ctx context.Con return } -// ListBySubscription description for Get all Kubernetes Environments for a subscription. +// ListBySubscription get all Kubernetes Environments for a subscription. func (client KubeEnvironmentsClient) ListBySubscription(ctx context.Context) (result KubeEnvironmentCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/KubeEnvironmentsClient.ListBySubscription") @@ -529,7 +529,7 @@ func (client KubeEnvironmentsClient) ListBySubscriptionComplete(ctx context.Cont return } -// Update description for Creates or updates a Kubernetes Environment. +// Update creates or updates a Kubernetes Environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the Kubernetes Environment. diff --git a/services/web/mgmt/2021-03-01/web/provider.go b/services/web/mgmt/2021-03-01/web/provider.go index 2628f62ea344..f40357383c9a 100644 --- a/services/web/mgmt/2021-03-01/web/provider.go +++ b/services/web/mgmt/2021-03-01/web/provider.go @@ -30,7 +30,7 @@ func NewProviderClientWithBaseURI(baseURI string, subscriptionID string) Provide return ProviderClient{NewWithBaseURI(baseURI, subscriptionID)} } -// GetAvailableStacks description for Get available application frameworks and their versions +// GetAvailableStacks get available application frameworks and their versions func (client ProviderClient) GetAvailableStacks(ctx context.Context, osTypeSelected string) (result ApplicationStackCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/ProviderClient.GetAvailableStacks") @@ -142,7 +142,7 @@ func (client ProviderClient) GetAvailableStacksComplete(ctx context.Context, osT return } -// GetAvailableStacksOnPrem description for Get available application frameworks and their versions +// GetAvailableStacksOnPrem get available application frameworks and their versions func (client ProviderClient) GetAvailableStacksOnPrem(ctx context.Context, osTypeSelected string) (result ApplicationStackCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/ProviderClient.GetAvailableStacksOnPrem") @@ -258,7 +258,7 @@ func (client ProviderClient) GetAvailableStacksOnPremComplete(ctx context.Contex return } -// GetFunctionAppStacks description for Get available Function app frameworks and their versions +// GetFunctionAppStacks get available Function app frameworks and their versions // Parameters: // stackOsType - stack OS Type func (client ProviderClient) GetFunctionAppStacks(ctx context.Context, stackOsType string) (result FunctionAppStackCollectionPage, err error) { @@ -372,8 +372,7 @@ func (client ProviderClient) GetFunctionAppStacksComplete(ctx context.Context, s return } -// GetFunctionAppStacksForLocation description for Get available Function app frameworks and their versions for -// location +// GetFunctionAppStacksForLocation get available Function app frameworks and their versions for location // Parameters: // location - function App stack location. // stackOsType - stack OS Type @@ -492,7 +491,7 @@ func (client ProviderClient) GetFunctionAppStacksForLocationComplete(ctx context return } -// GetWebAppStacks description for Get available Web app frameworks and their versions +// GetWebAppStacks get available Web app frameworks and their versions // Parameters: // stackOsType - stack OS Type func (client ProviderClient) GetWebAppStacks(ctx context.Context, stackOsType string) (result AppStackCollectionPage, err error) { @@ -606,7 +605,7 @@ func (client ProviderClient) GetWebAppStacksComplete(ctx context.Context, stackO return } -// GetWebAppStacksForLocation description for Get available Web app frameworks and their versions for location +// GetWebAppStacksForLocation get available Web app frameworks and their versions for location // Parameters: // location - web App stack location. // stackOsType - stack OS Type @@ -725,8 +724,8 @@ func (client ProviderClient) GetWebAppStacksForLocationComplete(ctx context.Cont return } -// ListOperations description for Gets all available operations for the Microsoft.Web resource provider. Also exposes -// resource metric definitions +// ListOperations gets all available operations for the Microsoft.Web resource provider. Also exposes resource metric +// definitions func (client ProviderClient) ListOperations(ctx context.Context) (result CsmOperationCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/ProviderClient.ListOperations") diff --git a/services/web/mgmt/2021-03-01/web/recommendations.go b/services/web/mgmt/2021-03-01/web/recommendations.go index ba4db5822305..d83b6cd2e2b2 100644 --- a/services/web/mgmt/2021-03-01/web/recommendations.go +++ b/services/web/mgmt/2021-03-01/web/recommendations.go @@ -31,7 +31,7 @@ func NewRecommendationsClientWithBaseURI(baseURI string, subscriptionID string) return RecommendationsClient{NewWithBaseURI(baseURI, subscriptionID)} } -// DisableAllForHostingEnvironment description for Disable all recommendations for an app. +// DisableAllForHostingEnvironment disable all recommendations for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // environmentName - name of the app. @@ -115,7 +115,7 @@ func (client RecommendationsClient) DisableAllForHostingEnvironmentResponder(res return } -// DisableAllForWebApp description for Disable all recommendations for an app. +// DisableAllForWebApp disable all recommendations for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - name of the app. @@ -198,7 +198,7 @@ func (client RecommendationsClient) DisableAllForWebAppResponder(resp *http.Resp return } -// DisableRecommendationForHostingEnvironment description for Disables the specific rule for a web site permanently. +// DisableRecommendationForHostingEnvironment disables the specific rule for a web site permanently. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // environmentName - site name @@ -284,7 +284,7 @@ func (client RecommendationsClient) DisableRecommendationForHostingEnvironmentRe return } -// DisableRecommendationForSite description for Disables the specific rule for a web site permanently. +// DisableRecommendationForSite disables the specific rule for a web site permanently. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - site name @@ -369,8 +369,8 @@ func (client RecommendationsClient) DisableRecommendationForSiteResponder(resp * return } -// DisableRecommendationForSubscription description for Disables the specified rule so it will not apply to a -// subscription in the future. +// DisableRecommendationForSubscription disables the specified rule so it will not apply to a subscription in the +// future. // Parameters: // name - rule name func (client RecommendationsClient) DisableRecommendationForSubscription(ctx context.Context, name string) (result autorest.Response, err error) { @@ -443,7 +443,7 @@ func (client RecommendationsClient) DisableRecommendationForSubscriptionResponde return } -// GetRuleDetailsByHostingEnvironment description for Get a recommendation rule for an app. +// GetRuleDetailsByHostingEnvironment get a recommendation rule for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // hostingEnvironmentName - name of the hosting environment. @@ -538,7 +538,7 @@ func (client RecommendationsClient) GetRuleDetailsByHostingEnvironmentResponder( return } -// GetRuleDetailsByWebApp description for Get a recommendation rule for an app. +// GetRuleDetailsByWebApp get a recommendation rule for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - name of the app. @@ -633,7 +633,7 @@ func (client RecommendationsClient) GetRuleDetailsByWebAppResponder(resp *http.R return } -// List description for List all recommendations for a subscription. +// List list all recommendations for a subscription. // Parameters: // featured - specify true to return only the most critical recommendations. The default is // false, which returns all recommendations. @@ -758,8 +758,7 @@ func (client RecommendationsClient) ListComplete(ctx context.Context, featured * return } -// ListHistoryForHostingEnvironment description for Get past recommendations for an app, optionally specified by the -// time range. +// ListHistoryForHostingEnvironment get past recommendations for an app, optionally specified by the time range. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // hostingEnvironmentName - name of the hosting environment. @@ -896,7 +895,7 @@ func (client RecommendationsClient) ListHistoryForHostingEnvironmentComplete(ctx return } -// ListHistoryForWebApp description for Get past recommendations for an app, optionally specified by the time range. +// ListHistoryForWebApp get past recommendations for an app, optionally specified by the time range. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - name of the app. @@ -1033,7 +1032,7 @@ func (client RecommendationsClient) ListHistoryForWebAppComplete(ctx context.Con return } -// ListRecommendedRulesForHostingEnvironment description for Get all recommendations for a hosting environment. +// ListRecommendedRulesForHostingEnvironment get all recommendations for a hosting environment. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // hostingEnvironmentName - name of the app. @@ -1169,7 +1168,7 @@ func (client RecommendationsClient) ListRecommendedRulesForHostingEnvironmentCom return } -// ListRecommendedRulesForWebApp description for Get all recommendations for an app. +// ListRecommendedRulesForWebApp get all recommendations for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - name of the app. @@ -1305,7 +1304,7 @@ func (client RecommendationsClient) ListRecommendedRulesForWebAppComplete(ctx co return } -// ResetAllFilters description for Reset all recommendation opt-out settings for a subscription. +// ResetAllFilters reset all recommendation opt-out settings for a subscription. func (client RecommendationsClient) ResetAllFilters(ctx context.Context) (result autorest.Response, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/RecommendationsClient.ResetAllFilters") @@ -1375,7 +1374,7 @@ func (client RecommendationsClient) ResetAllFiltersResponder(resp *http.Response return } -// ResetAllFiltersForHostingEnvironment description for Reset all recommendation opt-out settings for an app. +// ResetAllFiltersForHostingEnvironment reset all recommendation opt-out settings for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // environmentName - name of the app. @@ -1459,7 +1458,7 @@ func (client RecommendationsClient) ResetAllFiltersForHostingEnvironmentResponde return } -// ResetAllFiltersForWebApp description for Reset all recommendation opt-out settings for an app. +// ResetAllFiltersForWebApp reset all recommendation opt-out settings for an app. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // siteName - name of the app. diff --git a/services/web/mgmt/2021-03-01/web/resourcehealthmetadata.go b/services/web/mgmt/2021-03-01/web/resourcehealthmetadata.go index ab5b103ac541..967582431e4c 100644 --- a/services/web/mgmt/2021-03-01/web/resourcehealthmetadata.go +++ b/services/web/mgmt/2021-03-01/web/resourcehealthmetadata.go @@ -32,7 +32,7 @@ func NewResourceHealthMetadataClientWithBaseURI(baseURI string, subscriptionID s return ResourceHealthMetadataClient{NewWithBaseURI(baseURI, subscriptionID)} } -// GetBySite description for Gets the category of ResourceHealthMetadata to use for the given site +// GetBySite gets the category of ResourceHealthMetadata to use for the given site // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app @@ -116,7 +116,7 @@ func (client ResourceHealthMetadataClient) GetBySiteResponder(resp *http.Respons return } -// GetBySiteSlot description for Gets the category of ResourceHealthMetadata to use for the given site +// GetBySiteSlot gets the category of ResourceHealthMetadata to use for the given site // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app @@ -202,7 +202,7 @@ func (client ResourceHealthMetadataClient) GetBySiteSlotResponder(resp *http.Res return } -// List description for List all ResourceHealthMetadata for all sites in the subscription. +// List list all ResourceHealthMetadata for all sites in the subscription. func (client ResourceHealthMetadataClient) List(ctx context.Context) (result ResourceHealthMetadataCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/ResourceHealthMetadataClient.List") @@ -315,8 +315,7 @@ func (client ResourceHealthMetadataClient) ListComplete(ctx context.Context) (re return } -// ListByResourceGroup description for List all ResourceHealthMetadata for all sites in the resource group in the -// subscription. +// ListByResourceGroup list all ResourceHealthMetadata for all sites in the resource group in the subscription. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. func (client ResourceHealthMetadataClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ResourceHealthMetadataCollectionPage, err error) { @@ -440,7 +439,7 @@ func (client ResourceHealthMetadataClient) ListByResourceGroupComplete(ctx conte return } -// ListBySite description for Gets the category of ResourceHealthMetadata to use for the given site as a collection +// ListBySite gets the category of ResourceHealthMetadata to use for the given site as a collection // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. @@ -566,7 +565,7 @@ func (client ResourceHealthMetadataClient) ListBySiteComplete(ctx context.Contex return } -// ListBySiteSlot description for Gets the category of ResourceHealthMetadata to use for the given site as a collection +// ListBySiteSlot gets the category of ResourceHealthMetadata to use for the given site as a collection // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of web app. diff --git a/services/web/mgmt/2021-03-01/web/staticsites.go b/services/web/mgmt/2021-03-01/web/staticsites.go index 1019f5b91c9d..3176cc34e2cc 100644 --- a/services/web/mgmt/2021-03-01/web/staticsites.go +++ b/services/web/mgmt/2021-03-01/web/staticsites.go @@ -31,7 +31,7 @@ func NewStaticSitesClientWithBaseURI(baseURI string, subscriptionID string) Stat return StaticSitesClient{NewWithBaseURI(baseURI, subscriptionID)} } -// ApproveOrRejectPrivateEndpointConnection description for Approves or rejects a private endpoint connection +// ApproveOrRejectPrivateEndpointConnection approves or rejects a private endpoint connection // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -123,8 +123,8 @@ func (client StaticSitesClient) ApproveOrRejectPrivateEndpointConnectionResponde return } -// CreateOrUpdateStaticSite description for Creates a new static site in an existing resource group, or updates an -// existing static site. +// CreateOrUpdateStaticSite creates a new static site in an existing resource group, or updates an existing static +// site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site to create or update. @@ -214,7 +214,7 @@ func (client StaticSitesClient) CreateOrUpdateStaticSiteResponder(resp *http.Res return } -// CreateOrUpdateStaticSiteAppSettings description for Creates or updates the app settings of a static site. +// CreateOrUpdateStaticSiteAppSettings creates or updates the app settings of a static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -301,7 +301,7 @@ func (client StaticSitesClient) CreateOrUpdateStaticSiteAppSettingsResponder(res return } -// CreateOrUpdateStaticSiteBuildAppSettings description for Creates or updates the app settings of a static site build. +// CreateOrUpdateStaticSiteBuildAppSettings creates or updates the app settings of a static site build. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -390,8 +390,8 @@ func (client StaticSitesClient) CreateOrUpdateStaticSiteBuildAppSettingsResponde return } -// CreateOrUpdateStaticSiteBuildFunctionAppSettings description for Creates or updates the function app settings of a -// static site build. +// CreateOrUpdateStaticSiteBuildFunctionAppSettings creates or updates the function app settings of a static site +// build. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -480,8 +480,8 @@ func (client StaticSitesClient) CreateOrUpdateStaticSiteBuildFunctionAppSettings return } -// CreateOrUpdateStaticSiteCustomDomain description for Creates a new static site custom domain in an existing resource -// group and static site. +// CreateOrUpdateStaticSiteCustomDomain creates a new static site custom domain in an existing resource group and +// static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -574,8 +574,7 @@ func (client StaticSitesClient) CreateOrUpdateStaticSiteCustomDomainResponder(re return } -// CreateOrUpdateStaticSiteFunctionAppSettings description for Creates or updates the function app settings of a static -// site. +// CreateOrUpdateStaticSiteFunctionAppSettings creates or updates the function app settings of a static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -662,7 +661,7 @@ func (client StaticSitesClient) CreateOrUpdateStaticSiteFunctionAppSettingsRespo return } -// CreateUserRolesInvitationLink description for Creates an invitation link for a user with the role +// CreateUserRolesInvitationLink creates an invitation link for a user with the role // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -748,7 +747,7 @@ func (client StaticSitesClient) CreateUserRolesInvitationLinkResponder(resp *htt return } -// CreateZipDeploymentForStaticSite description for Deploys zipped content to a static site. +// CreateZipDeploymentForStaticSite deploys zipped content to a static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -838,8 +837,7 @@ func (client StaticSitesClient) CreateZipDeploymentForStaticSiteResponder(resp * return } -// CreateZipDeploymentForStaticSiteBuild description for Deploys zipped content to a specific environment of a static -// site. +// CreateZipDeploymentForStaticSiteBuild deploys zipped content to a specific environment of a static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -931,7 +929,7 @@ func (client StaticSitesClient) CreateZipDeploymentForStaticSiteBuildResponder(r return } -// DeletePrivateEndpointConnection description for Deletes a private endpoint connection +// DeletePrivateEndpointConnection deletes a private endpoint connection // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -1020,7 +1018,7 @@ func (client StaticSitesClient) DeletePrivateEndpointConnectionResponder(resp *h return } -// DeleteStaticSite description for Deletes a static site. +// DeleteStaticSite deletes a static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site to delete. @@ -1106,7 +1104,7 @@ func (client StaticSitesClient) DeleteStaticSiteResponder(resp *http.Response) ( return } -// DeleteStaticSiteBuild description for Deletes a static site build. +// DeleteStaticSiteBuild deletes a static site build. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -1194,7 +1192,7 @@ func (client StaticSitesClient) DeleteStaticSiteBuildResponder(resp *http.Respon return } -// DeleteStaticSiteCustomDomain description for Deletes a custom domain. +// DeleteStaticSiteCustomDomain deletes a custom domain. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -1282,7 +1280,7 @@ func (client StaticSitesClient) DeleteStaticSiteCustomDomainResponder(resp *http return } -// DeleteStaticSiteUser description for Deletes the user entry from the static site. +// DeleteStaticSiteUser deletes the user entry from the static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the staticsite. @@ -1369,7 +1367,7 @@ func (client StaticSitesClient) DeleteStaticSiteUserResponder(resp *http.Respons return } -// DetachStaticSite description for Detaches a static site. +// DetachStaticSite detaches a static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site to detach. @@ -1455,8 +1453,7 @@ func (client StaticSitesClient) DetachStaticSiteResponder(resp *http.Response) ( return } -// DetachUserProvidedFunctionAppFromStaticSite description for Detach the user provided function app from the static -// site +// DetachUserProvidedFunctionAppFromStaticSite detach the user provided function app from the static site // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -1541,8 +1538,7 @@ func (client StaticSitesClient) DetachUserProvidedFunctionAppFromStaticSiteRespo return } -// DetachUserProvidedFunctionAppFromStaticSiteBuild description for Detach the user provided function app from the -// static site build +// DetachUserProvidedFunctionAppFromStaticSiteBuild detach the user provided function app from the static site build // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -1629,7 +1625,7 @@ func (client StaticSitesClient) DetachUserProvidedFunctionAppFromStaticSiteBuild return } -// GetPrivateEndpointConnection description for Gets a private endpoint connection +// GetPrivateEndpointConnection gets a private endpoint connection // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -1715,8 +1711,7 @@ func (client StaticSitesClient) GetPrivateEndpointConnectionResponder(resp *http return } -// GetPrivateEndpointConnectionList description for Gets the list of private endpoint connections associated with a -// static site +// GetPrivateEndpointConnectionList gets the list of private endpoint connections associated with a static site // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -1842,7 +1837,7 @@ func (client StaticSitesClient) GetPrivateEndpointConnectionListComplete(ctx con return } -// GetPrivateLinkResources description for Gets the private link resources +// GetPrivateLinkResources gets the private link resources // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the site. @@ -1926,7 +1921,7 @@ func (client StaticSitesClient) GetPrivateLinkResourcesResponder(resp *http.Resp return } -// GetStaticSite description for Gets the details of a static site. +// GetStaticSite gets the details of a static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -2010,7 +2005,7 @@ func (client StaticSitesClient) GetStaticSiteResponder(resp *http.Response) (res return } -// GetStaticSiteBuild description for Gets the details of a static site build. +// GetStaticSiteBuild gets the details of a static site build. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -2096,7 +2091,7 @@ func (client StaticSitesClient) GetStaticSiteBuildResponder(resp *http.Response) return } -// GetStaticSiteBuilds description for Gets all static site builds for a particular static site. +// GetStaticSiteBuilds gets all static site builds for a particular static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -2222,7 +2217,7 @@ func (client StaticSitesClient) GetStaticSiteBuildsComplete(ctx context.Context, return } -// GetStaticSiteCustomDomain description for Gets an existing custom domain for a particular static site. +// GetStaticSiteCustomDomain gets an existing custom domain for a particular static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site resource to search in. @@ -2308,7 +2303,7 @@ func (client StaticSitesClient) GetStaticSiteCustomDomainResponder(resp *http.Re return } -// GetStaticSitesByResourceGroup description for Gets all static sites in the specified resource group. +// GetStaticSitesByResourceGroup gets all static sites in the specified resource group. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. func (client StaticSitesClient) GetStaticSitesByResourceGroup(ctx context.Context, resourceGroupName string) (result StaticSiteCollectionPage, err error) { @@ -2432,8 +2427,8 @@ func (client StaticSitesClient) GetStaticSitesByResourceGroupComplete(ctx contex return } -// GetUserProvidedFunctionAppForStaticSite description for Gets the details of the user provided function app -// registered with a static site +// GetUserProvidedFunctionAppForStaticSite gets the details of the user provided function app registered with a static +// site // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -2519,8 +2514,8 @@ func (client StaticSitesClient) GetUserProvidedFunctionAppForStaticSiteResponder return } -// GetUserProvidedFunctionAppForStaticSiteBuild description for Gets the details of the user provided function app -// registered with a static site build +// GetUserProvidedFunctionAppForStaticSiteBuild gets the details of the user provided function app registered with a +// static site build // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -2608,8 +2603,8 @@ func (client StaticSitesClient) GetUserProvidedFunctionAppForStaticSiteBuildResp return } -// GetUserProvidedFunctionAppsForStaticSite description for Gets the details of the user provided function apps -// registered with a static site +// GetUserProvidedFunctionAppsForStaticSite gets the details of the user provided function apps registered with a +// static site // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -2735,8 +2730,8 @@ func (client StaticSitesClient) GetUserProvidedFunctionAppsForStaticSiteComplete return } -// GetUserProvidedFunctionAppsForStaticSiteBuild description for Gets the details of the user provided function apps -// registered with a static site build +// GetUserProvidedFunctionAppsForStaticSiteBuild gets the details of the user provided function apps registered with a +// static site build // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -2864,7 +2859,7 @@ func (client StaticSitesClient) GetUserProvidedFunctionAppsForStaticSiteBuildCom return } -// List description for Get all Static Sites for a subscription. +// List get all Static Sites for a subscription. func (client StaticSitesClient) List(ctx context.Context) (result StaticSiteCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/StaticSitesClient.List") @@ -2977,7 +2972,7 @@ func (client StaticSitesClient) ListComplete(ctx context.Context) (result Static return } -// ListStaticSiteAppSettings description for Gets the application settings of a static site. +// ListStaticSiteAppSettings gets the application settings of a static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -3061,7 +3056,7 @@ func (client StaticSitesClient) ListStaticSiteAppSettingsResponder(resp *http.Re return } -// ListStaticSiteBuildAppSettings description for Gets the application settings of a static site build. +// ListStaticSiteBuildAppSettings gets the application settings of a static site build. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -3147,7 +3142,7 @@ func (client StaticSitesClient) ListStaticSiteBuildAppSettingsResponder(resp *ht return } -// ListStaticSiteBuildFunctionAppSettings description for Gets the application settings of a static site build. +// ListStaticSiteBuildFunctionAppSettings gets the application settings of a static site build. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -3233,7 +3228,7 @@ func (client StaticSitesClient) ListStaticSiteBuildFunctionAppSettingsResponder( return } -// ListStaticSiteBuildFunctions description for Gets the functions of a particular static site build. +// ListStaticSiteBuildFunctions gets the functions of a particular static site build. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -3361,7 +3356,7 @@ func (client StaticSitesClient) ListStaticSiteBuildFunctionsComplete(ctx context return } -// ListStaticSiteConfiguredRoles description for Lists the roles configured for the static site. +// ListStaticSiteConfiguredRoles lists the roles configured for the static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -3445,7 +3440,7 @@ func (client StaticSitesClient) ListStaticSiteConfiguredRolesResponder(resp *htt return } -// ListStaticSiteCustomDomains description for Gets all static site custom domains for a particular static site. +// ListStaticSiteCustomDomains gets all static site custom domains for a particular static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site resource to search in. @@ -3571,7 +3566,7 @@ func (client StaticSitesClient) ListStaticSiteCustomDomainsComplete(ctx context. return } -// ListStaticSiteFunctionAppSettings description for Gets the application settings of a static site. +// ListStaticSiteFunctionAppSettings gets the application settings of a static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -3655,7 +3650,7 @@ func (client StaticSitesClient) ListStaticSiteFunctionAppSettingsResponder(resp return } -// ListStaticSiteFunctions description for Gets the functions of a static site. +// ListStaticSiteFunctions gets the functions of a static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -3781,7 +3776,7 @@ func (client StaticSitesClient) ListStaticSiteFunctionsComplete(ctx context.Cont return } -// ListStaticSiteSecrets description for Lists the secrets for an existing static site. +// ListStaticSiteSecrets lists the secrets for an existing static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -3865,7 +3860,7 @@ func (client StaticSitesClient) ListStaticSiteSecretsResponder(resp *http.Respon return } -// ListStaticSiteUsers description for Gets the list of users of a static site. +// ListStaticSiteUsers gets the list of users of a static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -3993,7 +3988,7 @@ func (client StaticSitesClient) ListStaticSiteUsersComplete(ctx context.Context, return } -// PreviewWorkflow description for Generates a preview workflow file for the static site +// PreviewWorkflow generates a preview workflow file for the static site // Parameters: // location - location where you plan to create the static site. // staticSitesWorkflowPreviewRequest - a JSON representation of the StaticSitesWorkflowPreviewRequest @@ -4071,8 +4066,7 @@ func (client StaticSitesClient) PreviewWorkflowResponder(resp *http.Response) (r return } -// RegisterUserProvidedFunctionAppWithStaticSite description for Register a user provided function app with a static -// site +// RegisterUserProvidedFunctionAppWithStaticSite register a user provided function app with a static site // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -4171,8 +4165,7 @@ func (client StaticSitesClient) RegisterUserProvidedFunctionAppWithStaticSiteRes return } -// RegisterUserProvidedFunctionAppWithStaticSiteBuild description for Register a user provided function app with a -// static site build +// RegisterUserProvidedFunctionAppWithStaticSiteBuild register a user provided function app with a static site build // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -4273,7 +4266,7 @@ func (client StaticSitesClient) RegisterUserProvidedFunctionAppWithStaticSiteBui return } -// ResetStaticSiteAPIKey description for Resets the api key for an existing static site. +// ResetStaticSiteAPIKey resets the api key for an existing static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -4358,8 +4351,7 @@ func (client StaticSitesClient) ResetStaticSiteAPIKeyResponder(resp *http.Respon return } -// UpdateStaticSite description for Creates a new static site in an existing resource group, or updates an existing -// static site. +// UpdateStaticSite creates a new static site in an existing resource group, or updates an existing static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site to create or update. @@ -4446,7 +4438,7 @@ func (client StaticSitesClient) UpdateStaticSiteResponder(resp *http.Response) ( return } -// UpdateStaticSiteUser description for Updates a user entry with the listed roles +// UpdateStaticSiteUser updates a user entry with the listed roles // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. @@ -4537,8 +4529,7 @@ func (client StaticSitesClient) UpdateStaticSiteUserResponder(resp *http.Respons return } -// ValidateCustomDomainCanBeAddedToStaticSite description for Validates a particular custom domain can be added to a -// static site. +// ValidateCustomDomainCanBeAddedToStaticSite validates a particular custom domain can be added to a static site. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. // name - name of the static site. diff --git a/services/web/mgmt/2021-03-01/web/topleveldomains.go b/services/web/mgmt/2021-03-01/web/topleveldomains.go index 5572d05bb119..8f419b533ca1 100644 --- a/services/web/mgmt/2021-03-01/web/topleveldomains.go +++ b/services/web/mgmt/2021-03-01/web/topleveldomains.go @@ -30,7 +30,7 @@ func NewTopLevelDomainsClientWithBaseURI(baseURI string, subscriptionID string) return TopLevelDomainsClient{NewWithBaseURI(baseURI, subscriptionID)} } -// Get description for Get details of a top-level domain. +// Get get details of a top-level domain. // Parameters: // name - name of the top-level domain. func (client TopLevelDomainsClient) Get(ctx context.Context, name string) (result TopLevelDomain, err error) { @@ -104,7 +104,7 @@ func (client TopLevelDomainsClient) GetResponder(resp *http.Response) (result To return } -// List description for Get all top-level domains supported for registration. +// List get all top-level domains supported for registration. func (client TopLevelDomainsClient) List(ctx context.Context) (result TopLevelDomainCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/TopLevelDomainsClient.List") @@ -217,7 +217,7 @@ func (client TopLevelDomainsClient) ListComplete(ctx context.Context) (result To return } -// ListAgreements description for Gets all legal agreements that user needs to accept before purchasing a domain. +// ListAgreements gets all legal agreements that user needs to accept before purchasing a domain. // Parameters: // name - name of the top-level domain. // agreementOption - domain agreement options. diff --git a/services/web/mgmt/2021-03-01/web/webapi/interfaces.go b/services/web/mgmt/2021-03-01/web/webapi/interfaces.go index f3b5713de7ee..b002e960f727 100644 --- a/services/web/mgmt/2021-03-01/web/webapi/interfaces.go +++ b/services/web/mgmt/2021-03-01/web/webapi/interfaces.go @@ -500,6 +500,7 @@ type AppsClientAPI interface { CreateInstanceMSDeployOperationSlot(ctx context.Context, resourceGroupName string, name string, slot string, instanceID string, mSDeploy web.MSDeploy) (result web.AppsCreateInstanceMSDeployOperationSlotFuture, err error) CreateMSDeployOperation(ctx context.Context, resourceGroupName string, name string, mSDeploy web.MSDeploy) (result web.AppsCreateMSDeployOperationFuture, err error) CreateMSDeployOperationSlot(ctx context.Context, resourceGroupName string, name string, slot string, mSDeploy web.MSDeploy) (result web.AppsCreateMSDeployOperationSlotFuture, err error) + CreateOneDeployOperation(ctx context.Context, resourceGroupName string, name string) (result web.SetObject, err error) CreateOrUpdate(ctx context.Context, resourceGroupName string, name string, siteEnvelope web.Site) (result web.AppsCreateOrUpdateFuture, err error) CreateOrUpdateConfiguration(ctx context.Context, resourceGroupName string, name string, siteConfig web.SiteConfigResource) (result web.SiteConfigResource, err error) CreateOrUpdateConfigurationSlot(ctx context.Context, resourceGroupName string, name string, siteConfig web.SiteConfigResource, slot string) (result web.SiteConfigResource, err error) @@ -586,6 +587,7 @@ type AppsClientAPI interface { GetAuthSettingsV2(ctx context.Context, resourceGroupName string, name string) (result web.SiteAuthSettingsV2, err error) GetAuthSettingsV2Slot(ctx context.Context, resourceGroupName string, name string, slot string) (result web.SiteAuthSettingsV2, err error) GetAuthSettingsV2WithoutSecrets(ctx context.Context, resourceGroupName string, name string) (result web.SiteAuthSettingsV2, err error) + GetAuthSettingsV2WithoutSecretsSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result web.SiteAuthSettingsV2, err error) GetBackupConfiguration(ctx context.Context, resourceGroupName string, name string) (result web.BackupRequest, err error) GetBackupConfigurationSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result web.BackupRequest, err error) GetBackupStatus(ctx context.Context, resourceGroupName string, name string, backupID string) (result web.BackupItem, err error) @@ -640,6 +642,7 @@ type AppsClientAPI interface { GetNetworkTracesSlot(ctx context.Context, resourceGroupName string, name string, operationID string, slot string) (result web.ListNetworkTrace, err error) GetNetworkTracesSlotV2(ctx context.Context, resourceGroupName string, name string, operationID string, slot string) (result web.ListNetworkTrace, err error) GetNetworkTracesV2(ctx context.Context, resourceGroupName string, name string, operationID string) (result web.ListNetworkTrace, err error) + GetOneDeployStatus(ctx context.Context, resourceGroupName string, name string) (result web.SetObject, err error) GetPremierAddOn(ctx context.Context, resourceGroupName string, name string, premierAddOnName string) (result web.PremierAddOn, err error) GetPremierAddOnSlot(ctx context.Context, resourceGroupName string, name string, premierAddOnName string, slot string) (result web.PremierAddOn, err error) GetPrivateAccess(ctx context.Context, resourceGroupName string, name string) (result web.PrivateAccess, err error)