From 7de3db033b588571fd538bf9ca1394bb7b8a3fb8 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Tue, 3 May 2022 01:49:07 +0000 Subject: [PATCH] CodeGen from PR 18849 in Azure/azure-rest-api-specs Merge a8ef0b43854083630413e2dba2945c68fd112032 into 1b2e3b97525b0b66a5e1d5826a4c6faab9aa9856 --- .../appservice/armappservice/CHANGELOG.md | 4 + .../appservice/armappservice/autorest.md | 6 +- .../appservice/armappservice/go.mod | 16 +- .../appservice/armappservice/go.sum | 33 +- ...mple_appserviceenvironments_client_test.go | 71 - ...ted_example_appserviceplans_client_test.go | 177 --- ...ertificateordersdiagnostics_client_test.go | 70 - ...ificateregistrationprovider_client_test.go | 42 - ...erated_example_certificates_client_test.go | 168 --- ...rated_example_containerapps_client_test.go | 202 --- ...mple_containerappsrevisions_client_test.go | 130 -- ...ated_example_deletedwebapps_client_test.go | 65 - ...nerated_example_diagnostics_client_test.go | 602 -------- ..._domainregistrationprovider_client_test.go | 42 - ...e_generated_example_domains_client_test.go | 59 - ...ze_generated_example_global_client_test.go | 79 - ...ed_example_kubeenvironments_client_test.go | 176 --- ..._generated_example_provider_client_test.go | 144 -- ...mple_resourcehealthmetadata_client_test.go | 168 --- ...nerated_example_staticsites_client_test.go | 1280 ----------------- ...ted_example_topleveldomains_client_test.go | 94 -- ...e_generated_example_webapps_client_test.go | 1091 -------------- ...ple_websitemanagementclient_client_test.go | 70 - .../zz_generated_certificateorders_client.go | 40 +- ...ted_certificateordersdiagnostics_client.go | 8 +- ..._certificateregistrationprovider_client.go | 3 +- .../zz_generated_certificates_client.go | 12 +- .../armappservice/zz_generated_constants.go | 2 +- .../zz_generated_containerapps_client.go | 8 +- .../zz_generated_deletedwebapps_client.go | 6 +- .../zz_generated_diagnostics_client.go | 44 +- ...rated_domainregistrationprovider_client.go | 3 +- .../zz_generated_domains_client.go | 36 +- .../zz_generated_environments_client.go | 114 +- .../zz_generated_global_client.go | 6 +- .../zz_generated_kubeenvironments_client.go | 16 +- .../zz_generated_plans_client.go | 56 +- .../zz_generated_provider_client.go | 17 +- .../zz_generated_recommendations_client.go | 32 +- ...generated_resourcehealthmetadata_client.go | 13 +- .../zz_generated_staticsites_client.go | 147 +- .../zz_generated_topleveldomains_client.go | 6 +- .../zz_generated_webapps_client.go | 1005 +++++++------ .../zz_generated_websitemanagement_client.go | 34 +- 44 files changed, 789 insertions(+), 5608 deletions(-) delete mode 100644 sdk/resourcemanager/appservice/armappservice/ze_generated_example_appserviceenvironments_client_test.go delete mode 100644 sdk/resourcemanager/appservice/armappservice/ze_generated_example_appserviceplans_client_test.go delete mode 100644 sdk/resourcemanager/appservice/armappservice/ze_generated_example_certificateordersdiagnostics_client_test.go delete mode 100644 sdk/resourcemanager/appservice/armappservice/ze_generated_example_certificateregistrationprovider_client_test.go delete mode 100644 sdk/resourcemanager/appservice/armappservice/ze_generated_example_certificates_client_test.go delete mode 100644 sdk/resourcemanager/appservice/armappservice/ze_generated_example_containerapps_client_test.go delete mode 100644 sdk/resourcemanager/appservice/armappservice/ze_generated_example_containerappsrevisions_client_test.go delete mode 100644 sdk/resourcemanager/appservice/armappservice/ze_generated_example_deletedwebapps_client_test.go delete mode 100644 sdk/resourcemanager/appservice/armappservice/ze_generated_example_diagnostics_client_test.go delete mode 100644 sdk/resourcemanager/appservice/armappservice/ze_generated_example_domainregistrationprovider_client_test.go delete mode 100644 sdk/resourcemanager/appservice/armappservice/ze_generated_example_domains_client_test.go delete mode 100644 sdk/resourcemanager/appservice/armappservice/ze_generated_example_global_client_test.go delete mode 100644 sdk/resourcemanager/appservice/armappservice/ze_generated_example_kubeenvironments_client_test.go delete mode 100644 sdk/resourcemanager/appservice/armappservice/ze_generated_example_provider_client_test.go delete mode 100644 sdk/resourcemanager/appservice/armappservice/ze_generated_example_resourcehealthmetadata_client_test.go delete mode 100644 sdk/resourcemanager/appservice/armappservice/ze_generated_example_staticsites_client_test.go delete mode 100644 sdk/resourcemanager/appservice/armappservice/ze_generated_example_topleveldomains_client_test.go delete mode 100644 sdk/resourcemanager/appservice/armappservice/ze_generated_example_webapps_client_test.go delete mode 100644 sdk/resourcemanager/appservice/armappservice/ze_generated_example_websitemanagementclient_client_test.go diff --git a/sdk/resourcemanager/appservice/armappservice/CHANGELOG.md b/sdk/resourcemanager/appservice/armappservice/CHANGELOG.md index fe43821cd573..17608ab144c7 100644 --- a/sdk/resourcemanager/appservice/armappservice/CHANGELOG.md +++ b/sdk/resourcemanager/appservice/armappservice/CHANGELOG.md @@ -1,5 +1,9 @@ # Release History +## 0.4.1 (2022-05-03) +### Other Changes + + ## 0.4.0 (2022-04-15) ### Breaking Changes diff --git a/sdk/resourcemanager/appservice/armappservice/autorest.md b/sdk/resourcemanager/appservice/armappservice/autorest.md index b7328e4eb413..56f58d2891e2 100644 --- a/sdk/resourcemanager/appservice/armappservice/autorest.md +++ b/sdk/resourcemanager/appservice/armappservice/autorest.md @@ -5,9 +5,9 @@ ``` yaml azure-arm: true require: -- https://github.com/Azure/azure-rest-api-specs/blob/cc26f1d28c939bbcde00a29aa8958b3eebb10cea/specification/web/resource-manager/readme.md -- https://github.com/Azure/azure-rest-api-specs/blob/cc26f1d28c939bbcde00a29aa8958b3eebb10cea/specification/web/resource-manager/readme.go.md +- /mnt/vss/_work/1/s/azure-rest-api-specs/specification/web/resource-manager/readme.md +- /mnt/vss/_work/1/s/azure-rest-api-specs/specification/web/resource-manager/readme.go.md license-header: MICROSOFT_MIT_NO_VERSION -module-version: 0.4.0 +module-version: 0.4.1 ``` \ No newline at end of file diff --git a/sdk/resourcemanager/appservice/armappservice/go.mod b/sdk/resourcemanager/appservice/armappservice/go.mod index f2df5f337eb3..476330e175b3 100644 --- a/sdk/resourcemanager/appservice/armappservice/go.mod +++ b/sdk/resourcemanager/appservice/armappservice/go.mod @@ -2,20 +2,10 @@ module github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappse go 1.18 -require ( - github.com/Azure/azure-sdk-for-go/sdk/azcore v0.23.0 - github.com/Azure/azure-sdk-for-go/sdk/azidentity v0.14.0 -) +require github.com/Azure/azure-sdk-for-go/sdk/azcore v0.23.0 require ( github.com/Azure/azure-sdk-for-go/sdk/internal v0.9.1 // indirect - github.com/AzureAD/microsoft-authentication-library-for-go v0.4.0 // indirect - github.com/golang-jwt/jwt v3.2.1+incompatible // indirect - github.com/google/uuid v1.1.1 // indirect - github.com/kylelemons/godebug v1.1.0 // indirect - github.com/pkg/browser v0.0.0-20210115035449-ce105d075bb4 // indirect - golang.org/x/crypto v0.0.0-20201016220609-9e8e0b390897 // indirect - golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f // indirect - golang.org/x/sys v0.0.0-20211019181941-9d821ace8654 // indirect - golang.org/x/text v0.3.7 // indirect + golang.org/x/net v0.0.0-20210610132358-84b48f89b13b // indirect + golang.org/x/text v0.3.6 // indirect ) diff --git a/sdk/resourcemanager/appservice/armappservice/go.sum b/sdk/resourcemanager/appservice/armappservice/go.sum index 56d1c32628ae..a7eaa30576c1 100644 --- a/sdk/resourcemanager/appservice/armappservice/go.sum +++ b/sdk/resourcemanager/appservice/armappservice/go.sum @@ -1,26 +1,11 @@ github.com/Azure/azure-sdk-for-go/sdk/azcore v0.23.0 h1:D7l5jspkc4kwBYRWoZE4DQnu6LVpLwDsMZjBKS4wZLQ= github.com/Azure/azure-sdk-for-go/sdk/azcore v0.23.0/go.mod h1:w5pDIZuawUmY3Bj4tVx3Xb8KS96ToB0j315w9rqpAg0= -github.com/Azure/azure-sdk-for-go/sdk/azidentity v0.14.0 h1:NVS/4LOQfkBpk+B1VopIzv1ptmYeEskA8w/3K/w7vjo= -github.com/Azure/azure-sdk-for-go/sdk/azidentity v0.14.0/go.mod h1:RG0cZndeZM17StwohYclmcXSr4oOJ8b1I5hB8llIc6Y= github.com/Azure/azure-sdk-for-go/sdk/internal v0.9.1 h1:sLZ/Y+P/5RRtsXWylBjB5lkgixYfm0MQPiwrSX//JSo= github.com/Azure/azure-sdk-for-go/sdk/internal v0.9.1/go.mod h1:KLF4gFr6DcKFZwSuH8w8yEK6DpFl3LP5rhdvAb7Yz5I= -github.com/AzureAD/microsoft-authentication-library-for-go v0.4.0 h1:WVsrXCnHlDDX8ls+tootqRE87/hL9S/g4ewig9RsD/c= -github.com/AzureAD/microsoft-authentication-library-for-go v0.4.0/go.mod h1:Vt9sXTKwMyGcOxSmLDMnGPgqsUg7m8pe215qMLrDXw4= +github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= -github.com/dnaeon/go-vcr v1.1.0 h1:ReYa/UBrRyQdant9B4fNHGoCNKw6qh6P0fsdGmZpR7c= github.com/dnaeon/go-vcr v1.1.0/go.mod h1:M7tiix8f0r6mKKJ3Yq/kqU1OYf3MnfmBWVbPx/yU9ko= -github.com/golang-jwt/jwt v3.2.1+incompatible h1:73Z+4BJcrTC+KczS6WvTPvRGOp1WmfEP4Q1lOd9Z/+c= -github.com/golang-jwt/jwt v3.2.1+incompatible/go.mod h1:8pz2t5EyA70fFQQSrl6XZXzqecmYZeUEB8OUGHkxJ+I= -github.com/golang-jwt/jwt/v4 v4.2.0 h1:besgBTC8w8HjP6NzQdxwKH9Z5oQMZ24ThTrHp3cZ8eU= -github.com/google/uuid v1.1.1 h1:Gkbcsh/GbpXz7lPftLA3P6TYMwjCLYm83jiFQZF/3gY= -github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0SNc= -github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw= github.com/modocache/gover v0.0.0-20171022184752-b58185e213c5/go.mod h1:caMODM3PzxT8aQXRPkAt8xlV/e7d7w8GM5g0fa5F0D8= -github.com/montanaflynn/stats v0.6.6/go.mod h1:etXPPgVO6n31NxCd9KQUMvCM+ve0ruNzt6R8Bnaayow= -github.com/pkg/browser v0.0.0-20210115035449-ce105d075bb4 h1:Qj1ukM4GlMWXNdMBuXcXfz/Kw9s1qm0CLY32QxuSImI= -github.com/pkg/browser v0.0.0-20210115035449-ce105d075bb4/go.mod h1:N6UoU20jOqggOuDwUaBQpluzLNDqif3kq9z2wpdYEfQ= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= @@ -28,26 +13,20 @@ github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5Cc github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/crypto v0.0.0-20201016220609-9e8e0b390897 h1:pLI5jrR7OSLijeIDcmRxNmw2api+jEfxLoykJVice/E= -golang.org/x/crypto v0.0.0-20201016220609-9e8e0b390897/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20201010224723-4f7140c49acb/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= -golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f h1:OfiFi4JbukWwe3lzw+xunroH1mnC1e2Gy5cxNJApiSY= -golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= +golang.org/x/net v0.0.0-20210610132358-84b48f89b13b h1:k+E048sYJHyVnsr1GDrRZWQ32D2C7lWs9JRc0bel53A= +golang.org/x/net v0.0.0-20210610132358-84b48f89b13b/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20211019181941-9d821ace8654 h1:id054HUawV2/6IGm2IV8KZQjqtwAOo2CYlOToYqa0d0= -golang.org/x/sys v0.0.0-20211019181941-9d821ace8654/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.3.7 h1:olpwvP2KacW1ZWvsR7uQhoyTYvKAupfQrRGBFM352Gk= -golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= +golang.org/x/text v0.3.6 h1:aRYxNxv6iGQlyVaZmk6ZgYEDa+Jg18DxebPSrd6bg1M= +golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= +gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c h1:dUUwHk2QECo/6vqA44rthZ8ie2QXMNeKRTHCNY2nXvo= gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b h1:h8qDotaEPuJATrMmW04NCwg7v22aHH28wwpauUhK9Oo= diff --git a/sdk/resourcemanager/appservice/armappservice/ze_generated_example_appserviceenvironments_client_test.go b/sdk/resourcemanager/appservice/armappservice/ze_generated_example_appserviceenvironments_client_test.go deleted file mode 100644 index 225a93b7b7c0..000000000000 --- a/sdk/resourcemanager/appservice/armappservice/ze_generated_example_appserviceenvironments_client_test.go +++ /dev/null @@ -1,71 +0,0 @@ -//go:build go1.18 -// +build go1.18 - -// 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. - -package armappservice_test - -import ( - "context" - "log" - - "github.com/Azure/azure-sdk-for-go/sdk/azidentity" - "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice" -) - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetInboundNetworkDependenciesEndpoints.json -func ExampleEnvironmentsClient_NewGetInboundNetworkDependenciesEndpointsPager() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewEnvironmentsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - pager := client.NewGetInboundNetworkDependenciesEndpointsPager("", - "", - nil) - for pager.More() { - nextResult, err := pager.NextPage(ctx) - if err != nil { - log.Fatalf("failed to advance page: %v", err) - return - } - for _, v := range nextResult.Value { - // TODO: use page item - _ = v - } - } -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetOutboundNetworkDependenciesEndpoints.json -func ExampleEnvironmentsClient_NewGetOutboundNetworkDependenciesEndpointsPager() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewEnvironmentsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - pager := client.NewGetOutboundNetworkDependenciesEndpointsPager("", - "", - nil) - for pager.More() { - nextResult, err := pager.NextPage(ctx) - if err != nil { - log.Fatalf("failed to advance page: %v", err) - return - } - for _, v := range nextResult.Value { - // TODO: use page item - _ = v - } - } -} diff --git a/sdk/resourcemanager/appservice/armappservice/ze_generated_example_appserviceplans_client_test.go b/sdk/resourcemanager/appservice/armappservice/ze_generated_example_appserviceplans_client_test.go deleted file mode 100644 index 22ac32d85077..000000000000 --- a/sdk/resourcemanager/appservice/armappservice/ze_generated_example_appserviceplans_client_test.go +++ /dev/null @@ -1,177 +0,0 @@ -//go:build go1.18 -// +build go1.18 - -// 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. - -package armappservice_test - -import ( - "context" - "log" - - "time" - - "github.com/Azure/azure-sdk-for-go/sdk/azcore/to" - "github.com/Azure/azure-sdk-for-go/sdk/azidentity" - "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice" -) - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/ListAppServicePlans.json -func ExamplePlansClient_NewListPager() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewPlansClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - pager := client.NewListPager(&armappservice.PlansClientListOptions{Detailed: nil}) - for pager.More() { - nextResult, err := pager.NextPage(ctx) - if err != nil { - log.Fatalf("failed to advance page: %v", err) - return - } - for _, v := range nextResult.Value { - // TODO: use page item - _ = v - } - } -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/ListAppServicePlansByResourceGroup.json -func ExamplePlansClient_NewListByResourceGroupPager() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewPlansClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - pager := client.NewListByResourceGroupPager("", - nil) - for pager.More() { - nextResult, err := pager.NextPage(ctx) - if err != nil { - log.Fatalf("failed to advance page: %v", err) - return - } - for _, v := range nextResult.Value { - // TODO: use page item - _ = v - } - } -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetAppServicePlan.json -func ExamplePlansClient_Get() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewPlansClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - res, err := client.Get(ctx, - "", - "", - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/CreateOrUpdateAppServicePlan.json -func ExamplePlansClient_BeginCreateOrUpdate() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewPlansClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - poller, err := client.BeginCreateOrUpdate(ctx, - "", - "", - armappservice.Plan{ - Kind: to.Ptr(""), - Location: to.Ptr(""), - Properties: &armappservice.PlanProperties{}, - SKU: &armappservice.SKUDescription{ - Name: to.Ptr(""), - Capacity: to.Ptr[int32](1), - Family: to.Ptr(""), - Size: to.Ptr(""), - Tier: to.Ptr(""), - }, - }, - &armappservice.PlansClientBeginCreateOrUpdateOptions{ResumeToken: ""}) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - res, err := poller.PollUntilDone(ctx, 30*time.Second) - if err != nil { - log.Fatalf("failed to pull the result: %v", err) - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/DeleteAppServicePlan.json -func ExamplePlansClient_Delete() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewPlansClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - _, err = client.Delete(ctx, - "", - "", - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/PatchAppServicePlan.json -func ExamplePlansClient_Update() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewPlansClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - res, err := client.Update(ctx, - "", - "", - armappservice.PlanPatchResource{ - Kind: to.Ptr(""), - Properties: &armappservice.PlanPatchResourceProperties{}, - }, - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - // TODO: use response item - _ = res -} diff --git a/sdk/resourcemanager/appservice/armappservice/ze_generated_example_certificateordersdiagnostics_client_test.go b/sdk/resourcemanager/appservice/armappservice/ze_generated_example_certificateordersdiagnostics_client_test.go deleted file mode 100644 index 10f7c93d8d18..000000000000 --- a/sdk/resourcemanager/appservice/armappservice/ze_generated_example_certificateordersdiagnostics_client_test.go +++ /dev/null @@ -1,70 +0,0 @@ -//go:build go1.18 -// +build go1.18 - -// 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. - -package armappservice_test - -import ( - "context" - "log" - - "github.com/Azure/azure-sdk-for-go/sdk/azidentity" - "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice" -) - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2021-03-01/examples/Diagnostics_ListAppServiceCertificateOrderDetectorResponse.json -func ExampleCertificateOrdersDiagnosticsClient_NewListAppServiceCertificateOrderDetectorResponsePager() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewCertificateOrdersDiagnosticsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - pager := client.NewListAppServiceCertificateOrderDetectorResponsePager("", - "", - nil) - for pager.More() { - nextResult, err := pager.NextPage(ctx) - if err != nil { - log.Fatalf("failed to advance page: %v", err) - return - } - for _, v := range nextResult.Value { - // TODO: use page item - _ = v - } - } -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2021-03-01/examples/Diagnostics_GetAppServiceCertificateOrderDetectorResponse.json -func ExampleCertificateOrdersDiagnosticsClient_GetAppServiceCertificateOrderDetectorResponse() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewCertificateOrdersDiagnosticsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - res, err := client.GetAppServiceCertificateOrderDetectorResponse(ctx, - "", - "", - "", - &armappservice.CertificateOrdersDiagnosticsClientGetAppServiceCertificateOrderDetectorResponseOptions{StartTime: nil, - EndTime: nil, - TimeGrain: nil, - }) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - // TODO: use response item - _ = res -} diff --git a/sdk/resourcemanager/appservice/armappservice/ze_generated_example_certificateregistrationprovider_client_test.go b/sdk/resourcemanager/appservice/armappservice/ze_generated_example_certificateregistrationprovider_client_test.go deleted file mode 100644 index 486d5c3fa839..000000000000 --- a/sdk/resourcemanager/appservice/armappservice/ze_generated_example_certificateregistrationprovider_client_test.go +++ /dev/null @@ -1,42 +0,0 @@ -//go:build go1.18 -// +build go1.18 - -// 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. - -package armappservice_test - -import ( - "context" - "log" - - "github.com/Azure/azure-sdk-for-go/sdk/azidentity" - "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice" -) - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2021-03-01/examples/ListOperations.json -func ExampleCertificateRegistrationProviderClient_NewListOperationsPager() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewCertificateRegistrationProviderClient(cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - pager := client.NewListOperationsPager(nil) - for pager.More() { - nextResult, err := pager.NextPage(ctx) - if err != nil { - log.Fatalf("failed to advance page: %v", err) - return - } - for _, v := range nextResult.Value { - // TODO: use page item - _ = v - } - } -} diff --git a/sdk/resourcemanager/appservice/armappservice/ze_generated_example_certificates_client_test.go b/sdk/resourcemanager/appservice/armappservice/ze_generated_example_certificates_client_test.go deleted file mode 100644 index e895e19e89f3..000000000000 --- a/sdk/resourcemanager/appservice/armappservice/ze_generated_example_certificates_client_test.go +++ /dev/null @@ -1,168 +0,0 @@ -//go:build go1.18 -// +build go1.18 - -// 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. - -package armappservice_test - -import ( - "context" - "log" - - "github.com/Azure/azure-sdk-for-go/sdk/azcore/to" - "github.com/Azure/azure-sdk-for-go/sdk/azidentity" - "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice" -) - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/ListCertificates.json -func ExampleCertificatesClient_NewListPager() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewCertificatesClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - pager := client.NewListPager(&armappservice.CertificatesClientListOptions{Filter: nil}) - for pager.More() { - nextResult, err := pager.NextPage(ctx) - if err != nil { - log.Fatalf("failed to advance page: %v", err) - return - } - for _, v := range nextResult.Value { - // TODO: use page item - _ = v - } - } -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/ListCertificatesByResourceGroup.json -func ExampleCertificatesClient_NewListByResourceGroupPager() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewCertificatesClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - pager := client.NewListByResourceGroupPager("", - nil) - for pager.More() { - nextResult, err := pager.NextPage(ctx) - if err != nil { - log.Fatalf("failed to advance page: %v", err) - return - } - for _, v := range nextResult.Value { - // TODO: use page item - _ = v - } - } -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetCertificate.json -func ExampleCertificatesClient_Get() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewCertificatesClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - res, err := client.Get(ctx, - "", - "", - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/CreateOrUpdateCertificate.json -func ExampleCertificatesClient_CreateOrUpdate() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewCertificatesClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - res, err := client.CreateOrUpdate(ctx, - "", - "", - armappservice.AppCertificate{ - Location: to.Ptr(""), - Properties: &armappservice.AppCertificateProperties{ - HostNames: []*string{ - to.Ptr("ServerCert")}, - Password: to.Ptr(""), - }, - }, - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/DeleteCertificate.json -func ExampleCertificatesClient_Delete() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewCertificatesClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - _, err = client.Delete(ctx, - "", - "", - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/PatchCertificate.json -func ExampleCertificatesClient_Update() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewCertificatesClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - res, err := client.Update(ctx, - "", - "", - armappservice.AppCertificatePatchResource{ - Properties: &armappservice.AppCertificatePatchResourceProperties{ - Password: to.Ptr(""), - }, - }, - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - // TODO: use response item - _ = res -} diff --git a/sdk/resourcemanager/appservice/armappservice/ze_generated_example_containerapps_client_test.go b/sdk/resourcemanager/appservice/armappservice/ze_generated_example_containerapps_client_test.go deleted file mode 100644 index b175b8ff1053..000000000000 --- a/sdk/resourcemanager/appservice/armappservice/ze_generated_example_containerapps_client_test.go +++ /dev/null @@ -1,202 +0,0 @@ -//go:build go1.18 -// +build go1.18 - -// 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. - -package armappservice_test - -import ( - "context" - "log" - - "time" - - "github.com/Azure/azure-sdk-for-go/sdk/azcore/to" - "github.com/Azure/azure-sdk-for-go/sdk/azidentity" - "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice" -) - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/ListContainerAppsBySubscription.json -func ExampleContainerAppsClient_NewListBySubscriptionPager() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewContainerAppsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - pager := client.NewListBySubscriptionPager(nil) - for pager.More() { - nextResult, err := pager.NextPage(ctx) - if err != nil { - log.Fatalf("failed to advance page: %v", err) - return - } - for _, v := range nextResult.Value { - // TODO: use page item - _ = v - } - } -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/ListContainerAppsByResourceGroup.json -func ExampleContainerAppsClient_NewListByResourceGroupPager() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewContainerAppsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - pager := client.NewListByResourceGroupPager("", - nil) - for pager.More() { - nextResult, err := pager.NextPage(ctx) - if err != nil { - log.Fatalf("failed to advance page: %v", err) - return - } - for _, v := range nextResult.Value { - // TODO: use page item - _ = v - } - } -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetContainerApp.json -func ExampleContainerAppsClient_Get() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewContainerAppsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - res, err := client.Get(ctx, - "", - "", - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/CreateOrUpdateContainerApp.json -func ExampleContainerAppsClient_BeginCreateOrUpdate() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewContainerAppsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - poller, err := client.BeginCreateOrUpdate(ctx, - "", - "", - armappservice.ContainerApp{ - Kind: to.Ptr(""), - Location: to.Ptr(""), - Properties: &armappservice.ContainerAppProperties{ - Configuration: &armappservice.Configuration{ - Ingress: &armappservice.Ingress{ - External: to.Ptr(true), - TargetPort: to.Ptr[int32](3000), - }, - }, - KubeEnvironmentID: to.Ptr(""), - Template: &armappservice.Template{ - Containers: []*armappservice.Container{ - { - Name: to.Ptr(""), - Image: to.Ptr(""), - }}, - Dapr: &armappservice.Dapr{ - AppPort: to.Ptr[int32](3000), - Enabled: to.Ptr(true), - }, - Scale: &armappservice.Scale{ - MaxReplicas: to.Ptr[int32](5), - MinReplicas: to.Ptr[int32](1), - Rules: []*armappservice.ScaleRule{ - { - Name: to.Ptr(""), - Custom: &armappservice.CustomScaleRule{ - Type: to.Ptr(""), - Metadata: map[string]*string{ - "concurrentRequests": to.Ptr("50"), - }, - }, - }}, - }, - }, - }, - }, - &armappservice.ContainerAppsClientBeginCreateOrUpdateOptions{ResumeToken: ""}) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - res, err := poller.PollUntilDone(ctx, 30*time.Second) - if err != nil { - log.Fatalf("failed to pull the result: %v", err) - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/DeleteContainerApp.json -func ExampleContainerAppsClient_BeginDelete() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewContainerAppsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - poller, err := client.BeginDelete(ctx, - "", - "", - &armappservice.ContainerAppsClientBeginDeleteOptions{ResumeToken: ""}) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - _, err = poller.PollUntilDone(ctx, 30*time.Second) - if err != nil { - log.Fatalf("failed to pull the result: %v", err) - } -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/ListContainerAppSecrets.json -func ExampleContainerAppsClient_ListSecrets() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewContainerAppsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - res, err := client.ListSecrets(ctx, - "", - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - // TODO: use response item - _ = res -} diff --git a/sdk/resourcemanager/appservice/armappservice/ze_generated_example_containerappsrevisions_client_test.go b/sdk/resourcemanager/appservice/armappservice/ze_generated_example_containerappsrevisions_client_test.go deleted file mode 100644 index f93ceebe4a16..000000000000 --- a/sdk/resourcemanager/appservice/armappservice/ze_generated_example_containerappsrevisions_client_test.go +++ /dev/null @@ -1,130 +0,0 @@ -//go:build go1.18 -// +build go1.18 - -// 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. - -package armappservice_test - -import ( - "context" - "log" - - "github.com/Azure/azure-sdk-for-go/sdk/azidentity" - "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice" -) - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/ListRevisions.json -func ExampleContainerAppsRevisionsClient_NewListRevisionsPager() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewContainerAppsRevisionsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - pager := client.NewListRevisionsPager("", - "", - nil) - for pager.More() { - nextResult, err := pager.NextPage(ctx) - if err != nil { - log.Fatalf("failed to advance page: %v", err) - return - } - for _, v := range nextResult.Value { - // TODO: use page item - _ = v - } - } -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetRevision.json -func ExampleContainerAppsRevisionsClient_GetRevision() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewContainerAppsRevisionsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - res, err := client.GetRevision(ctx, - "", - "", - "", - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/ActivateRevision.json -func ExampleContainerAppsRevisionsClient_ActivateRevision() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewContainerAppsRevisionsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - _, err = client.ActivateRevision(ctx, - "", - "", - "", - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/DeactivateRevision.json -func ExampleContainerAppsRevisionsClient_DeactivateRevision() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewContainerAppsRevisionsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - _, err = client.DeactivateRevision(ctx, - "", - "", - "", - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/RestartRevision.json -func ExampleContainerAppsRevisionsClient_RestartRevision() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewContainerAppsRevisionsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - _, err = client.RestartRevision(ctx, - "", - "", - "", - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } -} diff --git a/sdk/resourcemanager/appservice/armappservice/ze_generated_example_deletedwebapps_client_test.go b/sdk/resourcemanager/appservice/armappservice/ze_generated_example_deletedwebapps_client_test.go deleted file mode 100644 index 7708d1e45af6..000000000000 --- a/sdk/resourcemanager/appservice/armappservice/ze_generated_example_deletedwebapps_client_test.go +++ /dev/null @@ -1,65 +0,0 @@ -//go:build go1.18 -// +build go1.18 - -// 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. - -package armappservice_test - -import ( - "context" - "log" - - "github.com/Azure/azure-sdk-for-go/sdk/azidentity" - "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice" -) - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/ListDeletedWebAppsByLocation.json -func ExampleDeletedWebAppsClient_NewListByLocationPager() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewDeletedWebAppsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - pager := client.NewListByLocationPager("", - nil) - for pager.More() { - nextResult, err := pager.NextPage(ctx) - if err != nil { - log.Fatalf("failed to advance page: %v", err) - return - } - for _, v := range nextResult.Value { - // TODO: use page item - _ = v - } - } -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetDeletedWebAppByLocation.json -func ExampleDeletedWebAppsClient_GetDeletedWebAppByLocation() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewDeletedWebAppsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - res, err := client.GetDeletedWebAppByLocation(ctx, - "", - "", - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - // TODO: use response item - _ = res -} diff --git a/sdk/resourcemanager/appservice/armappservice/ze_generated_example_diagnostics_client_test.go b/sdk/resourcemanager/appservice/armappservice/ze_generated_example_diagnostics_client_test.go deleted file mode 100644 index d6683621aa57..000000000000 --- a/sdk/resourcemanager/appservice/armappservice/ze_generated_example_diagnostics_client_test.go +++ /dev/null @@ -1,602 +0,0 @@ -//go:build go1.18 -// +build go1.18 - -// 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. - -package armappservice_test - -import ( - "context" - "log" - - "github.com/Azure/azure-sdk-for-go/sdk/azidentity" - "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice" -) - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/Diagnostics_ListHostingEnvironmentDetectorResponses.json -func ExampleDiagnosticsClient_NewListHostingEnvironmentDetectorResponsesPager() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewDiagnosticsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - pager := client.NewListHostingEnvironmentDetectorResponsesPager("", - "", - nil) - for pager.More() { - nextResult, err := pager.NextPage(ctx) - if err != nil { - log.Fatalf("failed to advance page: %v", err) - return - } - for _, v := range nextResult.Value { - // TODO: use page item - _ = v - } - } -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/Diagnostics_GetHostingEnvironmentDetectorResponse.json -func ExampleDiagnosticsClient_GetHostingEnvironmentDetectorResponse() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewDiagnosticsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - res, err := client.GetHostingEnvironmentDetectorResponse(ctx, - "", - "", - "", - &armappservice.DiagnosticsClientGetHostingEnvironmentDetectorResponseOptions{StartTime: nil, - EndTime: nil, - TimeGrain: nil, - }) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/Diagnostics_ListSiteDetectorResponses.json -func ExampleDiagnosticsClient_NewListSiteDetectorResponsesPager() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewDiagnosticsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - pager := client.NewListSiteDetectorResponsesPager("", - "", - nil) - for pager.More() { - nextResult, err := pager.NextPage(ctx) - if err != nil { - log.Fatalf("failed to advance page: %v", err) - return - } - for _, v := range nextResult.Value { - // TODO: use page item - _ = v - } - } -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/Diagnostics_GetSiteDetectorResponse.json -func ExampleDiagnosticsClient_GetSiteDetectorResponse() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewDiagnosticsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - res, err := client.GetSiteDetectorResponse(ctx, - "", - "", - "", - &armappservice.DiagnosticsClientGetSiteDetectorResponseOptions{StartTime: nil, - EndTime: nil, - TimeGrain: nil, - }) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/Diagnostics_ListSiteDiagnosticCategories.json -func ExampleDiagnosticsClient_NewListSiteDiagnosticCategoriesPager() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewDiagnosticsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - pager := client.NewListSiteDiagnosticCategoriesPager("", - "", - nil) - for pager.More() { - nextResult, err := pager.NextPage(ctx) - if err != nil { - log.Fatalf("failed to advance page: %v", err) - return - } - for _, v := range nextResult.Value { - // TODO: use page item - _ = v - } - } -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/Diagnostics_GetSiteDiagnosticCategory.json -func ExampleDiagnosticsClient_GetSiteDiagnosticCategory() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewDiagnosticsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - res, err := client.GetSiteDiagnosticCategory(ctx, - "", - "", - "", - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/Diagnostics_ListSiteAnalyses.json -func ExampleDiagnosticsClient_NewListSiteAnalysesPager() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewDiagnosticsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - pager := client.NewListSiteAnalysesPager("", - "", - "", - nil) - for pager.More() { - nextResult, err := pager.NextPage(ctx) - if err != nil { - log.Fatalf("failed to advance page: %v", err) - return - } - for _, v := range nextResult.Value { - // TODO: use page item - _ = v - } - } -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/Diagnostics_GetSiteAnalysis.json -func ExampleDiagnosticsClient_GetSiteAnalysis() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewDiagnosticsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - res, err := client.GetSiteAnalysis(ctx, - "", - "", - "", - "", - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/Diagnostics_ExecuteSiteAnalysis.json -func ExampleDiagnosticsClient_ExecuteSiteAnalysis() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewDiagnosticsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - res, err := client.ExecuteSiteAnalysis(ctx, - "", - "", - "", - "", - &armappservice.DiagnosticsClientExecuteSiteAnalysisOptions{StartTime: nil, - EndTime: nil, - TimeGrain: nil, - }) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/Diagnostics_ListSiteDetectors.json -func ExampleDiagnosticsClient_NewListSiteDetectorsPager() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewDiagnosticsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - pager := client.NewListSiteDetectorsPager("", - "", - "", - nil) - for pager.More() { - nextResult, err := pager.NextPage(ctx) - if err != nil { - log.Fatalf("failed to advance page: %v", err) - return - } - for _, v := range nextResult.Value { - // TODO: use page item - _ = v - } - } -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/Diagnostics_GetSiteDetector.json -func ExampleDiagnosticsClient_GetSiteDetector() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewDiagnosticsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - res, err := client.GetSiteDetector(ctx, - "", - "", - "", - "", - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/Diagnostics_ExecuteSiteDetector.json -func ExampleDiagnosticsClient_ExecuteSiteDetector() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewDiagnosticsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - res, err := client.ExecuteSiteDetector(ctx, - "", - "", - "", - "", - &armappservice.DiagnosticsClientExecuteSiteDetectorOptions{StartTime: nil, - EndTime: nil, - TimeGrain: nil, - }) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/Diagnostics_ListSiteDetectorResponses.json -func ExampleDiagnosticsClient_NewListSiteDetectorResponsesSlotPager() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewDiagnosticsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - pager := client.NewListSiteDetectorResponsesSlotPager("", - "", - "", - nil) - for pager.More() { - nextResult, err := pager.NextPage(ctx) - if err != nil { - log.Fatalf("failed to advance page: %v", err) - return - } - for _, v := range nextResult.Value { - // TODO: use page item - _ = v - } - } -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/Diagnostics_GetSiteDetectorResponse.json -func ExampleDiagnosticsClient_GetSiteDetectorResponseSlot() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewDiagnosticsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - res, err := client.GetSiteDetectorResponseSlot(ctx, - "", - "", - "", - "", - &armappservice.DiagnosticsClientGetSiteDetectorResponseSlotOptions{StartTime: nil, - EndTime: nil, - TimeGrain: nil, - }) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/Diagnostics_ListSiteDiagnosticCategories.json -func ExampleDiagnosticsClient_NewListSiteDiagnosticCategoriesSlotPager() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewDiagnosticsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - pager := client.NewListSiteDiagnosticCategoriesSlotPager("", - "", - "", - nil) - for pager.More() { - nextResult, err := pager.NextPage(ctx) - if err != nil { - log.Fatalf("failed to advance page: %v", err) - return - } - for _, v := range nextResult.Value { - // TODO: use page item - _ = v - } - } -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/Diagnostics_GetSiteDiagnosticCategory.json -func ExampleDiagnosticsClient_GetSiteDiagnosticCategorySlot() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewDiagnosticsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - res, err := client.GetSiteDiagnosticCategorySlot(ctx, - "", - "", - "", - "", - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/Diagnostics_ListSiteAnalyses.json -func ExampleDiagnosticsClient_NewListSiteAnalysesSlotPager() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewDiagnosticsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - pager := client.NewListSiteAnalysesSlotPager("", - "", - "", - "", - nil) - for pager.More() { - nextResult, err := pager.NextPage(ctx) - if err != nil { - log.Fatalf("failed to advance page: %v", err) - return - } - for _, v := range nextResult.Value { - // TODO: use page item - _ = v - } - } -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/Diagnostics_GetSiteAnalysis.json -func ExampleDiagnosticsClient_GetSiteAnalysisSlot() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewDiagnosticsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - res, err := client.GetSiteAnalysisSlot(ctx, - "", - "", - "", - "", - "", - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/Diagnostics_ExecuteSiteAnalysis.json -func ExampleDiagnosticsClient_ExecuteSiteAnalysisSlot() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewDiagnosticsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - res, err := client.ExecuteSiteAnalysisSlot(ctx, - "", - "", - "", - "", - "", - &armappservice.DiagnosticsClientExecuteSiteAnalysisSlotOptions{StartTime: nil, - EndTime: nil, - TimeGrain: nil, - }) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/Diagnostics_ListSiteDetectors.json -func ExampleDiagnosticsClient_NewListSiteDetectorsSlotPager() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewDiagnosticsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - pager := client.NewListSiteDetectorsSlotPager("", - "", - "", - "", - nil) - for pager.More() { - nextResult, err := pager.NextPage(ctx) - if err != nil { - log.Fatalf("failed to advance page: %v", err) - return - } - for _, v := range nextResult.Value { - // TODO: use page item - _ = v - } - } -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/Diagnostics_GetSiteDetector.json -func ExampleDiagnosticsClient_GetSiteDetectorSlot() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewDiagnosticsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - res, err := client.GetSiteDetectorSlot(ctx, - "", - "", - "", - "", - "", - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/Diagnostics_ExecuteSiteDetector.json -func ExampleDiagnosticsClient_ExecuteSiteDetectorSlot() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewDiagnosticsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - res, err := client.ExecuteSiteDetectorSlot(ctx, - "", - "", - "", - "", - "", - &armappservice.DiagnosticsClientExecuteSiteDetectorSlotOptions{StartTime: nil, - EndTime: nil, - TimeGrain: nil, - }) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - // TODO: use response item - _ = res -} diff --git a/sdk/resourcemanager/appservice/armappservice/ze_generated_example_domainregistrationprovider_client_test.go b/sdk/resourcemanager/appservice/armappservice/ze_generated_example_domainregistrationprovider_client_test.go deleted file mode 100644 index 321596d58d1f..000000000000 --- a/sdk/resourcemanager/appservice/armappservice/ze_generated_example_domainregistrationprovider_client_test.go +++ /dev/null @@ -1,42 +0,0 @@ -//go:build go1.18 -// +build go1.18 - -// 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. - -package armappservice_test - -import ( - "context" - "log" - - "github.com/Azure/azure-sdk-for-go/sdk/azidentity" - "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice" -) - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2021-03-01/examples/ListOperations.json -func ExampleDomainRegistrationProviderClient_NewListOperationsPager() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewDomainRegistrationProviderClient(cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - pager := client.NewListOperationsPager(nil) - for pager.More() { - nextResult, err := pager.NextPage(ctx) - if err != nil { - log.Fatalf("failed to advance page: %v", err) - return - } - for _, v := range nextResult.Value { - // TODO: use page item - _ = v - } - } -} diff --git a/sdk/resourcemanager/appservice/armappservice/ze_generated_example_domains_client_test.go b/sdk/resourcemanager/appservice/armappservice/ze_generated_example_domains_client_test.go deleted file mode 100644 index ca8d92ad4033..000000000000 --- a/sdk/resourcemanager/appservice/armappservice/ze_generated_example_domains_client_test.go +++ /dev/null @@ -1,59 +0,0 @@ -//go:build go1.18 -// +build go1.18 - -// 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. - -package armappservice_test - -import ( - "context" - "log" - - "github.com/Azure/azure-sdk-for-go/sdk/azidentity" - "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice" -) - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2021-03-01/examples/RenewDomain.json -func ExampleDomainsClient_Renew() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewDomainsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - _, err = client.Renew(ctx, - "", - "", - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2021-03-01/examples/TransferOutDomain.json -func ExampleDomainsClient_TransferOut() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewDomainsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - res, err := client.TransferOut(ctx, - "", - "", - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - // TODO: use response item - _ = res -} diff --git a/sdk/resourcemanager/appservice/armappservice/ze_generated_example_global_client_test.go b/sdk/resourcemanager/appservice/armappservice/ze_generated_example_global_client_test.go deleted file mode 100644 index 98ad2bfd1312..000000000000 --- a/sdk/resourcemanager/appservice/armappservice/ze_generated_example_global_client_test.go +++ /dev/null @@ -1,79 +0,0 @@ -//go:build go1.18 -// +build go1.18 - -// 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. - -package armappservice_test - -import ( - "context" - "log" - - "github.com/Azure/azure-sdk-for-go/sdk/azidentity" - "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice" -) - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetDeletedWebApp.json -func ExampleGlobalClient_GetDeletedWebApp() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewGlobalClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - res, err := client.GetDeletedWebApp(ctx, - "", - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetDeletedWebAppSnapshots.json -func ExampleGlobalClient_GetDeletedWebAppSnapshots() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewGlobalClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - res, err := client.GetDeletedWebAppSnapshots(ctx, - "", - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetSubscriptionOperationWithAsyncResponse.json -func ExampleGlobalClient_GetSubscriptionOperationWithAsyncResponse() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewGlobalClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - _, err = client.GetSubscriptionOperationWithAsyncResponse(ctx, - "", - "", - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } -} diff --git a/sdk/resourcemanager/appservice/armappservice/ze_generated_example_kubeenvironments_client_test.go b/sdk/resourcemanager/appservice/armappservice/ze_generated_example_kubeenvironments_client_test.go deleted file mode 100644 index 84ec0a50f8f5..000000000000 --- a/sdk/resourcemanager/appservice/armappservice/ze_generated_example_kubeenvironments_client_test.go +++ /dev/null @@ -1,176 +0,0 @@ -//go:build go1.18 -// +build go1.18 - -// 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. - -package armappservice_test - -import ( - "context" - "log" - - "time" - - "github.com/Azure/azure-sdk-for-go/sdk/azcore/to" - "github.com/Azure/azure-sdk-for-go/sdk/azidentity" - "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice" -) - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/KubeEnvironments_ListBySubscription.json -func ExampleKubeEnvironmentsClient_NewListBySubscriptionPager() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewKubeEnvironmentsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - pager := client.NewListBySubscriptionPager(nil) - for pager.More() { - nextResult, err := pager.NextPage(ctx) - if err != nil { - log.Fatalf("failed to advance page: %v", err) - return - } - for _, v := range nextResult.Value { - // TODO: use page item - _ = v - } - } -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/KubeEnvironments_ListByResourceGroup.json -func ExampleKubeEnvironmentsClient_NewListByResourceGroupPager() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewKubeEnvironmentsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - pager := client.NewListByResourceGroupPager("", - nil) - for pager.More() { - nextResult, err := pager.NextPage(ctx) - if err != nil { - log.Fatalf("failed to advance page: %v", err) - return - } - for _, v := range nextResult.Value { - // TODO: use page item - _ = v - } - } -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/KubeEnvironments_Get.json -func ExampleKubeEnvironmentsClient_Get() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewKubeEnvironmentsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - res, err := client.Get(ctx, - "", - "", - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/KubeEnvironments_CreateOrUpdate.json -func ExampleKubeEnvironmentsClient_BeginCreateOrUpdate() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewKubeEnvironmentsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - poller, err := client.BeginCreateOrUpdate(ctx, - "", - "", - armappservice.KubeEnvironment{ - Location: to.Ptr(""), - Properties: &armappservice.KubeEnvironmentProperties{ - StaticIP: to.Ptr(""), - }, - }, - &armappservice.KubeEnvironmentsClientBeginCreateOrUpdateOptions{ResumeToken: ""}) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - res, err := poller.PollUntilDone(ctx, 30*time.Second) - if err != nil { - log.Fatalf("failed to pull the result: %v", err) - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/KubeEnvironments_Delete.json -func ExampleKubeEnvironmentsClient_BeginDelete() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewKubeEnvironmentsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - poller, err := client.BeginDelete(ctx, - "", - "", - &armappservice.KubeEnvironmentsClientBeginDeleteOptions{ResumeToken: ""}) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - _, err = poller.PollUntilDone(ctx, 30*time.Second) - if err != nil { - log.Fatalf("failed to pull the result: %v", err) - } -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/KubeEnvironments_Update.json -func ExampleKubeEnvironmentsClient_Update() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewKubeEnvironmentsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - res, err := client.Update(ctx, - "", - "", - armappservice.KubeEnvironmentPatchResource{ - Properties: &armappservice.KubeEnvironmentPatchResourceProperties{ - StaticIP: to.Ptr(""), - }, - }, - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - // TODO: use response item - _ = res -} diff --git a/sdk/resourcemanager/appservice/armappservice/ze_generated_example_provider_client_test.go b/sdk/resourcemanager/appservice/armappservice/ze_generated_example_provider_client_test.go deleted file mode 100644 index 18555979d98e..000000000000 --- a/sdk/resourcemanager/appservice/armappservice/ze_generated_example_provider_client_test.go +++ /dev/null @@ -1,144 +0,0 @@ -//go:build go1.18 -// +build go1.18 - -// 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. - -package armappservice_test - -import ( - "context" - "log" - - "github.com/Azure/azure-sdk-for-go/sdk/azidentity" - "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice" -) - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetFunctionAppStacks.json -func ExampleProviderClient_NewGetFunctionAppStacksPager() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewProviderClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - pager := client.NewGetFunctionAppStacksPager(&armappservice.ProviderClientGetFunctionAppStacksOptions{StackOsType: nil}) - for pager.More() { - nextResult, err := pager.NextPage(ctx) - if err != nil { - log.Fatalf("failed to advance page: %v", err) - return - } - for _, v := range nextResult.Value { - // TODO: use page item - _ = v - } - } -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetFunctionAppStacksForLocation.json -func ExampleProviderClient_NewGetFunctionAppStacksForLocationPager() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewProviderClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - pager := client.NewGetFunctionAppStacksForLocationPager("", - &armappservice.ProviderClientGetFunctionAppStacksForLocationOptions{StackOsType: nil}) - for pager.More() { - nextResult, err := pager.NextPage(ctx) - if err != nil { - log.Fatalf("failed to advance page: %v", err) - return - } - for _, v := range nextResult.Value { - // TODO: use page item - _ = v - } - } -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetWebAppStacksForLocation.json -func ExampleProviderClient_NewGetWebAppStacksForLocationPager() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewProviderClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - pager := client.NewGetWebAppStacksForLocationPager("", - &armappservice.ProviderClientGetWebAppStacksForLocationOptions{StackOsType: nil}) - for pager.More() { - nextResult, err := pager.NextPage(ctx) - if err != nil { - log.Fatalf("failed to advance page: %v", err) - return - } - for _, v := range nextResult.Value { - // TODO: use page item - _ = v - } - } -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/ListOperations.json -func ExampleProviderClient_NewListOperationsPager() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewProviderClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - pager := client.NewListOperationsPager(nil) - for pager.More() { - nextResult, err := pager.NextPage(ctx) - if err != nil { - log.Fatalf("failed to advance page: %v", err) - return - } - for _, v := range nextResult.Value { - // TODO: use page item - _ = v - } - } -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetWebAppStacks.json -func ExampleProviderClient_NewGetWebAppStacksPager() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewProviderClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - pager := client.NewGetWebAppStacksPager(&armappservice.ProviderClientGetWebAppStacksOptions{StackOsType: nil}) - for pager.More() { - nextResult, err := pager.NextPage(ctx) - if err != nil { - log.Fatalf("failed to advance page: %v", err) - return - } - for _, v := range nextResult.Value { - // TODO: use page item - _ = v - } - } -} diff --git a/sdk/resourcemanager/appservice/armappservice/ze_generated_example_resourcehealthmetadata_client_test.go b/sdk/resourcemanager/appservice/armappservice/ze_generated_example_resourcehealthmetadata_client_test.go deleted file mode 100644 index d7144bedfe7b..000000000000 --- a/sdk/resourcemanager/appservice/armappservice/ze_generated_example_resourcehealthmetadata_client_test.go +++ /dev/null @@ -1,168 +0,0 @@ -//go:build go1.18 -// +build go1.18 - -// 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. - -package armappservice_test - -import ( - "context" - "log" - - "github.com/Azure/azure-sdk-for-go/sdk/azidentity" - "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice" -) - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/ListResourceHealthMetadataBySubscription.json -func ExampleResourceHealthMetadataClient_NewListPager() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewResourceHealthMetadataClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - pager := client.NewListPager(nil) - for pager.More() { - nextResult, err := pager.NextPage(ctx) - if err != nil { - log.Fatalf("failed to advance page: %v", err) - return - } - for _, v := range nextResult.Value { - // TODO: use page item - _ = v - } - } -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/ListResourceHealthMetadataByResourceGroup.json -func ExampleResourceHealthMetadataClient_NewListByResourceGroupPager() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewResourceHealthMetadataClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - pager := client.NewListByResourceGroupPager("", - nil) - for pager.More() { - nextResult, err := pager.NextPage(ctx) - if err != nil { - log.Fatalf("failed to advance page: %v", err) - return - } - for _, v := range nextResult.Value { - // TODO: use page item - _ = v - } - } -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/ListResourceHealthMetadataBySite.json -func ExampleResourceHealthMetadataClient_NewListBySitePager() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewResourceHealthMetadataClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - pager := client.NewListBySitePager("", - "", - nil) - for pager.More() { - nextResult, err := pager.NextPage(ctx) - if err != nil { - log.Fatalf("failed to advance page: %v", err) - return - } - for _, v := range nextResult.Value { - // TODO: use page item - _ = v - } - } -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetResourceHealthMetadataBySite.json -func ExampleResourceHealthMetadataClient_GetBySite() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewResourceHealthMetadataClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - res, err := client.GetBySite(ctx, - "", - "", - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/ListResourceHealthMetadataBySite.json -func ExampleResourceHealthMetadataClient_NewListBySiteSlotPager() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewResourceHealthMetadataClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - pager := client.NewListBySiteSlotPager("", - "", - "", - nil) - for pager.More() { - nextResult, err := pager.NextPage(ctx) - if err != nil { - log.Fatalf("failed to advance page: %v", err) - return - } - for _, v := range nextResult.Value { - // TODO: use page item - _ = v - } - } -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetResourceHealthMetadataBySite.json -func ExampleResourceHealthMetadataClient_GetBySiteSlot() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewResourceHealthMetadataClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - res, err := client.GetBySiteSlot(ctx, - "", - "", - "", - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - // TODO: use response item - _ = res -} diff --git a/sdk/resourcemanager/appservice/armappservice/ze_generated_example_staticsites_client_test.go b/sdk/resourcemanager/appservice/armappservice/ze_generated_example_staticsites_client_test.go deleted file mode 100644 index 57d6f59154ac..000000000000 --- a/sdk/resourcemanager/appservice/armappservice/ze_generated_example_staticsites_client_test.go +++ /dev/null @@ -1,1280 +0,0 @@ -//go:build go1.18 -// +build go1.18 - -// 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. - -package armappservice_test - -import ( - "context" - "log" - - "time" - - "github.com/Azure/azure-sdk-for-go/sdk/azcore/to" - "github.com/Azure/azure-sdk-for-go/sdk/azidentity" - "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice" -) - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GenerateStaticSiteWorkflowPreview.json -func ExampleStaticSitesClient_PreviewWorkflow() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewStaticSitesClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - res, err := client.PreviewWorkflow(ctx, - "", - armappservice.StaticSitesWorkflowPreviewRequest{ - Properties: &armappservice.StaticSitesWorkflowPreviewRequestProperties{ - Branch: to.Ptr(""), - BuildProperties: &armappservice.StaticSiteBuildProperties{ - APILocation: to.Ptr(""), - AppArtifactLocation: to.Ptr(""), - AppLocation: to.Ptr(""), - }, - RepositoryURL: to.Ptr(""), - }, - }, - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetAllStaticSites.json -func ExampleStaticSitesClient_NewListPager() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewStaticSitesClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - pager := client.NewListPager(nil) - for pager.More() { - nextResult, err := pager.NextPage(ctx) - if err != nil { - log.Fatalf("failed to advance page: %v", err) - return - } - for _, v := range nextResult.Value { - // TODO: use page item - _ = v - } - } -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetStaticSites.json -func ExampleStaticSitesClient_NewGetStaticSitesByResourceGroupPager() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewStaticSitesClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - pager := client.NewGetStaticSitesByResourceGroupPager("", - nil) - for pager.More() { - nextResult, err := pager.NextPage(ctx) - if err != nil { - log.Fatalf("failed to advance page: %v", err) - return - } - for _, v := range nextResult.Value { - // TODO: use page item - _ = v - } - } -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetStaticSite.json -func ExampleStaticSitesClient_GetStaticSite() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewStaticSitesClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - res, err := client.GetStaticSite(ctx, - "", - "", - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/CreateOrUpdateStaticSite.json -func ExampleStaticSitesClient_BeginCreateOrUpdateStaticSite() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewStaticSitesClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - poller, err := client.BeginCreateOrUpdateStaticSite(ctx, - "", - "", - armappservice.StaticSiteARMResource{ - Location: to.Ptr(""), - Properties: &armappservice.StaticSite{ - Branch: to.Ptr(""), - BuildProperties: &armappservice.StaticSiteBuildProperties{ - APILocation: to.Ptr(""), - AppArtifactLocation: to.Ptr(""), - AppLocation: to.Ptr(""), - }, - RepositoryToken: to.Ptr(""), - RepositoryURL: to.Ptr(""), - }, - SKU: &armappservice.SKUDescription{ - Name: to.Ptr(""), - Tier: to.Ptr(""), - }, - }, - &armappservice.StaticSitesClientBeginCreateOrUpdateStaticSiteOptions{ResumeToken: ""}) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - res, err := poller.PollUntilDone(ctx, 30*time.Second) - if err != nil { - log.Fatalf("failed to pull the result: %v", err) - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/DeleteStaticSite.json -func ExampleStaticSitesClient_BeginDeleteStaticSite() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewStaticSitesClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - poller, err := client.BeginDeleteStaticSite(ctx, - "", - "", - &armappservice.StaticSitesClientBeginDeleteStaticSiteOptions{ResumeToken: ""}) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - _, err = poller.PollUntilDone(ctx, 30*time.Second) - if err != nil { - log.Fatalf("failed to pull the result: %v", err) - } -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/PatchStaticSite.json -func ExampleStaticSitesClient_UpdateStaticSite() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewStaticSitesClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - res, err := client.UpdateStaticSite(ctx, - "", - "", - armappservice.StaticSitePatchResource{ - Properties: &armappservice.StaticSite{}, - }, - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/ListStaticSiteUsers.json -func ExampleStaticSitesClient_NewListStaticSiteUsersPager() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewStaticSitesClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - pager := client.NewListStaticSiteUsersPager("", - "", - "", - nil) - for pager.More() { - nextResult, err := pager.NextPage(ctx) - if err != nil { - log.Fatalf("failed to advance page: %v", err) - return - } - for _, v := range nextResult.Value { - // TODO: use page item - _ = v - } - } -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/DeleteStaticSiteUser.json -func ExampleStaticSitesClient_DeleteStaticSiteUser() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewStaticSitesClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - _, err = client.DeleteStaticSiteUser(ctx, - "", - "", - "", - "", - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/UpdateStaticSiteUser.json -func ExampleStaticSitesClient_UpdateStaticSiteUser() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewStaticSitesClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - res, err := client.UpdateStaticSiteUser(ctx, - "", - "", - "", - "", - armappservice.StaticSiteUserARMResource{ - Properties: &armappservice.StaticSiteUserARMResourceProperties{ - Roles: to.Ptr(""), - }, - }, - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetStaticSiteBuilds.json -func ExampleStaticSitesClient_NewGetStaticSiteBuildsPager() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewStaticSitesClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - pager := client.NewGetStaticSiteBuildsPager("", - "", - nil) - for pager.More() { - nextResult, err := pager.NextPage(ctx) - if err != nil { - log.Fatalf("failed to advance page: %v", err) - return - } - for _, v := range nextResult.Value { - // TODO: use page item - _ = v - } - } -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetStaticSiteBuild.json -func ExampleStaticSitesClient_GetStaticSiteBuild() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewStaticSitesClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - res, err := client.GetStaticSiteBuild(ctx, - "", - "", - "", - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/DeleteStaticSiteBuild.json -func ExampleStaticSitesClient_BeginDeleteStaticSiteBuild() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewStaticSitesClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - poller, err := client.BeginDeleteStaticSiteBuild(ctx, - "", - "", - "", - &armappservice.StaticSitesClientBeginDeleteStaticSiteBuildOptions{ResumeToken: ""}) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - _, err = poller.PollUntilDone(ctx, 30*time.Second) - if err != nil { - log.Fatalf("failed to pull the result: %v", err) - } -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/CreateOrUpdateStaticSiteBuildAppSettings.json -func ExampleStaticSitesClient_CreateOrUpdateStaticSiteBuildAppSettings() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewStaticSitesClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - res, err := client.CreateOrUpdateStaticSiteBuildAppSettings(ctx, - "", - "", - "", - armappservice.StringDictionary{ - Properties: map[string]*string{ - "setting1": to.Ptr("someval"), - "setting2": to.Ptr("someval2"), - }, - }, - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/CreateOrUpdateStaticSiteBuildFunctionAppSettings.json -func ExampleStaticSitesClient_CreateOrUpdateStaticSiteBuildFunctionAppSettings() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewStaticSitesClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - res, err := client.CreateOrUpdateStaticSiteBuildFunctionAppSettings(ctx, - "", - "", - "", - armappservice.StringDictionary{ - Properties: map[string]*string{ - "setting1": to.Ptr("someval"), - "setting2": to.Ptr("someval2"), - }, - }, - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/ListStaticSiteBuildFunctions.json -func ExampleStaticSitesClient_NewListStaticSiteBuildFunctionsPager() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewStaticSitesClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - pager := client.NewListStaticSiteBuildFunctionsPager("", - "", - "", - nil) - for pager.More() { - nextResult, err := pager.NextPage(ctx) - if err != nil { - log.Fatalf("failed to advance page: %v", err) - return - } - for _, v := range nextResult.Value { - // TODO: use page item - _ = v - } - } -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/ListStaticSiteBuildAppSettings.json -func ExampleStaticSitesClient_ListStaticSiteBuildAppSettings() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewStaticSitesClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - res, err := client.ListStaticSiteBuildAppSettings(ctx, - "", - "", - "", - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/ListStaticSiteBuildFunctionAppSettings.json -func ExampleStaticSitesClient_ListStaticSiteBuildFunctionAppSettings() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewStaticSitesClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - res, err := client.ListStaticSiteBuildFunctionAppSettings(ctx, - "", - "", - "", - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetUserProvidedFunctionAppsForStaticSiteBuild.json -func ExampleStaticSitesClient_NewGetUserProvidedFunctionAppsForStaticSiteBuildPager() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewStaticSitesClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - pager := client.NewGetUserProvidedFunctionAppsForStaticSiteBuildPager("", - "", - "", - nil) - for pager.More() { - nextResult, err := pager.NextPage(ctx) - if err != nil { - log.Fatalf("failed to advance page: %v", err) - return - } - for _, v := range nextResult.Value { - // TODO: use page item - _ = v - } - } -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetUserProvidedFunctionAppForStaticSiteBuild.json -func ExampleStaticSitesClient_GetUserProvidedFunctionAppForStaticSiteBuild() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewStaticSitesClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - res, err := client.GetUserProvidedFunctionAppForStaticSiteBuild(ctx, - "", - "", - "", - "", - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/RegisterUserProvidedFunctionAppWithStaticSiteBuild.json -func ExampleStaticSitesClient_BeginRegisterUserProvidedFunctionAppWithStaticSiteBuild() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewStaticSitesClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - poller, err := client.BeginRegisterUserProvidedFunctionAppWithStaticSiteBuild(ctx, - "", - "", - "", - "", - armappservice.StaticSiteUserProvidedFunctionAppARMResource{ - Properties: &armappservice.StaticSiteUserProvidedFunctionAppARMResourceProperties{ - FunctionAppRegion: to.Ptr(""), - FunctionAppResourceID: to.Ptr(""), - }, - }, - &armappservice.StaticSitesClientBeginRegisterUserProvidedFunctionAppWithStaticSiteBuildOptions{IsForced: to.Ptr(true), - ResumeToken: "", - }) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - res, err := poller.PollUntilDone(ctx, 30*time.Second) - if err != nil { - log.Fatalf("failed to pull the result: %v", err) - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/DetachUserProvidedFunctionAppFromStaticSiteBuild.json -func ExampleStaticSitesClient_DetachUserProvidedFunctionAppFromStaticSiteBuild() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewStaticSitesClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - _, err = client.DetachUserProvidedFunctionAppFromStaticSiteBuild(ctx, - "", - "", - "", - "", - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/StaticSiteBuildZipDeploy.json -func ExampleStaticSitesClient_BeginCreateZipDeploymentForStaticSiteBuild() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewStaticSitesClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - poller, err := client.BeginCreateZipDeploymentForStaticSiteBuild(ctx, - "", - "", - "", - armappservice.StaticSiteZipDeploymentARMResource{ - Properties: &armappservice.StaticSiteZipDeployment{ - APIZipURL: to.Ptr(""), - AppZipURL: to.Ptr(""), - DeploymentTitle: to.Ptr(""), - FunctionLanguage: to.Ptr(""), - Provider: to.Ptr(""), - }, - }, - &armappservice.StaticSitesClientBeginCreateZipDeploymentForStaticSiteBuildOptions{ResumeToken: ""}) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - _, err = poller.PollUntilDone(ctx, 30*time.Second) - if err != nil { - log.Fatalf("failed to pull the result: %v", err) - } -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/CreateOrUpdateStaticSiteAppSettings.json -func ExampleStaticSitesClient_CreateOrUpdateStaticSiteAppSettings() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewStaticSitesClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - res, err := client.CreateOrUpdateStaticSiteAppSettings(ctx, - "", - "", - armappservice.StringDictionary{ - Properties: map[string]*string{ - "setting1": to.Ptr("someval"), - "setting2": to.Ptr("someval2"), - }, - }, - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/CreateOrUpdateStaticSiteFunctionAppSettings.json -func ExampleStaticSitesClient_CreateOrUpdateStaticSiteFunctionAppSettings() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewStaticSitesClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - res, err := client.CreateOrUpdateStaticSiteFunctionAppSettings(ctx, - "", - "", - armappservice.StringDictionary{ - Properties: map[string]*string{ - "setting1": to.Ptr("someval"), - "setting2": to.Ptr("someval2"), - }, - }, - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/CreateUserRolesInvitationLink.json -func ExampleStaticSitesClient_CreateUserRolesInvitationLink() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewStaticSitesClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - res, err := client.CreateUserRolesInvitationLink(ctx, - "", - "", - armappservice.StaticSiteUserInvitationRequestResource{ - Properties: &armappservice.StaticSiteUserInvitationRequestResourceProperties{ - Domain: to.Ptr(""), - NumHoursToExpiration: to.Ptr[int32](1), - Provider: to.Ptr(""), - Roles: to.Ptr(""), - UserDetails: to.Ptr(""), - }, - }, - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetStaticSiteCustomDomains.json -func ExampleStaticSitesClient_NewListStaticSiteCustomDomainsPager() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewStaticSitesClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - pager := client.NewListStaticSiteCustomDomainsPager("", - "", - nil) - for pager.More() { - nextResult, err := pager.NextPage(ctx) - if err != nil { - log.Fatalf("failed to advance page: %v", err) - return - } - for _, v := range nextResult.Value { - // TODO: use page item - _ = v - } - } -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetStaticSiteCustomDomain.json -func ExampleStaticSitesClient_GetStaticSiteCustomDomain() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewStaticSitesClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - res, err := client.GetStaticSiteCustomDomain(ctx, - "", - "", - "", - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/CreateOrUpdateStaticSiteCustomDomain.json -func ExampleStaticSitesClient_BeginCreateOrUpdateStaticSiteCustomDomain() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewStaticSitesClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - poller, err := client.BeginCreateOrUpdateStaticSiteCustomDomain(ctx, - "", - "", - "", - armappservice.StaticSiteCustomDomainRequestPropertiesARMResource{ - Properties: &armappservice.StaticSiteCustomDomainRequestPropertiesARMResourceProperties{}, - }, - &armappservice.StaticSitesClientBeginCreateOrUpdateStaticSiteCustomDomainOptions{ResumeToken: ""}) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - res, err := poller.PollUntilDone(ctx, 30*time.Second) - if err != nil { - log.Fatalf("failed to pull the result: %v", err) - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/DeleteStaticSiteCustomDomain.json -func ExampleStaticSitesClient_BeginDeleteStaticSiteCustomDomain() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewStaticSitesClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - poller, err := client.BeginDeleteStaticSiteCustomDomain(ctx, - "", - "", - "", - &armappservice.StaticSitesClientBeginDeleteStaticSiteCustomDomainOptions{ResumeToken: ""}) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - _, err = poller.PollUntilDone(ctx, 30*time.Second) - if err != nil { - log.Fatalf("failed to pull the result: %v", err) - } -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/ValidateStaticSiteCustomDomain.json -func ExampleStaticSitesClient_BeginValidateCustomDomainCanBeAddedToStaticSite() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewStaticSitesClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - poller, err := client.BeginValidateCustomDomainCanBeAddedToStaticSite(ctx, - "", - "", - "", - armappservice.StaticSiteCustomDomainRequestPropertiesARMResource{ - Properties: &armappservice.StaticSiteCustomDomainRequestPropertiesARMResourceProperties{}, - }, - &armappservice.StaticSitesClientBeginValidateCustomDomainCanBeAddedToStaticSiteOptions{ResumeToken: ""}) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - _, err = poller.PollUntilDone(ctx, 30*time.Second) - if err != nil { - log.Fatalf("failed to pull the result: %v", err) - } -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/DetachStaticSite.json -func ExampleStaticSitesClient_BeginDetachStaticSite() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewStaticSitesClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - poller, err := client.BeginDetachStaticSite(ctx, - "", - "", - &armappservice.StaticSitesClientBeginDetachStaticSiteOptions{ResumeToken: ""}) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - _, err = poller.PollUntilDone(ctx, 30*time.Second) - if err != nil { - log.Fatalf("failed to pull the result: %v", err) - } -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/ListStaticSiteFunctions.json -func ExampleStaticSitesClient_NewListStaticSiteFunctionsPager() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewStaticSitesClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - pager := client.NewListStaticSiteFunctionsPager("", - "", - nil) - for pager.More() { - nextResult, err := pager.NextPage(ctx) - if err != nil { - log.Fatalf("failed to advance page: %v", err) - return - } - for _, v := range nextResult.Value { - // TODO: use page item - _ = v - } - } -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/ListStaticSiteAppSettings.json -func ExampleStaticSitesClient_ListStaticSiteAppSettings() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewStaticSitesClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - res, err := client.ListStaticSiteAppSettings(ctx, - "", - "", - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/ListStaticSiteConfiguredRoles.json -func ExampleStaticSitesClient_ListStaticSiteConfiguredRoles() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewStaticSitesClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - res, err := client.ListStaticSiteConfiguredRoles(ctx, - "", - "", - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/ListStaticSiteFunctionAppSettings.json -func ExampleStaticSitesClient_ListStaticSiteFunctionAppSettings() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewStaticSitesClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - res, err := client.ListStaticSiteFunctionAppSettings(ctx, - "", - "", - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/ListStaticSiteSecrets.json -func ExampleStaticSitesClient_ListStaticSiteSecrets() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewStaticSitesClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - res, err := client.ListStaticSiteSecrets(ctx, - "", - "", - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetSitePrivateEndpointConnectionList.json -func ExampleStaticSitesClient_NewGetPrivateEndpointConnectionListPager() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewStaticSitesClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - pager := client.NewGetPrivateEndpointConnectionListPager("", - "", - nil) - for pager.More() { - nextResult, err := pager.NextPage(ctx) - if err != nil { - log.Fatalf("failed to advance page: %v", err) - return - } - for _, v := range nextResult.Value { - // TODO: use page item - _ = v - } - } -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetSitePrivateEndpointConnection.json -func ExampleStaticSitesClient_GetPrivateEndpointConnection() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewStaticSitesClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - res, err := client.GetPrivateEndpointConnection(ctx, - "", - "", - "", - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/ApproveRejectSitePrivateEndpointConnection.json -func ExampleStaticSitesClient_BeginApproveOrRejectPrivateEndpointConnection() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewStaticSitesClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - poller, err := client.BeginApproveOrRejectPrivateEndpointConnection(ctx, - "", - "", - "", - armappservice.PrivateLinkConnectionApprovalRequestResource{ - Properties: &armappservice.PrivateLinkConnectionApprovalRequest{ - PrivateLinkServiceConnectionState: &armappservice.PrivateLinkConnectionState{ - Description: to.Ptr(""), - ActionsRequired: to.Ptr(""), - Status: to.Ptr(""), - }, - }, - }, - &armappservice.StaticSitesClientBeginApproveOrRejectPrivateEndpointConnectionOptions{ResumeToken: ""}) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - res, err := poller.PollUntilDone(ctx, 30*time.Second) - if err != nil { - log.Fatalf("failed to pull the result: %v", err) - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/DeleteSitePrivateEndpointConnection.json -func ExampleStaticSitesClient_BeginDeletePrivateEndpointConnection() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewStaticSitesClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - poller, err := client.BeginDeletePrivateEndpointConnection(ctx, - "", - "", - "", - &armappservice.StaticSitesClientBeginDeletePrivateEndpointConnectionOptions{ResumeToken: ""}) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - res, err := poller.PollUntilDone(ctx, 30*time.Second) - if err != nil { - log.Fatalf("failed to pull the result: %v", err) - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetSitePrivateLinkResources.json -func ExampleStaticSitesClient_GetPrivateLinkResources() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewStaticSitesClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - res, err := client.GetPrivateLinkResources(ctx, - "", - "", - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetUserProvidedFunctionAppsForStaticSite.json -func ExampleStaticSitesClient_NewGetUserProvidedFunctionAppsForStaticSitePager() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewStaticSitesClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - pager := client.NewGetUserProvidedFunctionAppsForStaticSitePager("", - "", - nil) - for pager.More() { - nextResult, err := pager.NextPage(ctx) - if err != nil { - log.Fatalf("failed to advance page: %v", err) - return - } - for _, v := range nextResult.Value { - // TODO: use page item - _ = v - } - } -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetUserProvidedFunctionAppForStaticSite.json -func ExampleStaticSitesClient_GetUserProvidedFunctionAppForStaticSite() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewStaticSitesClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - res, err := client.GetUserProvidedFunctionAppForStaticSite(ctx, - "", - "", - "", - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/RegisterUserProvidedFunctionAppWithStaticSite.json -func ExampleStaticSitesClient_BeginRegisterUserProvidedFunctionAppWithStaticSite() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewStaticSitesClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - poller, err := client.BeginRegisterUserProvidedFunctionAppWithStaticSite(ctx, - "", - "", - "", - armappservice.StaticSiteUserProvidedFunctionAppARMResource{ - Properties: &armappservice.StaticSiteUserProvidedFunctionAppARMResourceProperties{ - FunctionAppRegion: to.Ptr(""), - FunctionAppResourceID: to.Ptr(""), - }, - }, - &armappservice.StaticSitesClientBeginRegisterUserProvidedFunctionAppWithStaticSiteOptions{IsForced: to.Ptr(true), - ResumeToken: "", - }) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - res, err := poller.PollUntilDone(ctx, 30*time.Second) - if err != nil { - log.Fatalf("failed to pull the result: %v", err) - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/DetachUserProvidedFunctionAppFromStaticSite.json -func ExampleStaticSitesClient_DetachUserProvidedFunctionAppFromStaticSite() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewStaticSitesClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - _, err = client.DetachUserProvidedFunctionAppFromStaticSite(ctx, - "", - "", - "", - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/StaticSiteZipDeploy.json -func ExampleStaticSitesClient_BeginCreateZipDeploymentForStaticSite() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewStaticSitesClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - poller, err := client.BeginCreateZipDeploymentForStaticSite(ctx, - "", - "", - armappservice.StaticSiteZipDeploymentARMResource{ - Properties: &armappservice.StaticSiteZipDeployment{ - APIZipURL: to.Ptr(""), - AppZipURL: to.Ptr(""), - DeploymentTitle: to.Ptr(""), - FunctionLanguage: to.Ptr(""), - Provider: to.Ptr(""), - }, - }, - &armappservice.StaticSitesClientBeginCreateZipDeploymentForStaticSiteOptions{ResumeToken: ""}) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - _, err = poller.PollUntilDone(ctx, 30*time.Second) - if err != nil { - log.Fatalf("failed to pull the result: %v", err) - } -} diff --git a/sdk/resourcemanager/appservice/armappservice/ze_generated_example_topleveldomains_client_test.go b/sdk/resourcemanager/appservice/armappservice/ze_generated_example_topleveldomains_client_test.go deleted file mode 100644 index 16f4e598bccd..000000000000 --- a/sdk/resourcemanager/appservice/armappservice/ze_generated_example_topleveldomains_client_test.go +++ /dev/null @@ -1,94 +0,0 @@ -//go:build go1.18 -// +build go1.18 - -// 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. - -package armappservice_test - -import ( - "context" - "log" - - "github.com/Azure/azure-sdk-for-go/sdk/azcore/to" - "github.com/Azure/azure-sdk-for-go/sdk/azidentity" - "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice" -) - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2021-03-01/examples/ListTopLevelDomains.json -func ExampleTopLevelDomainsClient_NewListPager() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewTopLevelDomainsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - pager := client.NewListPager(nil) - for pager.More() { - nextResult, err := pager.NextPage(ctx) - if err != nil { - log.Fatalf("failed to advance page: %v", err) - return - } - for _, v := range nextResult.Value { - // TODO: use page item - _ = v - } - } -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2021-03-01/examples/GetTopLevelDomain.json -func ExampleTopLevelDomainsClient_Get() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewTopLevelDomainsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - res, err := client.Get(ctx, - "", - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2021-03-01/examples/ListTopLevelDomainAgreements.json -func ExampleTopLevelDomainsClient_NewListAgreementsPager() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewTopLevelDomainsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - pager := client.NewListAgreementsPager("", - armappservice.TopLevelDomainAgreementOption{ - ForTransfer: to.Ptr(false), - IncludePrivacy: to.Ptr(true), - }, - nil) - for pager.More() { - nextResult, err := pager.NextPage(ctx) - if err != nil { - log.Fatalf("failed to advance page: %v", err) - return - } - for _, v := range nextResult.Value { - // TODO: use page item - _ = v - } - } -} diff --git a/sdk/resourcemanager/appservice/armappservice/ze_generated_example_webapps_client_test.go b/sdk/resourcemanager/appservice/armappservice/ze_generated_example_webapps_client_test.go deleted file mode 100644 index 1f8e300ace19..000000000000 --- a/sdk/resourcemanager/appservice/armappservice/ze_generated_example_webapps_client_test.go +++ /dev/null @@ -1,1091 +0,0 @@ -//go:build go1.18 -// +build go1.18 - -// 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. - -package armappservice_test - -import ( - "context" - "log" - - "time" - - "github.com/Azure/azure-sdk-for-go/sdk/azcore/to" - "github.com/Azure/azure-sdk-for-go/sdk/azidentity" - "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice" -) - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/ListPublishingCredentialsPolicies.json -func ExampleWebAppsClient_NewListBasicPublishingCredentialsPoliciesPager() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewWebAppsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - pager := client.NewListBasicPublishingCredentialsPoliciesPager("", - "", - nil) - for pager.More() { - nextResult, err := pager.NextPage(ctx) - if err != nil { - log.Fatalf("failed to advance page: %v", err) - return - } - for _, v := range nextResult.Value { - // TODO: use page item - _ = v - } - } -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetPublishingCredentialsPolicy.json -func ExampleWebAppsClient_GetFtpAllowed() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewWebAppsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - res, err := client.GetFtpAllowed(ctx, - "", - "", - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/UpdatePublishingCredentialsPolicy.json -func ExampleWebAppsClient_UpdateFtpAllowed() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewWebAppsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - res, err := client.UpdateFtpAllowed(ctx, - "", - "", - armappservice.CsmPublishingCredentialsPoliciesEntity{ - Properties: &armappservice.CsmPublishingCredentialsPoliciesEntityProperties{ - Allow: to.Ptr(true), - }, - }, - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetPublishingCredentialsPolicy.json -func ExampleWebAppsClient_GetScmAllowed() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewWebAppsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - res, err := client.GetScmAllowed(ctx, - "", - "", - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/UpdatePublishingCredentialsPolicy.json -func ExampleWebAppsClient_UpdateScmAllowed() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewWebAppsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - res, err := client.UpdateScmAllowed(ctx, - "", - "", - armappservice.CsmPublishingCredentialsPoliciesEntity{ - Properties: &armappservice.CsmPublishingCredentialsPoliciesEntityProperties{ - Allow: to.Ptr(true), - }, - }, - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetKeyVaultReferencesForAppSettings.json -func ExampleWebAppsClient_NewGetAppSettingsKeyVaultReferencesPager() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewWebAppsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - pager := client.NewGetAppSettingsKeyVaultReferencesPager("", - "", - nil) - for pager.More() { - nextResult, err := pager.NextPage(ctx) - if err != nil { - log.Fatalf("failed to advance page: %v", err) - return - } - for _, v := range nextResult.Value { - // TODO: use page item - _ = v - } - } -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetKeyVaultReferencesForAppSetting.json -func ExampleWebAppsClient_GetAppSettingKeyVaultReference() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewWebAppsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - res, err := client.GetAppSettingKeyVaultReference(ctx, - "", - "", - "", - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetSiteInstanceInfo.json -func ExampleWebAppsClient_GetInstanceInfo() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewWebAppsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - res, err := client.GetInstanceInfo(ctx, - "", - "", - "", - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/ListSlotBackups.json -func ExampleWebAppsClient_NewListSiteBackupsPager() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewWebAppsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - pager := client.NewListSiteBackupsPager("", - "", - nil) - for pager.More() { - nextResult, err := pager.NextPage(ctx) - if err != nil { - log.Fatalf("failed to advance page: %v", err) - return - } - for _, v := range nextResult.Value { - // TODO: use page item - _ = v - } - } -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetWebSiteNetworkTraceOperation.json -func ExampleWebAppsClient_GetNetworkTraceOperation() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewWebAppsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - res, err := client.GetNetworkTraceOperation(ctx, - "", - "", - "", - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/StartWebSiteNetworkTraceOperation.json -func ExampleWebAppsClient_BeginStartWebSiteNetworkTraceOperation() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewWebAppsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - poller, err := client.BeginStartWebSiteNetworkTraceOperation(ctx, - "", - "", - &armappservice.WebAppsClientBeginStartWebSiteNetworkTraceOperationOptions{DurationInSeconds: to.Ptr[int32](60), - MaxFrameLength: nil, - SasURL: nil, - ResumeToken: "", - }) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - res, err := poller.PollUntilDone(ctx, 30*time.Second) - if err != nil { - log.Fatalf("failed to pull the result: %v", err) - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/StopWebSiteNetworkTrace.json -func ExampleWebAppsClient_StopWebSiteNetworkTrace() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewWebAppsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - _, err = client.StopWebSiteNetworkTrace(ctx, - "", - "", - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetWebSiteNetworkTraces.json -func ExampleWebAppsClient_GetNetworkTraces() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewWebAppsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - res, err := client.GetNetworkTraces(ctx, - "", - "", - "", - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetWebSiteNetworkTraceOperation.json -func ExampleWebAppsClient_GetNetworkTraceOperationV2() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewWebAppsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - res, err := client.GetNetworkTraceOperationV2(ctx, - "", - "", - "", - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetWebSiteNetworkTraces.json -func ExampleWebAppsClient_GetNetworkTracesV2() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewWebAppsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - res, err := client.GetNetworkTracesV2(ctx, - "", - "", - "", - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetSitePrivateEndpointConnection.json -func ExampleWebAppsClient_GetPrivateEndpointConnection() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewWebAppsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - res, err := client.GetPrivateEndpointConnection(ctx, - "", - "", - "", - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/ApproveRejectSitePrivateEndpointConnection.json -func ExampleWebAppsClient_BeginApproveOrRejectPrivateEndpointConnection() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewWebAppsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - poller, err := client.BeginApproveOrRejectPrivateEndpointConnection(ctx, - "", - "", - "", - armappservice.PrivateLinkConnectionApprovalRequestResource{ - Properties: &armappservice.PrivateLinkConnectionApprovalRequest{ - PrivateLinkServiceConnectionState: &armappservice.PrivateLinkConnectionState{ - Description: to.Ptr(""), - ActionsRequired: to.Ptr(""), - Status: to.Ptr(""), - }, - }, - }, - &armappservice.WebAppsClientBeginApproveOrRejectPrivateEndpointConnectionOptions{ResumeToken: ""}) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - res, err := poller.PollUntilDone(ctx, 30*time.Second) - if err != nil { - log.Fatalf("failed to pull the result: %v", err) - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/DeleteSitePrivateEndpointConnection.json -func ExampleWebAppsClient_BeginDeletePrivateEndpointConnection() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewWebAppsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - poller, err := client.BeginDeletePrivateEndpointConnection(ctx, - "", - "", - "", - &armappservice.WebAppsClientBeginDeletePrivateEndpointConnectionOptions{ResumeToken: ""}) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - res, err := poller.PollUntilDone(ctx, 30*time.Second) - if err != nil { - log.Fatalf("failed to pull the result: %v", err) - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetSitePrivateLinkResources.json -func ExampleWebAppsClient_GetPrivateLinkResources() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewWebAppsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - res, err := client.GetPrivateLinkResources(ctx, - "", - "", - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/ListPublishingCredentialsPoliciesSlot.json -func ExampleWebAppsClient_NewListBasicPublishingCredentialsPoliciesSlotPager() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewWebAppsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - pager := client.NewListBasicPublishingCredentialsPoliciesSlotPager("", - "", - "", - nil) - for pager.More() { - nextResult, err := pager.NextPage(ctx) - if err != nil { - log.Fatalf("failed to advance page: %v", err) - return - } - for _, v := range nextResult.Value { - // TODO: use page item - _ = v - } - } -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetPublishingCredentialsPolicySlot.json -func ExampleWebAppsClient_GetFtpAllowedSlot() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewWebAppsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - res, err := client.GetFtpAllowedSlot(ctx, - "", - "", - "", - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/UpdatePublishingCredentialsPolicySlot.json -func ExampleWebAppsClient_UpdateFtpAllowedSlot() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewWebAppsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - res, err := client.UpdateFtpAllowedSlot(ctx, - "", - "", - "", - armappservice.CsmPublishingCredentialsPoliciesEntity{ - Properties: &armappservice.CsmPublishingCredentialsPoliciesEntityProperties{ - Allow: to.Ptr(true), - }, - }, - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetPublishingCredentialsPolicySlot.json -func ExampleWebAppsClient_GetScmAllowedSlot() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewWebAppsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - res, err := client.GetScmAllowedSlot(ctx, - "", - "", - "", - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/UpdatePublishingCredentialsPolicySlot.json -func ExampleWebAppsClient_UpdateScmAllowedSlot() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewWebAppsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - res, err := client.UpdateScmAllowedSlot(ctx, - "", - "", - "", - armappservice.CsmPublishingCredentialsPoliciesEntity{ - Properties: &armappservice.CsmPublishingCredentialsPoliciesEntityProperties{ - Allow: to.Ptr(true), - }, - }, - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetKeyVaultReferencesForAppSettingsSlot.json -func ExampleWebAppsClient_NewGetAppSettingsKeyVaultReferencesSlotPager() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewWebAppsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - pager := client.NewGetAppSettingsKeyVaultReferencesSlotPager("", - "", - "", - nil) - for pager.More() { - nextResult, err := pager.NextPage(ctx) - if err != nil { - log.Fatalf("failed to advance page: %v", err) - return - } - for _, v := range nextResult.Value { - // TODO: use page item - _ = v - } - } -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetKeyVaultReferencesForAppSettingSlot.json -func ExampleWebAppsClient_GetAppSettingKeyVaultReferenceSlot() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewWebAppsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - res, err := client.GetAppSettingKeyVaultReferenceSlot(ctx, - "", - "", - "", - "", - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetSiteInstanceInfo.json -func ExampleWebAppsClient_GetInstanceInfoSlot() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewWebAppsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - res, err := client.GetInstanceInfoSlot(ctx, - "", - "", - "", - "", - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/ListSlotBackups.json -func ExampleWebAppsClient_NewListSiteBackupsSlotPager() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewWebAppsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - pager := client.NewListSiteBackupsSlotPager("", - "", - "", - nil) - for pager.More() { - nextResult, err := pager.NextPage(ctx) - if err != nil { - log.Fatalf("failed to advance page: %v", err) - return - } - for _, v := range nextResult.Value { - // TODO: use page item - _ = v - } - } -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetWebSiteNetworkTraceOperation.json -func ExampleWebAppsClient_GetNetworkTraceOperationSlot() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewWebAppsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - res, err := client.GetNetworkTraceOperationSlot(ctx, - "", - "", - "", - "", - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/StartWebSiteNetworkTraceOperation.json -func ExampleWebAppsClient_BeginStartWebSiteNetworkTraceOperationSlot() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewWebAppsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - poller, err := client.BeginStartWebSiteNetworkTraceOperationSlot(ctx, - "", - "", - "", - &armappservice.WebAppsClientBeginStartWebSiteNetworkTraceOperationSlotOptions{DurationInSeconds: to.Ptr[int32](60), - MaxFrameLength: nil, - SasURL: nil, - ResumeToken: "", - }) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - res, err := poller.PollUntilDone(ctx, 30*time.Second) - if err != nil { - log.Fatalf("failed to pull the result: %v", err) - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/StopWebSiteNetworkTrace.json -func ExampleWebAppsClient_StopWebSiteNetworkTraceSlot() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewWebAppsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - _, err = client.StopWebSiteNetworkTraceSlot(ctx, - "", - "", - "", - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetWebSiteNetworkTraces.json -func ExampleWebAppsClient_GetNetworkTracesSlot() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewWebAppsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - res, err := client.GetNetworkTracesSlot(ctx, - "", - "", - "", - "", - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetWebSiteNetworkTraceOperation.json -func ExampleWebAppsClient_GetNetworkTraceOperationSlotV2() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewWebAppsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - res, err := client.GetNetworkTraceOperationSlotV2(ctx, - "", - "", - "", - "", - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetWebSiteNetworkTraces.json -func ExampleWebAppsClient_GetNetworkTracesSlotV2() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewWebAppsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - res, err := client.GetNetworkTracesSlotV2(ctx, - "", - "", - "", - "", - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetSitePrivateEndpointConnectionSlot.json -func ExampleWebAppsClient_GetPrivateEndpointConnectionSlot() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewWebAppsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - res, err := client.GetPrivateEndpointConnectionSlot(ctx, - "", - "", - "", - "", - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/ApproveRejectSitePrivateEndpointConnectionSlot.json -func ExampleWebAppsClient_BeginApproveOrRejectPrivateEndpointConnectionSlot() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewWebAppsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - poller, err := client.BeginApproveOrRejectPrivateEndpointConnectionSlot(ctx, - "", - "", - "", - "", - armappservice.PrivateLinkConnectionApprovalRequestResource{ - Properties: &armappservice.PrivateLinkConnectionApprovalRequest{ - PrivateLinkServiceConnectionState: &armappservice.PrivateLinkConnectionState{ - Description: to.Ptr(""), - ActionsRequired: to.Ptr(""), - Status: to.Ptr(""), - }, - }, - }, - &armappservice.WebAppsClientBeginApproveOrRejectPrivateEndpointConnectionSlotOptions{ResumeToken: ""}) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - res, err := poller.PollUntilDone(ctx, 30*time.Second) - if err != nil { - log.Fatalf("failed to pull the result: %v", err) - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/DeleteSitePrivateEndpointConnectionSlot.json -func ExampleWebAppsClient_BeginDeletePrivateEndpointConnectionSlot() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewWebAppsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - poller, err := client.BeginDeletePrivateEndpointConnectionSlot(ctx, - "", - "", - "", - "", - &armappservice.WebAppsClientBeginDeletePrivateEndpointConnectionSlotOptions{ResumeToken: ""}) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - res, err := poller.PollUntilDone(ctx, 30*time.Second) - if err != nil { - log.Fatalf("failed to pull the result: %v", err) - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetSitePrivateLinkResourcesSlot.json -func ExampleWebAppsClient_GetPrivateLinkResourcesSlot() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewWebAppsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - res, err := client.GetPrivateLinkResourcesSlot(ctx, - "", - "", - "", - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/StartWebSiteNetworkTraceOperation.json -func ExampleWebAppsClient_BeginStartNetworkTraceSlot() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewWebAppsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - poller, err := client.BeginStartNetworkTraceSlot(ctx, - "", - "", - "", - &armappservice.WebAppsClientBeginStartNetworkTraceSlotOptions{DurationInSeconds: to.Ptr[int32](60), - MaxFrameLength: nil, - SasURL: nil, - ResumeToken: "", - }) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - res, err := poller.PollUntilDone(ctx, 30*time.Second) - if err != nil { - log.Fatalf("failed to pull the result: %v", err) - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/StopWebSiteNetworkTrace.json -func ExampleWebAppsClient_StopNetworkTraceSlot() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewWebAppsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - _, err = client.StopNetworkTraceSlot(ctx, - "", - "", - "", - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/StartWebSiteNetworkTraceOperation.json -func ExampleWebAppsClient_BeginStartNetworkTrace() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewWebAppsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - poller, err := client.BeginStartNetworkTrace(ctx, - "", - "", - &armappservice.WebAppsClientBeginStartNetworkTraceOptions{DurationInSeconds: to.Ptr[int32](60), - MaxFrameLength: nil, - SasURL: nil, - ResumeToken: "", - }) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - res, err := poller.PollUntilDone(ctx, 30*time.Second) - if err != nil { - log.Fatalf("failed to pull the result: %v", err) - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/StopWebSiteNetworkTrace.json -func ExampleWebAppsClient_StopNetworkTrace() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewWebAppsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - _, err = client.StopNetworkTrace(ctx, - "", - "", - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } -} diff --git a/sdk/resourcemanager/appservice/armappservice/ze_generated_example_websitemanagementclient_client_test.go b/sdk/resourcemanager/appservice/armappservice/ze_generated_example_websitemanagementclient_client_test.go deleted file mode 100644 index d36c354bf82a..000000000000 --- a/sdk/resourcemanager/appservice/armappservice/ze_generated_example_websitemanagementclient_client_test.go +++ /dev/null @@ -1,70 +0,0 @@ -//go:build go1.18 -// +build go1.18 - -// 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. - -package armappservice_test - -import ( - "context" - "log" - - "github.com/Azure/azure-sdk-for-go/sdk/azcore/to" - "github.com/Azure/azure-sdk-for-go/sdk/azidentity" - "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice" -) - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/ListCustomHostNameSites.json -func ExampleWebSiteManagementClient_NewListCustomHostNameSitesPager() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewWebSiteManagementClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - pager := client.NewListCustomHostNameSitesPager(nil) - for pager.More() { - nextResult, err := pager.NextPage(ctx) - if err != nil { - log.Fatalf("failed to advance page: %v", err) - return - } - for _, v := range nextResult.Value { - // TODO: use page item - _ = v - } - } -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/VerifyHostingEnvironmentVnet.json -func ExampleWebSiteManagementClient_VerifyHostingEnvironmentVnet() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - } - ctx := context.Background() - client, err := armappservice.NewWebSiteManagementClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - } - res, err := client.VerifyHostingEnvironmentVnet(ctx, - armappservice.VnetParameters{ - Properties: &armappservice.VnetParametersProperties{ - VnetName: to.Ptr(""), - VnetResourceGroup: to.Ptr(""), - VnetSubnetName: to.Ptr(""), - }, - }, - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - } - // TODO: use response item - _ = res -} diff --git a/sdk/resourcemanager/appservice/armappservice/zz_generated_certificateorders_client.go b/sdk/resourcemanager/appservice/armappservice/zz_generated_certificateorders_client.go index e464c3589e4f..7838035423ca 100644 --- a/sdk/resourcemanager/appservice/armappservice/zz_generated_certificateorders_client.go +++ b/sdk/resourcemanager/appservice/armappservice/zz_generated_certificateorders_client.go @@ -54,7 +54,7 @@ func NewCertificateOrdersClient(subscriptionID string, credential azcore.TokenCr return client, nil } -// BeginCreateOrUpdate - Description for Create or update a certificate purchase order. +// BeginCreateOrUpdate - Create or update a certificate purchase order. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // certificateOrderName - Name of the certificate order. @@ -73,7 +73,7 @@ func (client *CertificateOrdersClient) BeginCreateOrUpdate(ctx context.Context, } } -// CreateOrUpdate - Description for Create or update a certificate purchase order. +// CreateOrUpdate - Create or update a certificate purchase order. // If the operation fails it returns an *azcore.ResponseError type. func (client *CertificateOrdersClient) createOrUpdate(ctx context.Context, resourceGroupName string, certificateOrderName string, certificateDistinguishedName CertificateOrder, options *CertificateOrdersClientBeginCreateOrUpdateOptions) (*http.Response, error) { req, err := client.createOrUpdateCreateRequest(ctx, resourceGroupName, certificateOrderName, certificateDistinguishedName, options) @@ -116,7 +116,7 @@ func (client *CertificateOrdersClient) createOrUpdateCreateRequest(ctx context.C return req, runtime.MarshalAsJSON(req, certificateDistinguishedName) } -// BeginCreateOrUpdateCertificate - Description for Creates or updates a certificate and associates with key vault secret. +// BeginCreateOrUpdateCertificate - Creates or updates a certificate and associates with key vault secret. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // certificateOrderName - Name of the certificate order. @@ -136,7 +136,7 @@ func (client *CertificateOrdersClient) BeginCreateOrUpdateCertificate(ctx contex } } -// 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. // If the operation fails it returns an *azcore.ResponseError type. func (client *CertificateOrdersClient) createOrUpdateCertificate(ctx context.Context, resourceGroupName string, certificateOrderName string, name string, keyVaultCertificate CertificateResource, options *CertificateOrdersClientBeginCreateOrUpdateCertificateOptions) (*http.Response, error) { req, err := client.createOrUpdateCertificateCreateRequest(ctx, resourceGroupName, certificateOrderName, name, keyVaultCertificate, options) @@ -183,7 +183,7 @@ func (client *CertificateOrdersClient) createOrUpdateCertificateCreateRequest(ct return req, runtime.MarshalAsJSON(req, keyVaultCertificate) } -// Delete - Description for Delete an existing certificate order. +// Delete - Delete an existing certificate order. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // certificateOrderName - Name of the certificate order. @@ -230,7 +230,7 @@ func (client *CertificateOrdersClient) deleteCreateRequest(ctx context.Context, return req, nil } -// DeleteCertificate - Description for Delete the certificate associated with a certificate order. +// DeleteCertificate - Delete the certificate associated with a certificate order. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // certificateOrderName - Name of the certificate order. @@ -282,7 +282,7 @@ func (client *CertificateOrdersClient) deleteCertificateCreateRequest(ctx contex return req, nil } -// Get - Description for Get a certificate order. +// Get - Get a certificate order. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // certificateOrderName - Name of the certificate order.. @@ -337,7 +337,7 @@ func (client *CertificateOrdersClient) getHandleResponse(resp *http.Response) (C return result, nil } -// GetCertificate - Description for Get the certificate associated with a certificate order. +// GetCertificate - Get the certificate associated with a certificate order. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // certificateOrderName - Name of the certificate order. @@ -398,7 +398,7 @@ func (client *CertificateOrdersClient) getCertificateHandleResponse(resp *http.R return result, nil } -// NewListPager - Description for List all certificate orders in a subscription. +// NewListPager - List all certificate orders in a subscription. // If the operation fails it returns an *azcore.ResponseError type. // options - CertificateOrdersClientListOptions contains the optional parameters for the CertificateOrdersClient.List method. func (client *CertificateOrdersClient) NewListPager(options *CertificateOrdersClientListOptions) *runtime.Pager[CertificateOrdersClientListResponse] { @@ -456,7 +456,7 @@ func (client *CertificateOrdersClient) listHandleResponse(resp *http.Response) ( return result, nil } -// NewListByResourceGroupPager - Description for Get certificate orders in a resource group. +// NewListByResourceGroupPager - Get certificate orders in a resource group. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // options - CertificateOrdersClientListByResourceGroupOptions contains the optional parameters for the CertificateOrdersClient.ListByResourceGroup @@ -520,7 +520,7 @@ func (client *CertificateOrdersClient) listByResourceGroupHandleResponse(resp *h return result, nil } -// NewListCertificatesPager - Description for List all certificates associated with a certificate order. +// NewListCertificatesPager - List all certificates associated with a certificate order. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // certificateOrderName - Name of the certificate order. @@ -589,7 +589,7 @@ func (client *CertificateOrdersClient) listCertificatesHandleResponse(resp *http return result, nil } -// Reissue - Description for Reissue an existing certificate order. +// Reissue - Reissue an existing certificate order. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // certificateOrderName - Name of the certificate order. @@ -637,7 +637,7 @@ func (client *CertificateOrdersClient) reissueCreateRequest(ctx context.Context, return req, runtime.MarshalAsJSON(req, reissueCertificateOrderRequest) } -// Renew - Description for Renew an existing certificate order. +// Renew - Renew an existing certificate order. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // certificateOrderName - Name of the certificate order. @@ -684,7 +684,7 @@ func (client *CertificateOrdersClient) renewCreateRequest(ctx context.Context, r return req, runtime.MarshalAsJSON(req, renewCertificateOrderRequest) } -// ResendEmail - Description for Resend certificate email. +// ResendEmail - Resend certificate email. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // certificateOrderName - Name of the certificate order. @@ -780,7 +780,7 @@ func (client *CertificateOrdersClient) resendRequestEmailsCreateRequest(ctx cont return req, runtime.MarshalAsJSON(req, nameIdentifier) } -// RetrieveCertificateActions - Description for Retrieve the list of certificate actions. +// RetrieveCertificateActions - Retrieve the list of certificate actions. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the certificate order. @@ -836,7 +836,7 @@ func (client *CertificateOrdersClient) retrieveCertificateActionsHandleResponse( return result, nil } -// RetrieveCertificateEmailHistory - Description for Retrieve email history. +// RetrieveCertificateEmailHistory - Retrieve email history. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the certificate order. @@ -955,7 +955,7 @@ func (client *CertificateOrdersClient) retrieveSiteSealHandleResponse(resp *http return result, nil } -// Update - Description for Create or update a certificate purchase order. +// Update - Create or update a certificate purchase order. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // certificateOrderName - Name of the certificate order. @@ -1012,7 +1012,7 @@ func (client *CertificateOrdersClient) updateHandleResponse(resp *http.Response) return result, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // certificateOrderName - Name of the certificate order. @@ -1074,7 +1074,7 @@ func (client *CertificateOrdersClient) updateCertificateHandleResponse(resp *htt return result, nil } -// ValidatePurchaseInformation - Description for Validate information for a certificate order. +// ValidatePurchaseInformation - Validate information for a certificate order. // If the operation fails it returns an *azcore.ResponseError type. // appServiceCertificateOrder - Information for a certificate order. // options - CertificateOrdersClientValidatePurchaseInformationOptions contains the optional parameters for the CertificateOrdersClient.ValidatePurchaseInformation @@ -1112,7 +1112,7 @@ func (client *CertificateOrdersClient) validatePurchaseInformationCreateRequest( return req, runtime.MarshalAsJSON(req, appServiceCertificateOrder) } -// VerifyDomainOwnership - Description for Verify domain ownership for this certificate order. +// VerifyDomainOwnership - Verify domain ownership for this certificate order. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // certificateOrderName - Name of the certificate order. diff --git a/sdk/resourcemanager/appservice/armappservice/zz_generated_certificateordersdiagnostics_client.go b/sdk/resourcemanager/appservice/armappservice/zz_generated_certificateordersdiagnostics_client.go index e0f0f6b067f5..9f59de59af14 100644 --- a/sdk/resourcemanager/appservice/armappservice/zz_generated_certificateordersdiagnostics_client.go +++ b/sdk/resourcemanager/appservice/armappservice/zz_generated_certificateordersdiagnostics_client.go @@ -55,8 +55,8 @@ func NewCertificateOrdersDiagnosticsClient(subscriptionID string, credential azc return client, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // certificateOrderName - The certificate order name for which the response is needed. @@ -126,8 +126,8 @@ func (client *CertificateOrdersDiagnosticsClient) getAppServiceCertificateOrderD return result, nil } -// NewListAppServiceCertificateOrderDetectorResponsePager - Description for Microsoft.CertificateRegistration to get the list -// of detectors for this RP. +// NewListAppServiceCertificateOrderDetectorResponsePager - Microsoft.CertificateRegistration to get the list of detectors +// for this RP. // If the operation fails it returns an *azcore.ResponseError type. // 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/sdk/resourcemanager/appservice/armappservice/zz_generated_certificateregistrationprovider_client.go b/sdk/resourcemanager/appservice/armappservice/zz_generated_certificateregistrationprovider_client.go index 5e80d2cda44e..ef0ef7bae7ce 100644 --- a/sdk/resourcemanager/appservice/armappservice/zz_generated_certificateregistrationprovider_client.go +++ b/sdk/resourcemanager/appservice/armappservice/zz_generated_certificateregistrationprovider_client.go @@ -48,8 +48,7 @@ func NewCertificateRegistrationProviderClient(credential azcore.TokenCredential, return client, nil } -// NewListOperationsPager - Description for Implements Csm operations Api to exposes the list of available Csm Apis under -// the resource provider +// NewListOperationsPager - Implements Csm operations Api to exposes the list of available Csm Apis under the resource provider // If the operation fails it returns an *azcore.ResponseError type. // options - CertificateRegistrationProviderClientListOperationsOptions contains the optional parameters for the CertificateRegistrationProviderClient.ListOperations // method. diff --git a/sdk/resourcemanager/appservice/armappservice/zz_generated_certificates_client.go b/sdk/resourcemanager/appservice/armappservice/zz_generated_certificates_client.go index 0427eb76db31..a39d1ce11a2d 100644 --- a/sdk/resourcemanager/appservice/armappservice/zz_generated_certificates_client.go +++ b/sdk/resourcemanager/appservice/armappservice/zz_generated_certificates_client.go @@ -54,7 +54,7 @@ func NewCertificatesClient(subscriptionID string, credential azcore.TokenCredent return client, nil } -// CreateOrUpdate - Description for Create or update a certificate. +// CreateOrUpdate - Create or update a certificate. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the certificate. @@ -111,7 +111,7 @@ func (client *CertificatesClient) createOrUpdateHandleResponse(resp *http.Respon return result, nil } -// Delete - Description for Delete a certificate. +// Delete - Delete a certificate. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the certificate. @@ -157,7 +157,7 @@ func (client *CertificatesClient) deleteCreateRequest(ctx context.Context, resou return req, nil } -// Get - Description for Get a certificate. +// Get - Get a certificate. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the certificate. @@ -212,7 +212,7 @@ func (client *CertificatesClient) getHandleResponse(resp *http.Response) (Certif return result, nil } -// NewListPager - Description for Get all certificates for a subscription. +// NewListPager - Get all certificates for a subscription. // If the operation fails it returns an *azcore.ResponseError type. // options - CertificatesClientListOptions contains the optional parameters for the CertificatesClient.List method. func (client *CertificatesClient) NewListPager(options *CertificatesClientListOptions) *runtime.Pager[CertificatesClientListResponse] { @@ -275,7 +275,7 @@ func (client *CertificatesClient) listHandleResponse(resp *http.Response) (Certi return result, nil } -// NewListByResourceGroupPager - Description for Get all certificates in a resource group. +// NewListByResourceGroupPager - Get all certificates in a resource group. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // options - CertificatesClientListByResourceGroupOptions contains the optional parameters for the CertificatesClient.ListByResourceGroup @@ -339,7 +339,7 @@ func (client *CertificatesClient) listByResourceGroupHandleResponse(resp *http.R return result, nil } -// Update - Description for Create or update a certificate. +// Update - Create or update a certificate. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the certificate. diff --git a/sdk/resourcemanager/appservice/armappservice/zz_generated_constants.go b/sdk/resourcemanager/appservice/armappservice/zz_generated_constants.go index e01813f67f3c..ef48919d77eb 100644 --- a/sdk/resourcemanager/appservice/armappservice/zz_generated_constants.go +++ b/sdk/resourcemanager/appservice/armappservice/zz_generated_constants.go @@ -10,7 +10,7 @@ package armappservice const ( moduleName = "armappservice" - moduleVersion = "v0.4.0" + moduleVersion = "v0.4.1" ) // ActiveRevisionsMode - ActiveRevisionsMode controls how active revisions are handled for the Container app:Multiple: multiple diff --git a/sdk/resourcemanager/appservice/armappservice/zz_generated_containerapps_client.go b/sdk/resourcemanager/appservice/armappservice/zz_generated_containerapps_client.go index 4325090ea4c8..6a1ebf4220fb 100644 --- a/sdk/resourcemanager/appservice/armappservice/zz_generated_containerapps_client.go +++ b/sdk/resourcemanager/appservice/armappservice/zz_generated_containerapps_client.go @@ -54,7 +54,7 @@ func NewContainerAppsClient(subscriptionID string, credential azcore.TokenCreden return client, nil } -// BeginCreateOrUpdate - Description for Create or update a Container App. +// BeginCreateOrUpdate - Create or update a Container App. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the Container App. @@ -72,7 +72,7 @@ func (client *ContainerAppsClient) BeginCreateOrUpdate(ctx context.Context, reso } } -// CreateOrUpdate - Description for Create or update a Container App. +// CreateOrUpdate - Create or update a Container App. // If the operation fails it returns an *azcore.ResponseError type. func (client *ContainerAppsClient) createOrUpdate(ctx context.Context, resourceGroupName string, name string, containerAppEnvelope ContainerApp, options *ContainerAppsClientBeginCreateOrUpdateOptions) (*http.Response, error) { req, err := client.createOrUpdateCreateRequest(ctx, resourceGroupName, name, containerAppEnvelope, options) @@ -115,7 +115,7 @@ func (client *ContainerAppsClient) createOrUpdateCreateRequest(ctx context.Conte return req, runtime.MarshalAsJSON(req, containerAppEnvelope) } -// BeginDelete - Description for Delete a Container App. +// BeginDelete - Delete a Container App. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the Container App. @@ -133,7 +133,7 @@ func (client *ContainerAppsClient) BeginDelete(ctx context.Context, resourceGrou } } -// Delete - Description for Delete a Container App. +// Delete - Delete a Container App. // If the operation fails it returns an *azcore.ResponseError type. func (client *ContainerAppsClient) deleteOperation(ctx context.Context, resourceGroupName string, name string, options *ContainerAppsClientBeginDeleteOptions) (*http.Response, error) { req, err := client.deleteCreateRequest(ctx, resourceGroupName, name, options) diff --git a/sdk/resourcemanager/appservice/armappservice/zz_generated_deletedwebapps_client.go b/sdk/resourcemanager/appservice/armappservice/zz_generated_deletedwebapps_client.go index 4ef91529d622..6f8d0b068170 100644 --- a/sdk/resourcemanager/appservice/armappservice/zz_generated_deletedwebapps_client.go +++ b/sdk/resourcemanager/appservice/armappservice/zz_generated_deletedwebapps_client.go @@ -54,7 +54,7 @@ func NewDeletedWebAppsClient(subscriptionID string, credential azcore.TokenCrede return client, nil } -// GetDeletedWebAppByLocation - Description for Get deleted app for a subscription at location. +// GetDeletedWebAppByLocation - Get deleted app for a subscription at location. // If the operation fails it returns an *azcore.ResponseError type. // deletedSiteID - The numeric ID of the deleted app, e.g. 12345 // options - DeletedWebAppsClientGetDeletedWebAppByLocationOptions contains the optional parameters for the DeletedWebAppsClient.GetDeletedWebAppByLocation @@ -109,7 +109,7 @@ func (client *DeletedWebAppsClient) getDeletedWebAppByLocationHandleResponse(res return result, nil } -// NewListPager - Description for Get all deleted apps for a subscription. +// NewListPager - Get all deleted apps for a subscription. // If the operation fails it returns an *azcore.ResponseError type. // options - DeletedWebAppsClientListOptions contains the optional parameters for the DeletedWebAppsClient.List method. func (client *DeletedWebAppsClient) NewListPager(options *DeletedWebAppsClientListOptions) *runtime.Pager[DeletedWebAppsClientListResponse] { @@ -167,7 +167,7 @@ func (client *DeletedWebAppsClient) listHandleResponse(resp *http.Response) (Del return result, nil } -// NewListByLocationPager - Description for Get all deleted apps for a subscription at location +// NewListByLocationPager - Get all deleted apps for a subscription at location // If the operation fails it returns an *azcore.ResponseError type. // options - DeletedWebAppsClientListByLocationOptions contains the optional parameters for the DeletedWebAppsClient.ListByLocation // method. diff --git a/sdk/resourcemanager/appservice/armappservice/zz_generated_diagnostics_client.go b/sdk/resourcemanager/appservice/armappservice/zz_generated_diagnostics_client.go index d1b85066c6f7..7227fe2d39e9 100644 --- a/sdk/resourcemanager/appservice/armappservice/zz_generated_diagnostics_client.go +++ b/sdk/resourcemanager/appservice/armappservice/zz_generated_diagnostics_client.go @@ -55,7 +55,7 @@ func NewDiagnosticsClient(subscriptionID string, credential azcore.TokenCredenti return client, nil } -// ExecuteSiteAnalysis - Description for Execute Analysis +// ExecuteSiteAnalysis - Execute Analysis // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // siteName - Site Name @@ -130,7 +130,7 @@ func (client *DiagnosticsClient) executeSiteAnalysisHandleResponse(resp *http.Re return result, nil } -// ExecuteSiteAnalysisSlot - Description for Execute Analysis +// ExecuteSiteAnalysisSlot - Execute Analysis // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // siteName - Site Name @@ -210,7 +210,7 @@ func (client *DiagnosticsClient) executeSiteAnalysisSlotHandleResponse(resp *htt return result, nil } -// ExecuteSiteDetector - Description for Execute Detector +// ExecuteSiteDetector - Execute Detector // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // siteName - Site Name @@ -285,7 +285,7 @@ func (client *DiagnosticsClient) executeSiteDetectorHandleResponse(resp *http.Re return result, nil } -// ExecuteSiteDetectorSlot - Description for Execute Detector +// ExecuteSiteDetectorSlot - Execute Detector // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // siteName - Site Name @@ -365,7 +365,7 @@ func (client *DiagnosticsClient) executeSiteDetectorSlotHandleResponse(resp *htt return result, nil } -// GetHostingEnvironmentDetectorResponse - Description for Get Hosting Environment Detector Response +// GetHostingEnvironmentDetectorResponse - Get Hosting Environment Detector Response // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - App Service Environment Name @@ -435,7 +435,7 @@ func (client *DiagnosticsClient) getHostingEnvironmentDetectorResponseHandleResp return result, nil } -// GetSiteAnalysis - Description for Get Site Analysis +// GetSiteAnalysis - Get Site Analysis // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // siteName - Site Name @@ -501,7 +501,7 @@ func (client *DiagnosticsClient) getSiteAnalysisHandleResponse(resp *http.Respon return result, nil } -// GetSiteAnalysisSlot - Description for Get Site Analysis +// GetSiteAnalysisSlot - Get Site Analysis // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // siteName - Site Name @@ -572,7 +572,7 @@ func (client *DiagnosticsClient) getSiteAnalysisSlotHandleResponse(resp *http.Re return result, nil } -// GetSiteDetector - Description for Get Detector +// GetSiteDetector - Get Detector // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // siteName - Site Name @@ -638,7 +638,7 @@ func (client *DiagnosticsClient) getSiteDetectorHandleResponse(resp *http.Respon return result, nil } -// GetSiteDetectorResponse - Description for Get site detector response +// GetSiteDetectorResponse - Get site detector response // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // siteName - Site Name @@ -708,7 +708,7 @@ func (client *DiagnosticsClient) getSiteDetectorResponseHandleResponse(resp *htt return result, nil } -// GetSiteDetectorResponseSlot - Description for Get site detector response +// GetSiteDetectorResponseSlot - Get site detector response // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // siteName - Site Name @@ -783,7 +783,7 @@ func (client *DiagnosticsClient) getSiteDetectorResponseSlotHandleResponse(resp return result, nil } -// GetSiteDetectorSlot - Description for Get Detector +// GetSiteDetectorSlot - Get Detector // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // siteName - Site Name @@ -854,7 +854,7 @@ func (client *DiagnosticsClient) getSiteDetectorSlotHandleResponse(resp *http.Re return result, nil } -// GetSiteDiagnosticCategory - Description for Get Diagnostics Category +// GetSiteDiagnosticCategory - Get Diagnostics Category // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // siteName - Site Name @@ -915,7 +915,7 @@ func (client *DiagnosticsClient) getSiteDiagnosticCategoryHandleResponse(resp *h return result, nil } -// GetSiteDiagnosticCategorySlot - Description for Get Diagnostics Category +// GetSiteDiagnosticCategorySlot - Get Diagnostics Category // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // siteName - Site Name @@ -981,7 +981,7 @@ func (client *DiagnosticsClient) getSiteDiagnosticCategorySlotHandleResponse(res return result, nil } -// NewListHostingEnvironmentDetectorResponsesPager - Description for List Hosting Environment Detector Responses +// NewListHostingEnvironmentDetectorResponsesPager - List Hosting Environment Detector Responses // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Site Name @@ -1050,7 +1050,7 @@ func (client *DiagnosticsClient) listHostingEnvironmentDetectorResponsesHandleRe return result, nil } -// NewListSiteAnalysesPager - Description for Get Site Analyses +// NewListSiteAnalysesPager - Get Site Analyses // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // siteName - Site Name @@ -1124,7 +1124,7 @@ func (client *DiagnosticsClient) listSiteAnalysesHandleResponse(resp *http.Respo return result, nil } -// NewListSiteAnalysesSlotPager - Description for Get Site Analyses +// NewListSiteAnalysesSlotPager - Get Site Analyses // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // siteName - Site Name @@ -1203,7 +1203,7 @@ func (client *DiagnosticsClient) listSiteAnalysesSlotHandleResponse(resp *http.R return result, nil } -// NewListSiteDetectorResponsesPager - Description for List Site Detector Responses +// NewListSiteDetectorResponsesPager - List Site Detector Responses // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // siteName - Site Name @@ -1272,7 +1272,7 @@ func (client *DiagnosticsClient) listSiteDetectorResponsesHandleResponse(resp *h return result, nil } -// NewListSiteDetectorResponsesSlotPager - Description for List Site Detector Responses +// NewListSiteDetectorResponsesSlotPager - List Site Detector Responses // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // siteName - Site Name @@ -1346,7 +1346,7 @@ func (client *DiagnosticsClient) listSiteDetectorResponsesSlotHandleResponse(res return result, nil } -// NewListSiteDetectorsPager - Description for Get Detectors +// NewListSiteDetectorsPager - Get Detectors // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // siteName - Site Name @@ -1420,7 +1420,7 @@ func (client *DiagnosticsClient) listSiteDetectorsHandleResponse(resp *http.Resp return result, nil } -// NewListSiteDetectorsSlotPager - Description for Get Detectors +// NewListSiteDetectorsSlotPager - Get Detectors // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // siteName - Site Name @@ -1499,7 +1499,7 @@ func (client *DiagnosticsClient) listSiteDetectorsSlotHandleResponse(resp *http. return result, nil } -// NewListSiteDiagnosticCategoriesPager - Description for Get Diagnostics Categories +// NewListSiteDiagnosticCategoriesPager - Get Diagnostics Categories // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // siteName - Site Name @@ -1568,7 +1568,7 @@ func (client *DiagnosticsClient) listSiteDiagnosticCategoriesHandleResponse(resp return result, nil } -// NewListSiteDiagnosticCategoriesSlotPager - Description for Get Diagnostics Categories +// NewListSiteDiagnosticCategoriesSlotPager - Get Diagnostics Categories // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // siteName - Site Name diff --git a/sdk/resourcemanager/appservice/armappservice/zz_generated_domainregistrationprovider_client.go b/sdk/resourcemanager/appservice/armappservice/zz_generated_domainregistrationprovider_client.go index 0ef394a6aa2a..90d544427590 100644 --- a/sdk/resourcemanager/appservice/armappservice/zz_generated_domainregistrationprovider_client.go +++ b/sdk/resourcemanager/appservice/armappservice/zz_generated_domainregistrationprovider_client.go @@ -48,8 +48,7 @@ func NewDomainRegistrationProviderClient(credential azcore.TokenCredential, opti return client, nil } -// NewListOperationsPager - Description for Implements Csm operations Api to exposes the list of available Csm Apis under -// the resource provider +// NewListOperationsPager - Implements Csm operations Api to exposes the list of available Csm Apis under the resource provider // If the operation fails it returns an *azcore.ResponseError type. // options - DomainRegistrationProviderClientListOperationsOptions contains the optional parameters for the DomainRegistrationProviderClient.ListOperations // method. diff --git a/sdk/resourcemanager/appservice/armappservice/zz_generated_domains_client.go b/sdk/resourcemanager/appservice/armappservice/zz_generated_domains_client.go index 6f0febd0c567..1ef473a8aa00 100644 --- a/sdk/resourcemanager/appservice/armappservice/zz_generated_domains_client.go +++ b/sdk/resourcemanager/appservice/armappservice/zz_generated_domains_client.go @@ -55,7 +55,7 @@ func NewDomainsClient(subscriptionID string, credential azcore.TokenCredential, return client, nil } -// CheckAvailability - Description for Check if a domain is available for registration. +// CheckAvailability - Check if a domain is available for registration. // If the operation fails it returns an *azcore.ResponseError type. // identifier - Name of the domain. // options - DomainsClientCheckAvailabilityOptions contains the optional parameters for the DomainsClient.CheckAvailability @@ -102,7 +102,7 @@ func (client *DomainsClient) checkAvailabilityHandleResponse(resp *http.Response return result, nil } -// BeginCreateOrUpdate - Description for Creates or updates a domain. +// BeginCreateOrUpdate - Creates or updates a domain. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // domainName - Name of the domain. @@ -121,7 +121,7 @@ func (client *DomainsClient) BeginCreateOrUpdate(ctx context.Context, resourceGr } } -// CreateOrUpdate - Description for Creates or updates a domain. +// CreateOrUpdate - Creates or updates a domain. // If the operation fails it returns an *azcore.ResponseError type. func (client *DomainsClient) createOrUpdate(ctx context.Context, resourceGroupName string, domainName string, domain Domain, options *DomainsClientBeginCreateOrUpdateOptions) (*http.Response, error) { req, err := client.createOrUpdateCreateRequest(ctx, resourceGroupName, domainName, domain, options) @@ -164,8 +164,8 @@ func (client *DomainsClient) createOrUpdateCreateRequest(ctx context.Context, re return req, runtime.MarshalAsJSON(req, domain) } -// 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 // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // domainName - Name of domain. @@ -227,7 +227,7 @@ func (client *DomainsClient) createOrUpdateOwnershipIdentifierHandleResponse(res return result, nil } -// Delete - Description for Delete a domain. +// Delete - Delete a domain. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // domainName - Name of the domain. @@ -276,7 +276,7 @@ func (client *DomainsClient) deleteCreateRequest(ctx context.Context, resourceGr return req, nil } -// DeleteOwnershipIdentifier - Description for Delete ownership identifier for domain +// DeleteOwnershipIdentifier - Delete ownership identifier for domain // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // domainName - Name of domain. @@ -328,7 +328,7 @@ func (client *DomainsClient) deleteOwnershipIdentifierCreateRequest(ctx context. return req, nil } -// Get - Description for Get a domain. +// Get - Get a domain. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // domainName - Name of the domain. @@ -383,7 +383,7 @@ func (client *DomainsClient) getHandleResponse(resp *http.Response) (DomainsClie return result, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // options - DomainsClientGetControlCenterSsoRequestOptions contains the optional parameters for the DomainsClient.GetControlCenterSsoRequest // method. @@ -429,7 +429,7 @@ func (client *DomainsClient) getControlCenterSsoRequestHandleResponse(resp *http return result, nil } -// GetOwnershipIdentifier - Description for Get ownership identifier for domain +// GetOwnershipIdentifier - Get ownership identifier for domain // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // domainName - Name of domain. @@ -490,7 +490,7 @@ func (client *DomainsClient) getOwnershipIdentifierHandleResponse(resp *http.Res return result, nil } -// NewListPager - Description for Get all domains in a subscription. +// NewListPager - Get all domains in a subscription. // If the operation fails it returns an *azcore.ResponseError type. // options - DomainsClientListOptions contains the optional parameters for the DomainsClient.List method. func (client *DomainsClient) NewListPager(options *DomainsClientListOptions) *runtime.Pager[DomainsClientListResponse] { @@ -548,7 +548,7 @@ func (client *DomainsClient) listHandleResponse(resp *http.Response) (DomainsCli return result, nil } -// NewListByResourceGroupPager - Description for Get all domains in a resource group. +// NewListByResourceGroupPager - Get all domains in a resource group. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // options - DomainsClientListByResourceGroupOptions contains the optional parameters for the DomainsClient.ListByResourceGroup @@ -612,7 +612,7 @@ func (client *DomainsClient) listByResourceGroupHandleResponse(resp *http.Respon return result, nil } -// NewListOwnershipIdentifiersPager - Description for Lists domain ownership identifiers. +// NewListOwnershipIdentifiersPager - Lists domain ownership identifiers. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // domainName - Name of domain. @@ -681,7 +681,7 @@ func (client *DomainsClient) listOwnershipIdentifiersHandleResponse(resp *http.R return result, nil } -// NewListRecommendationsPager - Description for Get domain name recommendations based on keywords. +// NewListRecommendationsPager - Get domain name recommendations based on keywords. // If the operation fails it returns an *azcore.ResponseError type. // parameters - Search parameters for domain name recommendations. // options - DomainsClientListRecommendationsOptions contains the optional parameters for the DomainsClient.ListRecommendations @@ -741,7 +741,7 @@ func (client *DomainsClient) listRecommendationsHandleResponse(resp *http.Respon return result, nil } -// Renew - Description for Renew a domain. +// Renew - Renew a domain. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // domainName - Name of the domain. @@ -842,7 +842,7 @@ func (client *DomainsClient) transferOutHandleResponse(resp *http.Response) (Dom return result, nil } -// Update - Description for Creates or updates a domain. +// Update - Creates or updates a domain. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // domainName - Name of the domain. @@ -898,8 +898,8 @@ func (client *DomainsClient) updateHandleResponse(resp *http.Response) (DomainsC return result, nil } -// 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 // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // domainName - Name of domain. diff --git a/sdk/resourcemanager/appservice/armappservice/zz_generated_environments_client.go b/sdk/resourcemanager/appservice/armappservice/zz_generated_environments_client.go index a9269c6b36d8..34bb782b2c04 100644 --- a/sdk/resourcemanager/appservice/armappservice/zz_generated_environments_client.go +++ b/sdk/resourcemanager/appservice/armappservice/zz_generated_environments_client.go @@ -55,7 +55,7 @@ func NewEnvironmentsClient(subscriptionID string, credential azcore.TokenCredent return client, nil } -// BeginApproveOrRejectPrivateEndpointConnection - Description for Approves or rejects a private endpoint connection +// BeginApproveOrRejectPrivateEndpointConnection - Approves or rejects a private endpoint connection // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the App Service Environment. @@ -73,7 +73,7 @@ func (client *EnvironmentsClient) BeginApproveOrRejectPrivateEndpointConnection( } } -// ApproveOrRejectPrivateEndpointConnection - Description for Approves or rejects a private endpoint connection +// ApproveOrRejectPrivateEndpointConnection - Approves or rejects a private endpoint connection // If the operation fails it returns an *azcore.ResponseError type. func (client *EnvironmentsClient) approveOrRejectPrivateEndpointConnection(ctx context.Context, resourceGroupName string, name string, privateEndpointConnectionName string, privateEndpointWrapper PrivateLinkConnectionApprovalRequestResource, options *EnvironmentsClientBeginApproveOrRejectPrivateEndpointConnectionOptions) (*http.Response, error) { req, err := client.approveOrRejectPrivateEndpointConnectionCreateRequest(ctx, resourceGroupName, name, privateEndpointConnectionName, privateEndpointWrapper, options) @@ -120,7 +120,7 @@ func (client *EnvironmentsClient) approveOrRejectPrivateEndpointConnectionCreate return req, runtime.MarshalAsJSON(req, privateEndpointWrapper) } -// BeginChangeVnet - Description for Move an App Service Environment to a different VNET. +// BeginChangeVnet - Move an App Service Environment to a different VNET. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the App Service Environment. @@ -162,7 +162,7 @@ func (client *EnvironmentsClient) BeginChangeVnet(ctx context.Context, resourceG } } -// ChangeVnet - Description for Move an App Service Environment to a different VNET. +// ChangeVnet - Move an App Service Environment to a different VNET. // If the operation fails it returns an *azcore.ResponseError type. func (client *EnvironmentsClient) changeVnet(ctx context.Context, resourceGroupName string, name string, vnetInfo VirtualNetworkProfile, options *EnvironmentsClientBeginChangeVnetOptions) (*http.Response, error) { req, err := client.changeVnetCreateRequest(ctx, resourceGroupName, name, vnetInfo, options) @@ -214,7 +214,7 @@ func (client *EnvironmentsClient) changeVnetHandleResponse(resp *http.Response) return result, nil } -// BeginCreateOrUpdate - Description for Create or update an App Service Environment. +// BeginCreateOrUpdate - Create or update an App Service Environment. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the App Service Environment. @@ -233,7 +233,7 @@ func (client *EnvironmentsClient) BeginCreateOrUpdate(ctx context.Context, resou } } -// CreateOrUpdate - Description for Create or update an App Service Environment. +// CreateOrUpdate - Create or update an App Service Environment. // If the operation fails it returns an *azcore.ResponseError type. func (client *EnvironmentsClient) createOrUpdate(ctx context.Context, resourceGroupName string, name string, hostingEnvironmentEnvelope EnvironmentResource, options *EnvironmentsClientBeginCreateOrUpdateOptions) (*http.Response, error) { req, err := client.createOrUpdateCreateRequest(ctx, resourceGroupName, name, hostingEnvironmentEnvelope, options) @@ -276,7 +276,7 @@ func (client *EnvironmentsClient) createOrUpdateCreateRequest(ctx context.Contex return req, runtime.MarshalAsJSON(req, hostingEnvironmentEnvelope) } -// BeginCreateOrUpdateMultiRolePool - Description for Create or update a multi-role pool. +// BeginCreateOrUpdateMultiRolePool - Create or update a multi-role pool. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the App Service Environment. @@ -295,7 +295,7 @@ func (client *EnvironmentsClient) BeginCreateOrUpdateMultiRolePool(ctx context.C } } -// CreateOrUpdateMultiRolePool - Description for Create or update a multi-role pool. +// CreateOrUpdateMultiRolePool - Create or update a multi-role pool. // If the operation fails it returns an *azcore.ResponseError type. func (client *EnvironmentsClient) createOrUpdateMultiRolePool(ctx context.Context, resourceGroupName string, name string, multiRolePoolEnvelope WorkerPoolResource, options *EnvironmentsClientBeginCreateOrUpdateMultiRolePoolOptions) (*http.Response, error) { req, err := client.createOrUpdateMultiRolePoolCreateRequest(ctx, resourceGroupName, name, multiRolePoolEnvelope, options) @@ -338,7 +338,7 @@ func (client *EnvironmentsClient) createOrUpdateMultiRolePoolCreateRequest(ctx c return req, runtime.MarshalAsJSON(req, multiRolePoolEnvelope) } -// BeginCreateOrUpdateWorkerPool - Description for Create or update a worker pool. +// BeginCreateOrUpdateWorkerPool - Create or update a worker pool. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the App Service Environment. @@ -358,7 +358,7 @@ func (client *EnvironmentsClient) BeginCreateOrUpdateWorkerPool(ctx context.Cont } } -// CreateOrUpdateWorkerPool - Description for Create or update a worker pool. +// CreateOrUpdateWorkerPool - Create or update a worker pool. // If the operation fails it returns an *azcore.ResponseError type. func (client *EnvironmentsClient) createOrUpdateWorkerPool(ctx context.Context, resourceGroupName string, name string, workerPoolName string, workerPoolEnvelope WorkerPoolResource, options *EnvironmentsClientBeginCreateOrUpdateWorkerPoolOptions) (*http.Response, error) { req, err := client.createOrUpdateWorkerPoolCreateRequest(ctx, resourceGroupName, name, workerPoolName, workerPoolEnvelope, options) @@ -405,7 +405,7 @@ func (client *EnvironmentsClient) createOrUpdateWorkerPoolCreateRequest(ctx cont return req, runtime.MarshalAsJSON(req, workerPoolEnvelope) } -// BeginDelete - Description for Delete an App Service Environment. +// BeginDelete - Delete an App Service Environment. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the App Service Environment. @@ -423,7 +423,7 @@ func (client *EnvironmentsClient) BeginDelete(ctx context.Context, resourceGroup } } -// Delete - Description for Delete an App Service Environment. +// Delete - Delete an App Service Environment. // If the operation fails it returns an *azcore.ResponseError type. func (client *EnvironmentsClient) deleteOperation(ctx context.Context, resourceGroupName string, name string, options *EnvironmentsClientBeginDeleteOptions) (*http.Response, error) { req, err := client.deleteCreateRequest(ctx, resourceGroupName, name, options) @@ -469,7 +469,7 @@ func (client *EnvironmentsClient) deleteCreateRequest(ctx context.Context, resou return req, nil } -// BeginDeletePrivateEndpointConnection - Description for Deletes a private endpoint connection +// BeginDeletePrivateEndpointConnection - Deletes a private endpoint connection // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the App Service Environment. @@ -487,7 +487,7 @@ func (client *EnvironmentsClient) BeginDeletePrivateEndpointConnection(ctx conte } } -// DeletePrivateEndpointConnection - Description for Deletes a private endpoint connection +// DeletePrivateEndpointConnection - Deletes a private endpoint connection // If the operation fails it returns an *azcore.ResponseError type. func (client *EnvironmentsClient) deletePrivateEndpointConnection(ctx context.Context, resourceGroupName string, name string, privateEndpointConnectionName string, options *EnvironmentsClientBeginDeletePrivateEndpointConnectionOptions) (*http.Response, error) { req, err := client.deletePrivateEndpointConnectionCreateRequest(ctx, resourceGroupName, name, privateEndpointConnectionName, options) @@ -534,7 +534,7 @@ func (client *EnvironmentsClient) deletePrivateEndpointConnectionCreateRequest(c return req, nil } -// Get - Description for Get the properties of an App Service Environment. +// Get - Get the properties of an App Service Environment. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the App Service Environment. @@ -589,7 +589,7 @@ func (client *EnvironmentsClient) getHandleResponse(resp *http.Response) (Enviro return result, nil } -// GetAseV3NetworkingConfiguration - Description for Get networking configuration of an App Service Environment +// GetAseV3NetworkingConfiguration - Get networking configuration of an App Service Environment // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the App Service Environment. @@ -645,7 +645,7 @@ func (client *EnvironmentsClient) getAseV3NetworkingConfigurationHandleResponse( return result, nil } -// GetDiagnosticsItem - Description for Get a diagnostics item for an App Service Environment. +// GetDiagnosticsItem - Get a diagnostics item for an App Service Environment. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the App Service Environment. @@ -706,8 +706,8 @@ func (client *EnvironmentsClient) getDiagnosticsItemHandleResponse(resp *http.Re return result, nil } -// NewGetInboundNetworkDependenciesEndpointsPager - Description for Get the network endpoints of all inbound dependencies -// of an App Service Environment. +// NewGetInboundNetworkDependenciesEndpointsPager - Get the network endpoints of all inbound dependencies of an App Service +// Environment. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the App Service Environment. @@ -776,7 +776,7 @@ func (client *EnvironmentsClient) getInboundNetworkDependenciesEndpointsHandleRe return result, nil } -// GetMultiRolePool - Description for Get properties of a multi-role pool. +// GetMultiRolePool - Get properties of a multi-role pool. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the App Service Environment. @@ -832,8 +832,8 @@ func (client *EnvironmentsClient) getMultiRolePoolHandleResponse(resp *http.Resp return result, nil } -// NewGetOutboundNetworkDependenciesEndpointsPager - Description for Get the network endpoints of all outbound dependencies -// of an App Service Environment. +// NewGetOutboundNetworkDependenciesEndpointsPager - Get the network endpoints of all outbound dependencies of an App Service +// Environment. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the App Service Environment. @@ -902,7 +902,7 @@ func (client *EnvironmentsClient) getOutboundNetworkDependenciesEndpointsHandleR return result, nil } -// GetPrivateEndpointConnection - Description for Gets a private endpoint connection +// GetPrivateEndpointConnection - Gets a private endpoint connection // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the App Service Environment. @@ -963,8 +963,7 @@ func (client *EnvironmentsClient) getPrivateEndpointConnectionHandleResponse(res return result, nil } -// NewGetPrivateEndpointConnectionListPager - Description for Gets the list of private endpoints associated with a hosting -// environment +// NewGetPrivateEndpointConnectionListPager - Gets the list of private endpoints associated with a hosting environment // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the App Service Environment. @@ -1033,7 +1032,7 @@ func (client *EnvironmentsClient) getPrivateEndpointConnectionListHandleResponse return result, nil } -// GetPrivateLinkResources - Description for Gets the private link resources +// GetPrivateLinkResources - Gets the private link resources // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the App Service Environment. @@ -1089,7 +1088,7 @@ func (client *EnvironmentsClient) getPrivateLinkResourcesHandleResponse(resp *ht return result, nil } -// GetVipInfo - Description for Get IP addresses assigned to an App Service Environment. +// GetVipInfo - Get IP addresses assigned to an App Service Environment. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the App Service Environment. @@ -1144,7 +1143,7 @@ func (client *EnvironmentsClient) getVipInfoHandleResponse(resp *http.Response) return result, nil } -// GetWorkerPool - Description for Get properties of a worker pool. +// GetWorkerPool - Get properties of a worker pool. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the App Service Environment. @@ -1205,7 +1204,7 @@ func (client *EnvironmentsClient) getWorkerPoolHandleResponse(resp *http.Respons return result, nil } -// NewListPager - Description for Get all App Service Environments for a subscription. +// NewListPager - Get all App Service Environments for a subscription. // If the operation fails it returns an *azcore.ResponseError type. // options - EnvironmentsClientListOptions contains the optional parameters for the EnvironmentsClient.List method. func (client *EnvironmentsClient) NewListPager(options *EnvironmentsClientListOptions) *runtime.Pager[EnvironmentsClientListResponse] { @@ -1263,7 +1262,7 @@ func (client *EnvironmentsClient) listHandleResponse(resp *http.Response) (Envir return result, nil } -// NewListAppServicePlansPager - Description for Get all App Service plans in an App Service Environment. +// NewListAppServicePlansPager - Get all App Service plans in an App Service Environment. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the App Service Environment. @@ -1332,7 +1331,7 @@ func (client *EnvironmentsClient) listAppServicePlansHandleResponse(resp *http.R return result, nil } -// NewListByResourceGroupPager - Description for Get all App Service Environments in a resource group. +// NewListByResourceGroupPager - Get all App Service Environments in a resource group. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // options - EnvironmentsClientListByResourceGroupOptions contains the optional parameters for the EnvironmentsClient.ListByResourceGroup @@ -1396,7 +1395,7 @@ func (client *EnvironmentsClient) listByResourceGroupHandleResponse(resp *http.R return result, nil } -// NewListCapacitiesPager - Description for Get the used, available, and total worker capacity an App Service Environment. +// NewListCapacitiesPager - Get the used, available, and total worker capacity an App Service Environment. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the App Service Environment. @@ -1465,7 +1464,7 @@ func (client *EnvironmentsClient) listCapacitiesHandleResponse(resp *http.Respon return result, nil } -// ListDiagnostics - Description for Get diagnostic information for an App Service Environment. +// ListDiagnostics - Get diagnostic information for an App Service Environment. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the App Service Environment. @@ -1521,8 +1520,7 @@ func (client *EnvironmentsClient) listDiagnosticsHandleResponse(resp *http.Respo return result, nil } -// NewListMultiRoleMetricDefinitionsPager - Description for Get metric definitions for a multi-role pool of an App Service -// Environment. +// NewListMultiRoleMetricDefinitionsPager - Get metric definitions for a multi-role pool of an App Service Environment. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the App Service Environment. @@ -1591,8 +1589,8 @@ func (client *EnvironmentsClient) listMultiRoleMetricDefinitionsHandleResponse(r return result, nil } -// NewListMultiRolePoolInstanceMetricDefinitionsPager - Description for Get metric definitions for a specific instance of -// a multi-role pool of an App Service Environment. +// NewListMultiRolePoolInstanceMetricDefinitionsPager - Get metric definitions for a specific instance of a multi-role pool +// of an App Service Environment. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the App Service Environment. @@ -1666,7 +1664,7 @@ func (client *EnvironmentsClient) listMultiRolePoolInstanceMetricDefinitionsHand return result, nil } -// NewListMultiRolePoolSKUsPager - Description for Get available SKUs for scaling a multi-role pool. +// NewListMultiRolePoolSKUsPager - Get available SKUs for scaling a multi-role pool. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the App Service Environment. @@ -1735,7 +1733,7 @@ func (client *EnvironmentsClient) listMultiRolePoolSKUsHandleResponse(resp *http return result, nil } -// NewListMultiRolePoolsPager - Description for Get all multi-role pools. +// NewListMultiRolePoolsPager - Get all multi-role pools. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the App Service Environment. @@ -1804,7 +1802,7 @@ func (client *EnvironmentsClient) listMultiRolePoolsHandleResponse(resp *http.Re return result, nil } -// NewListMultiRoleUsagesPager - Description for Get usage metrics for a multi-role pool of an App Service Environment. +// NewListMultiRoleUsagesPager - Get usage metrics for a multi-role pool of an App Service Environment. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the App Service Environment. @@ -1873,7 +1871,7 @@ func (client *EnvironmentsClient) listMultiRoleUsagesHandleResponse(resp *http.R return result, nil } -// ListOperations - Description for List all currently running operations on the App Service Environment. +// ListOperations - List all currently running operations on the App Service Environment. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the App Service Environment. @@ -1929,7 +1927,7 @@ func (client *EnvironmentsClient) listOperationsHandleResponse(resp *http.Respon return result, nil } -// NewListUsagesPager - Description for Get global usage metrics of an App Service Environment. +// NewListUsagesPager - Get global usage metrics of an App Service Environment. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the App Service Environment. @@ -2002,7 +2000,7 @@ func (client *EnvironmentsClient) listUsagesHandleResponse(resp *http.Response) return result, nil } -// NewListWebAppsPager - Description for Get all apps in an App Service Environment. +// NewListWebAppsPager - Get all apps in an App Service Environment. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the App Service Environment. @@ -2074,7 +2072,7 @@ func (client *EnvironmentsClient) listWebAppsHandleResponse(resp *http.Response) return result, nil } -// NewListWebWorkerMetricDefinitionsPager - Description for Get metric definitions for a worker pool of an App Service Environment. +// NewListWebWorkerMetricDefinitionsPager - Get metric definitions for a worker pool of an App Service Environment. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the App Service Environment. @@ -2148,7 +2146,7 @@ func (client *EnvironmentsClient) listWebWorkerMetricDefinitionsHandleResponse(r return result, nil } -// NewListWebWorkerUsagesPager - Description for Get usage metrics for a worker pool of an App Service Environment. +// NewListWebWorkerUsagesPager - Get usage metrics for a worker pool of an App Service Environment. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the App Service Environment. @@ -2222,8 +2220,8 @@ func (client *EnvironmentsClient) listWebWorkerUsagesHandleResponse(resp *http.R return result, nil } -// NewListWorkerPoolInstanceMetricDefinitionsPager - Description for Get metric definitions for a specific instance of a worker -// pool of an App Service Environment. +// NewListWorkerPoolInstanceMetricDefinitionsPager - Get metric definitions for a specific instance of a worker pool of an +// App Service Environment. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the App Service Environment. @@ -2302,7 +2300,7 @@ func (client *EnvironmentsClient) listWorkerPoolInstanceMetricDefinitionsHandleR return result, nil } -// NewListWorkerPoolSKUsPager - Description for Get available SKUs for scaling a worker pool. +// NewListWorkerPoolSKUsPager - Get available SKUs for scaling a worker pool. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the App Service Environment. @@ -2376,7 +2374,7 @@ func (client *EnvironmentsClient) listWorkerPoolSKUsHandleResponse(resp *http.Re return result, nil } -// NewListWorkerPoolsPager - Description for Get all worker pools of an App Service Environment. +// NewListWorkerPoolsPager - Get all worker pools of an App Service Environment. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the App Service Environment. @@ -2445,7 +2443,7 @@ func (client *EnvironmentsClient) listWorkerPoolsHandleResponse(resp *http.Respo return result, nil } -// Reboot - Description for Reboot all machines in an App Service Environment. +// Reboot - Reboot all machines in an App Service Environment. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the App Service Environment. @@ -2491,7 +2489,7 @@ func (client *EnvironmentsClient) rebootCreateRequest(ctx context.Context, resou return req, nil } -// BeginResume - Description for Resume an App Service Environment. +// BeginResume - Resume an App Service Environment. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the App Service Environment. @@ -2532,7 +2530,7 @@ func (client *EnvironmentsClient) BeginResume(ctx context.Context, resourceGroup } } -// Resume - Description for Resume an App Service Environment. +// Resume - Resume an App Service Environment. // If the operation fails it returns an *azcore.ResponseError type. func (client *EnvironmentsClient) resume(ctx context.Context, resourceGroupName string, name string, options *EnvironmentsClientBeginResumeOptions) (*http.Response, error) { req, err := client.resumeCreateRequest(ctx, resourceGroupName, name, options) @@ -2584,7 +2582,7 @@ func (client *EnvironmentsClient) resumeHandleResponse(resp *http.Response) (Env return result, nil } -// BeginSuspend - Description for Suspend an App Service Environment. +// BeginSuspend - Suspend an App Service Environment. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the App Service Environment. @@ -2625,7 +2623,7 @@ func (client *EnvironmentsClient) BeginSuspend(ctx context.Context, resourceGrou } } -// Suspend - Description for Suspend an App Service Environment. +// Suspend - Suspend an App Service Environment. // If the operation fails it returns an *azcore.ResponseError type. func (client *EnvironmentsClient) suspend(ctx context.Context, resourceGroupName string, name string, options *EnvironmentsClientBeginSuspendOptions) (*http.Response, error) { req, err := client.suspendCreateRequest(ctx, resourceGroupName, name, options) @@ -2677,7 +2675,7 @@ func (client *EnvironmentsClient) suspendHandleResponse(resp *http.Response) (En return result, nil } -// Update - Description for Create or update an App Service Environment. +// Update - Create or update an App Service Environment. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the App Service Environment. @@ -2733,7 +2731,7 @@ func (client *EnvironmentsClient) updateHandleResponse(resp *http.Response) (Env return result, nil } -// UpdateAseNetworkingConfiguration - Description for Update networking configuration of an App Service Environment +// UpdateAseNetworkingConfiguration - Update networking configuration of an App Service Environment // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the App Service Environment. @@ -2789,7 +2787,7 @@ func (client *EnvironmentsClient) updateAseNetworkingConfigurationHandleResponse return result, nil } -// UpdateMultiRolePool - Description for Create or update a multi-role pool. +// UpdateMultiRolePool - Create or update a multi-role pool. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the App Service Environment. @@ -2846,7 +2844,7 @@ func (client *EnvironmentsClient) updateMultiRolePoolHandleResponse(resp *http.R return result, nil } -// UpdateWorkerPool - Description for Create or update a worker pool. +// UpdateWorkerPool - Create or update a worker pool. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the App Service Environment. diff --git a/sdk/resourcemanager/appservice/armappservice/zz_generated_global_client.go b/sdk/resourcemanager/appservice/armappservice/zz_generated_global_client.go index 42970b0d99a7..b0b76e0bcb49 100644 --- a/sdk/resourcemanager/appservice/armappservice/zz_generated_global_client.go +++ b/sdk/resourcemanager/appservice/armappservice/zz_generated_global_client.go @@ -54,7 +54,7 @@ func NewGlobalClient(subscriptionID string, credential azcore.TokenCredential, o return client, nil } -// GetDeletedWebApp - Description for Get deleted app for a subscription. +// GetDeletedWebApp - Get deleted app for a subscription. // If the operation fails it returns an *azcore.ResponseError type. // deletedSiteID - The numeric ID of the deleted app, e.g. 12345 // options - GlobalClientGetDeletedWebAppOptions contains the optional parameters for the GlobalClient.GetDeletedWebApp method. @@ -104,7 +104,7 @@ func (client *GlobalClient) getDeletedWebAppHandleResponse(resp *http.Response) return result, nil } -// GetDeletedWebAppSnapshots - Description for Get all deleted apps for a subscription. +// GetDeletedWebAppSnapshots - Get all deleted apps for a subscription. // If the operation fails it returns an *azcore.ResponseError type. // deletedSiteID - The numeric ID of the deleted app, e.g. 12345 // options - GlobalClientGetDeletedWebAppSnapshotsOptions contains the optional parameters for the GlobalClient.GetDeletedWebAppSnapshots @@ -155,7 +155,7 @@ func (client *GlobalClient) getDeletedWebAppSnapshotsHandleResponse(resp *http.R return result, nil } -// GetSubscriptionOperationWithAsyncResponse - Description for Gets an operation in a subscription and given region +// GetSubscriptionOperationWithAsyncResponse - Gets an operation in a subscription and given region // If the operation fails it returns an *azcore.ResponseError type. // location - Location name // operationID - Operation Id diff --git a/sdk/resourcemanager/appservice/armappservice/zz_generated_kubeenvironments_client.go b/sdk/resourcemanager/appservice/armappservice/zz_generated_kubeenvironments_client.go index d53848504eb3..821a9a4f5adf 100644 --- a/sdk/resourcemanager/appservice/armappservice/zz_generated_kubeenvironments_client.go +++ b/sdk/resourcemanager/appservice/armappservice/zz_generated_kubeenvironments_client.go @@ -54,7 +54,7 @@ func NewKubeEnvironmentsClient(subscriptionID string, credential azcore.TokenCre return client, nil } -// BeginCreateOrUpdate - Description for Creates or updates a Kubernetes Environment. +// BeginCreateOrUpdate - Creates or updates a Kubernetes Environment. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the Kubernetes Environment. @@ -73,7 +73,7 @@ func (client *KubeEnvironmentsClient) BeginCreateOrUpdate(ctx context.Context, r } } -// CreateOrUpdate - Description for Creates or updates a Kubernetes Environment. +// CreateOrUpdate - Creates or updates a Kubernetes Environment. // If the operation fails it returns an *azcore.ResponseError type. func (client *KubeEnvironmentsClient) createOrUpdate(ctx context.Context, resourceGroupName string, name string, kubeEnvironmentEnvelope KubeEnvironment, options *KubeEnvironmentsClientBeginCreateOrUpdateOptions) (*http.Response, error) { req, err := client.createOrUpdateCreateRequest(ctx, resourceGroupName, name, kubeEnvironmentEnvelope, options) @@ -116,7 +116,7 @@ func (client *KubeEnvironmentsClient) createOrUpdateCreateRequest(ctx context.Co return req, runtime.MarshalAsJSON(req, kubeEnvironmentEnvelope) } -// BeginDelete - Description for Delete a Kubernetes Environment. +// BeginDelete - Delete a Kubernetes Environment. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the Kubernetes Environment. @@ -134,7 +134,7 @@ func (client *KubeEnvironmentsClient) BeginDelete(ctx context.Context, resourceG } } -// Delete - Description for Delete a Kubernetes Environment. +// Delete - Delete a Kubernetes Environment. // If the operation fails it returns an *azcore.ResponseError type. func (client *KubeEnvironmentsClient) deleteOperation(ctx context.Context, resourceGroupName string, name string, options *KubeEnvironmentsClientBeginDeleteOptions) (*http.Response, error) { req, err := client.deleteCreateRequest(ctx, resourceGroupName, name, options) @@ -177,7 +177,7 @@ func (client *KubeEnvironmentsClient) deleteCreateRequest(ctx context.Context, r return req, nil } -// Get - Description for Get the properties of a Kubernetes Environment. +// Get - Get the properties of a Kubernetes Environment. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the Kubernetes Environment. @@ -232,7 +232,7 @@ func (client *KubeEnvironmentsClient) getHandleResponse(resp *http.Response) (Ku return result, nil } -// NewListByResourceGroupPager - Description for Get all the Kubernetes Environments in a resource group. +// NewListByResourceGroupPager - Get all the Kubernetes Environments in a resource group. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // options - KubeEnvironmentsClientListByResourceGroupOptions contains the optional parameters for the KubeEnvironmentsClient.ListByResourceGroup @@ -296,7 +296,7 @@ func (client *KubeEnvironmentsClient) listByResourceGroupHandleResponse(resp *ht return result, nil } -// NewListBySubscriptionPager - Description for Get all Kubernetes Environments for a subscription. +// NewListBySubscriptionPager - Get all Kubernetes Environments for a subscription. // If the operation fails it returns an *azcore.ResponseError type. // options - KubeEnvironmentsClientListBySubscriptionOptions contains the optional parameters for the KubeEnvironmentsClient.ListBySubscription // method. @@ -355,7 +355,7 @@ func (client *KubeEnvironmentsClient) listBySubscriptionHandleResponse(resp *htt return result, nil } -// Update - Description for Creates or updates a Kubernetes Environment. +// Update - Creates or updates a Kubernetes Environment. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the Kubernetes Environment. diff --git a/sdk/resourcemanager/appservice/armappservice/zz_generated_plans_client.go b/sdk/resourcemanager/appservice/armappservice/zz_generated_plans_client.go index 3b9963da38e4..21cb778c8ca2 100644 --- a/sdk/resourcemanager/appservice/armappservice/zz_generated_plans_client.go +++ b/sdk/resourcemanager/appservice/armappservice/zz_generated_plans_client.go @@ -55,7 +55,7 @@ func NewPlansClient(subscriptionID string, credential azcore.TokenCredential, op return client, nil } -// BeginCreateOrUpdate - Description for Creates or updates an App Service Plan. +// BeginCreateOrUpdate - Creates or updates an App Service Plan. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the App Service plan. @@ -74,7 +74,7 @@ func (client *PlansClient) BeginCreateOrUpdate(ctx context.Context, resourceGrou } } -// CreateOrUpdate - Description for Creates or updates an App Service Plan. +// CreateOrUpdate - Creates or updates an App Service Plan. // If the operation fails it returns an *azcore.ResponseError type. func (client *PlansClient) createOrUpdate(ctx context.Context, resourceGroupName string, name string, appServicePlan Plan, options *PlansClientBeginCreateOrUpdateOptions) (*http.Response, error) { req, err := client.createOrUpdateCreateRequest(ctx, resourceGroupName, name, appServicePlan, options) @@ -117,7 +117,7 @@ func (client *PlansClient) createOrUpdateCreateRequest(ctx context.Context, reso return req, runtime.MarshalAsJSON(req, appServicePlan) } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the App Service plan. @@ -184,7 +184,7 @@ func (client *PlansClient) createOrUpdateVnetRouteHandleResponse(resp *http.Resp return result, nil } -// Delete - Description for Delete an App Service plan. +// Delete - Delete an App Service plan. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the App Service plan. @@ -230,7 +230,7 @@ func (client *PlansClient) deleteCreateRequest(ctx context.Context, resourceGrou return req, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the App Service plan. @@ -287,7 +287,7 @@ func (client *PlansClient) deleteHybridConnectionCreateRequest(ctx context.Conte return req, nil } -// DeleteVnetRoute - Description for Delete a Virtual Network route in an App Service plan. +// DeleteVnetRoute - Delete a Virtual Network route in an App Service plan. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the App Service plan. @@ -343,7 +343,7 @@ func (client *PlansClient) deleteVnetRouteCreateRequest(ctx context.Context, res return req, nil } -// Get - Description for Get an App Service plan. +// Get - Get an App Service plan. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the App Service plan. @@ -398,7 +398,7 @@ func (client *PlansClient) getHandleResponse(resp *http.Response) (PlansClientGe return result, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the App Service plan. @@ -464,7 +464,7 @@ func (client *PlansClient) getHybridConnectionHandleResponse(resp *http.Response return result, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the App Service plan. @@ -520,7 +520,7 @@ func (client *PlansClient) getHybridConnectionPlanLimitHandleResponse(resp *http return result, nil } -// GetRouteForVnet - Description for Get a Virtual Network route in an App Service plan. +// GetRouteForVnet - Get a Virtual Network route in an App Service plan. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the App Service plan. @@ -585,7 +585,7 @@ func (client *PlansClient) getRouteForVnetHandleResponse(resp *http.Response) (P return result, nil } -// GetServerFarmSKUs - Description for Gets all selectable SKUs for a given App Service Plan +// GetServerFarmSKUs - Gets all selectable SKUs for a given App Service Plan // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of App Service Plan @@ -640,7 +640,7 @@ func (client *PlansClient) getServerFarmSKUsHandleResponse(resp *http.Response) return result, nil } -// GetVnetFromServerFarm - Description for Get a Virtual Network associated with an App Service plan. +// GetVnetFromServerFarm - Get a Virtual Network associated with an App Service plan. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the App Service plan. @@ -701,7 +701,7 @@ func (client *PlansClient) getVnetFromServerFarmHandleResponse(resp *http.Respon return result, nil } -// GetVnetGateway - Description for Get a Virtual Network gateway. +// GetVnetGateway - Get a Virtual Network gateway. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the App Service plan. @@ -766,7 +766,7 @@ func (client *PlansClient) getVnetGatewayHandleResponse(resp *http.Response) (Pl return result, nil } -// NewListPager - Description for Get all App Service plans for a subscription. +// NewListPager - Get all App Service plans for a subscription. // If the operation fails it returns an *azcore.ResponseError type. // options - PlansClientListOptions contains the optional parameters for the PlansClient.List method. func (client *PlansClient) NewListPager(options *PlansClientListOptions) *runtime.Pager[PlansClientListResponse] { @@ -827,7 +827,7 @@ func (client *PlansClient) listHandleResponse(resp *http.Response) (PlansClientL return result, nil } -// NewListByResourceGroupPager - Description for Get all App Service plans in a resource group. +// NewListByResourceGroupPager - Get all App Service plans in a resource group. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // options - PlansClientListByResourceGroupOptions contains the optional parameters for the PlansClient.ListByResourceGroup @@ -891,7 +891,7 @@ func (client *PlansClient) listByResourceGroupHandleResponse(resp *http.Response return result, nil } -// ListCapabilities - Description for List all capabilities of an App Service plan. +// ListCapabilities - List all capabilities of an App Service plan. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the App Service plan. @@ -946,7 +946,7 @@ func (client *PlansClient) listCapabilitiesHandleResponse(resp *http.Response) ( return result, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the App Service plan. @@ -1012,7 +1012,7 @@ func (client *PlansClient) listHybridConnectionKeysHandleResponse(resp *http.Res return result, nil } -// NewListHybridConnectionsPager - Description for Retrieve all Hybrid Connections in use in an App Service plan. +// NewListHybridConnectionsPager - Retrieve all Hybrid Connections in use in an App Service plan. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the App Service plan. @@ -1081,7 +1081,7 @@ func (client *PlansClient) listHybridConnectionsHandleResponse(resp *http.Respon return result, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the App Service plan. @@ -1141,7 +1141,7 @@ func (client *PlansClient) listRoutesForVnetHandleResponse(resp *http.Response) return result, nil } -// NewListUsagesPager - Description for Gets server farm usage information +// NewListUsagesPager - Gets server farm usage information // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of App Service Plan @@ -1214,7 +1214,7 @@ func (client *PlansClient) listUsagesHandleResponse(resp *http.Response) (PlansC return result, nil } -// ListVnets - Description for Get all Virtual Networks associated with an App Service plan. +// ListVnets - Get all Virtual Networks associated with an App Service plan. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the App Service plan. @@ -1269,7 +1269,7 @@ func (client *PlansClient) listVnetsHandleResponse(resp *http.Response) (PlansCl return result, nil } -// NewListWebAppsPager - Description for Get all apps associated with an App Service plan. +// NewListWebAppsPager - Get all apps associated with an App Service plan. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the App Service plan. @@ -1348,7 +1348,7 @@ func (client *PlansClient) listWebAppsHandleResponse(resp *http.Response) (Plans return result, nil } -// NewListWebAppsByHybridConnectionPager - Description for Get all apps that use a Hybrid Connection in an App Service Plan. +// NewListWebAppsByHybridConnectionPager - Get all apps that use a Hybrid Connection in an App Service Plan. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the App Service plan. @@ -1427,7 +1427,7 @@ func (client *PlansClient) listWebAppsByHybridConnectionHandleResponse(resp *htt return result, nil } -// RebootWorker - Description for Reboot a worker machine in an App Service plan. +// RebootWorker - Reboot a worker machine in an App Service plan. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the App Service plan. @@ -1478,7 +1478,7 @@ func (client *PlansClient) rebootWorkerCreateRequest(ctx context.Context, resour return req, nil } -// RestartWebApps - Description for Restart all apps in an App Service plan. +// RestartWebApps - Restart all apps in an App Service plan. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the App Service plan. @@ -1527,7 +1527,7 @@ func (client *PlansClient) restartWebAppsCreateRequest(ctx context.Context, reso return req, nil } -// Update - Description for Creates or updates an App Service Plan. +// Update - Creates or updates an App Service Plan. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the App Service plan. @@ -1583,7 +1583,7 @@ func (client *PlansClient) updateHandleResponse(resp *http.Response) (PlansClien return result, nil } -// UpdateVnetGateway - Description for Update a Virtual Network gateway. +// UpdateVnetGateway - Update a Virtual Network gateway. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the App Service plan. @@ -1649,7 +1649,7 @@ func (client *PlansClient) updateVnetGatewayHandleResponse(resp *http.Response) return result, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the App Service plan. diff --git a/sdk/resourcemanager/appservice/armappservice/zz_generated_provider_client.go b/sdk/resourcemanager/appservice/armappservice/zz_generated_provider_client.go index e59a3d9d4e7c..93b29d4ea936 100644 --- a/sdk/resourcemanager/appservice/armappservice/zz_generated_provider_client.go +++ b/sdk/resourcemanager/appservice/armappservice/zz_generated_provider_client.go @@ -54,7 +54,7 @@ func NewProviderClient(subscriptionID string, credential azcore.TokenCredential, return client, nil } -// NewGetAvailableStacksPager - Description for Get available application frameworks and their versions +// NewGetAvailableStacksPager - Get available application frameworks and their versions // If the operation fails it returns an *azcore.ResponseError type. // options - ProviderClientGetAvailableStacksOptions contains the optional parameters for the ProviderClient.GetAvailableStacks // method. @@ -112,7 +112,7 @@ func (client *ProviderClient) getAvailableStacksHandleResponse(resp *http.Respon return result, nil } -// NewGetAvailableStacksOnPremPager - Description for Get available application frameworks and their versions +// NewGetAvailableStacksOnPremPager - Get available application frameworks and their versions // If the operation fails it returns an *azcore.ResponseError type. // options - ProviderClientGetAvailableStacksOnPremOptions contains the optional parameters for the ProviderClient.GetAvailableStacksOnPrem // method. @@ -174,7 +174,7 @@ func (client *ProviderClient) getAvailableStacksOnPremHandleResponse(resp *http. return result, nil } -// NewGetFunctionAppStacksPager - Description for Get available Function app frameworks and their versions +// NewGetFunctionAppStacksPager - Get available Function app frameworks and their versions // If the operation fails it returns an *azcore.ResponseError type. // options - ProviderClientGetFunctionAppStacksOptions contains the optional parameters for the ProviderClient.GetFunctionAppStacks // method. @@ -232,8 +232,7 @@ func (client *ProviderClient) getFunctionAppStacksHandleResponse(resp *http.Resp return result, nil } -// NewGetFunctionAppStacksForLocationPager - Description for Get available Function app frameworks and their versions for -// location +// NewGetFunctionAppStacksForLocationPager - Get available Function app frameworks and their versions for location // If the operation fails it returns an *azcore.ResponseError type. // location - Function App stack location. // options - ProviderClientGetFunctionAppStacksForLocationOptions contains the optional parameters for the ProviderClient.GetFunctionAppStacksForLocation @@ -296,7 +295,7 @@ func (client *ProviderClient) getFunctionAppStacksForLocationHandleResponse(resp return result, nil } -// NewGetWebAppStacksPager - Description for Get available Web app frameworks and their versions +// NewGetWebAppStacksPager - Get available Web app frameworks and their versions // If the operation fails it returns an *azcore.ResponseError type. // options - ProviderClientGetWebAppStacksOptions contains the optional parameters for the ProviderClient.GetWebAppStacks // method. @@ -354,7 +353,7 @@ func (client *ProviderClient) getWebAppStacksHandleResponse(resp *http.Response) return result, nil } -// NewGetWebAppStacksForLocationPager - Description for Get available Web app frameworks and their versions for location +// NewGetWebAppStacksForLocationPager - Get available Web app frameworks and their versions for location // If the operation fails it returns an *azcore.ResponseError type. // location - Web App stack location. // options - ProviderClientGetWebAppStacksForLocationOptions contains the optional parameters for the ProviderClient.GetWebAppStacksForLocation @@ -417,8 +416,8 @@ func (client *ProviderClient) getWebAppStacksForLocationHandleResponse(resp *htt return result, nil } -// NewListOperationsPager - Description for Gets all available operations for the Microsoft.Web resource provider. Also exposes -// resource metric definitions +// NewListOperationsPager - Gets all available operations for the Microsoft.Web resource provider. Also exposes resource metric +// definitions // If the operation fails it returns an *azcore.ResponseError type. // options - ProviderClientListOperationsOptions contains the optional parameters for the ProviderClient.ListOperations method. func (client *ProviderClient) NewListOperationsPager(options *ProviderClientListOperationsOptions) *runtime.Pager[ProviderClientListOperationsResponse] { diff --git a/sdk/resourcemanager/appservice/armappservice/zz_generated_recommendations_client.go b/sdk/resourcemanager/appservice/armappservice/zz_generated_recommendations_client.go index 7d6f729a81ad..5204f470e7ea 100644 --- a/sdk/resourcemanager/appservice/armappservice/zz_generated_recommendations_client.go +++ b/sdk/resourcemanager/appservice/armappservice/zz_generated_recommendations_client.go @@ -55,7 +55,7 @@ func NewRecommendationsClient(subscriptionID string, credential azcore.TokenCred return client, nil } -// DisableAllForHostingEnvironment - Description for Disable all recommendations for an app. +// DisableAllForHostingEnvironment - Disable all recommendations for an app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // environmentName - Name of the app. @@ -103,7 +103,7 @@ func (client *RecommendationsClient) disableAllForHostingEnvironmentCreateReques return req, nil } -// DisableAllForWebApp - Description for Disable all recommendations for an app. +// DisableAllForWebApp - Disable all recommendations for an app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // siteName - Name of the app. @@ -150,7 +150,7 @@ func (client *RecommendationsClient) disableAllForWebAppCreateRequest(ctx contex return req, nil } -// DisableRecommendationForHostingEnvironment - Description for Disables the specific rule for a web site permanently. +// DisableRecommendationForHostingEnvironment - Disables the specific rule for a web site permanently. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // environmentName - Site name @@ -203,7 +203,7 @@ func (client *RecommendationsClient) disableRecommendationForHostingEnvironmentC return req, nil } -// DisableRecommendationForSite - Description for Disables the specific rule for a web site permanently. +// DisableRecommendationForSite - Disables the specific rule for a web site permanently. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // siteName - Site name @@ -255,8 +255,7 @@ func (client *RecommendationsClient) disableRecommendationForSiteCreateRequest(c return req, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // name - Rule name // options - RecommendationsClientDisableRecommendationForSubscriptionOptions contains the optional parameters for the RecommendationsClient.DisableRecommendationForSubscription @@ -298,7 +297,7 @@ func (client *RecommendationsClient) disableRecommendationForSubscriptionCreateR return req, nil } -// GetRuleDetailsByHostingEnvironment - Description for Get a recommendation rule for an app. +// GetRuleDetailsByHostingEnvironment - Get a recommendation rule for an app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // hostingEnvironmentName - Name of the hosting environment. @@ -365,7 +364,7 @@ func (client *RecommendationsClient) getRuleDetailsByHostingEnvironmentHandleRes return result, nil } -// GetRuleDetailsByWebApp - Description for Get a recommendation rule for an app. +// GetRuleDetailsByWebApp - Get a recommendation rule for an app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // siteName - Name of the app. @@ -432,7 +431,7 @@ func (client *RecommendationsClient) getRuleDetailsByWebAppHandleResponse(resp * return result, nil } -// NewListPager - Description for List all recommendations for a subscription. +// NewListPager - List all recommendations for a subscription. // If the operation fails it returns an *azcore.ResponseError type. // options - RecommendationsClientListOptions contains the optional parameters for the RecommendationsClient.List method. func (client *RecommendationsClient) NewListPager(options *RecommendationsClientListOptions) *runtime.Pager[RecommendationsClientListResponse] { @@ -498,8 +497,7 @@ func (client *RecommendationsClient) listHandleResponse(resp *http.Response) (Re return result, nil } -// NewListHistoryForHostingEnvironmentPager - Description for Get past recommendations for an app, optionally specified by -// the time range. +// NewListHistoryForHostingEnvironmentPager - Get past recommendations for an app, optionally specified by the time range. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // hostingEnvironmentName - Name of the hosting environment. @@ -576,7 +574,7 @@ func (client *RecommendationsClient) listHistoryForHostingEnvironmentHandleRespo return result, nil } -// NewListHistoryForWebAppPager - Description for Get past recommendations for an app, optionally specified by the time range. +// NewListHistoryForWebAppPager - Get past recommendations for an app, optionally specified by the time range. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // siteName - Name of the app. @@ -653,7 +651,7 @@ func (client *RecommendationsClient) listHistoryForWebAppHandleResponse(resp *ht return result, nil } -// NewListRecommendedRulesForHostingEnvironmentPager - Description for Get all recommendations for a hosting environment. +// NewListRecommendedRulesForHostingEnvironmentPager - Get all recommendations for a hosting environment. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // hostingEnvironmentName - Name of the app. @@ -730,7 +728,7 @@ func (client *RecommendationsClient) listRecommendedRulesForHostingEnvironmentHa return result, nil } -// NewListRecommendedRulesForWebAppPager - Description for Get all recommendations for an app. +// NewListRecommendedRulesForWebAppPager - Get all recommendations for an app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // siteName - Name of the app. @@ -807,7 +805,7 @@ func (client *RecommendationsClient) listRecommendedRulesForWebAppHandleResponse return result, nil } -// ResetAllFilters - Description for Reset all recommendation opt-out settings for a subscription. +// ResetAllFilters - Reset all recommendation opt-out settings for a subscription. // If the operation fails it returns an *azcore.ResponseError type. // options - RecommendationsClientResetAllFiltersOptions contains the optional parameters for the RecommendationsClient.ResetAllFilters // method. @@ -844,7 +842,7 @@ func (client *RecommendationsClient) resetAllFiltersCreateRequest(ctx context.Co return req, nil } -// ResetAllFiltersForHostingEnvironment - Description for Reset all recommendation opt-out settings for an app. +// ResetAllFiltersForHostingEnvironment - Reset all recommendation opt-out settings for an app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // environmentName - Name of the app. @@ -892,7 +890,7 @@ func (client *RecommendationsClient) resetAllFiltersForHostingEnvironmentCreateR return req, nil } -// ResetAllFiltersForWebApp - Description for Reset all recommendation opt-out settings for an app. +// ResetAllFiltersForWebApp - Reset all recommendation opt-out settings for an app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // siteName - Name of the app. diff --git a/sdk/resourcemanager/appservice/armappservice/zz_generated_resourcehealthmetadata_client.go b/sdk/resourcemanager/appservice/armappservice/zz_generated_resourcehealthmetadata_client.go index 8425fbacd24c..dbb2497124e6 100644 --- a/sdk/resourcemanager/appservice/armappservice/zz_generated_resourcehealthmetadata_client.go +++ b/sdk/resourcemanager/appservice/armappservice/zz_generated_resourcehealthmetadata_client.go @@ -54,7 +54,7 @@ func NewResourceHealthMetadataClient(subscriptionID string, credential azcore.To return client, nil } -// 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 // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of web app @@ -110,7 +110,7 @@ func (client *ResourceHealthMetadataClient) getBySiteHandleResponse(resp *http.R return result, nil } -// 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 // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of web app @@ -171,7 +171,7 @@ func (client *ResourceHealthMetadataClient) getBySiteSlotHandleResponse(resp *ht return result, nil } -// NewListPager - Description for List all ResourceHealthMetadata for all sites in the subscription. +// NewListPager - List all ResourceHealthMetadata for all sites in the subscription. // If the operation fails it returns an *azcore.ResponseError type. // options - ResourceHealthMetadataClientListOptions contains the optional parameters for the ResourceHealthMetadataClient.List // method. @@ -230,8 +230,7 @@ func (client *ResourceHealthMetadataClient) listHandleResponse(resp *http.Respon return result, nil } -// NewListByResourceGroupPager - Description for List all ResourceHealthMetadata for all sites in the resource group in the -// subscription. +// NewListByResourceGroupPager - List all ResourceHealthMetadata for all sites in the resource group in the subscription. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // options - ResourceHealthMetadataClientListByResourceGroupOptions contains the optional parameters for the ResourceHealthMetadataClient.ListByResourceGroup @@ -295,7 +294,7 @@ func (client *ResourceHealthMetadataClient) listByResourceGroupHandleResponse(re return result, nil } -// NewListBySitePager - Description for Gets the category of ResourceHealthMetadata to use for the given site as a collection +// NewListBySitePager - Gets the category of ResourceHealthMetadata to use for the given site as a collection // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of web app. @@ -364,7 +363,7 @@ func (client *ResourceHealthMetadataClient) listBySiteHandleResponse(resp *http. return result, nil } -// NewListBySiteSlotPager - Description for Gets the category of ResourceHealthMetadata to use for the given site as a collection +// NewListBySiteSlotPager - Gets the category of ResourceHealthMetadata to use for the given site as a collection // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of web app. diff --git a/sdk/resourcemanager/appservice/armappservice/zz_generated_staticsites_client.go b/sdk/resourcemanager/appservice/armappservice/zz_generated_staticsites_client.go index ff859ebc14c6..86a1ea1531d2 100644 --- a/sdk/resourcemanager/appservice/armappservice/zz_generated_staticsites_client.go +++ b/sdk/resourcemanager/appservice/armappservice/zz_generated_staticsites_client.go @@ -55,7 +55,7 @@ func NewStaticSitesClient(subscriptionID string, credential azcore.TokenCredenti return client, nil } -// BeginApproveOrRejectPrivateEndpointConnection - Description for Approves or rejects a private endpoint connection +// BeginApproveOrRejectPrivateEndpointConnection - Approves or rejects a private endpoint connection // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the static site. @@ -75,7 +75,7 @@ func (client *StaticSitesClient) BeginApproveOrRejectPrivateEndpointConnection(c } } -// ApproveOrRejectPrivateEndpointConnection - Description for Approves or rejects a private endpoint connection +// ApproveOrRejectPrivateEndpointConnection - Approves or rejects a private endpoint connection // If the operation fails it returns an *azcore.ResponseError type. func (client *StaticSitesClient) approveOrRejectPrivateEndpointConnection(ctx context.Context, resourceGroupName string, name string, privateEndpointConnectionName string, privateEndpointWrapper PrivateLinkConnectionApprovalRequestResource, options *StaticSitesClientBeginApproveOrRejectPrivateEndpointConnectionOptions) (*http.Response, error) { req, err := client.approveOrRejectPrivateEndpointConnectionCreateRequest(ctx, resourceGroupName, name, privateEndpointConnectionName, privateEndpointWrapper, options) @@ -122,8 +122,8 @@ func (client *StaticSitesClient) approveOrRejectPrivateEndpointConnectionCreateR return req, runtime.MarshalAsJSON(req, privateEndpointWrapper) } -// BeginCreateOrUpdateStaticSite - Description for Creates a new static site in an existing resource group, or updates an -// existing static site. +// BeginCreateOrUpdateStaticSite - Creates a new static site in an existing resource group, or updates an existing static +// site. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the static site to create or update. @@ -142,8 +142,7 @@ func (client *StaticSitesClient) BeginCreateOrUpdateStaticSite(ctx context.Conte } } -// 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. // If the operation fails it returns an *azcore.ResponseError type. func (client *StaticSitesClient) createOrUpdateStaticSite(ctx context.Context, resourceGroupName string, name string, staticSiteEnvelope StaticSiteARMResource, options *StaticSitesClientBeginCreateOrUpdateStaticSiteOptions) (*http.Response, error) { req, err := client.createOrUpdateStaticSiteCreateRequest(ctx, resourceGroupName, name, staticSiteEnvelope, options) @@ -186,7 +185,7 @@ func (client *StaticSitesClient) createOrUpdateStaticSiteCreateRequest(ctx conte return req, runtime.MarshalAsJSON(req, staticSiteEnvelope) } -// CreateOrUpdateStaticSiteAppSettings - Description for Creates or updates the app settings of a static site. +// CreateOrUpdateStaticSiteAppSettings - Creates or updates the app settings of a static site. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the static site. @@ -243,7 +242,7 @@ func (client *StaticSitesClient) createOrUpdateStaticSiteAppSettingsHandleRespon return result, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the static site. @@ -305,8 +304,7 @@ func (client *StaticSitesClient) createOrUpdateStaticSiteBuildAppSettingsHandleR return result, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the static site. @@ -368,8 +366,8 @@ func (client *StaticSitesClient) createOrUpdateStaticSiteBuildFunctionAppSetting return result, nil } -// BeginCreateOrUpdateStaticSiteCustomDomain - Description for Creates a new static site custom domain in an existing resource -// group and static site. +// BeginCreateOrUpdateStaticSiteCustomDomain - Creates a new static site custom domain in an existing resource group and static +// site. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the static site. @@ -390,8 +388,8 @@ func (client *StaticSitesClient) BeginCreateOrUpdateStaticSiteCustomDomain(ctx c } } -// 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. // If the operation fails it returns an *azcore.ResponseError type. func (client *StaticSitesClient) createOrUpdateStaticSiteCustomDomain(ctx context.Context, resourceGroupName string, name string, domainName string, staticSiteCustomDomainRequestPropertiesEnvelope StaticSiteCustomDomainRequestPropertiesARMResource, options *StaticSitesClientBeginCreateOrUpdateStaticSiteCustomDomainOptions) (*http.Response, error) { req, err := client.createOrUpdateStaticSiteCustomDomainCreateRequest(ctx, resourceGroupName, name, domainName, staticSiteCustomDomainRequestPropertiesEnvelope, options) @@ -438,8 +436,7 @@ func (client *StaticSitesClient) createOrUpdateStaticSiteCustomDomainCreateReque return req, runtime.MarshalAsJSON(req, staticSiteCustomDomainRequestPropertiesEnvelope) } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the static site. @@ -496,7 +493,7 @@ func (client *StaticSitesClient) createOrUpdateStaticSiteFunctionAppSettingsHand return result, nil } -// CreateUserRolesInvitationLink - Description for Creates an invitation link for a user with the role +// CreateUserRolesInvitationLink - Creates an invitation link for a user with the role // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the static site. @@ -552,7 +549,7 @@ func (client *StaticSitesClient) createUserRolesInvitationLinkHandleResponse(res return result, nil } -// BeginCreateZipDeploymentForStaticSite - Description for Deploys zipped content to a static site. +// BeginCreateZipDeploymentForStaticSite - Deploys zipped content to a static site. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the static site. @@ -571,7 +568,7 @@ func (client *StaticSitesClient) BeginCreateZipDeploymentForStaticSite(ctx conte } } -// CreateZipDeploymentForStaticSite - Description for Deploys zipped content to a static site. +// CreateZipDeploymentForStaticSite - Deploys zipped content to a static site. // If the operation fails it returns an *azcore.ResponseError type. func (client *StaticSitesClient) createZipDeploymentForStaticSite(ctx context.Context, resourceGroupName string, name string, staticSiteZipDeploymentEnvelope StaticSiteZipDeploymentARMResource, options *StaticSitesClientBeginCreateZipDeploymentForStaticSiteOptions) (*http.Response, error) { req, err := client.createZipDeploymentForStaticSiteCreateRequest(ctx, resourceGroupName, name, staticSiteZipDeploymentEnvelope, options) @@ -614,8 +611,7 @@ func (client *StaticSitesClient) createZipDeploymentForStaticSiteCreateRequest(c return req, runtime.MarshalAsJSON(req, staticSiteZipDeploymentEnvelope) } -// BeginCreateZipDeploymentForStaticSiteBuild - Description for Deploys zipped content to a specific environment of a static -// site. +// BeginCreateZipDeploymentForStaticSiteBuild - Deploys zipped content to a specific environment of a static site. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the static site. @@ -635,7 +631,7 @@ func (client *StaticSitesClient) BeginCreateZipDeploymentForStaticSiteBuild(ctx } } -// 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. // If the operation fails it returns an *azcore.ResponseError type. func (client *StaticSitesClient) createZipDeploymentForStaticSiteBuild(ctx context.Context, resourceGroupName string, name string, environmentName string, staticSiteZipDeploymentEnvelope StaticSiteZipDeploymentARMResource, options *StaticSitesClientBeginCreateZipDeploymentForStaticSiteBuildOptions) (*http.Response, error) { req, err := client.createZipDeploymentForStaticSiteBuildCreateRequest(ctx, resourceGroupName, name, environmentName, staticSiteZipDeploymentEnvelope, options) @@ -682,7 +678,7 @@ func (client *StaticSitesClient) createZipDeploymentForStaticSiteBuildCreateRequ return req, runtime.MarshalAsJSON(req, staticSiteZipDeploymentEnvelope) } -// BeginDeletePrivateEndpointConnection - Description for Deletes a private endpoint connection +// BeginDeletePrivateEndpointConnection - Deletes a private endpoint connection // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the static site. @@ -701,7 +697,7 @@ func (client *StaticSitesClient) BeginDeletePrivateEndpointConnection(ctx contex } } -// DeletePrivateEndpointConnection - Description for Deletes a private endpoint connection +// DeletePrivateEndpointConnection - Deletes a private endpoint connection // If the operation fails it returns an *azcore.ResponseError type. func (client *StaticSitesClient) deletePrivateEndpointConnection(ctx context.Context, resourceGroupName string, name string, privateEndpointConnectionName string, options *StaticSitesClientBeginDeletePrivateEndpointConnectionOptions) (*http.Response, error) { req, err := client.deletePrivateEndpointConnectionCreateRequest(ctx, resourceGroupName, name, privateEndpointConnectionName, options) @@ -748,7 +744,7 @@ func (client *StaticSitesClient) deletePrivateEndpointConnectionCreateRequest(ct return req, nil } -// BeginDeleteStaticSite - Description for Deletes a static site. +// BeginDeleteStaticSite - Deletes a static site. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the static site to delete. @@ -766,7 +762,7 @@ func (client *StaticSitesClient) BeginDeleteStaticSite(ctx context.Context, reso } } -// DeleteStaticSite - Description for Deletes a static site. +// DeleteStaticSite - Deletes a static site. // If the operation fails it returns an *azcore.ResponseError type. func (client *StaticSitesClient) deleteStaticSite(ctx context.Context, resourceGroupName string, name string, options *StaticSitesClientBeginDeleteStaticSiteOptions) (*http.Response, error) { req, err := client.deleteStaticSiteCreateRequest(ctx, resourceGroupName, name, options) @@ -809,7 +805,7 @@ func (client *StaticSitesClient) deleteStaticSiteCreateRequest(ctx context.Conte return req, nil } -// BeginDeleteStaticSiteBuild - Description for Deletes a static site build. +// BeginDeleteStaticSiteBuild - Deletes a static site build. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the static site. @@ -828,7 +824,7 @@ func (client *StaticSitesClient) BeginDeleteStaticSiteBuild(ctx context.Context, } } -// DeleteStaticSiteBuild - Description for Deletes a static site build. +// DeleteStaticSiteBuild - Deletes a static site build. // If the operation fails it returns an *azcore.ResponseError type. func (client *StaticSitesClient) deleteStaticSiteBuild(ctx context.Context, resourceGroupName string, name string, environmentName string, options *StaticSitesClientBeginDeleteStaticSiteBuildOptions) (*http.Response, error) { req, err := client.deleteStaticSiteBuildCreateRequest(ctx, resourceGroupName, name, environmentName, options) @@ -875,7 +871,7 @@ func (client *StaticSitesClient) deleteStaticSiteBuildCreateRequest(ctx context. return req, nil } -// BeginDeleteStaticSiteCustomDomain - Description for Deletes a custom domain. +// BeginDeleteStaticSiteCustomDomain - Deletes a custom domain. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the static site. @@ -894,7 +890,7 @@ func (client *StaticSitesClient) BeginDeleteStaticSiteCustomDomain(ctx context.C } } -// DeleteStaticSiteCustomDomain - Description for Deletes a custom domain. +// DeleteStaticSiteCustomDomain - Deletes a custom domain. // If the operation fails it returns an *azcore.ResponseError type. func (client *StaticSitesClient) deleteStaticSiteCustomDomain(ctx context.Context, resourceGroupName string, name string, domainName string, options *StaticSitesClientBeginDeleteStaticSiteCustomDomainOptions) (*http.Response, error) { req, err := client.deleteStaticSiteCustomDomainCreateRequest(ctx, resourceGroupName, name, domainName, options) @@ -941,7 +937,7 @@ func (client *StaticSitesClient) deleteStaticSiteCustomDomainCreateRequest(ctx c return req, nil } -// DeleteStaticSiteUser - Description for Deletes the user entry from the static site. +// DeleteStaticSiteUser - Deletes the user entry from the static site. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the staticsite. @@ -998,7 +994,7 @@ func (client *StaticSitesClient) deleteStaticSiteUserCreateRequest(ctx context.C return req, nil } -// BeginDetachStaticSite - Description for Detaches a static site. +// BeginDetachStaticSite - Detaches a static site. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the static site to detach. @@ -1016,7 +1012,7 @@ func (client *StaticSitesClient) BeginDetachStaticSite(ctx context.Context, reso } } -// DetachStaticSite - Description for Detaches a static site. +// DetachStaticSite - Detaches a static site. // If the operation fails it returns an *azcore.ResponseError type. func (client *StaticSitesClient) detachStaticSite(ctx context.Context, resourceGroupName string, name string, options *StaticSitesClientBeginDetachStaticSiteOptions) (*http.Response, error) { req, err := client.detachStaticSiteCreateRequest(ctx, resourceGroupName, name, options) @@ -1059,7 +1055,7 @@ func (client *StaticSitesClient) detachStaticSiteCreateRequest(ctx context.Conte return req, nil } -// DetachUserProvidedFunctionAppFromStaticSite - Description for Detach the user provided function app from the static site +// DetachUserProvidedFunctionAppFromStaticSite - Detach the user provided function app from the static site // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the static site. @@ -1111,8 +1107,7 @@ func (client *StaticSitesClient) detachUserProvidedFunctionAppFromStaticSiteCrea return req, nil } -// 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 // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the static site. @@ -1169,7 +1164,7 @@ func (client *StaticSitesClient) detachUserProvidedFunctionAppFromStaticSiteBuil return req, nil } -// GetPrivateEndpointConnection - Description for Gets a private endpoint connection +// GetPrivateEndpointConnection - Gets a private endpoint connection // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the static site. @@ -1230,8 +1225,7 @@ func (client *StaticSitesClient) getPrivateEndpointConnectionHandleResponse(resp return result, nil } -// NewGetPrivateEndpointConnectionListPager - Description for Gets the list of private endpoint connections associated with -// a static site +// NewGetPrivateEndpointConnectionListPager - Gets the list of private endpoint connections associated with a static site // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the static site. @@ -1300,7 +1294,7 @@ func (client *StaticSitesClient) getPrivateEndpointConnectionListHandleResponse( return result, nil } -// GetPrivateLinkResources - Description for Gets the private link resources +// GetPrivateLinkResources - Gets the private link resources // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the site. @@ -1356,7 +1350,7 @@ func (client *StaticSitesClient) getPrivateLinkResourcesHandleResponse(resp *htt return result, nil } -// GetStaticSite - Description for Gets the details of a static site. +// GetStaticSite - Gets the details of a static site. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the static site. @@ -1412,7 +1406,7 @@ func (client *StaticSitesClient) getStaticSiteHandleResponse(resp *http.Response return result, nil } -// GetStaticSiteBuild - Description for Gets the details of a static site build. +// GetStaticSiteBuild - Gets the details of a static site build. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the static site. @@ -1473,7 +1467,7 @@ func (client *StaticSitesClient) getStaticSiteBuildHandleResponse(resp *http.Res return result, nil } -// NewGetStaticSiteBuildsPager - Description for Gets all static site builds for a particular static site. +// NewGetStaticSiteBuildsPager - Gets all static site builds for a particular static site. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the static site. @@ -1542,7 +1536,7 @@ func (client *StaticSitesClient) getStaticSiteBuildsHandleResponse(resp *http.Re return result, nil } -// GetStaticSiteCustomDomain - Description for Gets an existing custom domain for a particular static site. +// GetStaticSiteCustomDomain - Gets an existing custom domain for a particular static site. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the static site resource to search in. @@ -1603,7 +1597,7 @@ func (client *StaticSitesClient) getStaticSiteCustomDomainHandleResponse(resp *h return result, nil } -// NewGetStaticSitesByResourceGroupPager - Description for Gets all static sites in the specified resource group. +// NewGetStaticSitesByResourceGroupPager - Gets all static sites in the specified resource group. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // options - StaticSitesClientGetStaticSitesByResourceGroupOptions contains the optional parameters for the StaticSitesClient.GetStaticSitesByResourceGroup @@ -1667,8 +1661,7 @@ func (client *StaticSitesClient) getStaticSitesByResourceGroupHandleResponse(res return result, nil } -// 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 // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the static site. @@ -1729,8 +1722,8 @@ func (client *StaticSitesClient) getUserProvidedFunctionAppForStaticSiteHandleRe return result, nil } -// 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 // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the static site. @@ -1796,8 +1789,8 @@ func (client *StaticSitesClient) getUserProvidedFunctionAppForStaticSiteBuildHan return result, nil } -// NewGetUserProvidedFunctionAppsForStaticSitePager - Description for Gets the details of the user provided function apps -// registered with a static site +// NewGetUserProvidedFunctionAppsForStaticSitePager - Gets the details of the user provided function apps registered with +// a static site // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the static site. @@ -1866,8 +1859,8 @@ func (client *StaticSitesClient) getUserProvidedFunctionAppsForStaticSiteHandleR return result, nil } -// NewGetUserProvidedFunctionAppsForStaticSiteBuildPager - Description for Gets the details of the user provided function -// apps registered with a static site build +// NewGetUserProvidedFunctionAppsForStaticSiteBuildPager - Gets the details of the user provided function apps registered +// with a static site build // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the static site. @@ -1941,7 +1934,7 @@ func (client *StaticSitesClient) getUserProvidedFunctionAppsForStaticSiteBuildHa return result, nil } -// NewListPager - Description for Get all Static Sites for a subscription. +// NewListPager - Get all Static Sites for a subscription. // If the operation fails it returns an *azcore.ResponseError type. // options - StaticSitesClientListOptions contains the optional parameters for the StaticSitesClient.List method. func (client *StaticSitesClient) NewListPager(options *StaticSitesClientListOptions) *runtime.Pager[StaticSitesClientListResponse] { @@ -1999,7 +1992,7 @@ func (client *StaticSitesClient) listHandleResponse(resp *http.Response) (Static return result, nil } -// ListStaticSiteAppSettings - Description for Gets the application settings of a static site. +// ListStaticSiteAppSettings - Gets the application settings of a static site. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the static site. @@ -2055,7 +2048,7 @@ func (client *StaticSitesClient) listStaticSiteAppSettingsHandleResponse(resp *h return result, nil } -// ListStaticSiteBuildAppSettings - Description for Gets the application settings of a static site build. +// ListStaticSiteBuildAppSettings - Gets the application settings of a static site build. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the static site. @@ -2116,7 +2109,7 @@ func (client *StaticSitesClient) listStaticSiteBuildAppSettingsHandleResponse(re return result, nil } -// ListStaticSiteBuildFunctionAppSettings - Description for Gets the application settings of a static site build. +// ListStaticSiteBuildFunctionAppSettings - Gets the application settings of a static site build. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the static site. @@ -2177,7 +2170,7 @@ func (client *StaticSitesClient) listStaticSiteBuildFunctionAppSettingsHandleRes return result, nil } -// NewListStaticSiteBuildFunctionsPager - Description for Gets the functions of a particular static site build. +// NewListStaticSiteBuildFunctionsPager - Gets the functions of a particular static site build. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the static site. @@ -2251,7 +2244,7 @@ func (client *StaticSitesClient) listStaticSiteBuildFunctionsHandleResponse(resp return result, nil } -// ListStaticSiteConfiguredRoles - Description for Lists the roles configured for the static site. +// ListStaticSiteConfiguredRoles - Lists the roles configured for the static site. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the static site. @@ -2307,7 +2300,7 @@ func (client *StaticSitesClient) listStaticSiteConfiguredRolesHandleResponse(res return result, nil } -// NewListStaticSiteCustomDomainsPager - Description for Gets all static site custom domains for a particular static site. +// NewListStaticSiteCustomDomainsPager - Gets all static site custom domains for a particular static site. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the static site resource to search in. @@ -2376,7 +2369,7 @@ func (client *StaticSitesClient) listStaticSiteCustomDomainsHandleResponse(resp return result, nil } -// ListStaticSiteFunctionAppSettings - Description for Gets the application settings of a static site. +// ListStaticSiteFunctionAppSettings - Gets the application settings of a static site. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the static site. @@ -2432,7 +2425,7 @@ func (client *StaticSitesClient) listStaticSiteFunctionAppSettingsHandleResponse return result, nil } -// NewListStaticSiteFunctionsPager - Description for Gets the functions of a static site. +// NewListStaticSiteFunctionsPager - Gets the functions of a static site. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the static site. @@ -2501,7 +2494,7 @@ func (client *StaticSitesClient) listStaticSiteFunctionsHandleResponse(resp *htt return result, nil } -// ListStaticSiteSecrets - Description for Lists the secrets for an existing static site. +// ListStaticSiteSecrets - Lists the secrets for an existing static site. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the static site. @@ -2557,7 +2550,7 @@ func (client *StaticSitesClient) listStaticSiteSecretsHandleResponse(resp *http. return result, nil } -// NewListStaticSiteUsersPager - Description for Gets the list of users of a static site. +// NewListStaticSiteUsersPager - Gets the list of users of a static site. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the static site. @@ -2631,7 +2624,7 @@ func (client *StaticSitesClient) listStaticSiteUsersHandleResponse(resp *http.Re return result, nil } -// PreviewWorkflow - Description for Generates a preview workflow file for the static site +// PreviewWorkflow - Generates a preview workflow file for the static site // If the operation fails it returns an *azcore.ResponseError type. // location - Location where you plan to create the static site. // staticSitesWorkflowPreviewRequest - A JSON representation of the StaticSitesWorkflowPreviewRequest properties. See example. @@ -2683,8 +2676,7 @@ func (client *StaticSitesClient) previewWorkflowHandleResponse(resp *http.Respon return result, nil } -// BeginRegisterUserProvidedFunctionAppWithStaticSite - Description for Register a user provided function app with a static -// site +// BeginRegisterUserProvidedFunctionAppWithStaticSite - Register a user provided function app with a static site // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the static site. @@ -2704,7 +2696,7 @@ func (client *StaticSitesClient) BeginRegisterUserProvidedFunctionAppWithStaticS } } -// RegisterUserProvidedFunctionAppWithStaticSite - Description for Register a user provided function app with a static site +// RegisterUserProvidedFunctionAppWithStaticSite - Register a user provided function app with a static site // If the operation fails it returns an *azcore.ResponseError type. func (client *StaticSitesClient) registerUserProvidedFunctionAppWithStaticSite(ctx context.Context, resourceGroupName string, name string, functionAppName string, staticSiteUserProvidedFunctionEnvelope StaticSiteUserProvidedFunctionAppARMResource, options *StaticSitesClientBeginRegisterUserProvidedFunctionAppWithStaticSiteOptions) (*http.Response, error) { req, err := client.registerUserProvidedFunctionAppWithStaticSiteCreateRequest(ctx, resourceGroupName, name, functionAppName, staticSiteUserProvidedFunctionEnvelope, options) @@ -2754,8 +2746,7 @@ func (client *StaticSitesClient) registerUserProvidedFunctionAppWithStaticSiteCr return req, runtime.MarshalAsJSON(req, staticSiteUserProvidedFunctionEnvelope) } -// BeginRegisterUserProvidedFunctionAppWithStaticSiteBuild - Description for Register a user provided function app with a -// static site build +// BeginRegisterUserProvidedFunctionAppWithStaticSiteBuild - Register a user provided function app with a static site build // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the static site. @@ -2776,8 +2767,7 @@ func (client *StaticSitesClient) BeginRegisterUserProvidedFunctionAppWithStaticS } } -// 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 // If the operation fails it returns an *azcore.ResponseError type. func (client *StaticSitesClient) registerUserProvidedFunctionAppWithStaticSiteBuild(ctx context.Context, resourceGroupName string, name string, environmentName string, functionAppName string, staticSiteUserProvidedFunctionEnvelope StaticSiteUserProvidedFunctionAppARMResource, options *StaticSitesClientBeginRegisterUserProvidedFunctionAppWithStaticSiteBuildOptions) (*http.Response, error) { req, err := client.registerUserProvidedFunctionAppWithStaticSiteBuildCreateRequest(ctx, resourceGroupName, name, environmentName, functionAppName, staticSiteUserProvidedFunctionEnvelope, options) @@ -2831,7 +2821,7 @@ func (client *StaticSitesClient) registerUserProvidedFunctionAppWithStaticSiteBu return req, runtime.MarshalAsJSON(req, staticSiteUserProvidedFunctionEnvelope) } -// ResetStaticSiteAPIKey - Description for Resets the api key for an existing static site. +// ResetStaticSiteAPIKey - Resets the api key for an existing static site. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the static site. @@ -2878,8 +2868,7 @@ func (client *StaticSitesClient) resetStaticSiteAPIKeyCreateRequest(ctx context. return req, runtime.MarshalAsJSON(req, resetPropertiesEnvelope) } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the static site to create or update. @@ -2936,7 +2925,7 @@ func (client *StaticSitesClient) updateStaticSiteHandleResponse(resp *http.Respo return result, nil } -// UpdateStaticSiteUser - Description for Updates a user entry with the listed roles +// UpdateStaticSiteUser - Updates a user entry with the listed roles // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the static site. @@ -3003,8 +2992,7 @@ func (client *StaticSitesClient) updateStaticSiteUserHandleResponse(resp *http.R return result, nil } -// BeginValidateCustomDomainCanBeAddedToStaticSite - Description for Validates a particular custom domain can be added to -// a static site. +// BeginValidateCustomDomainCanBeAddedToStaticSite - Validates a particular custom domain can be added to a static site. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the static site. @@ -3025,8 +3013,7 @@ func (client *StaticSitesClient) BeginValidateCustomDomainCanBeAddedToStaticSite } } -// 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. // If the operation fails it returns an *azcore.ResponseError type. func (client *StaticSitesClient) validateCustomDomainCanBeAddedToStaticSite(ctx context.Context, resourceGroupName string, name string, domainName string, staticSiteCustomDomainRequestPropertiesEnvelope StaticSiteCustomDomainRequestPropertiesARMResource, options *StaticSitesClientBeginValidateCustomDomainCanBeAddedToStaticSiteOptions) (*http.Response, error) { req, err := client.validateCustomDomainCanBeAddedToStaticSiteCreateRequest(ctx, resourceGroupName, name, domainName, staticSiteCustomDomainRequestPropertiesEnvelope, options) diff --git a/sdk/resourcemanager/appservice/armappservice/zz_generated_topleveldomains_client.go b/sdk/resourcemanager/appservice/armappservice/zz_generated_topleveldomains_client.go index cbb5009ccbcc..b40a8e9486ba 100644 --- a/sdk/resourcemanager/appservice/armappservice/zz_generated_topleveldomains_client.go +++ b/sdk/resourcemanager/appservice/armappservice/zz_generated_topleveldomains_client.go @@ -54,7 +54,7 @@ func NewTopLevelDomainsClient(subscriptionID string, credential azcore.TokenCred return client, nil } -// Get - Description for Get details of a top-level domain. +// Get - Get details of a top-level domain. // If the operation fails it returns an *azcore.ResponseError type. // name - Name of the top-level domain. // options - TopLevelDomainsClientGetOptions contains the optional parameters for the TopLevelDomainsClient.Get method. @@ -104,7 +104,7 @@ func (client *TopLevelDomainsClient) getHandleResponse(resp *http.Response) (Top return result, nil } -// NewListPager - Description for Get all top-level domains supported for registration. +// NewListPager - Get all top-level domains supported for registration. // If the operation fails it returns an *azcore.ResponseError type. // options - TopLevelDomainsClientListOptions contains the optional parameters for the TopLevelDomainsClient.List method. func (client *TopLevelDomainsClient) NewListPager(options *TopLevelDomainsClientListOptions) *runtime.Pager[TopLevelDomainsClientListResponse] { @@ -162,7 +162,7 @@ func (client *TopLevelDomainsClient) listHandleResponse(resp *http.Response) (To return result, nil } -// NewListAgreementsPager - Description for Gets all legal agreements that user needs to accept before purchasing a domain. +// NewListAgreementsPager - Gets all legal agreements that user needs to accept before purchasing a domain. // If the operation fails it returns an *azcore.ResponseError type. // name - Name of the top-level domain. // agreementOption - Domain agreement options. diff --git a/sdk/resourcemanager/appservice/armappservice/zz_generated_webapps_client.go b/sdk/resourcemanager/appservice/armappservice/zz_generated_webapps_client.go index 04f0a86400c8..9f715d37f13e 100644 --- a/sdk/resourcemanager/appservice/armappservice/zz_generated_webapps_client.go +++ b/sdk/resourcemanager/appservice/armappservice/zz_generated_webapps_client.go @@ -55,7 +55,7 @@ func NewWebAppsClient(subscriptionID string, credential azcore.TokenCredential, return client, nil } -// AddPremierAddOn - Description for Updates a named add-on of an app. +// AddPremierAddOn - Updates a named add-on of an app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -116,7 +116,7 @@ func (client *WebAppsClient) addPremierAddOnHandleResponse(resp *http.Response) return result, nil } -// AddPremierAddOnSlot - Description for Updates a named add-on of an app. +// AddPremierAddOnSlot - Updates a named add-on of an app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -184,7 +184,7 @@ func (client *WebAppsClient) addPremierAddOnSlotHandleResponse(resp *http.Respon return result, nil } -// AnalyzeCustomHostname - Description for Analyze a custom hostname. +// AnalyzeCustomHostname - Analyze a custom hostname. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of web app. @@ -243,7 +243,7 @@ func (client *WebAppsClient) analyzeCustomHostnameHandleResponse(resp *http.Resp return result, nil } -// AnalyzeCustomHostnameSlot - Description for Analyze a custom hostname. +// AnalyzeCustomHostnameSlot - Analyze a custom hostname. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of web app. @@ -307,8 +307,7 @@ func (client *WebAppsClient) analyzeCustomHostnameSlotHandleResponse(resp *http. return result, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -356,7 +355,7 @@ func (client *WebAppsClient) applySlotConfigToProductionCreateRequest(ctx contex return req, runtime.MarshalAsJSON(req, slotSwapEntity) } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -409,7 +408,7 @@ func (client *WebAppsClient) applySlotConfigurationSlotCreateRequest(ctx context return req, runtime.MarshalAsJSON(req, slotSwapEntity) } -// BeginApproveOrRejectPrivateEndpointConnection - Description for Approves or rejects a private endpoint connection +// BeginApproveOrRejectPrivateEndpointConnection - Approves or rejects a private endpoint connection // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the site. @@ -427,7 +426,7 @@ func (client *WebAppsClient) BeginApproveOrRejectPrivateEndpointConnection(ctx c } } -// ApproveOrRejectPrivateEndpointConnection - Description for Approves or rejects a private endpoint connection +// ApproveOrRejectPrivateEndpointConnection - Approves or rejects a private endpoint connection // If the operation fails it returns an *azcore.ResponseError type. func (client *WebAppsClient) approveOrRejectPrivateEndpointConnection(ctx context.Context, resourceGroupName string, name string, privateEndpointConnectionName string, privateEndpointWrapper PrivateLinkConnectionApprovalRequestResource, options *WebAppsClientBeginApproveOrRejectPrivateEndpointConnectionOptions) (*http.Response, error) { req, err := client.approveOrRejectPrivateEndpointConnectionCreateRequest(ctx, resourceGroupName, name, privateEndpointConnectionName, privateEndpointWrapper, options) @@ -474,7 +473,7 @@ func (client *WebAppsClient) approveOrRejectPrivateEndpointConnectionCreateReque return req, runtime.MarshalAsJSON(req, privateEndpointWrapper) } -// BeginApproveOrRejectPrivateEndpointConnectionSlot - Description for Approves or rejects a private endpoint connection +// BeginApproveOrRejectPrivateEndpointConnectionSlot - Approves or rejects a private endpoint connection // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the site. @@ -492,7 +491,7 @@ func (client *WebAppsClient) BeginApproveOrRejectPrivateEndpointConnectionSlot(c } } -// ApproveOrRejectPrivateEndpointConnectionSlot - Description for Approves or rejects a private endpoint connection +// ApproveOrRejectPrivateEndpointConnectionSlot - Approves or rejects a private endpoint connection // If the operation fails it returns an *azcore.ResponseError type. func (client *WebAppsClient) approveOrRejectPrivateEndpointConnectionSlot(ctx context.Context, resourceGroupName string, name string, privateEndpointConnectionName string, slot string, privateEndpointWrapper PrivateLinkConnectionApprovalRequestResource, options *WebAppsClientBeginApproveOrRejectPrivateEndpointConnectionSlotOptions) (*http.Response, error) { req, err := client.approveOrRejectPrivateEndpointConnectionSlotCreateRequest(ctx, resourceGroupName, name, privateEndpointConnectionName, slot, privateEndpointWrapper, options) @@ -543,7 +542,7 @@ func (client *WebAppsClient) approveOrRejectPrivateEndpointConnectionSlotCreateR return req, runtime.MarshalAsJSON(req, privateEndpointWrapper) } -// Backup - Description for Creates a backup of an app. +// Backup - Creates a backup of an app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -599,7 +598,7 @@ func (client *WebAppsClient) backupHandleResponse(resp *http.Response) (WebAppsC return result, nil } -// BackupSlot - Description for Creates a backup of an app. +// BackupSlot - Creates a backup of an app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -660,7 +659,7 @@ func (client *WebAppsClient) backupSlotHandleResponse(resp *http.Response) (WebA return result, nil } -// CreateDeployment - Description for Create a deployment for an app, or a deployment slot. +// CreateDeployment - Create a deployment for an app, or a deployment slot. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -722,7 +721,7 @@ func (client *WebAppsClient) createDeploymentHandleResponse(resp *http.Response) return result, nil } -// CreateDeploymentSlot - Description for Create a deployment for an app, or a deployment slot. +// CreateDeploymentSlot - Create a deployment for an app, or a deployment slot. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -789,7 +788,7 @@ func (client *WebAppsClient) createDeploymentSlotHandleResponse(resp *http.Respo return result, nil } -// BeginCreateFunction - Description for Create function for web site, or a deployment slot. +// BeginCreateFunction - Create function for web site, or a deployment slot. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Site name. @@ -809,7 +808,7 @@ func (client *WebAppsClient) BeginCreateFunction(ctx context.Context, resourceGr } } -// CreateFunction - Description for Create function for web site, or a deployment slot. +// CreateFunction - Create function for web site, or a deployment slot. // If the operation fails it returns an *azcore.ResponseError type. func (client *WebAppsClient) createFunction(ctx context.Context, resourceGroupName string, name string, functionName string, functionEnvelope FunctionEnvelope, options *WebAppsClientBeginCreateFunctionOptions) (*http.Response, error) { req, err := client.createFunctionCreateRequest(ctx, resourceGroupName, name, functionName, functionEnvelope, options) @@ -856,7 +855,7 @@ func (client *WebAppsClient) createFunctionCreateRequest(ctx context.Context, re return req, runtime.MarshalAsJSON(req, functionEnvelope) } -// BeginCreateInstanceFunctionSlot - Description for Create function for web site, or a deployment slot. +// BeginCreateInstanceFunctionSlot - Create function for web site, or a deployment slot. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Site name. @@ -877,7 +876,7 @@ func (client *WebAppsClient) BeginCreateInstanceFunctionSlot(ctx context.Context } } -// CreateInstanceFunctionSlot - Description for Create function for web site, or a deployment slot. +// CreateInstanceFunctionSlot - Create function for web site, or a deployment slot. // If the operation fails it returns an *azcore.ResponseError type. func (client *WebAppsClient) createInstanceFunctionSlot(ctx context.Context, resourceGroupName string, name string, functionName string, slot string, functionEnvelope FunctionEnvelope, options *WebAppsClientBeginCreateInstanceFunctionSlotOptions) (*http.Response, error) { req, err := client.createInstanceFunctionSlotCreateRequest(ctx, resourceGroupName, name, functionName, slot, functionEnvelope, options) @@ -928,7 +927,7 @@ func (client *WebAppsClient) createInstanceFunctionSlotCreateRequest(ctx context return req, runtime.MarshalAsJSON(req, functionEnvelope) } -// BeginCreateInstanceMSDeployOperation - Description for Invoke the MSDeploy web app extension. +// BeginCreateInstanceMSDeployOperation - Invoke the MSDeploy web app extension. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of web app. @@ -948,7 +947,7 @@ func (client *WebAppsClient) BeginCreateInstanceMSDeployOperation(ctx context.Co } } -// CreateInstanceMSDeployOperation - Description for Invoke the MSDeploy web app extension. +// CreateInstanceMSDeployOperation - Invoke the MSDeploy web app extension. // If the operation fails it returns an *azcore.ResponseError type. func (client *WebAppsClient) createInstanceMSDeployOperation(ctx context.Context, resourceGroupName string, name string, instanceID string, msDeploy MSDeploy, options *WebAppsClientBeginCreateInstanceMSDeployOperationOptions) (*http.Response, error) { req, err := client.createInstanceMSDeployOperationCreateRequest(ctx, resourceGroupName, name, instanceID, msDeploy, options) @@ -995,7 +994,7 @@ func (client *WebAppsClient) createInstanceMSDeployOperationCreateRequest(ctx co return req, runtime.MarshalAsJSON(req, msDeploy) } -// BeginCreateInstanceMSDeployOperationSlot - Description for Invoke the MSDeploy web app extension. +// BeginCreateInstanceMSDeployOperationSlot - Invoke the MSDeploy web app extension. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of web app. @@ -1016,7 +1015,7 @@ func (client *WebAppsClient) BeginCreateInstanceMSDeployOperationSlot(ctx contex } } -// CreateInstanceMSDeployOperationSlot - Description for Invoke the MSDeploy web app extension. +// CreateInstanceMSDeployOperationSlot - Invoke the MSDeploy web app extension. // If the operation fails it returns an *azcore.ResponseError type. func (client *WebAppsClient) createInstanceMSDeployOperationSlot(ctx context.Context, resourceGroupName string, name string, slot string, instanceID string, msDeploy MSDeploy, options *WebAppsClientBeginCreateInstanceMSDeployOperationSlotOptions) (*http.Response, error) { req, err := client.createInstanceMSDeployOperationSlotCreateRequest(ctx, resourceGroupName, name, slot, instanceID, msDeploy, options) @@ -1067,7 +1066,7 @@ func (client *WebAppsClient) createInstanceMSDeployOperationSlotCreateRequest(ct return req, runtime.MarshalAsJSON(req, msDeploy) } -// BeginCreateMSDeployOperation - Description for Invoke the MSDeploy web app extension. +// BeginCreateMSDeployOperation - Invoke the MSDeploy web app extension. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of web app. @@ -1086,7 +1085,7 @@ func (client *WebAppsClient) BeginCreateMSDeployOperation(ctx context.Context, r } } -// CreateMSDeployOperation - Description for Invoke the MSDeploy web app extension. +// CreateMSDeployOperation - Invoke the MSDeploy web app extension. // If the operation fails it returns an *azcore.ResponseError type. func (client *WebAppsClient) createMSDeployOperation(ctx context.Context, resourceGroupName string, name string, msDeploy MSDeploy, options *WebAppsClientBeginCreateMSDeployOperationOptions) (*http.Response, error) { req, err := client.createMSDeployOperationCreateRequest(ctx, resourceGroupName, name, msDeploy, options) @@ -1129,7 +1128,7 @@ func (client *WebAppsClient) createMSDeployOperationCreateRequest(ctx context.Co return req, runtime.MarshalAsJSON(req, msDeploy) } -// BeginCreateMSDeployOperationSlot - Description for Invoke the MSDeploy web app extension. +// BeginCreateMSDeployOperationSlot - Invoke the MSDeploy web app extension. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of web app. @@ -1149,7 +1148,7 @@ func (client *WebAppsClient) BeginCreateMSDeployOperationSlot(ctx context.Contex } } -// CreateMSDeployOperationSlot - Description for Invoke the MSDeploy web app extension. +// CreateMSDeployOperationSlot - Invoke the MSDeploy web app extension. // If the operation fails it returns an *azcore.ResponseError type. func (client *WebAppsClient) createMSDeployOperationSlot(ctx context.Context, resourceGroupName string, name string, slot string, msDeploy MSDeploy, options *WebAppsClientBeginCreateMSDeployOperationSlotOptions) (*http.Response, error) { req, err := client.createMSDeployOperationSlotCreateRequest(ctx, resourceGroupName, name, slot, msDeploy, options) @@ -1196,7 +1195,7 @@ func (client *WebAppsClient) createMSDeployOperationSlotCreateRequest(ctx contex return req, runtime.MarshalAsJSON(req, msDeploy) } -// CreateOneDeployOperation - Description for Invoke the OneDeploy publish web app extension. +// CreateOneDeployOperation - Invoke the OneDeploy publish web app extension. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of web app. @@ -1252,8 +1251,7 @@ func (client *WebAppsClient) createOneDeployOperationHandleResponse(resp *http.R return result, nil } -// BeginCreateOrUpdate - Description for Creates a new web, mobile, or API app in an existing resource group, or updates an -// existing app. +// BeginCreateOrUpdate - Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. // If the operation fails it returns an *azcore.ResponseError type. // 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. @@ -1272,8 +1270,7 @@ func (client *WebAppsClient) BeginCreateOrUpdate(ctx context.Context, resourceGr } } -// 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. // If the operation fails it returns an *azcore.ResponseError type. func (client *WebAppsClient) createOrUpdate(ctx context.Context, resourceGroupName string, name string, siteEnvelope Site, options *WebAppsClientBeginCreateOrUpdateOptions) (*http.Response, error) { req, err := client.createOrUpdateCreateRequest(ctx, resourceGroupName, name, siteEnvelope, options) @@ -1316,7 +1313,7 @@ func (client *WebAppsClient) createOrUpdateCreateRequest(ctx context.Context, re return req, runtime.MarshalAsJSON(req, siteEnvelope) } -// CreateOrUpdateConfiguration - Description for Updates the configuration of an app. +// CreateOrUpdateConfiguration - Updates the configuration of an app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -1373,7 +1370,7 @@ func (client *WebAppsClient) createOrUpdateConfigurationHandleResponse(resp *htt return result, nil } -// CreateOrUpdateConfigurationSlot - Description for Updates the configuration of an app. +// CreateOrUpdateConfigurationSlot - Updates the configuration of an app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -1435,8 +1432,8 @@ func (client *WebAppsClient) createOrUpdateConfigurationSlotHandleResponse(resp return result, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -1498,8 +1495,8 @@ func (client *WebAppsClient) createOrUpdateDomainOwnershipIdentifierHandleRespon return result, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -1566,7 +1563,7 @@ func (client *WebAppsClient) createOrUpdateDomainOwnershipIdentifierSlotHandleRe return result, nil } -// CreateOrUpdateFunctionSecret - Description for Add or update a function secret. +// CreateOrUpdateFunctionSecret - Add or update a function secret. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Site name. @@ -1633,7 +1630,7 @@ func (client *WebAppsClient) createOrUpdateFunctionSecretHandleResponse(resp *ht return result, nil } -// CreateOrUpdateFunctionSecretSlot - Description for Add or update a function secret. +// CreateOrUpdateFunctionSecretSlot - Add or update a function secret. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Site name. @@ -1705,7 +1702,7 @@ func (client *WebAppsClient) createOrUpdateFunctionSecretSlotHandleResponse(resp return result, nil } -// CreateOrUpdateHostNameBinding - Description for Creates a hostname binding for an app. +// CreateOrUpdateHostNameBinding - Creates a hostname binding for an app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -1767,7 +1764,7 @@ func (client *WebAppsClient) createOrUpdateHostNameBindingHandleResponse(resp *h return result, nil } -// CreateOrUpdateHostNameBindingSlot - Description for Creates a hostname binding for an app. +// CreateOrUpdateHostNameBindingSlot - Creates a hostname binding for an app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -1834,7 +1831,7 @@ func (client *WebAppsClient) createOrUpdateHostNameBindingSlotHandleResponse(res return result, nil } -// CreateOrUpdateHostSecret - Description for Add or update a host level secret. +// CreateOrUpdateHostSecret - Add or update a host level secret. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Site name. @@ -1901,7 +1898,7 @@ func (client *WebAppsClient) createOrUpdateHostSecretHandleResponse(resp *http.R return result, nil } -// CreateOrUpdateHostSecretSlot - Description for Add or update a host level secret. +// CreateOrUpdateHostSecretSlot - Add or update a host level secret. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Site name. @@ -1973,7 +1970,7 @@ func (client *WebAppsClient) createOrUpdateHostSecretSlotHandleResponse(resp *ht return result, nil } -// CreateOrUpdateHybridConnection - Description for Creates a new Hybrid Connection using a Service Bus relay. +// CreateOrUpdateHybridConnection - Creates a new Hybrid Connection using a Service Bus relay. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - The name of the web app. @@ -2040,7 +2037,7 @@ func (client *WebAppsClient) createOrUpdateHybridConnectionHandleResponse(resp * return result, nil } -// CreateOrUpdateHybridConnectionSlot - Description for Creates a new Hybrid Connection using a Service Bus relay. +// CreateOrUpdateHybridConnectionSlot - Creates a new Hybrid Connection using a Service Bus relay. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - The name of the web app. @@ -2112,7 +2109,7 @@ func (client *WebAppsClient) createOrUpdateHybridConnectionSlotHandleResponse(re return result, nil } -// CreateOrUpdatePublicCertificate - Description for Creates a hostname binding for an app. +// CreateOrUpdatePublicCertificate - Creates a hostname binding for an app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -2174,7 +2171,7 @@ func (client *WebAppsClient) createOrUpdatePublicCertificateHandleResponse(resp return result, nil } -// CreateOrUpdatePublicCertificateSlot - Description for Creates a hostname binding for an app. +// CreateOrUpdatePublicCertificateSlot - Creates a hostname binding for an app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -2241,8 +2238,8 @@ func (client *WebAppsClient) createOrUpdatePublicCertificateSlotHandleResponse(r return result, nil } -// 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). // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -2304,8 +2301,8 @@ func (client *WebAppsClient) createOrUpdateRelayServiceConnectionHandleResponse( return result, nil } -// 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). // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -2373,8 +2370,7 @@ func (client *WebAppsClient) createOrUpdateRelayServiceConnectionSlotHandleRespo return result, nil } -// BeginCreateOrUpdateSlot - Description for Creates a new web, mobile, or API app in an existing resource group, or updates -// an existing app. +// BeginCreateOrUpdateSlot - Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. // If the operation fails it returns an *azcore.ResponseError type. // 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. @@ -2395,8 +2391,7 @@ func (client *WebAppsClient) BeginCreateOrUpdateSlot(ctx context.Context, resour } } -// 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. // If the operation fails it returns an *azcore.ResponseError type. func (client *WebAppsClient) createOrUpdateSlot(ctx context.Context, resourceGroupName string, name string, slot string, siteEnvelope Site, options *WebAppsClientBeginCreateOrUpdateSlotOptions) (*http.Response, error) { req, err := client.createOrUpdateSlotCreateRequest(ctx, resourceGroupName, name, slot, siteEnvelope, options) @@ -2443,7 +2438,7 @@ func (client *WebAppsClient) createOrUpdateSlotCreateRequest(ctx context.Context return req, runtime.MarshalAsJSON(req, siteEnvelope) } -// BeginCreateOrUpdateSourceControl - Description for Updates the source control configuration of an app. +// BeginCreateOrUpdateSourceControl - Updates the source control configuration of an app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -2462,7 +2457,7 @@ func (client *WebAppsClient) BeginCreateOrUpdateSourceControl(ctx context.Contex } } -// CreateOrUpdateSourceControl - Description for Updates the source control configuration of an app. +// CreateOrUpdateSourceControl - Updates the source control configuration of an app. // If the operation fails it returns an *azcore.ResponseError type. func (client *WebAppsClient) createOrUpdateSourceControl(ctx context.Context, resourceGroupName string, name string, siteSourceControl SiteSourceControl, options *WebAppsClientBeginCreateOrUpdateSourceControlOptions) (*http.Response, error) { req, err := client.createOrUpdateSourceControlCreateRequest(ctx, resourceGroupName, name, siteSourceControl, options) @@ -2505,7 +2500,7 @@ func (client *WebAppsClient) createOrUpdateSourceControlCreateRequest(ctx contex return req, runtime.MarshalAsJSON(req, siteSourceControl) } -// BeginCreateOrUpdateSourceControlSlot - Description for Updates the source control configuration of an app. +// BeginCreateOrUpdateSourceControlSlot - Updates the source control configuration of an app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -2526,7 +2521,7 @@ func (client *WebAppsClient) BeginCreateOrUpdateSourceControlSlot(ctx context.Co } } -// CreateOrUpdateSourceControlSlot - Description for Updates the source control configuration of an app. +// CreateOrUpdateSourceControlSlot - Updates the source control configuration of an app. // If the operation fails it returns an *azcore.ResponseError type. func (client *WebAppsClient) createOrUpdateSourceControlSlot(ctx context.Context, resourceGroupName string, name string, slot string, siteSourceControl SiteSourceControl, options *WebAppsClientBeginCreateOrUpdateSourceControlSlotOptions) (*http.Response, error) { req, err := client.createOrUpdateSourceControlSlotCreateRequest(ctx, resourceGroupName, name, slot, siteSourceControl, options) @@ -2573,10 +2568,10 @@ func (client *WebAppsClient) createOrUpdateSourceControlSlotCreateRequest(ctx co return req, runtime.MarshalAsJSON(req, siteSourceControl) } -// 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 in use by another App Service Plan other than the one this App is in. +// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -2633,10 +2628,10 @@ func (client *WebAppsClient) createOrUpdateSwiftVirtualNetworkConnectionWithChec return result, nil } -// 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 in use by another App Service Plan other than the one this App is in. +// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -2699,8 +2694,8 @@ func (client *WebAppsClient) createOrUpdateSwiftVirtualNetworkConnectionWithChec return result, nil } -// 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). // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -2762,8 +2757,7 @@ func (client *WebAppsClient) createOrUpdateVnetConnectionHandleResponse(resp *ht return result, nil } -// 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). // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -2830,8 +2824,7 @@ func (client *WebAppsClient) createOrUpdateVnetConnectionGatewayHandleResponse(r return result, nil } -// 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). // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -2904,8 +2897,8 @@ func (client *WebAppsClient) createOrUpdateVnetConnectionGatewaySlotHandleRespon return result, nil } -// 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). // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -2973,7 +2966,7 @@ func (client *WebAppsClient) createOrUpdateVnetConnectionSlotHandleResponse(resp return result, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app to delete. @@ -3025,7 +3018,7 @@ func (client *WebAppsClient) deleteCreateRequest(ctx context.Context, resourceGr return req, nil } -// DeleteBackup - Description for Deletes a backup of an app by its ID. +// DeleteBackup - Deletes a backup of an app by its ID. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -3076,7 +3069,7 @@ func (client *WebAppsClient) deleteBackupCreateRequest(ctx context.Context, reso return req, nil } -// DeleteBackupConfiguration - Description for Deletes the backup configuration of an app. +// DeleteBackupConfiguration - Deletes the backup configuration of an app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -3123,7 +3116,7 @@ func (client *WebAppsClient) deleteBackupConfigurationCreateRequest(ctx context. return req, nil } -// DeleteBackupConfigurationSlot - Description for Deletes the backup configuration of an app. +// DeleteBackupConfigurationSlot - Deletes the backup configuration of an app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -3176,7 +3169,7 @@ func (client *WebAppsClient) deleteBackupConfigurationSlotCreateRequest(ctx cont return req, nil } -// DeleteBackupSlot - Description for Deletes a backup of an app by its ID. +// DeleteBackupSlot - Deletes a backup of an app by its ID. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -3233,7 +3226,7 @@ func (client *WebAppsClient) deleteBackupSlotCreateRequest(ctx context.Context, return req, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Site name. @@ -3285,7 +3278,7 @@ func (client *WebAppsClient) deleteContinuousWebJobCreateRequest(ctx context.Con return req, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Site name. @@ -3342,7 +3335,7 @@ func (client *WebAppsClient) deleteContinuousWebJobSlotCreateRequest(ctx context return req, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -3394,7 +3387,7 @@ func (client *WebAppsClient) deleteDeploymentCreateRequest(ctx context.Context, return req, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -3451,7 +3444,7 @@ func (client *WebAppsClient) deleteDeploymentSlotCreateRequest(ctx context.Conte return req, nil } -// DeleteDomainOwnershipIdentifier - Description for Deletes a domain ownership identifier for a web app. +// DeleteDomainOwnershipIdentifier - Deletes a domain ownership identifier for a web app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -3503,7 +3496,7 @@ func (client *WebAppsClient) deleteDomainOwnershipIdentifierCreateRequest(ctx co return req, nil } -// DeleteDomainOwnershipIdentifierSlot - Description for Deletes a domain ownership identifier for a web app. +// DeleteDomainOwnershipIdentifierSlot - Deletes a domain ownership identifier for a web app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -3560,7 +3553,7 @@ func (client *WebAppsClient) deleteDomainOwnershipIdentifierSlotCreateRequest(ct return req, nil } -// DeleteFunction - Description for Delete a function for web site, or a deployment slot. +// DeleteFunction - Delete a function for web site, or a deployment slot. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Site name. @@ -3611,7 +3604,7 @@ func (client *WebAppsClient) deleteFunctionCreateRequest(ctx context.Context, re return req, nil } -// DeleteFunctionSecret - Description for Delete a function secret. +// DeleteFunctionSecret - Delete a function secret. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Site name. @@ -3668,7 +3661,7 @@ func (client *WebAppsClient) deleteFunctionSecretCreateRequest(ctx context.Conte return req, nil } -// DeleteFunctionSecretSlot - Description for Delete a function secret. +// DeleteFunctionSecretSlot - Delete a function secret. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Site name. @@ -3730,7 +3723,7 @@ func (client *WebAppsClient) deleteFunctionSecretSlotCreateRequest(ctx context.C return req, nil } -// DeleteHostNameBinding - Description for Deletes a hostname binding for an app. +// DeleteHostNameBinding - Deletes a hostname binding for an app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -3782,7 +3775,7 @@ func (client *WebAppsClient) deleteHostNameBindingCreateRequest(ctx context.Cont return req, nil } -// DeleteHostNameBindingSlot - Description for Deletes a hostname binding for an app. +// DeleteHostNameBindingSlot - Deletes a hostname binding for an app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -3839,7 +3832,7 @@ func (client *WebAppsClient) deleteHostNameBindingSlotCreateRequest(ctx context. return req, nil } -// DeleteHostSecret - Description for Delete a host level secret. +// DeleteHostSecret - Delete a host level secret. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Site name. @@ -3896,7 +3889,7 @@ func (client *WebAppsClient) deleteHostSecretCreateRequest(ctx context.Context, return req, nil } -// DeleteHostSecretSlot - Description for Delete a host level secret. +// DeleteHostSecretSlot - Delete a host level secret. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Site name. @@ -3958,7 +3951,7 @@ func (client *WebAppsClient) deleteHostSecretSlotCreateRequest(ctx context.Conte return req, nil } -// DeleteHybridConnection - Description for Removes a Hybrid Connection from this site. +// DeleteHybridConnection - Removes a Hybrid Connection from this site. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - The name of the web app. @@ -4015,7 +4008,7 @@ func (client *WebAppsClient) deleteHybridConnectionCreateRequest(ctx context.Con return req, nil } -// DeleteHybridConnectionSlot - Description for Removes a Hybrid Connection from this site. +// DeleteHybridConnectionSlot - Removes a Hybrid Connection from this site. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - The name of the web app. @@ -4077,7 +4070,7 @@ func (client *WebAppsClient) deleteHybridConnectionSlotCreateRequest(ctx context return req, nil } -// DeleteInstanceFunctionSlot - Description for Delete a function for web site, or a deployment slot. +// DeleteInstanceFunctionSlot - Delete a function for web site, or a deployment slot. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Site name. @@ -4134,8 +4127,8 @@ func (client *WebAppsClient) deleteInstanceFunctionSlotCreateRequest(ctx context return req, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Site name. @@ -4193,8 +4186,8 @@ func (client *WebAppsClient) deleteInstanceProcessCreateRequest(ctx context.Cont return req, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Site name. @@ -4257,7 +4250,7 @@ func (client *WebAppsClient) deleteInstanceProcessSlotCreateRequest(ctx context. return req, nil } -// DeletePremierAddOn - Description for Delete a premier add-on from an app. +// DeletePremierAddOn - Delete a premier add-on from an app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -4309,7 +4302,7 @@ func (client *WebAppsClient) deletePremierAddOnCreateRequest(ctx context.Context return req, nil } -// DeletePremierAddOnSlot - Description for Delete a premier add-on from an app. +// DeletePremierAddOnSlot - Delete a premier add-on from an app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -4367,7 +4360,7 @@ func (client *WebAppsClient) deletePremierAddOnSlotCreateRequest(ctx context.Con return req, nil } -// BeginDeletePrivateEndpointConnection - Description for Deletes a private endpoint connection +// BeginDeletePrivateEndpointConnection - Deletes a private endpoint connection // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the site. @@ -4385,7 +4378,7 @@ func (client *WebAppsClient) BeginDeletePrivateEndpointConnection(ctx context.Co } } -// DeletePrivateEndpointConnection - Description for Deletes a private endpoint connection +// DeletePrivateEndpointConnection - Deletes a private endpoint connection // If the operation fails it returns an *azcore.ResponseError type. func (client *WebAppsClient) deletePrivateEndpointConnection(ctx context.Context, resourceGroupName string, name string, privateEndpointConnectionName string, options *WebAppsClientBeginDeletePrivateEndpointConnectionOptions) (*http.Response, error) { req, err := client.deletePrivateEndpointConnectionCreateRequest(ctx, resourceGroupName, name, privateEndpointConnectionName, options) @@ -4432,7 +4425,7 @@ func (client *WebAppsClient) deletePrivateEndpointConnectionCreateRequest(ctx co return req, nil } -// BeginDeletePrivateEndpointConnectionSlot - Description for Deletes a private endpoint connection +// BeginDeletePrivateEndpointConnectionSlot - Deletes a private endpoint connection // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the site. @@ -4450,7 +4443,7 @@ func (client *WebAppsClient) BeginDeletePrivateEndpointConnectionSlot(ctx contex } } -// DeletePrivateEndpointConnectionSlot - Description for Deletes a private endpoint connection +// DeletePrivateEndpointConnectionSlot - Deletes a private endpoint connection // If the operation fails it returns an *azcore.ResponseError type. func (client *WebAppsClient) deletePrivateEndpointConnectionSlot(ctx context.Context, resourceGroupName string, name string, privateEndpointConnectionName string, slot string, options *WebAppsClientBeginDeletePrivateEndpointConnectionSlotOptions) (*http.Response, error) { req, err := client.deletePrivateEndpointConnectionSlotCreateRequest(ctx, resourceGroupName, name, privateEndpointConnectionName, slot, options) @@ -4501,8 +4494,8 @@ func (client *WebAppsClient) deletePrivateEndpointConnectionSlotCreateRequest(ct return req, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Site name. @@ -4553,8 +4546,8 @@ func (client *WebAppsClient) deleteProcessCreateRequest(ctx context.Context, res return req, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Site name. @@ -4611,7 +4604,7 @@ func (client *WebAppsClient) deleteProcessSlotCreateRequest(ctx context.Context, return req, nil } -// DeletePublicCertificate - Description for Deletes a hostname binding for an app. +// DeletePublicCertificate - Deletes a hostname binding for an app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -4663,7 +4656,7 @@ func (client *WebAppsClient) deletePublicCertificateCreateRequest(ctx context.Co return req, nil } -// DeletePublicCertificateSlot - Description for Deletes a hostname binding for an app. +// DeletePublicCertificateSlot - Deletes a hostname binding for an app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -4720,7 +4713,7 @@ func (client *WebAppsClient) deletePublicCertificateSlotCreateRequest(ctx contex return req, nil } -// DeleteRelayServiceConnection - Description for Deletes a relay service connection by its name. +// DeleteRelayServiceConnection - Deletes a relay service connection by its name. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -4772,7 +4765,7 @@ func (client *WebAppsClient) deleteRelayServiceConnectionCreateRequest(ctx conte return req, nil } -// DeleteRelayServiceConnectionSlot - Description for Deletes a relay service connection by its name. +// DeleteRelayServiceConnectionSlot - Deletes a relay service connection by its name. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -4830,7 +4823,7 @@ func (client *WebAppsClient) deleteRelayServiceConnectionSlotCreateRequest(ctx c return req, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Site name. @@ -4882,7 +4875,7 @@ func (client *WebAppsClient) deleteSiteExtensionCreateRequest(ctx context.Contex return req, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Site name. @@ -4939,7 +4932,7 @@ func (client *WebAppsClient) deleteSiteExtensionSlotCreateRequest(ctx context.Co return req, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app to delete. @@ -4996,7 +4989,7 @@ func (client *WebAppsClient) deleteSlotCreateRequest(ctx context.Context, resour return req, nil } -// DeleteSourceControl - Description for Deletes the source control configuration of an app. +// DeleteSourceControl - Deletes the source control configuration of an app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -5046,7 +5039,7 @@ func (client *WebAppsClient) deleteSourceControlCreateRequest(ctx context.Contex return req, nil } -// DeleteSourceControlSlot - Description for Deletes the source control configuration of an app. +// DeleteSourceControlSlot - Deletes the source control configuration of an app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -5102,7 +5095,7 @@ func (client *WebAppsClient) deleteSourceControlSlotCreateRequest(ctx context.Co return req, nil } -// 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). // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -5149,7 +5142,7 @@ func (client *WebAppsClient) deleteSwiftVirtualNetworkCreateRequest(ctx context. return req, nil } -// 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). // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -5201,7 +5194,7 @@ func (client *WebAppsClient) deleteSwiftVirtualNetworkSlotCreateRequest(ctx cont return req, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Site name. @@ -5253,7 +5246,7 @@ func (client *WebAppsClient) deleteTriggeredWebJobCreateRequest(ctx context.Cont return req, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Site name. @@ -5310,7 +5303,7 @@ func (client *WebAppsClient) deleteTriggeredWebJobSlotCreateRequest(ctx context. return req, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -5362,7 +5355,7 @@ func (client *WebAppsClient) deleteVnetConnectionCreateRequest(ctx context.Conte return req, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -5419,8 +5412,8 @@ func (client *WebAppsClient) deleteVnetConnectionSlotCreateRequest(ctx context.C return req, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -5476,8 +5469,8 @@ func (client *WebAppsClient) discoverBackupHandleResponse(resp *http.Response) ( return result, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -5539,8 +5532,7 @@ func (client *WebAppsClient) discoverBackupSlotHandleResponse(resp *http.Respons return result, nil } -// 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). // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -5587,8 +5579,7 @@ func (client *WebAppsClient) generateNewSitePublishingPasswordCreateRequest(ctx return req, nil } -// 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). // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -5641,7 +5632,7 @@ func (client *WebAppsClient) generateNewSitePublishingPasswordSlotCreateRequest( return req, nil } -// Get - Description for Gets the details of a web, mobile, or API app. +// Get - Gets the details of a web, mobile, or API app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -5696,7 +5687,7 @@ func (client *WebAppsClient) getHandleResponse(resp *http.Response) (WebAppsClie return result, nil } -// GetAppSettingKeyVaultReference - Description for Gets the config reference and status of an app +// GetAppSettingKeyVaultReference - Gets the config reference and status of an app // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -5757,7 +5748,7 @@ func (client *WebAppsClient) getAppSettingKeyVaultReferenceHandleResponse(resp * return result, nil } -// GetAppSettingKeyVaultReferenceSlot - Description for Gets the config reference and status of an app +// GetAppSettingKeyVaultReferenceSlot - Gets the config reference and status of an app // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -5822,7 +5813,7 @@ func (client *WebAppsClient) getAppSettingKeyVaultReferenceSlotHandleResponse(re return result, nil } -// NewGetAppSettingsKeyVaultReferencesPager - Description for Gets the config reference app settings and status of an app +// NewGetAppSettingsKeyVaultReferencesPager - Gets the config reference app settings and status of an app // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -5891,8 +5882,7 @@ func (client *WebAppsClient) getAppSettingsKeyVaultReferencesHandleResponse(resp return result, nil } -// NewGetAppSettingsKeyVaultReferencesSlotPager - Description for Gets the config reference app settings and status of an -// app +// NewGetAppSettingsKeyVaultReferencesSlotPager - Gets the config reference app settings and status of an app // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -5965,7 +5955,7 @@ func (client *WebAppsClient) getAppSettingsKeyVaultReferencesSlotHandleResponse( return result, nil } -// GetAuthSettings - Description for Gets the Authentication/Authorization settings of an app. +// GetAuthSettings - Gets the Authentication/Authorization settings of an app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -6020,7 +6010,7 @@ func (client *WebAppsClient) getAuthSettingsHandleResponse(resp *http.Response) return result, nil } -// GetAuthSettingsSlot - Description for Gets the Authentication/Authorization settings of an app. +// GetAuthSettingsSlot - Gets the Authentication/Authorization settings of an app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -6081,7 +6071,7 @@ func (client *WebAppsClient) getAuthSettingsSlotHandleResponse(resp *http.Respon return result, nil } -// 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 // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -6137,7 +6127,7 @@ func (client *WebAppsClient) getAuthSettingsV2HandleResponse(resp *http.Response return result, nil } -// 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 // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -6198,8 +6188,7 @@ func (client *WebAppsClient) getAuthSettingsV2SlotHandleResponse(resp *http.Resp return result, nil } -// 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 // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -6316,7 +6305,7 @@ func (client *WebAppsClient) getAuthSettingsV2WithoutSecretsSlotHandleResponse(r return result, nil } -// GetBackupConfiguration - Description for Gets the backup configuration of an app. +// GetBackupConfiguration - Gets the backup configuration of an app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -6372,7 +6361,7 @@ func (client *WebAppsClient) getBackupConfigurationHandleResponse(resp *http.Res return result, nil } -// GetBackupConfigurationSlot - Description for Gets the backup configuration of an app. +// GetBackupConfigurationSlot - Gets the backup configuration of an app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -6434,7 +6423,7 @@ func (client *WebAppsClient) getBackupConfigurationSlotHandleResponse(resp *http return result, nil } -// GetBackupStatus - Description for Gets a backup of an app by its ID. +// GetBackupStatus - Gets a backup of an app by its ID. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -6494,7 +6483,7 @@ func (client *WebAppsClient) getBackupStatusHandleResponse(resp *http.Response) return result, nil } -// GetBackupStatusSlot - Description for Gets a backup of an app by its ID. +// GetBackupStatusSlot - Gets a backup of an app by its ID. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -6560,8 +6549,8 @@ func (client *WebAppsClient) getBackupStatusSlotHandleResponse(resp *http.Respon return result, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -6617,8 +6606,8 @@ func (client *WebAppsClient) getConfigurationHandleResponse(resp *http.Response) return result, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -6679,7 +6668,7 @@ func (client *WebAppsClient) getConfigurationSlotHandleResponse(resp *http.Respo return result, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -6740,7 +6729,7 @@ func (client *WebAppsClient) getConfigurationSnapshotHandleResponse(resp *http.R return result, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -6806,7 +6795,7 @@ func (client *WebAppsClient) getConfigurationSnapshotSlotHandleResponse(resp *ht return result, nil } -// 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 // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of web app. @@ -6854,7 +6843,7 @@ func (client *WebAppsClient) getContainerLogsZipCreateRequest(ctx context.Contex return req, nil } -// 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 // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of web app. @@ -6907,7 +6896,7 @@ func (client *WebAppsClient) getContainerLogsZipSlotCreateRequest(ctx context.Co return req, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Site name. @@ -6968,7 +6957,7 @@ func (client *WebAppsClient) getContinuousWebJobHandleResponse(resp *http.Respon return result, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Site name. @@ -7034,7 +7023,7 @@ func (client *WebAppsClient) getContinuousWebJobSlotHandleResponse(resp *http.Re return result, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -7094,7 +7083,7 @@ func (client *WebAppsClient) getDeploymentHandleResponse(resp *http.Response) (W return result, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -7160,7 +7149,7 @@ func (client *WebAppsClient) getDeploymentSlotHandleResponse(resp *http.Response return result, nil } -// GetDiagnosticLogsConfiguration - Description for Gets the logging configuration of an app. +// GetDiagnosticLogsConfiguration - Gets the logging configuration of an app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -7216,7 +7205,7 @@ func (client *WebAppsClient) getDiagnosticLogsConfigurationHandleResponse(resp * return result, nil } -// GetDiagnosticLogsConfigurationSlot - Description for Gets the logging configuration of an app. +// GetDiagnosticLogsConfigurationSlot - Gets the logging configuration of an app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -7278,7 +7267,7 @@ func (client *WebAppsClient) getDiagnosticLogsConfigurationSlotHandleResponse(re return result, nil } -// GetDomainOwnershipIdentifier - Description for Get domain ownership identifier for web app. +// GetDomainOwnershipIdentifier - Get domain ownership identifier for web app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -7339,7 +7328,7 @@ func (client *WebAppsClient) getDomainOwnershipIdentifierHandleResponse(resp *ht return result, nil } -// GetDomainOwnershipIdentifierSlot - Description for Get domain ownership identifier for web app. +// GetDomainOwnershipIdentifierSlot - Get domain ownership identifier for web app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -7405,7 +7394,7 @@ func (client *WebAppsClient) getDomainOwnershipIdentifierSlotHandleResponse(resp return result, nil } -// GetFtpAllowed - Description for Returns whether FTP is allowed on the site or not. +// GetFtpAllowed - Returns whether FTP is allowed on the site or not. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -7460,7 +7449,7 @@ func (client *WebAppsClient) getFtpAllowedHandleResponse(resp *http.Response) (W return result, nil } -// GetFtpAllowedSlot - Description for Returns whether FTP is allowed on the site or not. +// GetFtpAllowedSlot - Returns whether FTP is allowed on the site or not. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -7520,7 +7509,7 @@ func (client *WebAppsClient) getFtpAllowedSlotHandleResponse(resp *http.Response return result, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Site name. @@ -7580,7 +7569,7 @@ func (client *WebAppsClient) getFunctionHandleResponse(resp *http.Response) (Web return result, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of web app. @@ -7636,7 +7625,7 @@ func (client *WebAppsClient) getFunctionsAdminTokenHandleResponse(resp *http.Res return result, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of web app. @@ -7697,7 +7686,7 @@ func (client *WebAppsClient) getFunctionsAdminTokenSlotHandleResponse(resp *http return result, nil } -// 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). // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -7758,7 +7747,7 @@ func (client *WebAppsClient) getHostNameBindingHandleResponse(resp *http.Respons return result, nil } -// 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). // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -7824,7 +7813,7 @@ func (client *WebAppsClient) getHostNameBindingSlotHandleResponse(resp *http.Res return result, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - The name of the web app. @@ -7890,7 +7879,7 @@ func (client *WebAppsClient) getHybridConnectionHandleResponse(resp *http.Respon return result, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - The name of the web app. @@ -7961,7 +7950,7 @@ func (client *WebAppsClient) getHybridConnectionSlotHandleResponse(resp *http.Re return result, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Site name. @@ -8027,7 +8016,7 @@ func (client *WebAppsClient) getInstanceFunctionSlotHandleResponse(resp *http.Re return result, nil } -// GetInstanceInfo - Description for Gets all scale-out instances of an app. +// GetInstanceInfo - Gets all scale-out instances of an app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -8086,7 +8075,7 @@ func (client *WebAppsClient) getInstanceInfoHandleResponse(resp *http.Response) return result, nil } -// GetInstanceInfoSlot - Description for Gets all scale-out instances of an app. +// GetInstanceInfoSlot - Gets all scale-out instances of an app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -8151,7 +8140,7 @@ func (client *WebAppsClient) getInstanceInfoSlotHandleResponse(resp *http.Respon return result, nil } -// GetInstanceMSDeployLog - Description for Get the MSDeploy Log for the last MSDeploy operation. +// GetInstanceMSDeployLog - Get the MSDeploy Log for the last MSDeploy operation. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of web app. @@ -8212,7 +8201,7 @@ func (client *WebAppsClient) getInstanceMSDeployLogHandleResponse(resp *http.Res return result, nil } -// GetInstanceMSDeployLogSlot - Description for Get the MSDeploy Log for the last MSDeploy operation. +// GetInstanceMSDeployLogSlot - Get the MSDeploy Log for the last MSDeploy operation. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of web app. @@ -8278,7 +8267,7 @@ func (client *WebAppsClient) getInstanceMSDeployLogSlotHandleResponse(resp *http return result, nil } -// GetInstanceMsDeployStatus - Description for Get the status of the last MSDeploy operation. +// GetInstanceMsDeployStatus - Get the status of the last MSDeploy operation. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of web app. @@ -8339,7 +8328,7 @@ func (client *WebAppsClient) getInstanceMsDeployStatusHandleResponse(resp *http. return result, nil } -// GetInstanceMsDeployStatusSlot - Description for Get the status of the last MSDeploy operation. +// GetInstanceMsDeployStatusSlot - Get the status of the last MSDeploy operation. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of web app. @@ -8405,7 +8394,7 @@ func (client *WebAppsClient) getInstanceMsDeployStatusSlotHandleResponse(resp *h return result, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Site name. @@ -8472,8 +8461,7 @@ func (client *WebAppsClient) getInstanceProcessHandleResponse(resp *http.Respons return result, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Site name. @@ -8532,8 +8520,7 @@ func (client *WebAppsClient) getInstanceProcessDumpCreateRequest(ctx context.Con return req, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Site name. @@ -8597,8 +8584,7 @@ func (client *WebAppsClient) getInstanceProcessDumpSlotCreateRequest(ctx context return req, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Site name. @@ -8670,8 +8656,7 @@ func (client *WebAppsClient) getInstanceProcessModuleHandleResponse(resp *http.R return result, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Site name. @@ -8748,8 +8733,7 @@ func (client *WebAppsClient) getInstanceProcessModuleSlotHandleResponse(resp *ht return result, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Site name. @@ -8821,7 +8805,7 @@ func (client *WebAppsClient) getInstanceProcessSlotHandleResponse(resp *http.Res return result, nil } -// GetMSDeployLog - Description for Get the MSDeploy Log for the last MSDeploy operation. +// GetMSDeployLog - Get the MSDeploy Log for the last MSDeploy operation. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of web app. @@ -8876,7 +8860,7 @@ func (client *WebAppsClient) getMSDeployLogHandleResponse(resp *http.Response) ( return result, nil } -// GetMSDeployLogSlot - Description for Get the MSDeploy Log for the last MSDeploy operation. +// GetMSDeployLogSlot - Get the MSDeploy Log for the last MSDeploy operation. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of web app. @@ -8937,7 +8921,7 @@ func (client *WebAppsClient) getMSDeployLogSlotHandleResponse(resp *http.Respons return result, nil } -// GetMSDeployStatus - Description for Get the status of the last MSDeploy operation. +// GetMSDeployStatus - Get the status of the last MSDeploy operation. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of web app. @@ -8993,7 +8977,7 @@ func (client *WebAppsClient) getMSDeployStatusHandleResponse(resp *http.Response return result, nil } -// GetMSDeployStatusSlot - Description for Get the status of the last MSDeploy operation. +// GetMSDeployStatusSlot - Get the status of the last MSDeploy operation. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of web app. @@ -9054,8 +9038,8 @@ func (client *WebAppsClient) getMSDeployStatusSlotHandleResponse(resp *http.Resp return result, nil } -// 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 // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of web app. @@ -9111,8 +9095,8 @@ func (client *WebAppsClient) getMigrateMySQLStatusHandleResponse(resp *http.Resp return result, nil } -// 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 // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of web app. @@ -9173,8 +9157,7 @@ func (client *WebAppsClient) getMigrateMySQLStatusSlotHandleResponse(resp *http. return result, nil } -// 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). // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -9235,8 +9218,7 @@ func (client *WebAppsClient) getNetworkTraceOperationHandleResponse(resp *http.R return result, nil } -// 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). // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -9302,8 +9284,7 @@ func (client *WebAppsClient) getNetworkTraceOperationSlotHandleResponse(resp *ht return result, nil } -// 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). // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -9369,8 +9350,7 @@ func (client *WebAppsClient) getNetworkTraceOperationSlotV2HandleResponse(resp * return result, nil } -// 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). // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -9431,7 +9411,7 @@ func (client *WebAppsClient) getNetworkTraceOperationV2HandleResponse(resp *http return result, nil } -// 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). // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -9492,7 +9472,7 @@ func (client *WebAppsClient) getNetworkTracesHandleResponse(resp *http.Response) return result, nil } -// 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). // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -9558,7 +9538,7 @@ func (client *WebAppsClient) getNetworkTracesSlotHandleResponse(resp *http.Respo return result, nil } -// 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). // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -9624,7 +9604,7 @@ func (client *WebAppsClient) getNetworkTracesSlotV2HandleResponse(resp *http.Res return result, nil } -// 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). // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -9685,8 +9665,7 @@ func (client *WebAppsClient) getNetworkTracesV2HandleResponse(resp *http.Respons return result, nil } -// GetOneDeployStatus - Description for Invoke onedeploy status API /api/deployments and gets the deployment status for the -// site +// GetOneDeployStatus - Invoke onedeploy status API /api/deployments and gets the deployment status for the site // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of web app. @@ -9742,7 +9721,7 @@ func (client *WebAppsClient) getOneDeployStatusHandleResponse(resp *http.Respons return result, nil } -// GetPremierAddOn - Description for Gets a named add-on of an app. +// GetPremierAddOn - Gets a named add-on of an app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -9802,7 +9781,7 @@ func (client *WebAppsClient) getPremierAddOnHandleResponse(resp *http.Response) return result, nil } -// GetPremierAddOnSlot - Description for Gets a named add-on of an app. +// GetPremierAddOnSlot - Gets a named add-on of an app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -9868,8 +9847,8 @@ func (client *WebAppsClient) getPremierAddOnSlotHandleResponse(resp *http.Respon return result, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - The name of the web app. @@ -9925,8 +9904,8 @@ func (client *WebAppsClient) getPrivateAccessHandleResponse(resp *http.Response) return result, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - The name of the web app. @@ -9987,7 +9966,7 @@ func (client *WebAppsClient) getPrivateAccessSlotHandleResponse(resp *http.Respo return result, nil } -// GetPrivateEndpointConnection - Description for Gets a private endpoint connection +// GetPrivateEndpointConnection - Gets a private endpoint connection // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the site. @@ -10048,8 +10027,7 @@ func (client *WebAppsClient) getPrivateEndpointConnectionHandleResponse(resp *ht return result, nil } -// NewGetPrivateEndpointConnectionListPager - Description for Gets the list of private endpoint connections associated with -// a site +// NewGetPrivateEndpointConnectionListPager - Gets the list of private endpoint connections associated with a site // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the site. @@ -10118,8 +10096,7 @@ func (client *WebAppsClient) getPrivateEndpointConnectionListHandleResponse(resp return result, nil } -// NewGetPrivateEndpointConnectionListSlotPager - Description for Gets the list of private endpoint connections associated -// with a site +// NewGetPrivateEndpointConnectionListSlotPager - Gets the list of private endpoint connections associated with a site // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the site. @@ -10193,7 +10170,7 @@ func (client *WebAppsClient) getPrivateEndpointConnectionListSlotHandleResponse( return result, nil } -// GetPrivateEndpointConnectionSlot - Description for Gets a private endpoint connection +// GetPrivateEndpointConnectionSlot - Gets a private endpoint connection // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the site. @@ -10259,7 +10236,7 @@ func (client *WebAppsClient) getPrivateEndpointConnectionSlotHandleResponse(resp return result, nil } -// GetPrivateLinkResources - Description for Gets the private link resources +// GetPrivateLinkResources - Gets the private link resources // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the site. @@ -10315,7 +10292,7 @@ func (client *WebAppsClient) getPrivateLinkResourcesHandleResponse(resp *http.Re return result, nil } -// GetPrivateLinkResourcesSlot - Description for Gets the private link resources +// GetPrivateLinkResourcesSlot - Gets the private link resources // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the site. @@ -10375,7 +10352,7 @@ func (client *WebAppsClient) getPrivateLinkResourcesSlotHandleResponse(resp *htt return result, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Site name. @@ -10435,7 +10412,7 @@ func (client *WebAppsClient) getProcessHandleResponse(resp *http.Response) (WebA return result, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Site name. @@ -10487,8 +10464,7 @@ func (client *WebAppsClient) getProcessDumpCreateRequest(ctx context.Context, re return req, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Site name. @@ -10546,7 +10522,7 @@ func (client *WebAppsClient) getProcessDumpSlotCreateRequest(ctx context.Context return req, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Site name. @@ -10612,7 +10588,7 @@ func (client *WebAppsClient) getProcessModuleHandleResponse(resp *http.Response) return result, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Site name. @@ -10683,7 +10659,7 @@ func (client *WebAppsClient) getProcessModuleSlotHandleResponse(resp *http.Respo return result, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Site name. @@ -10748,7 +10724,7 @@ func (client *WebAppsClient) getProcessSlotHandleResponse(resp *http.Response) ( return result, nil } -// 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). // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -10809,7 +10785,7 @@ func (client *WebAppsClient) getPublicCertificateHandleResponse(resp *http.Respo return result, nil } -// 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). // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -10875,7 +10851,7 @@ func (client *WebAppsClient) getPublicCertificateSlotHandleResponse(resp *http.R return result, nil } -// GetRelayServiceConnection - Description for Gets a hybrid connection configuration by its name. +// GetRelayServiceConnection - Gets a hybrid connection configuration by its name. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -10936,7 +10912,7 @@ func (client *WebAppsClient) getRelayServiceConnectionHandleResponse(resp *http. return result, nil } -// GetRelayServiceConnectionSlot - Description for Gets a hybrid connection configuration by its name. +// GetRelayServiceConnectionSlot - Gets a hybrid connection configuration by its name. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -11003,7 +10979,7 @@ func (client *WebAppsClient) getRelayServiceConnectionSlotHandleResponse(resp *h return result, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -11058,7 +11034,7 @@ func (client *WebAppsClient) getScmAllowedHandleResponse(resp *http.Response) (W return result, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -11118,7 +11094,7 @@ func (client *WebAppsClient) getScmAllowedSlotHandleResponse(resp *http.Response return result, nil } -// GetSiteConnectionStringKeyVaultReference - Description for Gets the config reference and status of an app +// GetSiteConnectionStringKeyVaultReference - Gets the config reference and status of an app // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -11178,7 +11154,7 @@ func (client *WebAppsClient) getSiteConnectionStringKeyVaultReferenceHandleRespo return result, nil } -// GetSiteConnectionStringKeyVaultReferenceSlot - Description for Gets the config reference and status of an app +// GetSiteConnectionStringKeyVaultReferenceSlot - Gets the config reference and status of an app // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -11242,8 +11218,7 @@ func (client *WebAppsClient) getSiteConnectionStringKeyVaultReferenceSlotHandleR return result, nil } -// NewGetSiteConnectionStringKeyVaultReferencesPager - Description for Gets the config reference app settings and status of -// an app +// NewGetSiteConnectionStringKeyVaultReferencesPager - Gets the config reference app settings and status of an app // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -11312,8 +11287,7 @@ func (client *WebAppsClient) getSiteConnectionStringKeyVaultReferencesHandleResp return result, nil } -// NewGetSiteConnectionStringKeyVaultReferencesSlotPager - Description for Gets the config reference app settings and status -// of an app +// NewGetSiteConnectionStringKeyVaultReferencesSlotPager - Gets the config reference app settings and status of an app // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -11386,7 +11360,7 @@ func (client *WebAppsClient) getSiteConnectionStringKeyVaultReferencesSlotHandle return result, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Site name. @@ -11447,7 +11421,7 @@ func (client *WebAppsClient) getSiteExtensionHandleResponse(resp *http.Response) return result, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Site name. @@ -11513,7 +11487,7 @@ func (client *WebAppsClient) getSiteExtensionSlotHandleResponse(resp *http.Respo return result, nil } -// GetSitePhpErrorLogFlag - Description for Gets web app's event logs. +// GetSitePhpErrorLogFlag - Gets web app's event logs. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of web app. @@ -11569,7 +11543,7 @@ func (client *WebAppsClient) getSitePhpErrorLogFlagHandleResponse(resp *http.Res return result, nil } -// GetSitePhpErrorLogFlagSlot - Description for Gets web app's event logs. +// GetSitePhpErrorLogFlagSlot - Gets web app's event logs. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of web app. @@ -11630,7 +11604,7 @@ func (client *WebAppsClient) getSitePhpErrorLogFlagSlotHandleResponse(resp *http return result, nil } -// GetSlot - Description for Gets the details of a web, mobile, or API app. +// GetSlot - Gets the details of a web, mobile, or API app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -11690,7 +11664,7 @@ func (client *WebAppsClient) getSlotHandleResponse(resp *http.Response) (WebApps return result, nil } -// GetSourceControl - Description for Gets the source control configuration of an app. +// GetSourceControl - Gets the source control configuration of an app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -11746,7 +11720,7 @@ func (client *WebAppsClient) getSourceControlHandleResponse(resp *http.Response) return result, nil } -// GetSourceControlSlot - Description for Gets the source control configuration of an app. +// GetSourceControlSlot - Gets the source control configuration of an app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -11808,7 +11782,7 @@ func (client *WebAppsClient) getSourceControlSlotHandleResponse(resp *http.Respo return result, nil } -// GetSwiftVirtualNetworkConnection - Description for Gets a Swift Virtual Network connection. +// GetSwiftVirtualNetworkConnection - Gets a Swift Virtual Network connection. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -11864,7 +11838,7 @@ func (client *WebAppsClient) getSwiftVirtualNetworkConnectionHandleResponse(resp return result, nil } -// GetSwiftVirtualNetworkConnectionSlot - Description for Gets a Swift Virtual Network connection. +// GetSwiftVirtualNetworkConnectionSlot - Gets a Swift Virtual Network connection. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -11926,7 +11900,7 @@ func (client *WebAppsClient) getSwiftVirtualNetworkConnectionSlotHandleResponse( return result, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Site name. @@ -11987,8 +11961,7 @@ func (client *WebAppsClient) getTriggeredWebJobHandleResponse(resp *http.Respons return result, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Site name. @@ -12054,8 +12027,7 @@ func (client *WebAppsClient) getTriggeredWebJobHistoryHandleResponse(resp *http. return result, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Site name. @@ -12126,7 +12098,7 @@ func (client *WebAppsClient) getTriggeredWebJobHistorySlotHandleResponse(resp *h return result, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Site name. @@ -12192,7 +12164,7 @@ func (client *WebAppsClient) getTriggeredWebJobSlotHandleResponse(resp *http.Res return result, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -12253,7 +12225,7 @@ func (client *WebAppsClient) getVnetConnectionHandleResponse(resp *http.Response return result, nil } -// GetVnetConnectionGateway - Description for Gets an app's Virtual Network gateway. +// GetVnetConnectionGateway - Gets an app's Virtual Network gateway. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -12319,7 +12291,7 @@ func (client *WebAppsClient) getVnetConnectionGatewayHandleResponse(resp *http.R return result, nil } -// GetVnetConnectionGatewaySlot - Description for Gets an app's Virtual Network gateway. +// GetVnetConnectionGatewaySlot - Gets an app's Virtual Network gateway. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -12391,7 +12363,7 @@ func (client *WebAppsClient) getVnetConnectionGatewaySlotHandleResponse(resp *ht return result, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -12458,7 +12430,7 @@ func (client *WebAppsClient) getVnetConnectionSlotHandleResponse(resp *http.Resp return result, nil } -// GetWebJob - Description for Get webjob information for an app, or a deployment slot. +// GetWebJob - Get webjob information for an app, or a deployment slot. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Site name. @@ -12518,7 +12490,7 @@ func (client *WebAppsClient) getWebJobHandleResponse(resp *http.Response) (WebAp return result, nil } -// GetWebJobSlot - Description for Get webjob information for an app, or a deployment slot. +// GetWebJobSlot - Get webjob information for an app, or a deployment slot. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Site name. @@ -12583,7 +12555,7 @@ func (client *WebAppsClient) getWebJobSlotHandleResponse(resp *http.Response) (W return result, nil } -// 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 // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of web app. @@ -12631,7 +12603,7 @@ func (client *WebAppsClient) getWebSiteContainerLogsCreateRequest(ctx context.Co return req, nil } -// 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 // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of web app. @@ -12684,7 +12656,7 @@ func (client *WebAppsClient) getWebSiteContainerLogsSlotCreateRequest(ctx contex return req, nil } -// BeginInstallSiteExtension - Description for Install site extension on a web site, or a deployment slot. +// BeginInstallSiteExtension - Install site extension on a web site, or a deployment slot. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Site name. @@ -12703,7 +12675,7 @@ func (client *WebAppsClient) BeginInstallSiteExtension(ctx context.Context, reso } } -// 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. // If the operation fails it returns an *azcore.ResponseError type. func (client *WebAppsClient) installSiteExtension(ctx context.Context, resourceGroupName string, name string, siteExtensionID string, options *WebAppsClientBeginInstallSiteExtensionOptions) (*http.Response, error) { req, err := client.installSiteExtensionCreateRequest(ctx, resourceGroupName, name, siteExtensionID, options) @@ -12750,7 +12722,7 @@ func (client *WebAppsClient) installSiteExtensionCreateRequest(ctx context.Conte return req, nil } -// BeginInstallSiteExtensionSlot - Description for Install site extension on a web site, or a deployment slot. +// BeginInstallSiteExtensionSlot - Install site extension on a web site, or a deployment slot. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Site name. @@ -12770,7 +12742,7 @@ func (client *WebAppsClient) BeginInstallSiteExtensionSlot(ctx context.Context, } } -// 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. // If the operation fails it returns an *azcore.ResponseError type. func (client *WebAppsClient) installSiteExtensionSlot(ctx context.Context, resourceGroupName string, name string, siteExtensionID string, slot string, options *WebAppsClientBeginInstallSiteExtensionSlotOptions) (*http.Response, error) { req, err := client.installSiteExtensionSlotCreateRequest(ctx, resourceGroupName, name, siteExtensionID, slot, options) @@ -12821,7 +12793,7 @@ func (client *WebAppsClient) installSiteExtensionSlotCreateRequest(ctx context.C return req, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -12876,7 +12848,7 @@ func (client *WebAppsClient) isCloneableHandleResponse(resp *http.Response) (Web return result, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -12936,7 +12908,7 @@ func (client *WebAppsClient) isCloneableSlotHandleResponse(resp *http.Response) return result, nil } -// NewListPager - Description for Get all apps for a subscription. +// NewListPager - Get all apps for a subscription. // If the operation fails it returns an *azcore.ResponseError type. // options - WebAppsClientListOptions contains the optional parameters for the WebAppsClient.List method. func (client *WebAppsClient) NewListPager(options *WebAppsClientListOptions) *runtime.Pager[WebAppsClientListResponse] { @@ -12994,7 +12966,7 @@ func (client *WebAppsClient) listHandleResponse(resp *http.Response) (WebAppsCli return result, nil } -// ListApplicationSettings - Description for Gets the application settings of an app. +// ListApplicationSettings - Gets the application settings of an app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -13050,7 +13022,7 @@ func (client *WebAppsClient) listApplicationSettingsHandleResponse(resp *http.Re return result, nil } -// ListApplicationSettingsSlot - Description for Gets the application settings of an app. +// ListApplicationSettingsSlot - Gets the application settings of an app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -13112,7 +13084,7 @@ func (client *WebAppsClient) listApplicationSettingsSlotHandleResponse(resp *htt return result, nil } -// ListAzureStorageAccounts - Description for Gets the Azure storage account configurations of an app. +// ListAzureStorageAccounts - Gets the Azure storage account configurations of an app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -13168,7 +13140,7 @@ func (client *WebAppsClient) listAzureStorageAccountsHandleResponse(resp *http.R return result, nil } -// ListAzureStorageAccountsSlot - Description for Gets the Azure storage account configurations of an app. +// ListAzureStorageAccountsSlot - Gets the Azure storage account configurations of an app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -13230,9 +13202,9 @@ func (client *WebAppsClient) listAzureStorageAccountsSlotHandleResponse(resp *ht return result, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of web app. @@ -13294,9 +13266,9 @@ func (client *WebAppsClient) listBackupStatusSecretsHandleResponse(resp *http.Re return result, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of web app. @@ -13363,7 +13335,7 @@ func (client *WebAppsClient) listBackupStatusSecretsSlotHandleResponse(resp *htt return result, nil } -// NewListBackupsPager - Description for Gets existing backups of an app. +// NewListBackupsPager - Gets existing backups of an app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -13431,7 +13403,7 @@ func (client *WebAppsClient) listBackupsHandleResponse(resp *http.Response) (Web return result, nil } -// NewListBackupsSlotPager - Description for Gets existing backups of an app. +// NewListBackupsSlotPager - Gets existing backups of an app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -13504,8 +13476,8 @@ func (client *WebAppsClient) listBackupsSlotHandleResponse(resp *http.Response) return result, nil } -// NewListBasicPublishingCredentialsPoliciesPager - Description for Returns whether Scm basic auth is allowed and whether -// Ftp is allowed for a given site. +// NewListBasicPublishingCredentialsPoliciesPager - Returns whether Scm basic auth is allowed and whether Ftp is allowed for +// a given site. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -13574,8 +13546,8 @@ func (client *WebAppsClient) listBasicPublishingCredentialsPoliciesHandleRespons return result, nil } -// NewListBasicPublishingCredentialsPoliciesSlotPager - Description for Returns whether Scm basic auth is allowed and whether -// Ftp is allowed for a given site. +// NewListBasicPublishingCredentialsPoliciesSlotPager - Returns whether Scm basic auth is allowed and whether Ftp is allowed +// for a given site. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -13648,7 +13620,7 @@ func (client *WebAppsClient) listBasicPublishingCredentialsPoliciesSlotHandleRes return result, nil } -// NewListByResourceGroupPager - Description for Gets all web, mobile, and API apps in the specified resource group. +// NewListByResourceGroupPager - Gets all web, mobile, and API apps in the specified resource group. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // options - WebAppsClientListByResourceGroupOptions contains the optional parameters for the WebAppsClient.ListByResourceGroup @@ -13715,8 +13687,8 @@ func (client *WebAppsClient) listByResourceGroupHandleResponse(resp *http.Respon return result, nil } -// NewListConfigurationSnapshotInfoPager - 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. +// NewListConfigurationSnapshotInfoPager - Gets a list of web app configuration snapshots identifiers. Each element of the +// list contains a timestamp and the ID of the snapshot. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -13785,8 +13757,8 @@ func (client *WebAppsClient) listConfigurationSnapshotInfoHandleResponse(resp *h return result, nil } -// NewListConfigurationSnapshotInfoSlotPager - 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. +// NewListConfigurationSnapshotInfoSlotPager - Gets a list of web app configuration snapshots identifiers. Each element of +// the list contains a timestamp and the ID of the snapshot. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -13860,7 +13832,7 @@ func (client *WebAppsClient) listConfigurationSnapshotInfoSlotHandleResponse(res return result, nil } -// NewListConfigurationsPager - Description for List the configurations of an app +// NewListConfigurationsPager - List the configurations of an app // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -13929,7 +13901,7 @@ func (client *WebAppsClient) listConfigurationsHandleResponse(resp *http.Respons return result, nil } -// NewListConfigurationsSlotPager - Description for List the configurations of an app +// NewListConfigurationsSlotPager - List the configurations of an app // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -14003,7 +13975,7 @@ func (client *WebAppsClient) listConfigurationsSlotHandleResponse(resp *http.Res return result, nil } -// ListConnectionStrings - Description for Gets the connection strings of an app. +// ListConnectionStrings - Gets the connection strings of an app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -14059,7 +14031,7 @@ func (client *WebAppsClient) listConnectionStringsHandleResponse(resp *http.Resp return result, nil } -// ListConnectionStringsSlot - Description for Gets the connection strings of an app. +// ListConnectionStringsSlot - Gets the connection strings of an app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -14121,7 +14093,7 @@ func (client *WebAppsClient) listConnectionStringsSlotHandleResponse(resp *http. return result, nil } -// NewListContinuousWebJobsPager - Description for List continuous web jobs for an app, or a deployment slot. +// NewListContinuousWebJobsPager - List continuous web jobs for an app, or a deployment slot. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Site name. @@ -14190,7 +14162,7 @@ func (client *WebAppsClient) listContinuousWebJobsHandleResponse(resp *http.Resp return result, nil } -// NewListContinuousWebJobsSlotPager - Description for List continuous web jobs for an app, or a deployment slot. +// NewListContinuousWebJobsSlotPager - List continuous web jobs for an app, or a deployment slot. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Site name. @@ -14264,7 +14236,7 @@ func (client *WebAppsClient) listContinuousWebJobsSlotHandleResponse(resp *http. return result, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -14325,7 +14297,7 @@ func (client *WebAppsClient) listDeploymentLogHandleResponse(resp *http.Response return result, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -14391,7 +14363,7 @@ func (client *WebAppsClient) listDeploymentLogSlotHandleResponse(resp *http.Resp return result, nil } -// NewListDeploymentsPager - Description for List deployments for an app, or a deployment slot. +// NewListDeploymentsPager - List deployments for an app, or a deployment slot. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -14459,7 +14431,7 @@ func (client *WebAppsClient) listDeploymentsHandleResponse(resp *http.Response) return result, nil } -// NewListDeploymentsSlotPager - Description for List deployments for an app, or a deployment slot. +// NewListDeploymentsSlotPager - List deployments for an app, or a deployment slot. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -14533,7 +14505,7 @@ func (client *WebAppsClient) listDeploymentsSlotHandleResponse(resp *http.Respon return result, nil } -// NewListDomainOwnershipIdentifiersPager - Description for Lists ownership identifiers for domain associated with web app. +// NewListDomainOwnershipIdentifiersPager - Lists ownership identifiers for domain associated with web app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -14602,8 +14574,7 @@ func (client *WebAppsClient) listDomainOwnershipIdentifiersHandleResponse(resp * return result, nil } -// NewListDomainOwnershipIdentifiersSlotPager - Description for Lists ownership identifiers for domain associated with web -// app. +// NewListDomainOwnershipIdentifiersSlotPager - Lists ownership identifiers for domain associated with web app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -14677,7 +14648,7 @@ func (client *WebAppsClient) listDomainOwnershipIdentifiersSlotHandleResponse(re return result, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Site name. @@ -14738,7 +14709,7 @@ func (client *WebAppsClient) listFunctionKeysHandleResponse(resp *http.Response) return result, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Site name. @@ -14804,7 +14775,7 @@ func (client *WebAppsClient) listFunctionKeysSlotHandleResponse(resp *http.Respo return result, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Site name. @@ -14865,7 +14836,7 @@ func (client *WebAppsClient) listFunctionSecretsHandleResponse(resp *http.Respon return result, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Site name. @@ -14931,7 +14902,7 @@ func (client *WebAppsClient) listFunctionSecretsSlotHandleResponse(resp *http.Re return result, nil } -// NewListFunctionsPager - Description for List the functions for a web site, or a deployment slot. +// NewListFunctionsPager - List the functions for a web site, or a deployment slot. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Site name. @@ -14999,7 +14970,7 @@ func (client *WebAppsClient) listFunctionsHandleResponse(resp *http.Response) (W return result, nil } -// ListHostKeys - Description for Get host secrets for a function app. +// ListHostKeys - Get host secrets for a function app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Site name. @@ -15054,7 +15025,7 @@ func (client *WebAppsClient) listHostKeysHandleResponse(resp *http.Response) (We return result, nil } -// ListHostKeysSlot - Description for Get host secrets for a function app. +// ListHostKeysSlot - Get host secrets for a function app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Site name. @@ -15115,7 +15086,7 @@ func (client *WebAppsClient) listHostKeysSlotHandleResponse(resp *http.Response) return result, nil } -// NewListHostNameBindingsPager - Description for Get hostname bindings for an app or a deployment slot. +// NewListHostNameBindingsPager - Get hostname bindings for an app or a deployment slot. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -15184,7 +15155,7 @@ func (client *WebAppsClient) listHostNameBindingsHandleResponse(resp *http.Respo return result, nil } -// NewListHostNameBindingsSlotPager - Description for Get hostname bindings for an app or a deployment slot. +// NewListHostNameBindingsSlotPager - Get hostname bindings for an app or a deployment slot. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -15258,7 +15229,7 @@ func (client *WebAppsClient) listHostNameBindingsSlotHandleResponse(resp *http.R return result, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - The name of the web app. @@ -15314,7 +15285,7 @@ func (client *WebAppsClient) listHybridConnectionsHandleResponse(resp *http.Resp return result, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - The name of the web app. @@ -15375,7 +15346,7 @@ func (client *WebAppsClient) listHybridConnectionsSlotHandleResponse(resp *http. return result, nil } -// NewListInstanceFunctionsSlotPager - Description for List the functions for a web site, or a deployment slot. +// NewListInstanceFunctionsSlotPager - List the functions for a web site, or a deployment slot. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Site name. @@ -15449,7 +15420,7 @@ func (client *WebAppsClient) listInstanceFunctionsSlotHandleResponse(resp *http. return result, nil } -// NewListInstanceIdentifiersPager - Description for Gets all scale-out instances of an app. +// NewListInstanceIdentifiersPager - Gets all scale-out instances of an app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -15518,7 +15489,7 @@ func (client *WebAppsClient) listInstanceIdentifiersHandleResponse(resp *http.Re return result, nil } -// NewListInstanceIdentifiersSlotPager - Description for Gets all scale-out instances of an app. +// NewListInstanceIdentifiersSlotPager - Gets all scale-out instances of an app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -15592,8 +15563,8 @@ func (client *WebAppsClient) listInstanceIdentifiersSlotHandleResponse(resp *htt return result, nil } -// NewListInstanceProcessModulesPager - Description for List module information for a process by its ID for a specific scaled-out -// instance in a web site. +// NewListInstanceProcessModulesPager - List module information for a process by its ID for a specific scaled-out instance +// in a web site. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Site name. @@ -15673,8 +15644,8 @@ func (client *WebAppsClient) listInstanceProcessModulesHandleResponse(resp *http return result, nil } -// NewListInstanceProcessModulesSlotPager - Description for List module information for a process by its ID for a specific -// scaled-out instance in a web site. +// NewListInstanceProcessModulesSlotPager - List module information for a process by its ID for a specific scaled-out instance +// in a web site. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Site name. @@ -15759,8 +15730,8 @@ func (client *WebAppsClient) listInstanceProcessModulesSlotHandleResponse(resp * return result, nil } -// NewListInstanceProcessThreadsPager - Description for List the threads in a process by its ID for a specific scaled-out -// instance in a web site. +// NewListInstanceProcessThreadsPager - List the threads in a process by its ID for a specific scaled-out instance in a web +// site. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Site name. @@ -15840,8 +15811,8 @@ func (client *WebAppsClient) listInstanceProcessThreadsHandleResponse(resp *http return result, nil } -// NewListInstanceProcessThreadsSlotPager - Description for List the threads in a process by its ID for a specific scaled-out -// instance in a web site. +// NewListInstanceProcessThreadsSlotPager - List the threads in a process by its ID for a specific scaled-out instance in +// a web site. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Site name. @@ -15926,8 +15897,8 @@ func (client *WebAppsClient) listInstanceProcessThreadsSlotHandleResponse(resp * return result, nil } -// NewListInstanceProcessesPager - 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. +// NewListInstanceProcessesPager - Get list of processes for a web site, or a deployment slot, or for a specific scaled-out +// instance in a web site. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Site name. @@ -16002,8 +15973,8 @@ func (client *WebAppsClient) listInstanceProcessesHandleResponse(resp *http.Resp return result, nil } -// NewListInstanceProcessesSlotPager - 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. +// NewListInstanceProcessesSlotPager - Get list of processes for a web site, or a deployment slot, or for a specific scaled-out +// instance in a web site. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Site name. @@ -16083,7 +16054,7 @@ func (client *WebAppsClient) listInstanceProcessesSlotHandleResponse(resp *http. return result, nil } -// ListMetadata - Description for Gets the metadata of an app. +// ListMetadata - Gets the metadata of an app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -16138,7 +16109,7 @@ func (client *WebAppsClient) listMetadataHandleResponse(resp *http.Response) (We return result, nil } -// ListMetadataSlot - Description for Gets the metadata of an app. +// ListMetadataSlot - Gets the metadata of an app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -16199,7 +16170,7 @@ func (client *WebAppsClient) listMetadataSlotHandleResponse(resp *http.Response) return result, nil } -// 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). // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -16260,7 +16231,7 @@ func (client *WebAppsClient) listNetworkFeaturesHandleResponse(resp *http.Respon return result, nil } -// 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). // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -16326,7 +16297,7 @@ func (client *WebAppsClient) listNetworkFeaturesSlotHandleResponse(resp *http.Re return result, nil } -// NewListPerfMonCountersPager - Description for Gets perfmon counters for web app. +// NewListPerfMonCountersPager - Gets perfmon counters for web app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of web app. @@ -16400,7 +16371,7 @@ func (client *WebAppsClient) listPerfMonCountersHandleResponse(resp *http.Respon return result, nil } -// NewListPerfMonCountersSlotPager - Description for Gets perfmon counters for web app. +// NewListPerfMonCountersSlotPager - Gets perfmon counters for web app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of web app. @@ -16479,7 +16450,7 @@ func (client *WebAppsClient) listPerfMonCountersSlotHandleResponse(resp *http.Re return result, nil } -// ListPremierAddOns - Description for Gets the premier add-ons of an app. +// ListPremierAddOns - Gets the premier add-ons of an app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -16535,7 +16506,7 @@ func (client *WebAppsClient) listPremierAddOnsHandleResponse(resp *http.Response return result, nil } -// ListPremierAddOnsSlot - Description for Gets the premier add-ons of an app. +// ListPremierAddOnsSlot - Gets the premier add-ons of an app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -16597,8 +16568,8 @@ func (client *WebAppsClient) listPremierAddOnsSlotHandleResponse(resp *http.Resp return result, nil } -// NewListProcessModulesPager - Description for List module information for a process by its ID for a specific scaled-out -// instance in a web site. +// NewListProcessModulesPager - List module information for a process by its ID for a specific scaled-out instance in a web +// site. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Site name. @@ -16672,8 +16643,8 @@ func (client *WebAppsClient) listProcessModulesHandleResponse(resp *http.Respons return result, nil } -// NewListProcessModulesSlotPager - Description for List module information for a process by its ID for a specific scaled-out -// instance in a web site. +// NewListProcessModulesSlotPager - List module information for a process by its ID for a specific scaled-out instance in +// a web site. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Site name. @@ -16752,8 +16723,7 @@ func (client *WebAppsClient) listProcessModulesSlotHandleResponse(resp *http.Res return result, nil } -// NewListProcessThreadsPager - Description for List the threads in a process by its ID for a specific scaled-out instance -// in a web site. +// NewListProcessThreadsPager - List the threads in a process by its ID for a specific scaled-out instance in a web site. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Site name. @@ -16827,8 +16797,7 @@ func (client *WebAppsClient) listProcessThreadsHandleResponse(resp *http.Respons return result, nil } -// NewListProcessThreadsSlotPager - Description for List the threads in a process by its ID for a specific scaled-out instance -// in a web site. +// NewListProcessThreadsSlotPager - List the threads in a process by its ID for a specific scaled-out instance in a web site. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Site name. @@ -16907,8 +16876,8 @@ func (client *WebAppsClient) listProcessThreadsSlotHandleResponse(resp *http.Res return result, nil } -// NewListProcessesPager - 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. +// NewListProcessesPager - Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance +// in a web site. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Site name. @@ -16976,8 +16945,8 @@ func (client *WebAppsClient) listProcessesHandleResponse(resp *http.Response) (W return result, nil } -// NewListProcessesSlotPager - 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. +// NewListProcessesSlotPager - Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance +// in a web site. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Site name. @@ -17051,7 +17020,7 @@ func (client *WebAppsClient) listProcessesSlotHandleResponse(resp *http.Response return result, nil } -// NewListPublicCertificatesPager - Description for Get public certificates for an app or a deployment slot. +// NewListPublicCertificatesPager - Get public certificates for an app or a deployment slot. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -17120,7 +17089,7 @@ func (client *WebAppsClient) listPublicCertificatesHandleResponse(resp *http.Res return result, nil } -// NewListPublicCertificatesSlotPager - Description for Get public certificates for an app or a deployment slot. +// NewListPublicCertificatesSlotPager - Get public certificates for an app or a deployment slot. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -17194,7 +17163,7 @@ func (client *WebAppsClient) listPublicCertificatesSlotHandleResponse(resp *http return result, nil } -// BeginListPublishingCredentials - Description for Gets the Git/FTP publishing credentials of an app. +// BeginListPublishingCredentials - Gets the Git/FTP publishing credentials of an app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -17212,7 +17181,7 @@ func (client *WebAppsClient) BeginListPublishingCredentials(ctx context.Context, } } -// ListPublishingCredentials - Description for Gets the Git/FTP publishing credentials of an app. +// ListPublishingCredentials - Gets the Git/FTP publishing credentials of an app. // If the operation fails it returns an *azcore.ResponseError type. func (client *WebAppsClient) listPublishingCredentials(ctx context.Context, resourceGroupName string, name string, options *WebAppsClientBeginListPublishingCredentialsOptions) (*http.Response, error) { req, err := client.listPublishingCredentialsCreateRequest(ctx, resourceGroupName, name, options) @@ -17255,7 +17224,7 @@ func (client *WebAppsClient) listPublishingCredentialsCreateRequest(ctx context. return req, nil } -// BeginListPublishingCredentialsSlot - Description for Gets the Git/FTP publishing credentials of an app. +// BeginListPublishingCredentialsSlot - Gets the Git/FTP publishing credentials of an app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -17275,7 +17244,7 @@ func (client *WebAppsClient) BeginListPublishingCredentialsSlot(ctx context.Cont } } -// ListPublishingCredentialsSlot - Description for Gets the Git/FTP publishing credentials of an app. +// ListPublishingCredentialsSlot - Gets the Git/FTP publishing credentials of an app. // If the operation fails it returns an *azcore.ResponseError type. func (client *WebAppsClient) listPublishingCredentialsSlot(ctx context.Context, resourceGroupName string, name string, slot string, options *WebAppsClientBeginListPublishingCredentialsSlotOptions) (*http.Response, error) { req, err := client.listPublishingCredentialsSlotCreateRequest(ctx, resourceGroupName, name, slot, options) @@ -17322,7 +17291,7 @@ func (client *WebAppsClient) listPublishingCredentialsSlotCreateRequest(ctx cont return req, nil } -// 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). // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -17372,8 +17341,7 @@ func (client *WebAppsClient) listPublishingProfileXMLWithSecretsCreateRequest(ct return req, runtime.MarshalAsJSON(req, publishingProfileOptions) } -// 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). // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -17429,7 +17397,7 @@ func (client *WebAppsClient) listPublishingProfileXMLWithSecretsSlotCreateReques return req, runtime.MarshalAsJSON(req, publishingProfileOptions) } -// 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). // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -17485,8 +17453,7 @@ func (client *WebAppsClient) listRelayServiceConnectionsHandleResponse(resp *htt return result, nil } -// 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). // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -17548,7 +17515,7 @@ func (client *WebAppsClient) listRelayServiceConnectionsSlotHandleResponse(resp return result, nil } -// NewListSiteBackupsPager - Description for Gets existing backups of an app. +// NewListSiteBackupsPager - Gets existing backups of an app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -17616,7 +17583,7 @@ func (client *WebAppsClient) listSiteBackupsHandleResponse(resp *http.Response) return result, nil } -// NewListSiteBackupsSlotPager - Description for Gets existing backups of an app. +// NewListSiteBackupsSlotPager - Gets existing backups of an app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -17690,7 +17657,7 @@ func (client *WebAppsClient) listSiteBackupsSlotHandleResponse(resp *http.Respon return result, nil } -// NewListSiteExtensionsPager - Description for Get list of siteextensions for a web site, or a deployment slot. +// NewListSiteExtensionsPager - Get list of siteextensions for a web site, or a deployment slot. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Site name. @@ -17759,7 +17726,7 @@ func (client *WebAppsClient) listSiteExtensionsHandleResponse(resp *http.Respons return result, nil } -// NewListSiteExtensionsSlotPager - Description for Get list of siteextensions for a web site, or a deployment slot. +// NewListSiteExtensionsSlotPager - Get list of siteextensions for a web site, or a deployment slot. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Site name. @@ -17833,7 +17800,7 @@ func (client *WebAppsClient) listSiteExtensionsSlotHandleResponse(resp *http.Res return result, nil } -// ListSitePushSettings - Description for Gets the Push settings associated with web app. +// ListSitePushSettings - Gets the Push settings associated with web app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of web app. @@ -17889,7 +17856,7 @@ func (client *WebAppsClient) listSitePushSettingsHandleResponse(resp *http.Respo return result, nil } -// ListSitePushSettingsSlot - Description for Gets the Push settings associated with web app. +// ListSitePushSettingsSlot - Gets the Push settings associated with web app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of web app. @@ -17950,8 +17917,7 @@ func (client *WebAppsClient) listSitePushSettingsSlotHandleResponse(resp *http.R return result, nil } -// 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). // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -18007,8 +17973,7 @@ func (client *WebAppsClient) listSlotConfigurationNamesHandleResponse(resp *http return result, nil } -// NewListSlotDifferencesFromProductionPager - Description for Get the difference in configuration settings between two web -// app slots. +// NewListSlotDifferencesFromProductionPager - Get the difference in configuration settings between two web app slots. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -18078,7 +18043,7 @@ func (client *WebAppsClient) listSlotDifferencesFromProductionHandleResponse(res return result, nil } -// NewListSlotDifferencesSlotPager - Description for Get the difference in configuration settings between two web app slots. +// NewListSlotDifferencesSlotPager - Get the difference in configuration settings between two web app slots. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -18153,7 +18118,7 @@ func (client *WebAppsClient) listSlotDifferencesSlotHandleResponse(resp *http.Re return result, nil } -// NewListSlotsPager - Description for Gets an app's deployment slots. +// NewListSlotsPager - Gets an app's deployment slots. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -18221,7 +18186,7 @@ func (client *WebAppsClient) listSlotsHandleResponse(resp *http.Response) (WebAp return result, nil } -// NewListSnapshotsPager - Description for Returns all Snapshots to the user. +// NewListSnapshotsPager - Returns all Snapshots to the user. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Website Name. @@ -18289,7 +18254,7 @@ func (client *WebAppsClient) listSnapshotsHandleResponse(resp *http.Response) (W return result, nil } -// NewListSnapshotsFromDRSecondaryPager - Description for Returns all Snapshots to the user from DRSecondary endpoint. +// NewListSnapshotsFromDRSecondaryPager - Returns all Snapshots to the user from DRSecondary endpoint. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Website Name. @@ -18358,7 +18323,7 @@ func (client *WebAppsClient) listSnapshotsFromDRSecondaryHandleResponse(resp *ht return result, nil } -// NewListSnapshotsFromDRSecondarySlotPager - Description for Returns all Snapshots to the user from DRSecondary endpoint. +// NewListSnapshotsFromDRSecondarySlotPager - Returns all Snapshots to the user from DRSecondary endpoint. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Website Name. @@ -18432,7 +18397,7 @@ func (client *WebAppsClient) listSnapshotsFromDRSecondarySlotHandleResponse(resp return result, nil } -// NewListSnapshotsSlotPager - Description for Returns all Snapshots to the user. +// NewListSnapshotsSlotPager - Returns all Snapshots to the user. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Website Name. @@ -18506,7 +18471,7 @@ func (client *WebAppsClient) listSnapshotsSlotHandleResponse(resp *http.Response return result, nil } -// ListSyncFunctionTriggers - Description for This is to allow calling via powershell and ARM template. +// ListSyncFunctionTriggers - This is to allow calling via powershell and ARM template. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -18562,7 +18527,7 @@ func (client *WebAppsClient) listSyncFunctionTriggersHandleResponse(resp *http.R return result, nil } -// ListSyncFunctionTriggersSlot - Description for This is to allow calling via powershell and ARM template. +// ListSyncFunctionTriggersSlot - This is to allow calling via powershell and ARM template. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -18623,7 +18588,7 @@ func (client *WebAppsClient) listSyncFunctionTriggersSlotHandleResponse(resp *ht return result, nil } -// ListSyncStatus - Description for This is to allow calling via powershell and ARM template. +// ListSyncStatus - This is to allow calling via powershell and ARM template. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -18669,7 +18634,7 @@ func (client *WebAppsClient) listSyncStatusCreateRequest(ctx context.Context, re return req, nil } -// ListSyncStatusSlot - Description for This is to allow calling via powershell and ARM template. +// ListSyncStatusSlot - This is to allow calling via powershell and ARM template. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -18721,7 +18686,7 @@ func (client *WebAppsClient) listSyncStatusSlotCreateRequest(ctx context.Context return req, nil } -// NewListTriggeredWebJobHistoryPager - Description for List a triggered web job's history for an app, or a deployment slot. +// NewListTriggeredWebJobHistoryPager - List a triggered web job's history for an app, or a deployment slot. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Site name. @@ -18795,8 +18760,7 @@ func (client *WebAppsClient) listTriggeredWebJobHistoryHandleResponse(resp *http return result, nil } -// NewListTriggeredWebJobHistorySlotPager - Description for List a triggered web job's history for an app, or a deployment -// slot. +// NewListTriggeredWebJobHistorySlotPager - List a triggered web job's history for an app, or a deployment slot. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Site name. @@ -18875,7 +18839,7 @@ func (client *WebAppsClient) listTriggeredWebJobHistorySlotHandleResponse(resp * return result, nil } -// NewListTriggeredWebJobsPager - Description for List triggered web jobs for an app, or a deployment slot. +// NewListTriggeredWebJobsPager - List triggered web jobs for an app, or a deployment slot. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Site name. @@ -18944,7 +18908,7 @@ func (client *WebAppsClient) listTriggeredWebJobsHandleResponse(resp *http.Respo return result, nil } -// NewListTriggeredWebJobsSlotPager - Description for List triggered web jobs for an app, or a deployment slot. +// NewListTriggeredWebJobsSlotPager - List triggered web jobs for an app, or a deployment slot. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Site name. @@ -19018,7 +18982,7 @@ func (client *WebAppsClient) listTriggeredWebJobsSlotHandleResponse(resp *http.R return result, nil } -// NewListUsagesPager - Description for Gets the quota usage information of an app (or deployment slot, if specified). +// NewListUsagesPager - Gets the quota usage information of an app (or deployment slot, if specified). // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -19091,7 +19055,7 @@ func (client *WebAppsClient) listUsagesHandleResponse(resp *http.Response) (WebA return result, nil } -// NewListUsagesSlotPager - Description for Gets the quota usage information of an app (or deployment slot, if specified). +// NewListUsagesSlotPager - Gets the quota usage information of an app (or deployment slot, if specified). // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -19169,7 +19133,7 @@ func (client *WebAppsClient) listUsagesSlotHandleResponse(resp *http.Response) ( return result, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -19225,7 +19189,7 @@ func (client *WebAppsClient) listVnetConnectionsHandleResponse(resp *http.Respon return result, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -19287,7 +19251,7 @@ func (client *WebAppsClient) listVnetConnectionsSlotHandleResponse(resp *http.Re return result, nil } -// NewListWebJobsPager - Description for List webjobs for an app, or a deployment slot. +// NewListWebJobsPager - List webjobs for an app, or a deployment slot. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Site name. @@ -19355,7 +19319,7 @@ func (client *WebAppsClient) listWebJobsHandleResponse(resp *http.Response) (Web return result, nil } -// NewListWebJobsSlotPager - Description for List webjobs for an app, or a deployment slot. +// NewListWebJobsSlotPager - List webjobs for an app, or a deployment slot. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Site name. @@ -19428,7 +19392,7 @@ func (client *WebAppsClient) listWebJobsSlotHandleResponse(resp *http.Response) return result, nil } -// BeginMigrateMySQL - Description for Migrates a local (in-app) MySql database to a remote MySql database. +// BeginMigrateMySQL - Migrates a local (in-app) MySql database to a remote MySql database. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of web app. @@ -19447,7 +19411,7 @@ func (client *WebAppsClient) BeginMigrateMySQL(ctx context.Context, resourceGrou } } -// 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. // If the operation fails it returns an *azcore.ResponseError type. func (client *WebAppsClient) migrateMySQL(ctx context.Context, resourceGroupName string, name string, migrationRequestEnvelope MigrateMySQLRequest, options *WebAppsClientBeginMigrateMySQLOptions) (*http.Response, error) { req, err := client.migrateMySQLCreateRequest(ctx, resourceGroupName, name, migrationRequestEnvelope, options) @@ -19490,7 +19454,7 @@ func (client *WebAppsClient) migrateMySQLCreateRequest(ctx context.Context, reso return req, runtime.MarshalAsJSON(req, migrationRequestEnvelope) } -// BeginMigrateStorage - Description for Restores a web app. +// BeginMigrateStorage - Restores a web app. // If the operation fails it returns an *azcore.ResponseError type. // subscriptionName - Azure subscription. // resourceGroupName - Name of the resource group to which the resource belongs. @@ -19510,7 +19474,7 @@ func (client *WebAppsClient) BeginMigrateStorage(ctx context.Context, subscripti } } -// MigrateStorage - Description for Restores a web app. +// MigrateStorage - Restores a web app. // If the operation fails it returns an *azcore.ResponseError type. func (client *WebAppsClient) migrateStorage(ctx context.Context, subscriptionName string, resourceGroupName string, name string, migrationOptions StorageMigrationOptions, options *WebAppsClientBeginMigrateStorageOptions) (*http.Response, error) { req, err := client.migrateStorageCreateRequest(ctx, subscriptionName, resourceGroupName, name, migrationOptions, options) @@ -19554,8 +19518,8 @@ func (client *WebAppsClient) migrateStorageCreateRequest(ctx context.Context, su return req, runtime.MarshalAsJSON(req, migrationOptions) } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - The name of the web app. @@ -19612,8 +19576,8 @@ func (client *WebAppsClient) putPrivateAccessVnetHandleResponse(resp *http.Respo return result, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - The name of the web app. @@ -19675,7 +19639,7 @@ func (client *WebAppsClient) putPrivateAccessVnetSlotHandleResponse(resp *http.R return result, nil } -// RecoverSiteConfigurationSnapshot - Description for Reverts the configuration of an app to a previous snapshot. +// RecoverSiteConfigurationSnapshot - Reverts the configuration of an app to a previous snapshot. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -19727,7 +19691,7 @@ func (client *WebAppsClient) recoverSiteConfigurationSnapshotCreateRequest(ctx c return req, nil } -// RecoverSiteConfigurationSnapshotSlot - Description for Reverts the configuration of an app to a previous snapshot. +// RecoverSiteConfigurationSnapshotSlot - Reverts the configuration of an app to a previous snapshot. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -19784,8 +19748,8 @@ func (client *WebAppsClient) recoverSiteConfigurationSnapshotSlotCreateRequest(c return req, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -19832,8 +19796,8 @@ func (client *WebAppsClient) resetProductionSlotConfigCreateRequest(ctx context. return req, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -19886,7 +19850,7 @@ func (client *WebAppsClient) resetSlotConfigurationSlotCreateRequest(ctx context return req, nil } -// Restart - Description for Restarts an app (or deployment slot, if specified). +// Restart - Restarts an app (or deployment slot, if specified). // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -19938,7 +19902,7 @@ func (client *WebAppsClient) restartCreateRequest(ctx context.Context, resourceG return req, nil } -// RestartSlot - Description for Restarts an app (or deployment slot, if specified). +// RestartSlot - Restarts an app (or deployment slot, if specified). // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -19995,7 +19959,7 @@ func (client *WebAppsClient) restartSlotCreateRequest(ctx context.Context, resou return req, nil } -// BeginRestore - Description for Restores a specific backup to another app (or deployment slot, if specified). +// BeginRestore - Restores a specific backup to another app (or deployment slot, if specified). // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -20014,7 +19978,7 @@ func (client *WebAppsClient) BeginRestore(ctx context.Context, resourceGroupName } } -// 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). // If the operation fails it returns an *azcore.ResponseError type. func (client *WebAppsClient) restore(ctx context.Context, resourceGroupName string, name string, backupID string, request RestoreRequest, options *WebAppsClientBeginRestoreOptions) (*http.Response, error) { req, err := client.restoreCreateRequest(ctx, resourceGroupName, name, backupID, request, options) @@ -20061,7 +20025,7 @@ func (client *WebAppsClient) restoreCreateRequest(ctx context.Context, resourceG return req, runtime.MarshalAsJSON(req, request) } -// BeginRestoreFromBackupBlob - Description for Restores an app from a backup blob in Azure Storage. +// BeginRestoreFromBackupBlob - Restores an app from a backup blob in Azure Storage. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -20080,7 +20044,7 @@ func (client *WebAppsClient) BeginRestoreFromBackupBlob(ctx context.Context, res } } -// RestoreFromBackupBlob - Description for Restores an app from a backup blob in Azure Storage. +// RestoreFromBackupBlob - Restores an app from a backup blob in Azure Storage. // If the operation fails it returns an *azcore.ResponseError type. func (client *WebAppsClient) restoreFromBackupBlob(ctx context.Context, resourceGroupName string, name string, request RestoreRequest, options *WebAppsClientBeginRestoreFromBackupBlobOptions) (*http.Response, error) { req, err := client.restoreFromBackupBlobCreateRequest(ctx, resourceGroupName, name, request, options) @@ -20123,7 +20087,7 @@ func (client *WebAppsClient) restoreFromBackupBlobCreateRequest(ctx context.Cont return req, runtime.MarshalAsJSON(req, request) } -// BeginRestoreFromBackupBlobSlot - Description for Restores an app from a backup blob in Azure Storage. +// BeginRestoreFromBackupBlobSlot - Restores an app from a backup blob in Azure Storage. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -20143,7 +20107,7 @@ func (client *WebAppsClient) BeginRestoreFromBackupBlobSlot(ctx context.Context, } } -// RestoreFromBackupBlobSlot - Description for Restores an app from a backup blob in Azure Storage. +// RestoreFromBackupBlobSlot - Restores an app from a backup blob in Azure Storage. // If the operation fails it returns an *azcore.ResponseError type. func (client *WebAppsClient) restoreFromBackupBlobSlot(ctx context.Context, resourceGroupName string, name string, slot string, request RestoreRequest, options *WebAppsClientBeginRestoreFromBackupBlobSlotOptions) (*http.Response, error) { req, err := client.restoreFromBackupBlobSlotCreateRequest(ctx, resourceGroupName, name, slot, request, options) @@ -20190,7 +20154,7 @@ func (client *WebAppsClient) restoreFromBackupBlobSlotCreateRequest(ctx context. return req, runtime.MarshalAsJSON(req, request) } -// BeginRestoreFromDeletedApp - Description for Restores a deleted web app to this web app. +// BeginRestoreFromDeletedApp - Restores a deleted web app to this web app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of web app. @@ -20209,7 +20173,7 @@ func (client *WebAppsClient) BeginRestoreFromDeletedApp(ctx context.Context, res } } -// RestoreFromDeletedApp - Description for Restores a deleted web app to this web app. +// RestoreFromDeletedApp - Restores a deleted web app to this web app. // If the operation fails it returns an *azcore.ResponseError type. func (client *WebAppsClient) restoreFromDeletedApp(ctx context.Context, resourceGroupName string, name string, restoreRequest DeletedAppRestoreRequest, options *WebAppsClientBeginRestoreFromDeletedAppOptions) (*http.Response, error) { req, err := client.restoreFromDeletedAppCreateRequest(ctx, resourceGroupName, name, restoreRequest, options) @@ -20252,7 +20216,7 @@ func (client *WebAppsClient) restoreFromDeletedAppCreateRequest(ctx context.Cont return req, runtime.MarshalAsJSON(req, restoreRequest) } -// BeginRestoreFromDeletedAppSlot - Description for Restores a deleted web app to this web app. +// BeginRestoreFromDeletedAppSlot - Restores a deleted web app to this web app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of web app. @@ -20272,7 +20236,7 @@ func (client *WebAppsClient) BeginRestoreFromDeletedAppSlot(ctx context.Context, } } -// RestoreFromDeletedAppSlot - Description for Restores a deleted web app to this web app. +// RestoreFromDeletedAppSlot - Restores a deleted web app to this web app. // If the operation fails it returns an *azcore.ResponseError type. func (client *WebAppsClient) restoreFromDeletedAppSlot(ctx context.Context, resourceGroupName string, name string, slot string, restoreRequest DeletedAppRestoreRequest, options *WebAppsClientBeginRestoreFromDeletedAppSlotOptions) (*http.Response, error) { req, err := client.restoreFromDeletedAppSlotCreateRequest(ctx, resourceGroupName, name, slot, restoreRequest, options) @@ -20319,7 +20283,7 @@ func (client *WebAppsClient) restoreFromDeletedAppSlotCreateRequest(ctx context. return req, runtime.MarshalAsJSON(req, restoreRequest) } -// BeginRestoreSlot - Description for Restores a specific backup to another app (or deployment slot, if specified). +// BeginRestoreSlot - Restores a specific backup to another app (or deployment slot, if specified). // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -20340,7 +20304,7 @@ func (client *WebAppsClient) BeginRestoreSlot(ctx context.Context, resourceGroup } } -// 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). // If the operation fails it returns an *azcore.ResponseError type. func (client *WebAppsClient) restoreSlot(ctx context.Context, resourceGroupName string, name string, backupID string, slot string, request RestoreRequest, options *WebAppsClientBeginRestoreSlotOptions) (*http.Response, error) { req, err := client.restoreSlotCreateRequest(ctx, resourceGroupName, name, backupID, slot, request, options) @@ -20391,7 +20355,7 @@ func (client *WebAppsClient) restoreSlotCreateRequest(ctx context.Context, resou return req, runtime.MarshalAsJSON(req, request) } -// BeginRestoreSnapshot - Description for Restores a web app from a snapshot. +// BeginRestoreSnapshot - Restores a web app from a snapshot. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of web app. @@ -20411,7 +20375,7 @@ func (client *WebAppsClient) BeginRestoreSnapshot(ctx context.Context, resourceG } } -// RestoreSnapshot - Description for Restores a web app from a snapshot. +// RestoreSnapshot - Restores a web app from a snapshot. // If the operation fails it returns an *azcore.ResponseError type. func (client *WebAppsClient) restoreSnapshot(ctx context.Context, resourceGroupName string, name string, restoreRequest SnapshotRestoreRequest, options *WebAppsClientBeginRestoreSnapshotOptions) (*http.Response, error) { req, err := client.restoreSnapshotCreateRequest(ctx, resourceGroupName, name, restoreRequest, options) @@ -20454,7 +20418,7 @@ func (client *WebAppsClient) restoreSnapshotCreateRequest(ctx context.Context, r return req, runtime.MarshalAsJSON(req, restoreRequest) } -// BeginRestoreSnapshotSlot - Description for Restores a web app from a snapshot. +// BeginRestoreSnapshotSlot - Restores a web app from a snapshot. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of web app. @@ -20475,7 +20439,7 @@ func (client *WebAppsClient) BeginRestoreSnapshotSlot(ctx context.Context, resou } } -// RestoreSnapshotSlot - Description for Restores a web app from a snapshot. +// RestoreSnapshotSlot - Restores a web app from a snapshot. // If the operation fails it returns an *azcore.ResponseError type. func (client *WebAppsClient) restoreSnapshotSlot(ctx context.Context, resourceGroupName string, name string, slot string, restoreRequest SnapshotRestoreRequest, options *WebAppsClientBeginRestoreSnapshotSlotOptions) (*http.Response, error) { req, err := client.restoreSnapshotSlotCreateRequest(ctx, resourceGroupName, name, slot, restoreRequest, options) @@ -20522,7 +20486,7 @@ func (client *WebAppsClient) restoreSnapshotSlotCreateRequest(ctx context.Contex return req, runtime.MarshalAsJSON(req, restoreRequest) } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Site name. @@ -20574,7 +20538,7 @@ func (client *WebAppsClient) runTriggeredWebJobCreateRequest(ctx context.Context return req, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Site name. @@ -20631,7 +20595,7 @@ func (client *WebAppsClient) runTriggeredWebJobSlotCreateRequest(ctx context.Con return req, nil } -// Start - Description for Starts an app (or deployment slot, if specified). +// Start - Starts an app (or deployment slot, if specified). // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -20677,7 +20641,7 @@ func (client *WebAppsClient) startCreateRequest(ctx context.Context, resourceGro return req, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Site name. @@ -20729,7 +20693,7 @@ func (client *WebAppsClient) startContinuousWebJobCreateRequest(ctx context.Cont return req, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Site name. @@ -20786,7 +20750,7 @@ func (client *WebAppsClient) startContinuousWebJobSlotCreateRequest(ctx context. return req, nil } -// BeginStartNetworkTrace - Description for Start capturing network packets for the site. +// BeginStartNetworkTrace - Start capturing network packets for the site. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - The name of the web app. @@ -20804,7 +20768,7 @@ func (client *WebAppsClient) BeginStartNetworkTrace(ctx context.Context, resourc } } -// StartNetworkTrace - Description for Start capturing network packets for the site. +// StartNetworkTrace - Start capturing network packets for the site. // If the operation fails it returns an *azcore.ResponseError type. func (client *WebAppsClient) startNetworkTrace(ctx context.Context, resourceGroupName string, name string, options *WebAppsClientBeginStartNetworkTraceOptions) (*http.Response, error) { req, err := client.startNetworkTraceCreateRequest(ctx, resourceGroupName, name, options) @@ -20856,7 +20820,7 @@ func (client *WebAppsClient) startNetworkTraceCreateRequest(ctx context.Context, return req, nil } -// BeginStartNetworkTraceSlot - Description for Start capturing network packets for the site. +// BeginStartNetworkTraceSlot - Start capturing network packets for the site. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - The name of the web app. @@ -20875,7 +20839,7 @@ func (client *WebAppsClient) BeginStartNetworkTraceSlot(ctx context.Context, res } } -// StartNetworkTraceSlot - Description for Start capturing network packets for the site. +// StartNetworkTraceSlot - Start capturing network packets for the site. // If the operation fails it returns an *azcore.ResponseError type. func (client *WebAppsClient) startNetworkTraceSlot(ctx context.Context, resourceGroupName string, name string, slot string, options *WebAppsClientBeginStartNetworkTraceSlotOptions) (*http.Response, error) { req, err := client.startNetworkTraceSlotCreateRequest(ctx, resourceGroupName, name, slot, options) @@ -20931,7 +20895,7 @@ func (client *WebAppsClient) startNetworkTraceSlotCreateRequest(ctx context.Cont return req, nil } -// StartSlot - Description for Starts an app (or deployment slot, if specified). +// StartSlot - Starts an app (or deployment slot, if specified). // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -20982,7 +20946,7 @@ func (client *WebAppsClient) startSlotCreateRequest(ctx context.Context, resourc return req, nil } -// StartWebSiteNetworkTrace - Description for Start capturing network packets for the site (To be deprecated). +// StartWebSiteNetworkTrace - Start capturing network packets for the site (To be deprecated). // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - The name of the web app. @@ -21047,7 +21011,7 @@ func (client *WebAppsClient) startWebSiteNetworkTraceHandleResponse(resp *http.R return result, nil } -// BeginStartWebSiteNetworkTraceOperation - Description for Start capturing network packets for the site. +// BeginStartWebSiteNetworkTraceOperation - Start capturing network packets for the site. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - The name of the web app. @@ -21065,7 +21029,7 @@ func (client *WebAppsClient) BeginStartWebSiteNetworkTraceOperation(ctx context. } } -// StartWebSiteNetworkTraceOperation - Description for Start capturing network packets for the site. +// StartWebSiteNetworkTraceOperation - Start capturing network packets for the site. // If the operation fails it returns an *azcore.ResponseError type. func (client *WebAppsClient) startWebSiteNetworkTraceOperation(ctx context.Context, resourceGroupName string, name string, options *WebAppsClientBeginStartWebSiteNetworkTraceOperationOptions) (*http.Response, error) { req, err := client.startWebSiteNetworkTraceOperationCreateRequest(ctx, resourceGroupName, name, options) @@ -21117,7 +21081,7 @@ func (client *WebAppsClient) startWebSiteNetworkTraceOperationCreateRequest(ctx return req, nil } -// BeginStartWebSiteNetworkTraceOperationSlot - Description for Start capturing network packets for the site. +// BeginStartWebSiteNetworkTraceOperationSlot - Start capturing network packets for the site. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - The name of the web app. @@ -21136,7 +21100,7 @@ func (client *WebAppsClient) BeginStartWebSiteNetworkTraceOperationSlot(ctx cont } } -// StartWebSiteNetworkTraceOperationSlot - Description for Start capturing network packets for the site. +// StartWebSiteNetworkTraceOperationSlot - Start capturing network packets for the site. // If the operation fails it returns an *azcore.ResponseError type. func (client *WebAppsClient) startWebSiteNetworkTraceOperationSlot(ctx context.Context, resourceGroupName string, name string, slot string, options *WebAppsClientBeginStartWebSiteNetworkTraceOperationSlotOptions) (*http.Response, error) { req, err := client.startWebSiteNetworkTraceOperationSlotCreateRequest(ctx, resourceGroupName, name, slot, options) @@ -21192,7 +21156,7 @@ func (client *WebAppsClient) startWebSiteNetworkTraceOperationSlotCreateRequest( return req, nil } -// StartWebSiteNetworkTraceSlot - Description for Start capturing network packets for the site (To be deprecated). +// StartWebSiteNetworkTraceSlot - Start capturing network packets for the site (To be deprecated). // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - The name of the web app. @@ -21262,7 +21226,7 @@ func (client *WebAppsClient) startWebSiteNetworkTraceSlotHandleResponse(resp *ht return result, nil } -// Stop - Description for Stops an app (or deployment slot, if specified). +// Stop - Stops an app (or deployment slot, if specified). // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -21308,7 +21272,7 @@ func (client *WebAppsClient) stopCreateRequest(ctx context.Context, resourceGrou return req, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Site name. @@ -21360,7 +21324,7 @@ func (client *WebAppsClient) stopContinuousWebJobCreateRequest(ctx context.Conte return req, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Site name. @@ -21417,7 +21381,7 @@ func (client *WebAppsClient) stopContinuousWebJobSlotCreateRequest(ctx context.C return req, nil } -// StopNetworkTrace - Description for Stop ongoing capturing network packets for the site. +// StopNetworkTrace - Stop ongoing capturing network packets for the site. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - The name of the web app. @@ -21464,7 +21428,7 @@ func (client *WebAppsClient) stopNetworkTraceCreateRequest(ctx context.Context, return req, nil } -// StopNetworkTraceSlot - Description for Stop ongoing capturing network packets for the site. +// StopNetworkTraceSlot - Stop ongoing capturing network packets for the site. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - The name of the web app. @@ -21516,7 +21480,7 @@ func (client *WebAppsClient) stopNetworkTraceSlotCreateRequest(ctx context.Conte return req, nil } -// StopSlot - Description for Stops an app (or deployment slot, if specified). +// StopSlot - Stops an app (or deployment slot, if specified). // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -21567,7 +21531,7 @@ func (client *WebAppsClient) stopSlotCreateRequest(ctx context.Context, resource return req, nil } -// StopWebSiteNetworkTrace - Description for Stop ongoing capturing network packets for the site. +// StopWebSiteNetworkTrace - Stop ongoing capturing network packets for the site. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - The name of the web app. @@ -21614,7 +21578,7 @@ func (client *WebAppsClient) stopWebSiteNetworkTraceCreateRequest(ctx context.Co return req, nil } -// StopWebSiteNetworkTraceSlot - Description for Stop ongoing capturing network packets for the site. +// StopWebSiteNetworkTraceSlot - Stop ongoing capturing network packets for the site. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - The name of the web app. @@ -21666,7 +21630,7 @@ func (client *WebAppsClient) stopWebSiteNetworkTraceSlotCreateRequest(ctx contex return req, nil } -// BeginSwapSlot - Description for Swaps two deployment slots of an app. +// BeginSwapSlot - Swaps two deployment slots of an app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -21685,7 +21649,7 @@ func (client *WebAppsClient) BeginSwapSlot(ctx context.Context, resourceGroupNam } } -// SwapSlot - Description for Swaps two deployment slots of an app. +// SwapSlot - Swaps two deployment slots of an app. // If the operation fails it returns an *azcore.ResponseError type. func (client *WebAppsClient) swapSlot(ctx context.Context, resourceGroupName string, name string, slot string, slotSwapEntity CsmSlotEntity, options *WebAppsClientBeginSwapSlotOptions) (*http.Response, error) { req, err := client.swapSlotCreateRequest(ctx, resourceGroupName, name, slot, slotSwapEntity, options) @@ -21732,7 +21696,7 @@ func (client *WebAppsClient) swapSlotCreateRequest(ctx context.Context, resource return req, runtime.MarshalAsJSON(req, slotSwapEntity) } -// BeginSwapSlotWithProduction - Description for Swaps two deployment slots of an app. +// BeginSwapSlotWithProduction - Swaps two deployment slots of an app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -21751,7 +21715,7 @@ func (client *WebAppsClient) BeginSwapSlotWithProduction(ctx context.Context, re } } -// SwapSlotWithProduction - Description for Swaps two deployment slots of an app. +// SwapSlotWithProduction - Swaps two deployment slots of an app. // If the operation fails it returns an *azcore.ResponseError type. func (client *WebAppsClient) swapSlotWithProduction(ctx context.Context, resourceGroupName string, name string, slotSwapEntity CsmSlotEntity, options *WebAppsClientBeginSwapSlotWithProductionOptions) (*http.Response, error) { req, err := client.swapSlotWithProductionCreateRequest(ctx, resourceGroupName, name, slotSwapEntity, options) @@ -21794,7 +21758,7 @@ func (client *WebAppsClient) swapSlotWithProductionCreateRequest(ctx context.Con return req, runtime.MarshalAsJSON(req, slotSwapEntity) } -// SyncFunctionTriggers - Description for Syncs function trigger metadata to the management database +// SyncFunctionTriggers - Syncs function trigger metadata to the management database // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -21841,7 +21805,7 @@ func (client *WebAppsClient) syncFunctionTriggersCreateRequest(ctx context.Conte return req, nil } -// SyncFunctionTriggersSlot - Description for Syncs function trigger metadata to the management database +// SyncFunctionTriggersSlot - Syncs function trigger metadata to the management database // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -21893,7 +21857,7 @@ func (client *WebAppsClient) syncFunctionTriggersSlotCreateRequest(ctx context.C return req, nil } -// SyncFunctions - Description for Syncs function trigger metadata to the management database +// SyncFunctions - Syncs function trigger metadata to the management database // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -21939,7 +21903,7 @@ func (client *WebAppsClient) syncFunctionsCreateRequest(ctx context.Context, res return req, nil } -// SyncFunctionsSlot - Description for Syncs function trigger metadata to the management database +// SyncFunctionsSlot - Syncs function trigger metadata to the management database // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -21991,7 +21955,7 @@ func (client *WebAppsClient) syncFunctionsSlotCreateRequest(ctx context.Context, return req, nil } -// SyncRepository - Description for Sync web app repository. +// SyncRepository - Sync web app repository. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of web app. @@ -22037,7 +22001,7 @@ func (client *WebAppsClient) syncRepositoryCreateRequest(ctx context.Context, re return req, nil } -// SyncRepositorySlot - Description for Sync web app repository. +// SyncRepositorySlot - Sync web app repository. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of web app. @@ -22089,7 +22053,7 @@ func (client *WebAppsClient) syncRepositorySlotCreateRequest(ctx context.Context return req, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // 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. @@ -22145,7 +22109,7 @@ func (client *WebAppsClient) updateHandleResponse(resp *http.Response) (WebAppsC return result, nil } -// UpdateApplicationSettings - Description for Replaces the application settings of an app. +// UpdateApplicationSettings - Replaces the application settings of an app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -22202,7 +22166,7 @@ func (client *WebAppsClient) updateApplicationSettingsHandleResponse(resp *http. return result, nil } -// UpdateApplicationSettingsSlot - Description for Replaces the application settings of an app. +// UpdateApplicationSettingsSlot - Replaces the application settings of an app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -22265,7 +22229,7 @@ func (client *WebAppsClient) updateApplicationSettingsSlotHandleResponse(resp *h return result, nil } -// UpdateAuthSettings - Description for Updates the Authentication / Authorization settings associated with web app. +// UpdateAuthSettings - Updates the Authentication / Authorization settings associated with web app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of web app. @@ -22322,7 +22286,7 @@ func (client *WebAppsClient) updateAuthSettingsHandleResponse(resp *http.Respons return result, nil } -// UpdateAuthSettingsSlot - Description for Updates the Authentication / Authorization settings associated with web app. +// UpdateAuthSettingsSlot - Updates the Authentication / Authorization settings associated with web app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of web app. @@ -22384,7 +22348,7 @@ func (client *WebAppsClient) updateAuthSettingsSlotHandleResponse(resp *http.Res return result, nil } -// 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 // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of web app. @@ -22441,7 +22405,7 @@ func (client *WebAppsClient) updateAuthSettingsV2HandleResponse(resp *http.Respo return result, nil } -// 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 // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of web app. @@ -22503,7 +22467,7 @@ func (client *WebAppsClient) updateAuthSettingsV2SlotHandleResponse(resp *http.R return result, nil } -// UpdateAzureStorageAccounts - Description for Updates the Azure storage account configurations of an app. +// UpdateAzureStorageAccounts - Updates the Azure storage account configurations of an app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -22560,7 +22524,7 @@ func (client *WebAppsClient) updateAzureStorageAccountsHandleResponse(resp *http return result, nil } -// UpdateAzureStorageAccountsSlot - Description for Updates the Azure storage account configurations of an app. +// UpdateAzureStorageAccountsSlot - Updates the Azure storage account configurations of an app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -22623,7 +22587,7 @@ func (client *WebAppsClient) updateAzureStorageAccountsSlotHandleResponse(resp * return result, nil } -// UpdateBackupConfiguration - Description for Updates the backup configuration of an app. +// UpdateBackupConfiguration - Updates the backup configuration of an app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -22680,7 +22644,7 @@ func (client *WebAppsClient) updateBackupConfigurationHandleResponse(resp *http. return result, nil } -// UpdateBackupConfigurationSlot - Description for Updates the backup configuration of an app. +// UpdateBackupConfigurationSlot - Updates the backup configuration of an app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -22743,7 +22707,7 @@ func (client *WebAppsClient) updateBackupConfigurationSlotHandleResponse(resp *h return result, nil } -// UpdateConfiguration - Description for Updates the configuration of an app. +// UpdateConfiguration - Updates the configuration of an app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -22800,7 +22764,7 @@ func (client *WebAppsClient) updateConfigurationHandleResponse(resp *http.Respon return result, nil } -// UpdateConfigurationSlot - Description for Updates the configuration of an app. +// UpdateConfigurationSlot - Updates the configuration of an app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -22862,7 +22826,7 @@ func (client *WebAppsClient) updateConfigurationSlotHandleResponse(resp *http.Re return result, nil } -// UpdateConnectionStrings - Description for Replaces the connection strings of an app. +// UpdateConnectionStrings - Replaces the connection strings of an app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -22919,7 +22883,7 @@ func (client *WebAppsClient) updateConnectionStringsHandleResponse(resp *http.Re return result, nil } -// UpdateConnectionStringsSlot - Description for Replaces the connection strings of an app. +// UpdateConnectionStringsSlot - Replaces the connection strings of an app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -22982,7 +22946,7 @@ func (client *WebAppsClient) updateConnectionStringsSlotHandleResponse(resp *htt return result, nil } -// UpdateDiagnosticLogsConfig - Description for Updates the logging configuration of an app. +// UpdateDiagnosticLogsConfig - Updates the logging configuration of an app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -23039,7 +23003,7 @@ func (client *WebAppsClient) updateDiagnosticLogsConfigHandleResponse(resp *http return result, nil } -// UpdateDiagnosticLogsConfigSlot - Description for Updates the logging configuration of an app. +// UpdateDiagnosticLogsConfigSlot - Updates the logging configuration of an app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -23102,8 +23066,7 @@ func (client *WebAppsClient) updateDiagnosticLogsConfigSlotHandleResponse(resp * return result, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -23165,8 +23128,8 @@ func (client *WebAppsClient) updateDomainOwnershipIdentifierHandleResponse(resp return result, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -23233,7 +23196,7 @@ func (client *WebAppsClient) updateDomainOwnershipIdentifierSlotHandleResponse(r return result, nil } -// UpdateFtpAllowed - Description for Updates whether FTP is allowed on the site or not. +// UpdateFtpAllowed - Updates whether FTP is allowed on the site or not. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -23289,7 +23252,7 @@ func (client *WebAppsClient) updateFtpAllowedHandleResponse(resp *http.Response) return result, nil } -// UpdateFtpAllowedSlot - Description for Updates whether FTP is allowed on the site or not. +// UpdateFtpAllowedSlot - Updates whether FTP is allowed on the site or not. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -23349,7 +23312,7 @@ func (client *WebAppsClient) updateFtpAllowedSlotHandleResponse(resp *http.Respo return result, nil } -// UpdateHybridConnection - Description for Creates a new Hybrid Connection using a Service Bus relay. +// UpdateHybridConnection - Creates a new Hybrid Connection using a Service Bus relay. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - The name of the web app. @@ -23416,7 +23379,7 @@ func (client *WebAppsClient) updateHybridConnectionHandleResponse(resp *http.Res return result, nil } -// UpdateHybridConnectionSlot - Description for Creates a new Hybrid Connection using a Service Bus relay. +// UpdateHybridConnectionSlot - Creates a new Hybrid Connection using a Service Bus relay. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - The name of the web app. @@ -23488,7 +23451,7 @@ func (client *WebAppsClient) updateHybridConnectionSlotHandleResponse(resp *http return result, nil } -// UpdateMetadata - Description for Replaces the metadata of an app. +// UpdateMetadata - Replaces the metadata of an app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -23544,7 +23507,7 @@ func (client *WebAppsClient) updateMetadataHandleResponse(resp *http.Response) ( return result, nil } -// UpdateMetadataSlot - Description for Replaces the metadata of an app. +// UpdateMetadataSlot - Replaces the metadata of an app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -23606,7 +23569,7 @@ func (client *WebAppsClient) updateMetadataSlotHandleResponse(resp *http.Respons return result, nil } -// UpdatePremierAddOn - Description for Updates a named add-on of an app. +// UpdatePremierAddOn - Updates a named add-on of an app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -23668,7 +23631,7 @@ func (client *WebAppsClient) updatePremierAddOnHandleResponse(resp *http.Respons return result, nil } -// UpdatePremierAddOnSlot - Description for Updates a named add-on of an app. +// UpdatePremierAddOnSlot - Updates a named add-on of an app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -23736,8 +23699,7 @@ func (client *WebAppsClient) updatePremierAddOnSlotHandleResponse(resp *http.Res return result, nil } -// 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). // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -23799,8 +23761,7 @@ func (client *WebAppsClient) updateRelayServiceConnectionHandleResponse(resp *ht return result, nil } -// 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). // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -23868,7 +23829,7 @@ func (client *WebAppsClient) updateRelayServiceConnectionSlotHandleResponse(resp return result, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -23924,7 +23885,7 @@ func (client *WebAppsClient) updateScmAllowedHandleResponse(resp *http.Response) return result, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -23984,7 +23945,7 @@ func (client *WebAppsClient) updateScmAllowedSlotHandleResponse(resp *http.Respo return result, nil } -// UpdateSitePushSettings - Description for Updates the Push settings associated with web app. +// UpdateSitePushSettings - Updates the Push settings associated with web app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of web app. @@ -24041,7 +24002,7 @@ func (client *WebAppsClient) updateSitePushSettingsHandleResponse(resp *http.Res return result, nil } -// UpdateSitePushSettingsSlot - Description for Updates the Push settings associated with web app. +// UpdateSitePushSettingsSlot - Updates the Push settings associated with web app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of web app. @@ -24103,8 +24064,7 @@ func (client *WebAppsClient) updateSitePushSettingsSlotHandleResponse(resp *http return result, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // 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. @@ -24166,8 +24126,8 @@ func (client *WebAppsClient) updateSlotHandleResponse(resp *http.Response) (WebA return result, nil } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -24224,7 +24184,7 @@ func (client *WebAppsClient) updateSlotConfigurationNamesHandleResponse(resp *ht return result, nil } -// UpdateSourceControl - Description for Updates the source control configuration of an app. +// UpdateSourceControl - Updates the source control configuration of an app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -24281,7 +24241,7 @@ func (client *WebAppsClient) updateSourceControlHandleResponse(resp *http.Respon return result, nil } -// UpdateSourceControlSlot - Description for Updates the source control configuration of an app. +// UpdateSourceControlSlot - Updates the source control configuration of an app. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -24344,9 +24304,9 @@ func (client *WebAppsClient) updateSourceControlSlotHandleResponse(resp *http.Re return result, nil } -// 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 in use by another App Service Plan other than the one this App is in. +// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -24403,10 +24363,10 @@ func (client *WebAppsClient) updateSwiftVirtualNetworkConnectionWithCheckHandleR return result, nil } -// 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 in use by another App Service Plan other than the one this App is in. +// 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. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -24469,8 +24429,7 @@ func (client *WebAppsClient) updateSwiftVirtualNetworkConnectionWithCheckSlotHan return result, nil } -// 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). // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -24532,7 +24491,7 @@ func (client *WebAppsClient) updateVnetConnectionHandleResponse(resp *http.Respo return result, nil } -// 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). // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -24599,7 +24558,7 @@ func (client *WebAppsClient) updateVnetConnectionGatewayHandleResponse(resp *htt return result, nil } -// 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). // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. @@ -24672,8 +24631,8 @@ func (client *WebAppsClient) updateVnetConnectionGatewaySlotHandleResponse(resp return result, nil } -// 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). // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // name - Name of the app. diff --git a/sdk/resourcemanager/appservice/armappservice/zz_generated_websitemanagement_client.go b/sdk/resourcemanager/appservice/armappservice/zz_generated_websitemanagement_client.go index 04851a408f33..a90931619e22 100644 --- a/sdk/resourcemanager/appservice/armappservice/zz_generated_websitemanagement_client.go +++ b/sdk/resourcemanager/appservice/armappservice/zz_generated_websitemanagement_client.go @@ -55,7 +55,7 @@ func NewWebSiteManagementClient(subscriptionID string, credential azcore.TokenCr return client, nil } -// CheckNameAvailability - Description for Check if a resource name is available. +// CheckNameAvailability - Check if a resource name is available. // If the operation fails it returns an *azcore.ResponseError type. // request - Name availability request. // options - WebSiteManagementClientCheckNameAvailabilityOptions contains the optional parameters for the WebSiteManagementClient.CheckNameAvailability @@ -102,7 +102,7 @@ func (client *WebSiteManagementClient) checkNameAvailabilityHandleResponse(resp return result, nil } -// GetPublishingUser - Description for Gets publishing user +// GetPublishingUser - Gets publishing user // If the operation fails it returns an *azcore.ResponseError type. // options - WebSiteManagementClientGetPublishingUserOptions contains the optional parameters for the WebSiteManagementClient.GetPublishingUser // method. @@ -144,7 +144,7 @@ func (client *WebSiteManagementClient) getPublishingUserHandleResponse(resp *htt return result, nil } -// GetSourceControl - Description for Gets source control token +// GetSourceControl - Gets source control token // If the operation fails it returns an *azcore.ResponseError type. // sourceControlType - Type of source control // options - WebSiteManagementClientGetSourceControlOptions contains the optional parameters for the WebSiteManagementClient.GetSourceControl @@ -191,7 +191,7 @@ func (client *WebSiteManagementClient) getSourceControlHandleResponse(resp *http return result, nil } -// GetSubscriptionDeploymentLocations - Description for Gets list of available geo regions plus ministamps +// GetSubscriptionDeploymentLocations - Gets list of available geo regions plus ministamps // If the operation fails it returns an *azcore.ResponseError type. // options - WebSiteManagementClientGetSubscriptionDeploymentLocationsOptions contains the optional parameters for the WebSiteManagementClient.GetSubscriptionDeploymentLocations // method. @@ -237,7 +237,7 @@ func (client *WebSiteManagementClient) getSubscriptionDeploymentLocationsHandleR return result, nil } -// NewListBillingMetersPager - Description for Gets a list of meters for a given location. +// NewListBillingMetersPager - Gets a list of meters for a given location. // If the operation fails it returns an *azcore.ResponseError type. // options - WebSiteManagementClientListBillingMetersOptions contains the optional parameters for the WebSiteManagementClient.ListBillingMeters // method. @@ -361,7 +361,7 @@ func (client *WebSiteManagementClient) listCustomHostNameSitesHandleResponse(res return result, nil } -// NewListGeoRegionsPager - Description for Get a list of available geographical regions. +// NewListGeoRegionsPager - Get a list of available geographical regions. // If the operation fails it returns an *azcore.ResponseError type. // options - WebSiteManagementClientListGeoRegionsOptions contains the optional parameters for the WebSiteManagementClient.ListGeoRegions // method. @@ -432,7 +432,7 @@ func (client *WebSiteManagementClient) listGeoRegionsHandleResponse(resp *http.R return result, nil } -// NewListPremierAddOnOffersPager - Description for List all premier add-on offers. +// NewListPremierAddOnOffersPager - List all premier add-on offers. // If the operation fails it returns an *azcore.ResponseError type. // options - WebSiteManagementClientListPremierAddOnOffersOptions contains the optional parameters for the WebSiteManagementClient.ListPremierAddOnOffers // method. @@ -491,7 +491,7 @@ func (client *WebSiteManagementClient) listPremierAddOnOffersHandleResponse(resp return result, nil } -// ListSKUs - Description for List all SKUs. +// ListSKUs - List all SKUs. // If the operation fails it returns an *azcore.ResponseError type. // options - WebSiteManagementClientListSKUsOptions contains the optional parameters for the WebSiteManagementClient.ListSKUs // method. @@ -537,7 +537,7 @@ func (client *WebSiteManagementClient) listSKUsHandleResponse(resp *http.Respons return result, nil } -// NewListSiteIdentifiersAssignedToHostNamePager - Description for List all apps that are assigned to a hostname. +// NewListSiteIdentifiersAssignedToHostNamePager - List all apps that are assigned to a hostname. // If the operation fails it returns an *azcore.ResponseError type. // nameIdentifier - Hostname information. // options - WebSiteManagementClientListSiteIdentifiersAssignedToHostNameOptions contains the optional parameters for the @@ -597,7 +597,7 @@ func (client *WebSiteManagementClient) listSiteIdentifiersAssignedToHostNameHand return result, nil } -// NewListSourceControlsPager - Description for Gets the source controls available for Azure websites. +// NewListSourceControlsPager - Gets the source controls available for Azure websites. // If the operation fails it returns an *azcore.ResponseError type. // options - WebSiteManagementClientListSourceControlsOptions contains the optional parameters for the WebSiteManagementClient.ListSourceControls // method. @@ -652,7 +652,7 @@ func (client *WebSiteManagementClient) listSourceControlsHandleResponse(resp *ht return result, nil } -// Move - Description for Move resources between resource groups. +// Move - Move resources between resource groups. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // moveResourceEnvelope - Object that represents the resource to move. @@ -694,7 +694,7 @@ func (client *WebSiteManagementClient) moveCreateRequest(ctx context.Context, re return req, runtime.MarshalAsJSON(req, moveResourceEnvelope) } -// UpdatePublishingUser - Description for Updates publishing user +// UpdatePublishingUser - Updates publishing user // If the operation fails it returns an *azcore.ResponseError type. // userDetails - Details of publishing user // options - WebSiteManagementClientUpdatePublishingUserOptions contains the optional parameters for the WebSiteManagementClient.UpdatePublishingUser @@ -737,7 +737,7 @@ func (client *WebSiteManagementClient) updatePublishingUserHandleResponse(resp * return result, nil } -// UpdateSourceControl - Description for Updates source control token +// UpdateSourceControl - Updates source control token // If the operation fails it returns an *azcore.ResponseError type. // sourceControlType - Type of source control // requestMessage - Source control token information @@ -785,7 +785,7 @@ func (client *WebSiteManagementClient) updateSourceControlHandleResponse(resp *h return result, nil } -// Validate - Description for Validate if a resource can be created. +// Validate - Validate if a resource can be created. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // validateRequest - Request with the resources to validate. @@ -837,7 +837,7 @@ func (client *WebSiteManagementClient) validateHandleResponse(resp *http.Respons return result, nil } -// ValidateMove - Description for Validate whether a resource can be moved. +// ValidateMove - Validate whether a resource can be moved. // If the operation fails it returns an *azcore.ResponseError type. // resourceGroupName - Name of the resource group to which the resource belongs. // moveResourceEnvelope - Object that represents the resource to move. @@ -880,8 +880,8 @@ func (client *WebSiteManagementClient) validateMoveCreateRequest(ctx context.Con return req, runtime.MarshalAsJSON(req, moveResourceEnvelope) } -// 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. // If the operation fails it returns an *azcore.ResponseError type. // parameters - VNET information // options - WebSiteManagementClientVerifyHostingEnvironmentVnetOptions contains the optional parameters for the WebSiteManagementClient.VerifyHostingEnvironmentVnet