diff --git a/sdk/web/armweb/CHANGELOG.md b/sdk/web/armweb/CHANGELOG.md index c7196df9ed8b..2abf53a2d819 100644 --- a/sdk/web/armweb/CHANGELOG.md +++ b/sdk/web/armweb/CHANGELOG.md @@ -1,3 +1,269 @@ # Release History +## v0.2.0 (released) +### Breaking Changes + +- Function `*WebAppsClient.UpdateVnetConnection` parameter(s) have been changed from `(context.Context, string, string, string, VnetInfo, *WebAppsUpdateVnetConnectionOptions)` to `(context.Context, string, string, string, VnetInfoResource, *WebAppsUpdateVnetConnectionOptions)` +- Function `*WebAppsClient.CreateOrUpdateVnetConnection` parameter(s) have been changed from `(context.Context, string, string, string, VnetInfo, *WebAppsCreateOrUpdateVnetConnectionOptions)` to `(context.Context, string, string, string, VnetInfoResource, *WebAppsCreateOrUpdateVnetConnectionOptions)` +- Function `*WebAppsClient.CreateOrUpdateVnetConnectionSlot` parameter(s) have been changed from `(context.Context, string, string, string, string, VnetInfo, *WebAppsCreateOrUpdateVnetConnectionSlotOptions)` to `(context.Context, string, string, string, string, VnetInfoResource, *WebAppsCreateOrUpdateVnetConnectionSlotOptions)` +- Function `*WebAppsClient.UpdateVnetConnectionSlot` parameter(s) have been changed from `(context.Context, string, string, string, string, VnetInfo, *WebAppsUpdateVnetConnectionSlotOptions)` to `(context.Context, string, string, string, string, VnetInfoResource, *WebAppsUpdateVnetConnectionSlotOptions)` +- Type of `DiagnosticDetectorCollection.Value` has been changed from `[]*DetectorDefinition` to `[]*DetectorDefinitionResource` +- Function `ForwardProxy.MarshalJSON` has been removed +- Function `GlobalValidationProperties.MarshalJSON` has been removed +- Function `FileSystemTokenStore.MarshalJSON` has been removed +- Function `Facebook.MarshalJSON` has been removed +- Function `AzureStaticWebAppsRegistration.MarshalJSON` has been removed +- Function `OpenIDConnectConfig.MarshalJSON` has been removed +- Function `JwtClaimChecksProperties.MarshalJSON` has been removed +- Function `VnetInfoProperties.MarshalJSON` has been removed +- Function `HTTPSettingsRoutes.MarshalJSON` has been removed +- Function `TriggeredJobRunProperties.MarshalJSON` has been removed +- Function `AzureActiveDirectory.MarshalJSON` has been removed +- Function `LoginRoutes.MarshalJSON` has been removed +- Function `TokenStore.MarshalJSON` has been removed +- Function `OpenIDConnectLoginProperties.MarshalJSON` has been removed +- Function `TwitterRegistration.MarshalJSON` has been removed +- Function `LoginScopesProperties.MarshalJSON` has been removed +- Function `OpenIDConnectRegistration.MarshalJSON` has been removed +- Function `Nonce.MarshalJSON` has been removed +- Function `OpenIDConnectClientCredential.MarshalJSON` has been removed +- Function `AuthPlatform.MarshalJSON` has been removed +- Function `*TriggeredJobRunProperties.UnmarshalJSON` has been removed +- Function `AppleRegistration.MarshalJSON` has been removed +- Function `IdentityProvidersProperties.MarshalJSON` has been removed +- Function `CookieExpiration.MarshalJSON` has been removed +- Function `DetectorDefinition.MarshalJSON` has been removed +- Function `HTTPSettings.MarshalJSON` has been removed +- Function `AllowedAudiencesValidationProperties.MarshalJSON` has been removed +- Function `LoginProperties.MarshalJSON` has been removed +- Function `ClientRegistration.MarshalJSON` has been removed +- Struct `AllowedAudiencesValidationProperties` has been removed +- Struct `AppleRegistrationProperties` has been removed +- Struct `AuthPlatformProperties` has been removed +- Struct `AzureActiveDirectoryProperties` has been removed +- Struct `AzureStaticWebAppsRegistrationProperties` has been removed +- Struct `ClientRegistrationProperties` has been removed +- Struct `CookieExpirationProperties` has been removed +- Struct `DetectorDefinitionProperties` has been removed +- Struct `FacebookProperties` has been removed +- Struct `FileSystemTokenStoreProperties` has been removed +- Struct `ForwardProxyProperties` has been removed +- Struct `GlobalValidationProperties` has been removed +- Struct `HTTPSettingsProperties` has been removed +- Struct `HTTPSettingsRoutesProperties` has been removed +- Struct `IdentityProvidersProperties` has been removed +- Struct `JwtClaimChecksProperties` has been removed +- Struct `LoginProperties` has been removed +- Struct `LoginRoutesProperties` has been removed +- Struct `LoginScopesProperties` has been removed +- Struct `NonceProperties` has been removed +- Struct `OpenIDConnectClientCredentialProperties` has been removed +- Struct `OpenIDConnectConfigProperties` has been removed +- Struct `OpenIDConnectLoginProperties` has been removed +- Struct `OpenIDConnectRegistrationProperties` has been removed +- Struct `TokenStoreProperties` has been removed +- Struct `TriggeredJobRunProperties` has been removed +- Struct `TwitterRegistrationProperties` has been removed +- Struct `VnetInfoProperties` has been removed +- Field `VnetInfoArray` of struct `AppServicePlansListVnetsResult` has been removed +- Field `ProxyOnlyResource` of struct `VnetInfo` has been removed +- Field `Properties` of struct `VnetInfo` has been removed +- Field `ProxyOnlyResource` of struct `TwitterRegistration` has been removed +- Field `Properties` of struct `TwitterRegistration` has been removed +- Field `VnetInfo` of struct `WebAppsGetVnetConnectionResult` has been removed +- Field `ProxyOnlyResource` of struct `HTTPSettingsRoutes` has been removed +- Field `Properties` of struct `HTTPSettingsRoutes` has been removed +- Field `ProxyOnlyResource` of struct `LoginRoutes` has been removed +- Field `Properties` of struct `LoginRoutes` has been removed +- Field `ProxyOnlyResource` of struct `Login` has been removed +- Field `Properties` of struct `Login` has been removed +- Field `ProxyOnlyResource` of struct `HTTPSettings` has been removed +- Field `Properties` of struct `HTTPSettings` has been removed +- Field `ProxyOnlyResource` of struct `OpenIDConnectClientCredential` has been removed +- Field `Properties` of struct `OpenIDConnectClientCredential` has been removed +- Field `ProxyOnlyResource` of struct `DetectorDefinition` has been removed +- Field `Properties` of struct `DetectorDefinition` has been removed +- Field `DetectorDefinition` of struct `DiagnosticsGetSiteDetectorResult` has been removed +- Field `VnetInfoArray` of struct `WebAppsListVnetConnectionsSlotResult` has been removed +- Field `ProxyOnlyResource` of struct `JwtClaimChecks` has been removed +- Field `Properties` of struct `JwtClaimChecks` has been removed +- Field `ProxyOnlyResource` of struct `IdentityProviders` has been removed +- Field `Properties` of struct `IdentityProviders` has been removed +- Field `ProxyOnlyResource` of struct `OpenIDConnectConfig` has been removed +- Field `Properties` of struct `OpenIDConnectConfig` has been removed +- Field `ProxyOnlyResource` of struct `FileSystemTokenStore` has been removed +- Field `Properties` of struct `FileSystemTokenStore` has been removed +- Field `VnetInfo` of struct `WebAppsUpdateVnetConnectionResult` has been removed +- Field `VnetInfo` of struct `AppServicePlansGetVnetFromServerFarmResult` has been removed +- Field `VnetInfo` of struct `WebAppsGetVnetConnectionSlotResult` has been removed +- Field `ProxyOnlyResource` of struct `GlobalValidation` has been removed +- Field `Properties` of struct `GlobalValidation` has been removed +- Field `ProxyOnlyResource` of struct `Facebook` has been removed +- Field `Properties` of struct `Facebook` has been removed +- Field `ProxyOnlyResource` of struct `ForwardProxy` has been removed +- Field `Properties` of struct `ForwardProxy` has been removed +- Field `VnetInfoArray` of struct `WebAppsListVnetConnectionsResult` has been removed +- Field `VnetInfo` of struct `WebAppsUpdateVnetConnectionSlotResult` has been removed +- Field `ProxyOnlyResource` of struct `OpenIDConnectLogin` has been removed +- Field `Properties` of struct `OpenIDConnectLogin` has been removed +- Field `VnetInfo` of struct `WebAppsCreateOrUpdateVnetConnectionResult` has been removed +- Field `ProxyOnlyResource` of struct `AzureActiveDirectory` has been removed +- Field `Properties` of struct `AzureActiveDirectory` has been removed +- Field `ProxyOnlyResource` of struct `AppleRegistration` has been removed +- Field `Properties` of struct `AppleRegistration` has been removed +- Field `ProxyOnlyResource` of struct `AzureStaticWebAppsRegistration` has been removed +- Field `Properties` of struct `AzureStaticWebAppsRegistration` has been removed +- Field `ProxyOnlyResource` of struct `ClientRegistration` has been removed +- Field `Properties` of struct `ClientRegistration` has been removed +- Field `ProxyOnlyResource` of struct `TriggeredJobRun` has been removed +- Field `Properties` of struct `TriggeredJobRun` has been removed +- Field `ProxyOnlyResource` of struct `AllowedAudiencesValidation` has been removed +- Field `Properties` of struct `AllowedAudiencesValidation` has been removed +- Field `ProxyOnlyResource` of struct `Nonce` has been removed +- Field `Properties` of struct `Nonce` has been removed +- Field `ProxyOnlyResource` of struct `OpenIDConnectRegistration` has been removed +- Field `Properties` of struct `OpenIDConnectRegistration` has been removed +- Field `ProxyOnlyResource` of struct `TokenStore` has been removed +- Field `Properties` of struct `TokenStore` has been removed +- Field `VnetInfo` of struct `WebAppsCreateOrUpdateVnetConnectionSlotResult` has been removed +- Field `ProxyOnlyResource` of struct `LoginScopes` has been removed +- Field `Properties` of struct `LoginScopes` has been removed +- Field `DetectorDefinition` of struct `DiagnosticsGetSiteDetectorSlotResult` has been removed +- Field `ProxyOnlyResource` of struct `CookieExpiration` has been removed +- Field `Properties` of struct `CookieExpiration` has been removed +- Field `ProxyOnlyResource` of struct `AuthPlatform` has been removed +- Field `Properties` of struct `AuthPlatform` has been removed + +### New Content + +- New function `AllowedPrincipals.MarshalJSON() ([]byte, error)` +- New function `DetectorDefinitionResource.MarshalJSON() ([]byte, error)` +- New function `VnetInfoResource.MarshalJSON() ([]byte, error)` +- New function `DefaultAuthorizationPolicy.MarshalJSON() ([]byte, error)` +- New function `AllowedPrincipalsProperties.MarshalJSON() ([]byte, error)` +- New function `*TriggeredJobRun.UnmarshalJSON([]byte) error` +- New struct `AllowedPrincipals` +- New struct `AllowedPrincipalsProperties` +- New struct `DefaultAuthorizationPolicy` +- New struct `DetectorDefinitionResource` +- New struct `VnetInfoResource` +- New field `ConfigFilePath` in struct `AuthPlatform` +- New field `Enabled` in struct `AuthPlatform` +- New field `RuntimeVersion` in struct `AuthPlatform` +- New field `Routes` in struct `HTTPSettings` +- New field `ForwardProxy` in struct `HTTPSettings` +- New field `RequireHTTPS` in struct `HTTPSettings` +- New field `NonceExpirationInterval` in struct `Nonce` +- New field `ValidateNonce` in struct `Nonce` +- New anonymous field `VnetInfoResource` in struct `WebAppsUpdateVnetConnectionResult` +- New field `CustomHostHeaderName` in struct `ForwardProxy` +- New field `CustomProtoHeaderName` in struct `ForwardProxy` +- New field `Convention` in struct `ForwardProxy` +- New field `Registration` in struct `Facebook` +- New field `Enabled` in struct `Facebook` +- New field `GraphAPIVersion` in struct `Facebook` +- New field `Login` in struct `Facebook` +- New field `TimeToExpiration` in struct `CookieExpiration` +- New field `Convention` in struct `CookieExpiration` +- New field `ClientSecretCertificateIssuer` in struct `AzureActiveDirectoryRegistrationProperties` +- New field `ClientSecretCertificateSubjectAlternativeName` in struct `AzureActiveDirectoryRegistrationProperties` +- New field `ZoneRedundant` in struct `AppServicePlanProperties` +- New field `NameClaimType` in struct `OpenIDConnectLogin` +- New field `Scopes` in struct `OpenIDConnectLogin` +- New field `Description` in struct `DetectorDefinition` +- New field `DisplayName` in struct `DetectorDefinition` +- New field `IsEnabled` in struct `DetectorDefinition` +- New field `Rank` in struct `DetectorDefinition` +- New field `ClientID` in struct `AppleRegistration` +- New field `ClientSecretSettingName` in struct `AppleRegistration` +- New field `ClientID` in struct `AzureStaticWebAppsRegistration` +- New field `PreserveURLFragmentsForLogins` in struct `Login` +- New field `Routes` in struct `Login` +- New field `TokenStore` in struct `Login` +- New field `AllowedExternalRedirectUrls` in struct `Login` +- New field `CookieExpiration` in struct `Login` +- New field `Nonce` in struct `Login` +- New field `ClientID` in struct `ClientRegistration` +- New field `ClientSecretSettingName` in struct `ClientRegistration` +- New field `AzureStaticWebApps` in struct `IdentityProviders` +- New field `CustomOpenIDConnectProviders` in struct `IdentityProviders` +- New field `Facebook` in struct `IdentityProviders` +- New field `Twitter` in struct `IdentityProviders` +- New field `Google` in struct `IdentityProviders` +- New field `LegacyMicrosoftAccount` in struct `IdentityProviders` +- New field `Apple` in struct `IdentityProviders` +- New field `AzureActiveDirectory` in struct `IdentityProviders` +- New field `GitHub` in struct `IdentityProviders` +- New field `UnauthenticatedClientAction` in struct `GlobalValidation` +- New field `ExcludedPaths` in struct `GlobalValidation` +- New field `RedirectToProvider` in struct `GlobalValidation` +- New field `RequireAuthentication` in struct `GlobalValidation` +- New field `Target` in struct `ErrorEntity` +- New field `Details` in struct `ErrorEntity` +- New anonymous field `DetectorDefinitionResource` in struct `DiagnosticsGetSiteDetectorSlotResult` +- New anonymous field `VnetInfoResource` in struct `WebAppsCreateOrUpdateVnetConnectionSlotResult` +- New field `ExternalInboundIPAddresses` in struct `AseV3NetworkingConfigurationProperties` +- New field `InternalInboundIPAddresses` in struct `AseV3NetworkingConfigurationProperties` +- New field `Directory` in struct `FileSystemTokenStore` +- New field `AllowedAudiences` in struct `AllowedAudiencesValidation` +- New field `Scopes` in struct `LoginScopes` +- New field `AllowedClientApplications` in struct `JwtClaimChecks` +- New field `AllowedGroups` in struct `JwtClaimChecks` +- New anonymous field `VnetInfoResource` in struct `WebAppsGetVnetConnectionSlotResult` +- New field `ClientCredential` in struct `OpenIDConnectRegistration` +- New field `ClientID` in struct `OpenIDConnectRegistration` +- New field `OpenIDConnectConfiguration` in struct `OpenIDConnectRegistration` +- New field `Login` in struct `AzureActiveDirectory` +- New field `Registration` in struct `AzureActiveDirectory` +- New field `Validation` in struct `AzureActiveDirectory` +- New field `Enabled` in struct `AzureActiveDirectory` +- New field `IsAutoProvisioned` in struct `AzureActiveDirectory` +- New field `ZoneRedundant` in struct `AppServiceEnvironment` +- New field `CertThumbprint` in struct `VnetInfo` +- New field `ResyncRequired` in struct `VnetInfo` +- New field `Routes` in struct `VnetInfo` +- New field `CertBlob` in struct `VnetInfo` +- New field `DNSServers` in struct `VnetInfo` +- New field `IsSwift` in struct `VnetInfo` +- New field `VnetResourceID` in struct `VnetInfo` +- New anonymous field `VnetInfoResource` in struct `WebAppsUpdateVnetConnectionSlotResult` +- New field `LogoutEndpoint` in struct `LoginRoutes` +- New field `APIPrefix` in struct `HTTPSettingsRoutes` +- New field `TokenEndpoint` in struct `OpenIDConnectConfig` +- New field `WellKnownOpenIDConfiguration` in struct `OpenIDConnectConfig` +- New field `AuthorizationEndpoint` in struct `OpenIDConnectConfig` +- New field `CertificationURI` in struct `OpenIDConnectConfig` +- New field `Issuer` in struct `OpenIDConnectConfig` +- New field `Enabled` in struct `TokenStore` +- New field `FileSystem` in struct `TokenStore` +- New field `TokenRefreshExtensionHours` in struct `TokenStore` +- New field `AzureBlobStorage` in struct `TokenStore` +- New field `ClientSecretSettingName` in struct `OpenIDConnectClientCredential` +- New field `Method` in struct `OpenIDConnectClientCredential` +- New anonymous field `DetectorDefinitionResource` in struct `DiagnosticsGetSiteDetectorResult` +- New field `DefaultAuthorizationPolicy` in struct `AzureActiveDirectoryValidationProperties` +- New field `VnetInfoResourceArray` in struct `WebAppsListVnetConnectionsResult` +- New field `WebJobName` in struct `TriggeredJobRun` +- New field `EndTime` in struct `TriggeredJobRun` +- New field `Duration` in struct `TriggeredJobRun` +- New field `ErrorURL` in struct `TriggeredJobRun` +- New field `JobName` in struct `TriggeredJobRun` +- New field `Status` in struct `TriggeredJobRun` +- New field `URL` in struct `TriggeredJobRun` +- New field `OutputURL` in struct `TriggeredJobRun` +- New field `StartTime` in struct `TriggeredJobRun` +- New field `Trigger` in struct `TriggeredJobRun` +- New field `WebJobID` in struct `TriggeredJobRun` +- New field `ConsumerSecretSettingName` in struct `TwitterRegistration` +- New field `ConsumerKey` in struct `TwitterRegistration` +- New field `VnetInfoResourceArray` in struct `WebAppsListVnetConnectionsSlotResult` +- New anonymous field `VnetInfoResource` in struct `WebAppsGetVnetConnectionResult` +- New field `VnetInfoResourceArray` in struct `AppServicePlansListVnetsResult` +- New anonymous field `VnetInfoResource` in struct `AppServicePlansGetVnetFromServerFarmResult` +- New anonymous field `VnetInfoResource` in struct `WebAppsCreateOrUpdateVnetConnectionResult` +- New field `ZoneRedundant` in struct `AppServicePlanPatchResourceProperties` + +Total 130 breaking change(s), 63 additive change(s). + + ## v0.1.0 (released) diff --git a/sdk/web/armweb/autorest.md b/sdk/web/armweb/autorest.md index a0951fd46b23..5da785128ed6 100644 --- a/sdk/web/armweb/autorest.md +++ b/sdk/web/armweb/autorest.md @@ -4,7 +4,8 @@ ``` yaml require: -- https://github.com/Azure/azure-rest-api-specs/blob/36172a10bc1941ec874f17dddc1a0f27b086337c/specification/web/resource-manager/readme.md -- https://github.com/Azure/azure-rest-api-specs/blob/36172a10bc1941ec874f17dddc1a0f27b086337c/specification/web/resource-manager/readme.go.md -module-version: 0.1.0 +- https://github.com/Azure/azure-rest-api-specs/blob/e5c47c5615f81613263ff76fe25628ee19030a02/specification/web/resource-manager/readme.md +- https://github.com/Azure/azure-rest-api-specs/blob/e5c47c5615f81613263ff76fe25628ee19030a02/specification/web/resource-manager/readme.go.md +module-version: 0.2.0 + ``` \ No newline at end of file diff --git a/sdk/web/armweb/go.mod b/sdk/web/armweb/go.mod index 7656f1d53cd0..ec63b684de97 100644 --- a/sdk/web/armweb/go.mod +++ b/sdk/web/armweb/go.mod @@ -3,7 +3,7 @@ module github.com/Azure/azure-sdk-for-go/sdk/web/armweb go 1.13 require ( - github.com/Azure/azure-sdk-for-go v56.0.0+incompatible + github.com/Azure/azure-sdk-for-go v56.3.0+incompatible github.com/Azure/azure-sdk-for-go/sdk/armcore v0.8.0 github.com/Azure/azure-sdk-for-go/sdk/azcore v0.16.2 ) diff --git a/sdk/web/armweb/go.sum b/sdk/web/armweb/go.sum index 52f04096be83..9303cb518ca0 100644 --- a/sdk/web/armweb/go.sum +++ b/sdk/web/armweb/go.sum @@ -1,5 +1,5 @@ -github.com/Azure/azure-sdk-for-go v56.0.0+incompatible h1:jp/df9XKIJYtf4HIVA9cgmVbQpp12lxk73pcHvDsgDE= -github.com/Azure/azure-sdk-for-go v56.0.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= +github.com/Azure/azure-sdk-for-go v56.3.0+incompatible h1:DmhwMrUIvpeoTDiWRDtNHqelNUd3Og8JCkrLHQK795c= +github.com/Azure/azure-sdk-for-go v56.3.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= github.com/Azure/azure-sdk-for-go/sdk/armcore v0.8.0 h1:HQQoaSGOh32mpoRkpLDjkngMwYJqkxu93FRx0epdLHE= github.com/Azure/azure-sdk-for-go/sdk/armcore v0.8.0/go.mod h1:BSKvHb/5cy8j4hahIInXH92X/2zGJ3TxKF6b9pw1Btg= github.com/Azure/azure-sdk-for-go/sdk/azcore v0.16.2 h1:UC4vfOhW2l0f2QOCQpOxJS4/K6oKFy2tQZE+uWU1MEo= diff --git a/sdk/web/armweb/zz_generated_appservicecertificateorders_client.go b/sdk/web/armweb/zz_generated_appservicecertificateorders_client.go index 7e843cf1fe61..c081c7acaf3b 100644 --- a/sdk/web/armweb/zz_generated_appservicecertificateorders_client.go +++ b/sdk/web/armweb/zz_generated_appservicecertificateorders_client.go @@ -117,7 +117,7 @@ func (client *AppServiceCertificateOrdersClient) createOrUpdateCreateRequest(ctx } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(certificateDistinguishedName) @@ -226,7 +226,7 @@ func (client *AppServiceCertificateOrdersClient) createOrUpdateCertificateCreate } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(keyVaultCertificate) @@ -283,7 +283,7 @@ func (client *AppServiceCertificateOrdersClient) deleteCreateRequest(ctx context } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -344,7 +344,7 @@ func (client *AppServiceCertificateOrdersClient) deleteCertificateCreateRequest( } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -401,7 +401,7 @@ func (client *AppServiceCertificateOrdersClient) getCreateRequest(ctx context.Co } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -471,7 +471,7 @@ func (client *AppServiceCertificateOrdersClient) getCertificateCreateRequest(ctx } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -526,7 +526,7 @@ func (client *AppServiceCertificateOrdersClient) listCreateRequest(ctx context.C } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -585,7 +585,7 @@ func (client *AppServiceCertificateOrdersClient) listByResourceGroupCreateReques } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -648,7 +648,7 @@ func (client *AppServiceCertificateOrdersClient) listCertificatesCreateRequest(c } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -714,7 +714,7 @@ func (client *AppServiceCertificateOrdersClient) reissueCreateRequest(ctx contex } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(reissueCertificateOrderRequest) @@ -771,7 +771,7 @@ func (client *AppServiceCertificateOrdersClient) renewCreateRequest(ctx context. } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(renewCertificateOrderRequest) @@ -828,7 +828,7 @@ func (client *AppServiceCertificateOrdersClient) resendEmailCreateRequest(ctx co } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -847,7 +847,7 @@ func (client *AppServiceCertificateOrdersClient) resendEmailHandleError(resp *az return azcore.NewResponseError(&errType, resp.Response) } -// ResendRequestEmails - Description for Verify domain ownership for this certificate order. +// ResendRequestEmails - Resend domain verification ownership email containing steps on how to verify a domain for a given certificate order // If the operation fails it returns the *DefaultErrorResponse error type. func (client *AppServiceCertificateOrdersClient) ResendRequestEmails(ctx context.Context, resourceGroupName string, certificateOrderName string, nameIdentifier NameIdentifier, options *AppServiceCertificateOrdersResendRequestEmailsOptions) (AppServiceCertificateOrdersResendRequestEmailsResponse, error) { req, err := client.resendRequestEmailsCreateRequest(ctx, resourceGroupName, certificateOrderName, nameIdentifier, options) @@ -885,7 +885,7 @@ func (client *AppServiceCertificateOrdersClient) resendRequestEmailsCreateReques } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(nameIdentifier) @@ -942,7 +942,7 @@ func (client *AppServiceCertificateOrdersClient) retrieveCertificateActionsCreat } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -1008,7 +1008,7 @@ func (client *AppServiceCertificateOrdersClient) retrieveCertificateEmailHistory } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -1036,7 +1036,13 @@ func (client *AppServiceCertificateOrdersClient) retrieveCertificateEmailHistory return azcore.NewResponseError(&errType, resp.Response) } -// RetrieveSiteSeal - Description for Verify domain ownership for this certificate order. +// RetrieveSiteSeal - This method is used to obtain the site seal information for an issued certificate. A site seal is a graphic that the certificate purchaser +// can embed on their web site to show their visitors +// information about their SSL certificate. If a web site visitor clicks on the site seal image, a pop-up page is displayed that contains detailed information +// about the SSL certificate. The site seal +// token is used to link the site seal graphic image to the appropriate certificate details pop-up page display when a user clicks on the site seal. The +// site seal images are expected to be static images +// and hosted by the reseller, to minimize delays for customer page load times. // If the operation fails it returns the *DefaultErrorResponse error type. func (client *AppServiceCertificateOrdersClient) RetrieveSiteSeal(ctx context.Context, resourceGroupName string, certificateOrderName string, siteSealRequest SiteSealRequest, options *AppServiceCertificateOrdersRetrieveSiteSealOptions) (AppServiceCertificateOrdersRetrieveSiteSealResponse, error) { req, err := client.retrieveSiteSealCreateRequest(ctx, resourceGroupName, certificateOrderName, siteSealRequest, options) @@ -1074,7 +1080,7 @@ func (client *AppServiceCertificateOrdersClient) retrieveSiteSealCreateRequest(c } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(siteSealRequest) @@ -1113,7 +1119,7 @@ func (client *AppServiceCertificateOrdersClient) Update(ctx context.Context, res if err != nil { return AppServiceCertificateOrdersUpdateResponse{}, err } - if !resp.HasStatusCode(http.StatusOK, http.StatusCreated) { + if !resp.HasStatusCode(http.StatusOK) { return AppServiceCertificateOrdersUpdateResponse{}, client.updateHandleError(resp) } return client.updateHandleResponse(resp) @@ -1140,7 +1146,7 @@ func (client *AppServiceCertificateOrdersClient) updateCreateRequest(ctx context } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(certificateDistinguishedName) @@ -1179,7 +1185,7 @@ func (client *AppServiceCertificateOrdersClient) UpdateCertificate(ctx context.C if err != nil { return AppServiceCertificateOrdersUpdateCertificateResponse{}, err } - if !resp.HasStatusCode(http.StatusOK, http.StatusCreated) { + if !resp.HasStatusCode(http.StatusOK) { return AppServiceCertificateOrdersUpdateCertificateResponse{}, client.updateCertificateHandleError(resp) } return client.updateCertificateHandleResponse(resp) @@ -1210,7 +1216,7 @@ func (client *AppServiceCertificateOrdersClient) updateCertificateCreateRequest( } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(keyVaultCertificate) @@ -1268,7 +1274,7 @@ func (client *AppServiceCertificateOrdersClient) validatePurchaseInformationCrea } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(appServiceCertificateOrder) @@ -1325,7 +1331,7 @@ func (client *AppServiceCertificateOrdersClient) verifyDomainOwnershipCreateRequ } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil diff --git a/sdk/web/armweb/zz_generated_appserviceenvironments_client.go b/sdk/web/armweb/zz_generated_appserviceenvironments_client.go index 3822f5cc872d..b45861adae03 100644 --- a/sdk/web/armweb/zz_generated_appserviceenvironments_client.go +++ b/sdk/web/armweb/zz_generated_appserviceenvironments_client.go @@ -122,7 +122,7 @@ func (client *AppServiceEnvironmentsClient) approveOrRejectPrivateEndpointConnec } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(privateEndpointWrapper) @@ -229,7 +229,7 @@ func (client *AppServiceEnvironmentsClient) changeVnetCreateRequest(ctx context. } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(vnetInfo) @@ -343,7 +343,7 @@ func (client *AppServiceEnvironmentsClient) createOrUpdateCreateRequest(ctx cont } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(hostingEnvironmentEnvelope) @@ -448,7 +448,7 @@ func (client *AppServiceEnvironmentsClient) createOrUpdateMultiRolePoolCreateReq } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(multiRolePoolEnvelope) @@ -557,7 +557,7 @@ func (client *AppServiceEnvironmentsClient) createOrUpdateWorkerPoolCreateReques } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(workerPoolEnvelope) @@ -665,7 +665,7 @@ func (client *AppServiceEnvironmentsClient) deleteCreateRequest(ctx context.Cont if options != nil && options.ForceDelete != nil { reqQP.Set("forceDelete", strconv.FormatBool(*options.ForceDelete)) } - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -774,7 +774,7 @@ func (client *AppServiceEnvironmentsClient) deletePrivateEndpointConnectionCreat } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -831,7 +831,7 @@ func (client *AppServiceEnvironmentsClient) getCreateRequest(ctx context.Context } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -897,7 +897,7 @@ func (client *AppServiceEnvironmentsClient) getAseV3NetworkingConfigurationCreat } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -967,7 +967,7 @@ func (client *AppServiceEnvironmentsClient) getDiagnosticsItemCreateRequest(ctx } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -1030,7 +1030,7 @@ func (client *AppServiceEnvironmentsClient) getInboundNetworkDependenciesEndpoin } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -1096,7 +1096,7 @@ func (client *AppServiceEnvironmentsClient) getMultiRolePoolCreateRequest(ctx co } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -1159,7 +1159,7 @@ func (client *AppServiceEnvironmentsClient) getOutboundNetworkDependenciesEndpoi } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -1229,7 +1229,7 @@ func (client *AppServiceEnvironmentsClient) getPrivateEndpointConnectionCreateRe } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -1292,7 +1292,7 @@ func (client *AppServiceEnvironmentsClient) getPrivateEndpointConnectionListCrea } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -1358,7 +1358,7 @@ func (client *AppServiceEnvironmentsClient) getPrivateLinkResourcesCreateRequest } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -1424,7 +1424,7 @@ func (client *AppServiceEnvironmentsClient) getVipInfoCreateRequest(ctx context. } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -1494,7 +1494,7 @@ func (client *AppServiceEnvironmentsClient) getWorkerPoolCreateRequest(ctx conte } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -1549,7 +1549,7 @@ func (client *AppServiceEnvironmentsClient) listCreateRequest(ctx context.Contex } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -1612,7 +1612,7 @@ func (client *AppServiceEnvironmentsClient) listAppServicePlansCreateRequest(ctx } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -1671,7 +1671,7 @@ func (client *AppServiceEnvironmentsClient) listByResourceGroupCreateRequest(ctx } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -1734,7 +1734,7 @@ func (client *AppServiceEnvironmentsClient) listCapacitiesCreateRequest(ctx cont } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -1800,7 +1800,7 @@ func (client *AppServiceEnvironmentsClient) listDiagnosticsCreateRequest(ctx con } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -1863,7 +1863,7 @@ func (client *AppServiceEnvironmentsClient) listMultiRoleMetricDefinitionsCreate } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -1930,7 +1930,7 @@ func (client *AppServiceEnvironmentsClient) listMultiRolePoolInstanceMetricDefin } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -1993,7 +1993,7 @@ func (client *AppServiceEnvironmentsClient) listMultiRolePoolSKUsCreateRequest(c } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -2056,7 +2056,7 @@ func (client *AppServiceEnvironmentsClient) listMultiRolePoolsCreateRequest(ctx } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -2119,7 +2119,7 @@ func (client *AppServiceEnvironmentsClient) listMultiRoleUsagesCreateRequest(ctx } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -2185,7 +2185,7 @@ func (client *AppServiceEnvironmentsClient) listOperationsCreateRequest(ctx cont } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -2248,7 +2248,7 @@ func (client *AppServiceEnvironmentsClient) listUsagesCreateRequest(ctx context. } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() unencodedParams := []string{req.URL.RawQuery} if options != nil && options.Filter != nil { @@ -2319,7 +2319,7 @@ func (client *AppServiceEnvironmentsClient) listWebAppsCreateRequest(ctx context if options != nil && options.PropertiesToInclude != nil { reqQP.Set("propertiesToInclude", *options.PropertiesToInclude) } - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -2386,7 +2386,7 @@ func (client *AppServiceEnvironmentsClient) listWebWorkerMetricDefinitionsCreate } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -2453,7 +2453,7 @@ func (client *AppServiceEnvironmentsClient) listWebWorkerUsagesCreateRequest(ctx } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -2524,7 +2524,7 @@ func (client *AppServiceEnvironmentsClient) listWorkerPoolInstanceMetricDefiniti } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -2591,7 +2591,7 @@ func (client *AppServiceEnvironmentsClient) listWorkerPoolSKUsCreateRequest(ctx } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -2654,7 +2654,7 @@ func (client *AppServiceEnvironmentsClient) listWorkerPoolsCreateRequest(ctx con } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -2720,7 +2720,7 @@ func (client *AppServiceEnvironmentsClient) rebootCreateRequest(ctx context.Cont } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -2827,7 +2827,7 @@ func (client *AppServiceEnvironmentsClient) resumeCreateRequest(ctx context.Cont } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -2943,7 +2943,7 @@ func (client *AppServiceEnvironmentsClient) suspendCreateRequest(ctx context.Con } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -3009,7 +3009,7 @@ func (client *AppServiceEnvironmentsClient) updateCreateRequest(ctx context.Cont } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(hostingEnvironmentEnvelope) @@ -3075,7 +3075,7 @@ func (client *AppServiceEnvironmentsClient) updateAseNetworkingConfigurationCrea } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(aseNetworkingConfiguration) @@ -3141,7 +3141,7 @@ func (client *AppServiceEnvironmentsClient) updateMultiRolePoolCreateRequest(ctx } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(multiRolePoolEnvelope) @@ -3211,7 +3211,7 @@ func (client *AppServiceEnvironmentsClient) updateWorkerPoolCreateRequest(ctx co } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(workerPoolEnvelope) diff --git a/sdk/web/armweb/zz_generated_appserviceplans_client.go b/sdk/web/armweb/zz_generated_appserviceplans_client.go index 6eee665e68f8..c3aa22e55f41 100644 --- a/sdk/web/armweb/zz_generated_appserviceplans_client.go +++ b/sdk/web/armweb/zz_generated_appserviceplans_client.go @@ -118,7 +118,7 @@ func (client *AppServicePlansClient) createOrUpdateCreateRequest(ctx context.Con } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(appServicePlan) @@ -183,7 +183,7 @@ func (client *AppServicePlansClient) createOrUpdateVnetRouteCreateRequest(ctx co } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(route) @@ -257,7 +257,7 @@ func (client *AppServicePlansClient) deleteCreateRequest(ctx context.Context, re } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -322,7 +322,7 @@ func (client *AppServicePlansClient) deleteHybridConnectionCreateRequest(ctx con } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -387,7 +387,7 @@ func (client *AppServicePlansClient) deleteVnetRouteCreateRequest(ctx context.Co } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -452,7 +452,7 @@ func (client *AppServicePlansClient) getCreateRequest(ctx context.Context, resou } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -534,7 +534,7 @@ func (client *AppServicePlansClient) getHybridConnectionCreateRequest(ctx contex } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -600,7 +600,7 @@ func (client *AppServicePlansClient) getHybridConnectionPlanLimitCreateRequest(c } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -674,7 +674,7 @@ func (client *AppServicePlansClient) getRouteForVnetCreateRequest(ctx context.Co } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -748,7 +748,7 @@ func (client *AppServicePlansClient) getServerFarmSKUsCreateRequest(ctx context. } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -818,7 +818,7 @@ func (client *AppServicePlansClient) getVnetFromServerFarmCreateRequest(ctx cont } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -827,7 +827,7 @@ func (client *AppServicePlansClient) getVnetFromServerFarmCreateRequest(ctx cont // getVnetFromServerFarmHandleResponse handles the GetVnetFromServerFarm response. func (client *AppServicePlansClient) getVnetFromServerFarmHandleResponse(resp *azcore.Response) (AppServicePlansGetVnetFromServerFarmResponse, error) { result := AppServicePlansGetVnetFromServerFarmResponse{RawResponse: resp.Response} - if err := resp.UnmarshalAsJSON(&result.VnetInfo); err != nil { + if err := resp.UnmarshalAsJSON(&result.VnetInfoResource); err != nil { return AppServicePlansGetVnetFromServerFarmResponse{}, err } return result, nil @@ -900,7 +900,7 @@ func (client *AppServicePlansClient) getVnetGatewayCreateRequest(ctx context.Con } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -958,7 +958,7 @@ func (client *AppServicePlansClient) listCreateRequest(ctx context.Context, opti if options != nil && options.Detailed != nil { reqQP.Set("detailed", strconv.FormatBool(*options.Detailed)) } - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -1017,7 +1017,7 @@ func (client *AppServicePlansClient) listByResourceGroupCreateRequest(ctx contex } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -1083,7 +1083,7 @@ func (client *AppServicePlansClient) listCapabilitiesCreateRequest(ctx context.C } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -1157,7 +1157,7 @@ func (client *AppServicePlansClient) listHybridConnectionKeysCreateRequest(ctx c } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -1220,7 +1220,7 @@ func (client *AppServicePlansClient) listHybridConnectionsCreateRequest(ctx cont } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -1290,7 +1290,7 @@ func (client *AppServicePlansClient) listRoutesForVnetCreateRequest(ctx context. } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -1353,7 +1353,7 @@ func (client *AppServicePlansClient) listUsagesCreateRequest(ctx context.Context } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() unencodedParams := []string{req.URL.RawQuery} if options != nil && options.Filter != nil { @@ -1424,7 +1424,7 @@ func (client *AppServicePlansClient) listVnetsCreateRequest(ctx context.Context, } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -1433,7 +1433,7 @@ func (client *AppServicePlansClient) listVnetsCreateRequest(ctx context.Context, // listVnetsHandleResponse handles the ListVnets response. func (client *AppServicePlansClient) listVnetsHandleResponse(resp *azcore.Response) (AppServicePlansListVnetsResponse, error) { result := AppServicePlansListVnetsResponse{RawResponse: resp.Response} - if err := resp.UnmarshalAsJSON(&result.VnetInfoArray); err != nil { + if err := resp.UnmarshalAsJSON(&result.VnetInfoResourceArray); err != nil { return AppServicePlansListVnetsResponse{}, err } return result, nil @@ -1487,7 +1487,7 @@ func (client *AppServicePlansClient) listWebAppsCreateRequest(ctx context.Contex } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") if options != nil && options.SkipToken != nil { reqQP.Set("$skipToken", *options.SkipToken) } @@ -1569,7 +1569,7 @@ func (client *AppServicePlansClient) listWebAppsByHybridConnectionCreateRequest( } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -1639,7 +1639,7 @@ func (client *AppServicePlansClient) rebootWorkerCreateRequest(ctx context.Conte } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -1699,7 +1699,7 @@ func (client *AppServicePlansClient) restartWebAppsCreateRequest(ctx context.Con if options != nil && options.SoftRestart != nil { reqQP.Set("softRestart", strconv.FormatBool(*options.SoftRestart)) } - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -1756,7 +1756,7 @@ func (client *AppServicePlansClient) updateCreateRequest(ctx context.Context, re } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(appServicePlan) @@ -1830,7 +1830,7 @@ func (client *AppServicePlansClient) updateVnetGatewayCreateRequest(ctx context. } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(connectionEnvelope) @@ -1904,7 +1904,7 @@ func (client *AppServicePlansClient) updateVnetRouteCreateRequest(ctx context.Co } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(route) diff --git a/sdk/web/armweb/zz_generated_certificateordersdiagnostics_client.go b/sdk/web/armweb/zz_generated_certificateordersdiagnostics_client.go index 2231d167059c..18702eb42770 100644 --- a/sdk/web/armweb/zz_generated_certificateordersdiagnostics_client.go +++ b/sdk/web/armweb/zz_generated_certificateordersdiagnostics_client.go @@ -82,7 +82,7 @@ func (client *CertificateOrdersDiagnosticsClient) getAppServiceCertificateOrderD if options != nil && options.TimeGrain != nil { reqQP.Set("timeGrain", *options.TimeGrain) } - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -145,7 +145,7 @@ func (client *CertificateOrdersDiagnosticsClient) listAppServiceCertificateOrder } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil diff --git a/sdk/web/armweb/zz_generated_certificateregistrationprovider_client.go b/sdk/web/armweb/zz_generated_certificateregistrationprovider_client.go index d88084172871..f0b6fef47e21 100644 --- a/sdk/web/armweb/zz_generated_certificateregistrationprovider_client.go +++ b/sdk/web/armweb/zz_generated_certificateregistrationprovider_client.go @@ -49,7 +49,7 @@ func (client *CertificateRegistrationProviderClient) listOperationsCreateRequest } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil diff --git a/sdk/web/armweb/zz_generated_certificates_client.go b/sdk/web/armweb/zz_generated_certificates_client.go index 0b8eaeb6fb76..4e9d98824472 100644 --- a/sdk/web/armweb/zz_generated_certificates_client.go +++ b/sdk/web/armweb/zz_generated_certificates_client.go @@ -68,7 +68,7 @@ func (client *CertificatesClient) createOrUpdateCreateRequest(ctx context.Contex } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(certificateEnvelope) @@ -134,7 +134,7 @@ func (client *CertificatesClient) deleteCreateRequest(ctx context.Context, resou } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -191,7 +191,7 @@ func (client *CertificatesClient) getCreateRequest(ctx context.Context, resource } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -246,7 +246,7 @@ func (client *CertificatesClient) listCreateRequest(ctx context.Context, options } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() unencodedParams := []string{req.URL.RawQuery} if options != nil && options.Filter != nil { @@ -310,7 +310,7 @@ func (client *CertificatesClient) listByResourceGroupCreateRequest(ctx context.C } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -376,7 +376,7 @@ func (client *CertificatesClient) updateCreateRequest(ctx context.Context, resou } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(certificateEnvelope) diff --git a/sdk/web/armweb/zz_generated_constants.go b/sdk/web/armweb/zz_generated_constants.go index bfc8e9c55792..b58b71d5a845 100644 --- a/sdk/web/armweb/zz_generated_constants.go +++ b/sdk/web/armweb/zz_generated_constants.go @@ -7,7 +7,7 @@ package armweb -const telemetryInfo = "azsdk-go-armweb/v0.1.0" +const telemetryInfo = "azsdk-go-armweb/v0.2.0" type AppServiceCertificateOrderPatchResourcePropertiesAppServiceCertificateNotRenewableReasonsItem string diff --git a/sdk/web/armweb/zz_generated_deletedwebapps_client.go b/sdk/web/armweb/zz_generated_deletedwebapps_client.go index 15e2c545af9e..4f495d8f0ed1 100644 --- a/sdk/web/armweb/zz_generated_deletedwebapps_client.go +++ b/sdk/web/armweb/zz_generated_deletedwebapps_client.go @@ -68,7 +68,7 @@ func (client *DeletedWebAppsClient) getDeletedWebAppByLocationCreateRequest(ctx } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -123,7 +123,7 @@ func (client *DeletedWebAppsClient) listCreateRequest(ctx context.Context, optio } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -182,7 +182,7 @@ func (client *DeletedWebAppsClient) listByLocationCreateRequest(ctx context.Cont } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil diff --git a/sdk/web/armweb/zz_generated_diagnostics_client.go b/sdk/web/armweb/zz_generated_diagnostics_client.go index 86b3fa089920..e993cb9dd53e 100644 --- a/sdk/web/armweb/zz_generated_diagnostics_client.go +++ b/sdk/web/armweb/zz_generated_diagnostics_client.go @@ -86,7 +86,7 @@ func (client *DiagnosticsClient) executeSiteAnalysisCreateRequest(ctx context.Co if options != nil && options.TimeGrain != nil { reqQP.Set("timeGrain", *options.TimeGrain) } - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -173,7 +173,7 @@ func (client *DiagnosticsClient) executeSiteAnalysisSlotCreateRequest(ctx contex if options != nil && options.TimeGrain != nil { reqQP.Set("timeGrain", *options.TimeGrain) } - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -256,7 +256,7 @@ func (client *DiagnosticsClient) executeSiteDetectorCreateRequest(ctx context.Co if options != nil && options.TimeGrain != nil { reqQP.Set("timeGrain", *options.TimeGrain) } - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -343,7 +343,7 @@ func (client *DiagnosticsClient) executeSiteDetectorSlotCreateRequest(ctx contex if options != nil && options.TimeGrain != nil { reqQP.Set("timeGrain", *options.TimeGrain) } - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -422,7 +422,7 @@ func (client *DiagnosticsClient) getHostingEnvironmentDetectorResponseCreateRequ if options != nil && options.TimeGrain != nil { reqQP.Set("timeGrain", *options.TimeGrain) } - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -496,7 +496,7 @@ func (client *DiagnosticsClient) getSiteAnalysisCreateRequest(ctx context.Contex } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -574,7 +574,7 @@ func (client *DiagnosticsClient) getSiteAnalysisSlotCreateRequest(ctx context.Co } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -648,7 +648,7 @@ func (client *DiagnosticsClient) getSiteDetectorCreateRequest(ctx context.Contex } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -657,7 +657,7 @@ func (client *DiagnosticsClient) getSiteDetectorCreateRequest(ctx context.Contex // getSiteDetectorHandleResponse handles the GetSiteDetector response. func (client *DiagnosticsClient) getSiteDetectorHandleResponse(resp *azcore.Response) (DiagnosticsGetSiteDetectorResponse, error) { result := DiagnosticsGetSiteDetectorResponse{RawResponse: resp.Response} - if err := resp.UnmarshalAsJSON(&result.DetectorDefinition); err != nil { + if err := resp.UnmarshalAsJSON(&result.DetectorDefinitionResource); err != nil { return DiagnosticsGetSiteDetectorResponse{}, err } return result, nil @@ -727,7 +727,7 @@ func (client *DiagnosticsClient) getSiteDetectorResponseCreateRequest(ctx contex if options != nil && options.TimeGrain != nil { reqQP.Set("timeGrain", *options.TimeGrain) } - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -810,7 +810,7 @@ func (client *DiagnosticsClient) getSiteDetectorResponseSlotCreateRequest(ctx co if options != nil && options.TimeGrain != nil { reqQP.Set("timeGrain", *options.TimeGrain) } - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -888,7 +888,7 @@ func (client *DiagnosticsClient) getSiteDetectorSlotCreateRequest(ctx context.Co } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -897,7 +897,7 @@ func (client *DiagnosticsClient) getSiteDetectorSlotCreateRequest(ctx context.Co // getSiteDetectorSlotHandleResponse handles the GetSiteDetectorSlot response. func (client *DiagnosticsClient) getSiteDetectorSlotHandleResponse(resp *azcore.Response) (DiagnosticsGetSiteDetectorSlotResponse, error) { result := DiagnosticsGetSiteDetectorSlotResponse{RawResponse: resp.Response} - if err := resp.UnmarshalAsJSON(&result.DetectorDefinition); err != nil { + if err := resp.UnmarshalAsJSON(&result.DetectorDefinitionResource); err != nil { return DiagnosticsGetSiteDetectorSlotResponse{}, err } return result, nil @@ -958,7 +958,7 @@ func (client *DiagnosticsClient) getSiteDiagnosticCategoryCreateRequest(ctx cont } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -1032,7 +1032,7 @@ func (client *DiagnosticsClient) getSiteDiagnosticCategorySlotCreateRequest(ctx } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -1095,7 +1095,7 @@ func (client *DiagnosticsClient) listHostingEnvironmentDetectorResponsesCreateRe } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -1162,7 +1162,7 @@ func (client *DiagnosticsClient) listSiteAnalysesCreateRequest(ctx context.Conte } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -1233,7 +1233,7 @@ func (client *DiagnosticsClient) listSiteAnalysesSlotCreateRequest(ctx context.C } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -1296,7 +1296,7 @@ func (client *DiagnosticsClient) listSiteDetectorResponsesCreateRequest(ctx cont } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -1363,7 +1363,7 @@ func (client *DiagnosticsClient) listSiteDetectorResponsesSlotCreateRequest(ctx } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -1430,7 +1430,7 @@ func (client *DiagnosticsClient) listSiteDetectorsCreateRequest(ctx context.Cont } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -1501,7 +1501,7 @@ func (client *DiagnosticsClient) listSiteDetectorsSlotCreateRequest(ctx context. } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -1564,7 +1564,7 @@ func (client *DiagnosticsClient) listSiteDiagnosticCategoriesCreateRequest(ctx c } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -1631,7 +1631,7 @@ func (client *DiagnosticsClient) listSiteDiagnosticCategoriesSlotCreateRequest(c } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil diff --git a/sdk/web/armweb/zz_generated_domainregistrationprovider_client.go b/sdk/web/armweb/zz_generated_domainregistrationprovider_client.go index d048999a4ae9..debf243a751e 100644 --- a/sdk/web/armweb/zz_generated_domainregistrationprovider_client.go +++ b/sdk/web/armweb/zz_generated_domainregistrationprovider_client.go @@ -49,7 +49,7 @@ func (client *DomainRegistrationProviderClient) listOperationsCreateRequest(ctx } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil diff --git a/sdk/web/armweb/zz_generated_domains_client.go b/sdk/web/armweb/zz_generated_domains_client.go index 457cfb4de3ea..7f2c0e347534 100644 --- a/sdk/web/armweb/zz_generated_domains_client.go +++ b/sdk/web/armweb/zz_generated_domains_client.go @@ -62,7 +62,7 @@ func (client *DomainsClient) checkAvailabilityCreateRequest(ctx context.Context, } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(identifier) @@ -176,7 +176,7 @@ func (client *DomainsClient) createOrUpdateCreateRequest(ctx context.Context, re } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(domain) @@ -237,7 +237,7 @@ func (client *DomainsClient) createOrUpdateOwnershipIdentifierCreateRequest(ctx } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(domainOwnershipIdentifier) @@ -306,7 +306,7 @@ func (client *DomainsClient) deleteCreateRequest(ctx context.Context, resourceGr if options != nil && options.ForceHardDeleteDomain != nil { reqQP.Set("forceHardDeleteDomain", strconv.FormatBool(*options.ForceHardDeleteDomain)) } - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -367,7 +367,7 @@ func (client *DomainsClient) deleteOwnershipIdentifierCreateRequest(ctx context. } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -424,7 +424,7 @@ func (client *DomainsClient) getCreateRequest(ctx context.Context, resourceGroup } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -482,7 +482,7 @@ func (client *DomainsClient) getControlCenterSsoRequestCreateRequest(ctx context } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -552,7 +552,7 @@ func (client *DomainsClient) getOwnershipIdentifierCreateRequest(ctx context.Con } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -607,7 +607,7 @@ func (client *DomainsClient) listCreateRequest(ctx context.Context, options *Dom } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -666,7 +666,7 @@ func (client *DomainsClient) listByResourceGroupCreateRequest(ctx context.Contex } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -729,7 +729,7 @@ func (client *DomainsClient) listOwnershipIdentifiersCreateRequest(ctx context.C } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -784,7 +784,7 @@ func (client *DomainsClient) listRecommendationsCreateRequest(ctx context.Contex } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(parameters) @@ -850,7 +850,7 @@ func (client *DomainsClient) renewCreateRequest(ctx context.Context, resourceGro } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -907,7 +907,7 @@ func (client *DomainsClient) updateCreateRequest(ctx context.Context, resourceGr } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(domain) @@ -977,7 +977,7 @@ func (client *DomainsClient) updateOwnershipIdentifierCreateRequest(ctx context. } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(domainOwnershipIdentifier) diff --git a/sdk/web/armweb/zz_generated_global_client.go b/sdk/web/armweb/zz_generated_global_client.go index 360ad4600de0..f0f087f4d013 100644 --- a/sdk/web/armweb/zz_generated_global_client.go +++ b/sdk/web/armweb/zz_generated_global_client.go @@ -64,7 +64,7 @@ func (client *GlobalClient) getDeletedWebAppCreateRequest(ctx context.Context, d } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -126,7 +126,7 @@ func (client *GlobalClient) getDeletedWebAppSnapshotsCreateRequest(ctx context.C } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -192,7 +192,7 @@ func (client *GlobalClient) getSubscriptionOperationWithAsyncResponseCreateReque } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil diff --git a/sdk/web/armweb/zz_generated_kubeenvironments_client.go b/sdk/web/armweb/zz_generated_kubeenvironments_client.go index bc2013bbc470..669974f5aded 100644 --- a/sdk/web/armweb/zz_generated_kubeenvironments_client.go +++ b/sdk/web/armweb/zz_generated_kubeenvironments_client.go @@ -117,7 +117,7 @@ func (client *KubeEnvironmentsClient) createOrUpdateCreateRequest(ctx context.Co } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(kubeEnvironmentEnvelope) @@ -222,7 +222,7 @@ func (client *KubeEnvironmentsClient) deleteCreateRequest(ctx context.Context, r } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -279,7 +279,7 @@ func (client *KubeEnvironmentsClient) getCreateRequest(ctx context.Context, reso } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -338,7 +338,7 @@ func (client *KubeEnvironmentsClient) listByResourceGroupCreateRequest(ctx conte } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -393,7 +393,7 @@ func (client *KubeEnvironmentsClient) listBySubscriptionCreateRequest(ctx contex } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -459,7 +459,7 @@ func (client *KubeEnvironmentsClient) updateCreateRequest(ctx context.Context, r } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(kubeEnvironmentEnvelope) diff --git a/sdk/web/armweb/zz_generated_models.go b/sdk/web/armweb/zz_generated_models.go index 8a2dd1c8692b..cd610ac111c3 100644 --- a/sdk/web/armweb/zz_generated_models.go +++ b/sdk/web/armweb/zz_generated_models.go @@ -189,28 +189,47 @@ func (a AddressResponseProperties) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AllowedAudiencesValidation - The configuration settings of the Allowed Audiences validation flow. type AllowedAudiencesValidation struct { - ProxyOnlyResource - // AllowedAudiencesValidation resource specific properties - Properties *AllowedAudiencesValidationProperties `json:"properties,omitempty"` + // The configuration settings of the allowed list of audiences from which to validate the JWT token. + AllowedAudiences []*string `json:"allowedAudiences,omitempty"` } // MarshalJSON implements the json.Marshaller interface for type AllowedAudiencesValidation. func (a AllowedAudiencesValidation) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + populate(objectMap, "allowedAudiences", a.AllowedAudiences) + return json.Marshal(objectMap) +} + +// AllowedPrincipals - The configuration settings of the Azure Active Directory allowed principals. +type AllowedPrincipals struct { + ProxyOnlyResource + // AllowedPrincipals resource specific properties + Properties *AllowedPrincipalsProperties `json:"properties,omitempty"` +} + +// MarshalJSON implements the json.Marshaller interface for type AllowedPrincipals. +func (a AllowedPrincipals) MarshalJSON() ([]byte, error) { objectMap := a.ProxyOnlyResource.marshalInternal() populate(objectMap, "properties", a.Properties) return json.Marshal(objectMap) } -// AllowedAudiencesValidationProperties - AllowedAudiencesValidation resource specific properties -type AllowedAudiencesValidationProperties struct { - AllowedAudiences []*string `json:"allowedAudiences,omitempty"` +// AllowedPrincipalsProperties - AllowedPrincipals resource specific properties +type AllowedPrincipalsProperties struct { + // The list of the allowed groups. + Groups []*string `json:"groups,omitempty"` + + // The list of the allowed identities. + Identities []*string `json:"identities,omitempty"` } -// MarshalJSON implements the json.Marshaller interface for type AllowedAudiencesValidationProperties. -func (a AllowedAudiencesValidationProperties) MarshalJSON() ([]byte, error) { +// MarshalJSON implements the json.Marshaller interface for type AllowedPrincipalsProperties. +func (a AllowedPrincipalsProperties) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - populate(objectMap, "allowedAudiences", a.AllowedAudiences) + populate(objectMap, "groups", a.Groups) + populate(objectMap, "identities", a.Identities) return json.Marshal(objectMap) } @@ -861,6 +880,9 @@ type AppServiceEnvironment struct { // DNS suffix of the App Service Environment. DNSSuffix *string `json:"dnsSuffix,omitempty"` + // Dedicated Host Count + DedicatedHostCount *int32 `json:"dedicatedHostCount,omitempty"` + // Scale factor for front-ends. FrontEndScaleFactor *int32 `json:"frontEndScaleFactor,omitempty"` @@ -876,8 +898,8 @@ type AppServiceEnvironment struct { // User added ip ranges to whitelist on ASE db UserWhitelistedIPRanges []*string `json:"userWhitelistedIpRanges,omitempty"` - // READ-ONLY; Dedicated Host Count - DedicatedHostCount *int32 `json:"dedicatedHostCount,omitempty" azure:"ro"` + // Whether or not this App Service Environment is zone-redundant. + ZoneRedundant *bool `json:"zoneRedundant,omitempty"` // READ-ONLY; Flag that displays whether an ASE has linux workers or not HasLinuxWorkers *bool `json:"hasLinuxWorkers,omitempty" azure:"ro"` @@ -918,6 +940,7 @@ func (a AppServiceEnvironment) MarshalJSON() ([]byte, error) { populate(objectMap, "suspended", a.Suspended) populate(objectMap, "userWhitelistedIpRanges", a.UserWhitelistedIPRanges) populate(objectMap, "virtualNetwork", a.VirtualNetwork) + populate(objectMap, "zoneRedundant", a.ZoneRedundant) return json.Marshal(objectMap) } @@ -1297,6 +1320,9 @@ type AppServicePlanPatchResourceProperties struct { // Target worker tier assigned to the App Service plan. WorkerTierName *string `json:"workerTierName,omitempty"` + // If true, this App Service Plan will perform availability zone balancing. If false, this App Service Plan will not perform availability zone balancing. + ZoneRedundant *bool `json:"zoneRedundant,omitempty"` + // READ-ONLY; Geographical location for the App Service plan. GeoRegion *string `json:"geoRegion,omitempty" azure:"ro"` @@ -1343,6 +1369,7 @@ func (a AppServicePlanPatchResourceProperties) MarshalJSON() ([]byte, error) { populate(objectMap, "targetWorkerCount", a.TargetWorkerCount) populate(objectMap, "targetWorkerSizeId", a.TargetWorkerSizeID) populate(objectMap, "workerTierName", a.WorkerTierName) + populate(objectMap, "zoneRedundant", a.ZoneRedundant) return json.Marshal(objectMap) } @@ -1422,6 +1449,9 @@ func (a *AppServicePlanPatchResourceProperties) UnmarshalJSON(data []byte) error case "workerTierName": err = unpopulate(val, &a.WorkerTierName) delete(rawMsg, key) + case "zoneRedundant": + err = unpopulate(val, &a.ZoneRedundant) + delete(rawMsg, key) } if err != nil { return err @@ -1475,6 +1505,9 @@ type AppServicePlanProperties struct { // Target worker tier assigned to the App Service plan. WorkerTierName *string `json:"workerTierName,omitempty"` + // If true, this App Service Plan will perform availability zone balancing. If false, this App Service Plan will not perform availability zone balancing. + ZoneRedundant *bool `json:"zoneRedundant,omitempty"` + // READ-ONLY; Geographical location for the App Service plan. GeoRegion *string `json:"geoRegion,omitempty" azure:"ro"` @@ -1521,6 +1554,7 @@ func (a AppServicePlanProperties) MarshalJSON() ([]byte, error) { populate(objectMap, "targetWorkerCount", a.TargetWorkerCount) populate(objectMap, "targetWorkerSizeId", a.TargetWorkerSizeID) populate(objectMap, "workerTierName", a.WorkerTierName) + populate(objectMap, "zoneRedundant", a.ZoneRedundant) return json.Marshal(objectMap) } @@ -1600,6 +1634,9 @@ func (a *AppServicePlanProperties) UnmarshalJSON(data []byte) error { case "workerTierName": err = unpopulate(val, &a.WorkerTierName) delete(rawMsg, key) + case "zoneRedundant": + err = unpopulate(val, &a.ZoneRedundant) + delete(rawMsg, key) } if err != nil { return err @@ -1782,20 +1819,6 @@ type AppleProperties struct { // AppleRegistration - The configuration settings of the registration for the Apple provider type AppleRegistration struct { - ProxyOnlyResource - // AppleRegistration resource specific properties - Properties *AppleRegistrationProperties `json:"properties,omitempty"` -} - -// MarshalJSON implements the json.Marshaller interface for type AppleRegistration. -func (a AppleRegistration) MarshalJSON() ([]byte, error) { - objectMap := a.ProxyOnlyResource.marshalInternal() - populate(objectMap, "properties", a.Properties) - return json.Marshal(objectMap) -} - -// AppleRegistrationProperties - AppleRegistration resource specific properties -type AppleRegistrationProperties struct { // The Client ID of the app used for login. ClientID *string `json:"clientId,omitempty"` @@ -1959,6 +1982,12 @@ type AseV3NetworkingConfigurationProperties struct { // Property to enable and disable new private endpoint connection creation on ASE AllowNewPrivateEndpointConnections *bool `json:"allowNewPrivateEndpointConnections,omitempty"` + // READ-ONLY + ExternalInboundIPAddresses []*string `json:"externalInboundIpAddresses,omitempty" azure:"ro"` + + // READ-ONLY + InternalInboundIPAddresses []*string `json:"internalInboundIpAddresses,omitempty" azure:"ro"` + // READ-ONLY LinuxOutboundIPAddresses []*string `json:"linuxOutboundIpAddresses,omitempty" azure:"ro"` @@ -1970,6 +1999,8 @@ type AseV3NetworkingConfigurationProperties struct { func (a AseV3NetworkingConfigurationProperties) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) populate(objectMap, "allowNewPrivateEndpointConnections", a.AllowNewPrivateEndpointConnections) + populate(objectMap, "externalInboundIpAddresses", a.ExternalInboundIPAddresses) + populate(objectMap, "internalInboundIpAddresses", a.InternalInboundIPAddresses) populate(objectMap, "linuxOutboundIpAddresses", a.LinuxOutboundIPAddresses) populate(objectMap, "windowsOutboundIpAddresses", a.WindowsOutboundIPAddresses) return json.Marshal(objectMap) @@ -1977,20 +2008,6 @@ func (a AseV3NetworkingConfigurationProperties) MarshalJSON() ([]byte, error) { // AuthPlatform - The configuration settings of the platform of App Service Authentication/Authorization. type AuthPlatform struct { - ProxyOnlyResource - // AuthPlatform resource specific properties - Properties *AuthPlatformProperties `json:"properties,omitempty"` -} - -// MarshalJSON implements the json.Marshaller interface for type AuthPlatform. -func (a AuthPlatform) MarshalJSON() ([]byte, error) { - objectMap := a.ProxyOnlyResource.marshalInternal() - populate(objectMap, "properties", a.Properties) - return json.Marshal(objectMap) -} - -// AuthPlatformProperties - AuthPlatform resource specific properties -type AuthPlatformProperties struct { // The path of the config file containing auth settings if they come from a file. If the path is relative, base will the site's root directory. ConfigFilePath *string `json:"configFilePath,omitempty"` @@ -2068,16 +2085,22 @@ func (a AutoHealTriggers) MarshalJSON() ([]byte, error) { // AzureActiveDirectory - The configuration settings of the Azure Active directory provider. type AzureActiveDirectory struct { - ProxyOnlyResource - // AzureActiveDirectory resource specific properties - Properties *AzureActiveDirectoryProperties `json:"properties,omitempty"` -} + // false if the Azure Active Directory provider should not be enabled despite the set registration; otherwise, true. + Enabled *bool `json:"enabled,omitempty"` -// MarshalJSON implements the json.Marshaller interface for type AzureActiveDirectory. -func (a AzureActiveDirectory) MarshalJSON() ([]byte, error) { - objectMap := a.ProxyOnlyResource.marshalInternal() - populate(objectMap, "properties", a.Properties) - return json.Marshal(objectMap) + // Gets a value indicating whether the Azure AD configuration was auto-provisioned using 1st party tooling. This is an internal flag primarily intended + // to support the Azure Management Portal. Users + // should not read or write to this property. + IsAutoProvisioned *bool `json:"isAutoProvisioned,omitempty"` + + // The configuration settings of the Azure Active Directory login flow. + Login *AzureActiveDirectoryLogin `json:"login,omitempty"` + + // The configuration settings of the Azure Active Directory app registration. + Registration *AzureActiveDirectoryRegistration `json:"registration,omitempty"` + + // The configuration settings of the Azure Active Directory token validation flow. + Validation *AzureActiveDirectoryValidation `json:"validation,omitempty"` } // AzureActiveDirectoryLogin - The configuration settings of the Azure Active Directory login flow. @@ -2096,6 +2119,7 @@ func (a AzureActiveDirectoryLogin) MarshalJSON() ([]byte, error) { // AzureActiveDirectoryLoginProperties - AzureActiveDirectoryLogin resource specific properties type AzureActiveDirectoryLoginProperties struct { + // true if the www-authenticate provider should be omitted from the request; otherwise, false. DisableWWWAuthenticate *bool `json:"disableWWWAuthenticate,omitempty"` // Login parameters to send to the OpenID Connect authorization endpoint when a user logs in. Each parameter must be in the form "key=value". @@ -2110,26 +2134,6 @@ func (a AzureActiveDirectoryLoginProperties) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } -// AzureActiveDirectoryProperties - AzureActiveDirectory resource specific properties -type AzureActiveDirectoryProperties struct { - // false if the Azure Active Directory provider should not be enabled despite the set registration; otherwise, true. - Enabled *bool `json:"enabled,omitempty"` - - // Gets a value indicating whether the Azure AD configuration was auto-provisioned using 1st party tooling. This is an internal flag primarily intended - // to support the Azure Management Portal. Users - // should not read or write to this property. - IsAutoProvisioned *bool `json:"isAutoProvisioned,omitempty"` - - // The configuration settings of the Azure Active Directory login flow. - Login *AzureActiveDirectoryLogin `json:"login,omitempty"` - - // The configuration settings of the Azure Active Directory app registration. - Registration *AzureActiveDirectoryRegistration `json:"registration,omitempty"` - - // The configuration settings of the Azure Active Directory token validation flow. - Validation *AzureActiveDirectoryValidation `json:"validation,omitempty"` -} - // AzureActiveDirectoryRegistration - The configuration settings of the Azure Active Directory app registration. type AzureActiveDirectoryRegistration struct { ProxyOnlyResource @@ -2151,6 +2155,16 @@ type AzureActiveDirectoryRegistrationProperties struct { // Connect providers. More information on OpenID Connect: http://openid.net/specs/openid-connect-core-10.html ClientID *string `json:"clientId,omitempty"` + // An alternative to the client secret thumbprint, that is the issuer of a certificate used for signing purposes. This property acts as a replacement for + // the Client Secret Certificate Thumbprint. It is + // also optional. + ClientSecretCertificateIssuer *string `json:"clientSecretCertificateIssuer,omitempty"` + + // An alternative to the client secret thumbprint, that is the subject alternative name of a certificate used for signing purposes. This property acts as + // a replacement for the Client Secret Certificate + // Thumbprint. It is also optional. + ClientSecretCertificateSubjectAlternativeName *string `json:"clientSecretCertificateSubjectAlternativeName,omitempty"` + // An alternative to the client secret, that is the thumbprint of a certificate used for signing purposes. This property acts as a replacement for the Client // Secret. It is also optional. ClientSecretCertificateThumbprint *string `json:"clientSecretCertificateThumbprint,omitempty"` @@ -2185,6 +2199,9 @@ type AzureActiveDirectoryValidationProperties struct { // The list of audiences that can make successful authentication/authorization requests. AllowedAudiences []*string `json:"allowedAudiences,omitempty"` + // The configuration settings of the default authorization policy. + DefaultAuthorizationPolicy *DefaultAuthorizationPolicy `json:"defaultAuthorizationPolicy,omitempty"` + // The configuration settings of the checks that should be made while validating the JWT Claims. JwtClaimChecks *JwtClaimChecks `json:"jwtClaimChecks,omitempty"` } @@ -2193,6 +2210,7 @@ type AzureActiveDirectoryValidationProperties struct { func (a AzureActiveDirectoryValidationProperties) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) populate(objectMap, "allowedAudiences", a.AllowedAudiences) + populate(objectMap, "defaultAuthorizationPolicy", a.DefaultAuthorizationPolicy) populate(objectMap, "jwtClaimChecks", a.JwtClaimChecks) return json.Marshal(objectMap) } @@ -2246,20 +2264,6 @@ type AzureStaticWebAppsProperties struct { // AzureStaticWebAppsRegistration - The configuration settings of the registration for the Azure Static Web Apps provider type AzureStaticWebAppsRegistration struct { - ProxyOnlyResource - // AzureStaticWebAppsRegistration resource specific properties - Properties *AzureStaticWebAppsRegistrationProperties `json:"properties,omitempty"` -} - -// MarshalJSON implements the json.Marshaller interface for type AzureStaticWebAppsRegistration. -func (a AzureStaticWebAppsRegistration) MarshalJSON() ([]byte, error) { - objectMap := a.ProxyOnlyResource.marshalInternal() - populate(objectMap, "properties", a.Properties) - return json.Marshal(objectMap) -} - -// AzureStaticWebAppsRegistrationProperties - AzureStaticWebAppsRegistration resource specific properties -type AzureStaticWebAppsRegistrationProperties struct { // The Client ID of the app used for login. ClientID *string `json:"clientId,omitempty"` } @@ -3338,20 +3342,6 @@ type CertificatesUpdateOptions struct { // ClientRegistration - The configuration settings of the app registration for providers that have client ids and client secrets type ClientRegistration struct { - ProxyOnlyResource - // ClientRegistration resource specific properties - Properties *ClientRegistrationProperties `json:"properties,omitempty"` -} - -// MarshalJSON implements the json.Marshaller interface for type ClientRegistration. -func (c ClientRegistration) MarshalJSON() ([]byte, error) { - objectMap := c.ProxyOnlyResource.marshalInternal() - populate(objectMap, "properties", c.Properties) - return json.Marshal(objectMap) -} - -// ClientRegistrationProperties - ClientRegistration resource specific properties -type ClientRegistrationProperties struct { // The Client ID of the app used for login. ClientID *string `json:"clientId,omitempty"` @@ -3681,20 +3671,6 @@ func (c ContinuousWebJobProperties) MarshalJSON() ([]byte, error) { // CookieExpiration - The configuration settings of the session cookie's expiration. type CookieExpiration struct { - ProxyOnlyResource - // CookieExpiration resource specific properties - Properties *CookieExpirationProperties `json:"properties,omitempty"` -} - -// MarshalJSON implements the json.Marshaller interface for type CookieExpiration. -func (c CookieExpiration) MarshalJSON() ([]byte, error) { - objectMap := c.ProxyOnlyResource.marshalInternal() - populate(objectMap, "properties", c.Properties) - return json.Marshal(objectMap) -} - -// CookieExpirationProperties - CookieExpiration resource specific properties -type CookieExpirationProperties struct { // The convention used when determining the session cookie's expiration. Convention *CookieExpirationConvention `json:"convention,omitempty"` @@ -4068,6 +4044,23 @@ type DatabaseBackupSetting struct { Name *string `json:"name,omitempty"` } +// DefaultAuthorizationPolicy - The configuration settings of the Azure Active Directory default authorization policy. +type DefaultAuthorizationPolicy struct { + // The configuration settings of the Azure Active Directory allowed applications. + AllowedApplications []*string `json:"allowedApplications,omitempty"` + + // The configuration settings of the Azure Active Directory allowed principals. + AllowedPrincipals *AllowedPrincipals `json:"allowedPrincipals,omitempty"` +} + +// MarshalJSON implements the json.Marshaller interface for type DefaultAuthorizationPolicy. +func (d DefaultAuthorizationPolicy) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + populate(objectMap, "allowedApplications", d.AllowedApplications) + populate(objectMap, "allowedPrincipals", d.AllowedPrincipals) + return json.Marshal(objectMap) +} + // DefaultErrorResponse - App Service error response. // Implements the error and azcore.HTTPResponse interfaces. type DefaultErrorResponse struct { @@ -4457,20 +4450,6 @@ func (d *DetectorAbnormalTimePeriod) UnmarshalJSON(data []byte) error { // DetectorDefinition - Class representing detector definition type DetectorDefinition struct { - ProxyOnlyResource - // DetectorDefinition resource specific properties - Properties *DetectorDefinitionProperties `json:"properties,omitempty"` -} - -// MarshalJSON implements the json.Marshaller interface for type DetectorDefinition. -func (d DetectorDefinition) MarshalJSON() ([]byte, error) { - objectMap := d.ProxyOnlyResource.marshalInternal() - populate(objectMap, "properties", d.Properties) - return json.Marshal(objectMap) -} - -// DetectorDefinitionProperties - DetectorDefinition resource specific properties -type DetectorDefinitionProperties struct { // READ-ONLY; Description of the detector Description *string `json:"description,omitempty" azure:"ro"` @@ -4484,6 +4463,20 @@ type DetectorDefinitionProperties struct { Rank *float64 `json:"rank,omitempty" azure:"ro"` } +// DetectorDefinitionResource - ARM resource for a detector definition +type DetectorDefinitionResource struct { + ProxyOnlyResource + // Core resource properties + Properties *DetectorDefinition `json:"properties,omitempty"` +} + +// MarshalJSON implements the json.Marshaller interface for type DetectorDefinitionResource. +func (d DetectorDefinitionResource) MarshalJSON() ([]byte, error) { + objectMap := d.ProxyOnlyResource.marshalInternal() + populate(objectMap, "properties", d.Properties) + return json.Marshal(objectMap) +} + // DetectorInfo - Definition of Detector type DetectorInfo struct { // READ-ONLY; Analysis Types for which this detector should apply to. @@ -4734,7 +4727,7 @@ type DiagnosticData struct { // DiagnosticDetectorCollection - Collection of Diagnostic Detectors type DiagnosticDetectorCollection struct { // REQUIRED; Collection of resources. - Value []*DetectorDefinition `json:"value,omitempty"` + Value []*DetectorDefinitionResource `json:"value,omitempty"` // READ-ONLY; Link to next page of resources. NextLink *string `json:"nextLink,omitempty" azure:"ro"` @@ -5779,6 +5772,9 @@ type ErrorEntity struct { // Basic error code. Code *string `json:"code,omitempty"` + // Error Details. + Details []*ErrorEntity `json:"details,omitempty"` + // Type of error. ExtendedCode *string `json:"extendedCode,omitempty"` @@ -5793,17 +5789,22 @@ type ErrorEntity struct { // Parameters for the template. Parameters []*string `json:"parameters,omitempty"` + + // The error target. + Target *string `json:"target,omitempty"` } // MarshalJSON implements the json.Marshaller interface for type ErrorEntity. func (e ErrorEntity) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) populate(objectMap, "code", e.Code) + populate(objectMap, "details", e.Details) populate(objectMap, "extendedCode", e.ExtendedCode) populate(objectMap, "innerErrors", e.InnerErrors) populate(objectMap, "message", e.Message) populate(objectMap, "messageTemplate", e.MessageTemplate) populate(objectMap, "parameters", e.Parameters) + populate(objectMap, "target", e.Target) return json.Marshal(objectMap) } @@ -5831,20 +5832,6 @@ type ExtendedLocation struct { // Facebook - The configuration settings of the Facebook provider. type Facebook struct { - ProxyOnlyResource - // Facebook resource specific properties - Properties *FacebookProperties `json:"properties,omitempty"` -} - -// MarshalJSON implements the json.Marshaller interface for type Facebook. -func (f Facebook) MarshalJSON() ([]byte, error) { - objectMap := f.ProxyOnlyResource.marshalInternal() - populate(objectMap, "properties", f.Properties) - return json.Marshal(objectMap) -} - -// FacebookProperties - Facebook resource specific properties -type FacebookProperties struct { // false if the Facebook provider should not be enabled despite the set registration; otherwise, true. Enabled *bool `json:"enabled,omitempty"` @@ -5879,40 +5866,12 @@ type FileSystemHTTPLogsConfig struct { // FileSystemTokenStore - The configuration settings of the storage of the tokens if a file system is used. type FileSystemTokenStore struct { - ProxyOnlyResource - // FileSystemTokenStore resource specific properties - Properties *FileSystemTokenStoreProperties `json:"properties,omitempty"` -} - -// MarshalJSON implements the json.Marshaller interface for type FileSystemTokenStore. -func (f FileSystemTokenStore) MarshalJSON() ([]byte, error) { - objectMap := f.ProxyOnlyResource.marshalInternal() - populate(objectMap, "properties", f.Properties) - return json.Marshal(objectMap) -} - -// FileSystemTokenStoreProperties - FileSystemTokenStore resource specific properties -type FileSystemTokenStoreProperties struct { // The directory in which the tokens will be stored. Directory *string `json:"directory,omitempty"` } // ForwardProxy - The configuration settings of a forward proxy used to make the requests. type ForwardProxy struct { - ProxyOnlyResource - // ForwardProxy resource specific properties - Properties *ForwardProxyProperties `json:"properties,omitempty"` -} - -// MarshalJSON implements the json.Marshaller interface for type ForwardProxy. -func (f ForwardProxy) MarshalJSON() ([]byte, error) { - objectMap := f.ProxyOnlyResource.marshalInternal() - populate(objectMap, "properties", f.Properties) - return json.Marshal(objectMap) -} - -// ForwardProxyProperties - ForwardProxy resource specific properties -type ForwardProxyProperties struct { // The convention used to determine the url of the request made. Convention *ForwardProxyConvention `json:"convention,omitempty"` @@ -6427,20 +6386,6 @@ type GlobalGetSubscriptionOperationWithAsyncResponseOptions struct { // GlobalValidation - The configuration settings that determines the validation flow of users using App Service Authentication/Authorization. type GlobalValidation struct { - ProxyOnlyResource - // GlobalValidation resource specific properties - Properties *GlobalValidationProperties `json:"properties,omitempty"` -} - -// MarshalJSON implements the json.Marshaller interface for type GlobalValidation. -func (g GlobalValidation) MarshalJSON() ([]byte, error) { - objectMap := g.ProxyOnlyResource.marshalInternal() - populate(objectMap, "properties", g.Properties) - return json.Marshal(objectMap) -} - -// GlobalValidationProperties - GlobalValidation resource specific properties -type GlobalValidationProperties struct { // The paths for which unauthenticated flow would not be redirected to the login page. ExcludedPaths []*string `json:"excludedPaths,omitempty"` @@ -6456,8 +6401,8 @@ type GlobalValidationProperties struct { UnauthenticatedClientAction *UnauthenticatedClientActionV2 `json:"unauthenticatedClientAction,omitempty"` } -// MarshalJSON implements the json.Marshaller interface for type GlobalValidationProperties. -func (g GlobalValidationProperties) MarshalJSON() ([]byte, error) { +// MarshalJSON implements the json.Marshaller interface for type GlobalValidation. +func (g GlobalValidation) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) populate(objectMap, "excludedPaths", g.ExcludedPaths) populate(objectMap, "redirectToProvider", g.RedirectToProvider) @@ -6506,20 +6451,6 @@ type HTTPLogsConfig struct { // HTTPSettings - The configuration settings of the HTTP requests for authentication and authorization requests made against App Service Authentication/Authorization. type HTTPSettings struct { - ProxyOnlyResource - // HttpSettings resource specific properties - Properties *HTTPSettingsProperties `json:"properties,omitempty"` -} - -// MarshalJSON implements the json.Marshaller interface for type HTTPSettings. -func (h HTTPSettings) MarshalJSON() ([]byte, error) { - objectMap := h.ProxyOnlyResource.marshalInternal() - populate(objectMap, "properties", h.Properties) - return json.Marshal(objectMap) -} - -// HTTPSettingsProperties - HttpSettings resource specific properties -type HTTPSettingsProperties struct { // The configuration settings of a forward proxy used to make the requests. ForwardProxy *ForwardProxy `json:"forwardProxy,omitempty"` @@ -6532,20 +6463,6 @@ type HTTPSettingsProperties struct { // HTTPSettingsRoutes - The configuration settings of the paths HTTP requests. type HTTPSettingsRoutes struct { - ProxyOnlyResource - // HttpSettingsRoutes resource specific properties - Properties *HTTPSettingsRoutesProperties `json:"properties,omitempty"` -} - -// MarshalJSON implements the json.Marshaller interface for type HTTPSettingsRoutes. -func (h HTTPSettingsRoutes) MarshalJSON() ([]byte, error) { - objectMap := h.ProxyOnlyResource.marshalInternal() - populate(objectMap, "properties", h.Properties) - return json.Marshal(objectMap) -} - -// HTTPSettingsRoutesProperties - HttpSettingsRoutes resource specific properties -type HTTPSettingsRoutesProperties struct { // The prefix that should precede all the authentication/authorization paths. APIPrefix *string `json:"apiPrefix,omitempty"` } @@ -6941,20 +6858,6 @@ type IdentifierProperties struct { // IdentityProviders - The configuration settings of each of the identity providers used to configure App Service Authentication/Authorization. type IdentityProviders struct { - ProxyOnlyResource - // IdentityProviders resource specific properties - Properties *IdentityProvidersProperties `json:"properties,omitempty"` -} - -// MarshalJSON implements the json.Marshaller interface for type IdentityProviders. -func (i IdentityProviders) MarshalJSON() ([]byte, error) { - objectMap := i.ProxyOnlyResource.marshalInternal() - populate(objectMap, "properties", i.Properties) - return json.Marshal(objectMap) -} - -// IdentityProvidersProperties - IdentityProviders resource specific properties -type IdentityProvidersProperties struct { // The configuration settings of the Apple provider. Apple *Apple `json:"apple,omitempty"` @@ -6983,8 +6886,8 @@ type IdentityProvidersProperties struct { Twitter *Twitter `json:"twitter,omitempty"` } -// MarshalJSON implements the json.Marshaller interface for type IdentityProvidersProperties. -func (i IdentityProvidersProperties) MarshalJSON() ([]byte, error) { +// MarshalJSON implements the json.Marshaller interface for type IdentityProviders. +func (i IdentityProviders) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) populate(objectMap, "apple", i.Apple) populate(objectMap, "azureActiveDirectory", i.AzureActiveDirectory) @@ -7038,20 +6941,6 @@ func (i InboundEnvironmentEndpointCollection) MarshalJSON() ([]byte, error) { // JwtClaimChecks - The configuration settings of the checks that should be made while validating the JWT Claims. type JwtClaimChecks struct { - ProxyOnlyResource - // JwtClaimChecks resource specific properties - Properties *JwtClaimChecksProperties `json:"properties,omitempty"` -} - -// MarshalJSON implements the json.Marshaller interface for type JwtClaimChecks. -func (j JwtClaimChecks) MarshalJSON() ([]byte, error) { - objectMap := j.ProxyOnlyResource.marshalInternal() - populate(objectMap, "properties", j.Properties) - return json.Marshal(objectMap) -} - -// JwtClaimChecksProperties - JwtClaimChecks resource specific properties -type JwtClaimChecksProperties struct { // The list of the allowed client applications. AllowedClientApplications []*string `json:"allowedClientApplications,omitempty"` @@ -7059,8 +6948,8 @@ type JwtClaimChecksProperties struct { AllowedGroups []*string `json:"allowedGroups,omitempty"` } -// MarshalJSON implements the json.Marshaller interface for type JwtClaimChecksProperties. -func (j JwtClaimChecksProperties) MarshalJSON() ([]byte, error) { +// MarshalJSON implements the json.Marshaller interface for type JwtClaimChecks. +func (j JwtClaimChecks) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) populate(objectMap, "allowedClientApplications", j.AllowedClientApplications) populate(objectMap, "allowedGroups", j.AllowedGroups) @@ -7366,20 +7255,6 @@ type LogSpecification struct { // Login - The configuration settings of the login flow of users using App Service Authentication/Authorization. type Login struct { - ProxyOnlyResource - // Login resource specific properties - Properties *LoginProperties `json:"properties,omitempty"` -} - -// MarshalJSON implements the json.Marshaller interface for type Login. -func (l Login) MarshalJSON() ([]byte, error) { - objectMap := l.ProxyOnlyResource.marshalInternal() - populate(objectMap, "properties", l.Properties) - return json.Marshal(objectMap) -} - -// LoginProperties - Login resource specific properties -type LoginProperties struct { // External URLs that can be redirected to as part of logging in or logging out of the app. Note that the query string part of the URL is ignored. This // is an advanced setting typically only needed by // Windows Store application backends. Note that URLs within the current domain are always implicitly allowed. @@ -7401,8 +7276,8 @@ type LoginProperties struct { TokenStore *TokenStore `json:"tokenStore,omitempty"` } -// MarshalJSON implements the json.Marshaller interface for type LoginProperties. -func (l LoginProperties) MarshalJSON() ([]byte, error) { +// MarshalJSON implements the json.Marshaller interface for type Login. +func (l Login) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) populate(objectMap, "allowedExternalRedirectUrls", l.AllowedExternalRedirectUrls) populate(objectMap, "cookieExpiration", l.CookieExpiration) @@ -7415,46 +7290,18 @@ func (l LoginProperties) MarshalJSON() ([]byte, error) { // LoginRoutes - The routes that specify the endpoints used for login and logout requests. type LoginRoutes struct { - ProxyOnlyResource - // LoginRoutes resource specific properties - Properties *LoginRoutesProperties `json:"properties,omitempty"` -} - -// MarshalJSON implements the json.Marshaller interface for type LoginRoutes. -func (l LoginRoutes) MarshalJSON() ([]byte, error) { - objectMap := l.ProxyOnlyResource.marshalInternal() - populate(objectMap, "properties", l.Properties) - return json.Marshal(objectMap) -} - -// LoginRoutesProperties - LoginRoutes resource specific properties -type LoginRoutesProperties struct { // The endpoint at which a logout request should be made. LogoutEndpoint *string `json:"logoutEndpoint,omitempty"` } // LoginScopes - The configuration settings of the login flow, including the scopes that should be requested. type LoginScopes struct { - ProxyOnlyResource - // LoginScopes resource specific properties - Properties *LoginScopesProperties `json:"properties,omitempty"` -} - -// MarshalJSON implements the json.Marshaller interface for type LoginScopes. -func (l LoginScopes) MarshalJSON() ([]byte, error) { - objectMap := l.ProxyOnlyResource.marshalInternal() - populate(objectMap, "properties", l.Properties) - return json.Marshal(objectMap) -} - -// LoginScopesProperties - LoginScopes resource specific properties -type LoginScopesProperties struct { // A list of the scopes that should be requested while authenticating. Scopes []*string `json:"scopes,omitempty"` } -// MarshalJSON implements the json.Marshaller interface for type LoginScopesProperties. -func (l LoginScopesProperties) MarshalJSON() ([]byte, error) { +// MarshalJSON implements the json.Marshaller interface for type LoginScopes. +func (l LoginScopes) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) populate(objectMap, "scopes", l.Scopes) return json.Marshal(objectMap) @@ -7878,20 +7725,6 @@ type NetworkTrace struct { // Nonce - The configuration settings of the nonce used in the login flow. type Nonce struct { - ProxyOnlyResource - // Nonce resource specific properties - Properties *NonceProperties `json:"properties,omitempty"` -} - -// MarshalJSON implements the json.Marshaller interface for type Nonce. -func (n Nonce) MarshalJSON() ([]byte, error) { - objectMap := n.ProxyOnlyResource.marshalInternal() - populate(objectMap, "properties", n.Properties) - return json.Marshal(objectMap) -} - -// NonceProperties - Nonce resource specific properties -type NonceProperties struct { // The time after the request is made when the nonce should expire. NonceExpirationInterval *string `json:"nonceExpirationInterval,omitempty"` @@ -7901,20 +7734,6 @@ type NonceProperties struct { // OpenIDConnectClientCredential - The authentication client credentials of the custom Open ID Connect provider. type OpenIDConnectClientCredential struct { - ProxyOnlyResource - // OpenIdConnectClientCredential resource specific properties - Properties *OpenIDConnectClientCredentialProperties `json:"properties,omitempty"` -} - -// MarshalJSON implements the json.Marshaller interface for type OpenIDConnectClientCredential. -func (o OpenIDConnectClientCredential) MarshalJSON() ([]byte, error) { - objectMap := o.ProxyOnlyResource.marshalInternal() - populate(objectMap, "properties", o.Properties) - return json.Marshal(objectMap) -} - -// OpenIDConnectClientCredentialProperties - OpenIdConnectClientCredential resource specific properties -type OpenIDConnectClientCredentialProperties struct { // The app setting that contains the client secret for the custom Open ID Connect provider. ClientSecretSettingName *string `json:"clientSecretSettingName,omitempty"` @@ -7924,20 +7743,6 @@ type OpenIDConnectClientCredentialProperties struct { // OpenIDConnectConfig - The configuration settings of the endpoints used for the custom Open ID Connect provider. type OpenIDConnectConfig struct { - ProxyOnlyResource - // OpenIdConnectConfig resource specific properties - Properties *OpenIDConnectConfigProperties `json:"properties,omitempty"` -} - -// MarshalJSON implements the json.Marshaller interface for type OpenIDConnectConfig. -func (o OpenIDConnectConfig) MarshalJSON() ([]byte, error) { - objectMap := o.ProxyOnlyResource.marshalInternal() - populate(objectMap, "properties", o.Properties) - return json.Marshal(objectMap) -} - -// OpenIDConnectConfigProperties - OpenIdConnectConfig resource specific properties -type OpenIDConnectConfigProperties struct { // The endpoint to be used to make an authorization request. AuthorizationEndpoint *string `json:"authorizationEndpoint,omitempty"` @@ -7956,20 +7761,6 @@ type OpenIDConnectConfigProperties struct { // OpenIDConnectLogin - The configuration settings of the login flow of the custom Open ID Connect provider. type OpenIDConnectLogin struct { - ProxyOnlyResource - // OpenIdConnectLogin resource specific properties - Properties *OpenIDConnectLoginProperties `json:"properties,omitempty"` -} - -// MarshalJSON implements the json.Marshaller interface for type OpenIDConnectLogin. -func (o OpenIDConnectLogin) MarshalJSON() ([]byte, error) { - objectMap := o.ProxyOnlyResource.marshalInternal() - populate(objectMap, "properties", o.Properties) - return json.Marshal(objectMap) -} - -// OpenIDConnectLoginProperties - OpenIdConnectLogin resource specific properties -type OpenIDConnectLoginProperties struct { // The name of the claim that contains the users name. NameClaimType *string `json:"nameClaimType,omitempty"` @@ -7977,8 +7768,8 @@ type OpenIDConnectLoginProperties struct { Scopes []*string `json:"scopes,omitempty"` } -// MarshalJSON implements the json.Marshaller interface for type OpenIDConnectLoginProperties. -func (o OpenIDConnectLoginProperties) MarshalJSON() ([]byte, error) { +// MarshalJSON implements the json.Marshaller interface for type OpenIDConnectLogin. +func (o OpenIDConnectLogin) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) populate(objectMap, "nameClaimType", o.NameClaimType) populate(objectMap, "scopes", o.Scopes) @@ -7987,20 +7778,6 @@ func (o OpenIDConnectLoginProperties) MarshalJSON() ([]byte, error) { // OpenIDConnectRegistration - The configuration settings of the app registration for the custom Open ID Connect provider. type OpenIDConnectRegistration struct { - ProxyOnlyResource - // OpenIdConnectRegistration resource specific properties - Properties *OpenIDConnectRegistrationProperties `json:"properties,omitempty"` -} - -// MarshalJSON implements the json.Marshaller interface for type OpenIDConnectRegistration. -func (o OpenIDConnectRegistration) MarshalJSON() ([]byte, error) { - objectMap := o.ProxyOnlyResource.marshalInternal() - populate(objectMap, "properties", o.Properties) - return json.Marshal(objectMap) -} - -// OpenIDConnectRegistrationProperties - OpenIdConnectRegistration resource specific properties -type OpenIDConnectRegistrationProperties struct { // The authentication credentials of the custom Open ID Connect provider. ClientCredential *OpenIDConnectClientCredential `json:"clientCredential,omitempty"` @@ -14084,20 +13861,6 @@ func (t TldLegalAgreementCollection) MarshalJSON() ([]byte, error) { // TokenStore - The configuration settings of the token store. type TokenStore struct { - ProxyOnlyResource - // TokenStore resource specific properties - Properties *TokenStoreProperties `json:"properties,omitempty"` -} - -// MarshalJSON implements the json.Marshaller interface for type TokenStore. -func (t TokenStore) MarshalJSON() ([]byte, error) { - objectMap := t.ProxyOnlyResource.marshalInternal() - populate(objectMap, "properties", t.Properties) - return json.Marshal(objectMap) -} - -// TokenStoreProperties - TokenStore resource specific properties -type TokenStoreProperties struct { // The configuration settings of the storage of the tokens if blob storage is used. AzureBlobStorage *BlobStorageTokenStore `json:"azureBlobStorage,omitempty"` @@ -14218,20 +13981,6 @@ func (t TriggeredJobHistoryProperties) MarshalJSON() ([]byte, error) { // TriggeredJobRun - Triggered Web Job Run Information. type TriggeredJobRun struct { - ProxyOnlyResource - // TriggeredJobRun resource specific properties - Properties *TriggeredJobRunProperties `json:"properties,omitempty"` -} - -// MarshalJSON implements the json.Marshaller interface for type TriggeredJobRun. -func (t TriggeredJobRun) MarshalJSON() ([]byte, error) { - objectMap := t.ProxyOnlyResource.marshalInternal() - populate(objectMap, "properties", t.Properties) - return json.Marshal(objectMap) -} - -// TriggeredJobRunProperties - TriggeredJobRun resource specific properties -type TriggeredJobRunProperties struct { // Job duration. Duration *string `json:"duration,omitempty"` @@ -14266,8 +14015,8 @@ type TriggeredJobRunProperties struct { WebJobName *string `json:"web_job_name,omitempty"` } -// MarshalJSON implements the json.Marshaller interface for type TriggeredJobRunProperties. -func (t TriggeredJobRunProperties) MarshalJSON() ([]byte, error) { +// MarshalJSON implements the json.Marshaller interface for type TriggeredJobRun. +func (t TriggeredJobRun) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) populate(objectMap, "duration", t.Duration) populate(objectMap, "end_time", (*timeRFC3339)(t.EndTime)) @@ -14283,8 +14032,8 @@ func (t TriggeredJobRunProperties) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } -// UnmarshalJSON implements the json.Unmarshaller interface for type TriggeredJobRunProperties. -func (t *TriggeredJobRunProperties) UnmarshalJSON(data []byte) error { +// UnmarshalJSON implements the json.Unmarshaller interface for type TriggeredJobRun. +func (t *TriggeredJobRun) UnmarshalJSON(data []byte) error { var rawMsg map[string]json.RawMessage if err := json.Unmarshal(data, &rawMsg); err != nil { return err @@ -14442,20 +14191,6 @@ type TwitterProperties struct { // TwitterRegistration - The configuration settings of the app registration for the Twitter provider. type TwitterRegistration struct { - ProxyOnlyResource - // TwitterRegistration resource specific properties - Properties *TwitterRegistrationProperties `json:"properties,omitempty"` -} - -// MarshalJSON implements the json.Marshaller interface for type TwitterRegistration. -func (t TwitterRegistration) MarshalJSON() ([]byte, error) { - objectMap := t.ProxyOnlyResource.marshalInternal() - populate(objectMap, "properties", t.Properties) - return json.Marshal(objectMap) -} - -// TwitterRegistrationProperties - TwitterRegistration resource specific properties -type TwitterRegistrationProperties struct { // The OAuth 1.0a consumer key of the Twitter application used for sign-in. This setting is required for enabling Twitter Sign-In. Twitter Sign-In documentation: // https://dev.twitter.com/web/sign-in ConsumerKey *string `json:"consumerKey,omitempty"` @@ -14790,20 +14525,6 @@ type VnetGatewayProperties struct { // VnetInfo - Virtual Network information contract. type VnetInfo struct { - ProxyOnlyResource - // VnetInfo resource specific properties - Properties *VnetInfoProperties `json:"properties,omitempty"` -} - -// MarshalJSON implements the json.Marshaller interface for type VnetInfo. -func (v VnetInfo) MarshalJSON() ([]byte, error) { - objectMap := v.ProxyOnlyResource.marshalInternal() - populate(objectMap, "properties", v.Properties) - return json.Marshal(objectMap) -} - -// VnetInfoProperties - VnetInfo resource specific properties -type VnetInfoProperties struct { // A certificate file (.cer) blob containing the public key of the private key used to authenticate a Point-To-Site VPN connection. CertBlob *string `json:"certBlob,omitempty"` @@ -14826,8 +14547,8 @@ type VnetInfoProperties struct { Routes []*VnetRoute `json:"routes,omitempty" azure:"ro"` } -// MarshalJSON implements the json.Marshaller interface for type VnetInfoProperties. -func (v VnetInfoProperties) MarshalJSON() ([]byte, error) { +// MarshalJSON implements the json.Marshaller interface for type VnetInfo. +func (v VnetInfo) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) populate(objectMap, "certBlob", v.CertBlob) populate(objectMap, "certThumbprint", v.CertThumbprint) @@ -14839,6 +14560,20 @@ func (v VnetInfoProperties) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// VnetInfoResource - Virtual Network information ARM resource. +type VnetInfoResource struct { + ProxyOnlyResource + // Core resource properties + Properties *VnetInfo `json:"properties,omitempty"` +} + +// MarshalJSON implements the json.Marshaller interface for type VnetInfoResource. +func (v VnetInfoResource) MarshalJSON() ([]byte, error) { + objectMap := v.ProxyOnlyResource.marshalInternal() + populate(objectMap, "properties", v.Properties) + return json.Marshal(objectMap) +} + // VnetParameters - The required set of inputs to validate a VNET type VnetParameters struct { ProxyOnlyResource diff --git a/sdk/web/armweb/zz_generated_provider_client.go b/sdk/web/armweb/zz_generated_provider_client.go index 04f5fe720826..377646053f89 100644 --- a/sdk/web/armweb/zz_generated_provider_client.go +++ b/sdk/web/armweb/zz_generated_provider_client.go @@ -56,7 +56,7 @@ func (client *ProviderClient) getAvailableStacksCreateRequest(ctx context.Contex if options != nil && options.OSTypeSelected != nil { reqQP.Set("osTypeSelected", string(*options.OSTypeSelected)) } - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -114,7 +114,7 @@ func (client *ProviderClient) getAvailableStacksOnPremCreateRequest(ctx context. if options != nil && options.OSTypeSelected != nil { reqQP.Set("osTypeSelected", string(*options.OSTypeSelected)) } - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -168,7 +168,7 @@ func (client *ProviderClient) getFunctionAppStacksCreateRequest(ctx context.Cont if options != nil && options.StackOsType != nil { reqQP.Set("stackOsType", string(*options.StackOsType)) } - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -226,7 +226,7 @@ func (client *ProviderClient) getFunctionAppStacksForLocationCreateRequest(ctx c if options != nil && options.StackOsType != nil { reqQP.Set("stackOsType", string(*options.StackOsType)) } - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -280,7 +280,7 @@ func (client *ProviderClient) getWebAppStacksCreateRequest(ctx context.Context, if options != nil && options.StackOsType != nil { reqQP.Set("stackOsType", string(*options.StackOsType)) } - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -338,7 +338,7 @@ func (client *ProviderClient) getWebAppStacksForLocationCreateRequest(ctx contex if options != nil && options.StackOsType != nil { reqQP.Set("stackOsType", string(*options.StackOsType)) } - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -389,7 +389,7 @@ func (client *ProviderClient) listOperationsCreateRequest(ctx context.Context, o } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil diff --git a/sdk/web/armweb/zz_generated_recommendations_client.go b/sdk/web/armweb/zz_generated_recommendations_client.go index 908567d06b6d..d2178d4c843a 100644 --- a/sdk/web/armweb/zz_generated_recommendations_client.go +++ b/sdk/web/armweb/zz_generated_recommendations_client.go @@ -70,7 +70,7 @@ func (client *RecommendationsClient) disableAllForHostingEnvironmentCreateReques req.Telemetry(telemetryInfo) reqQP := req.URL.Query() reqQP.Set("environmentName", environmentName) - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -127,7 +127,7 @@ func (client *RecommendationsClient) disableAllForWebAppCreateRequest(ctx contex } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -189,7 +189,7 @@ func (client *RecommendationsClient) disableRecommendationForHostingEnvironmentC req.Telemetry(telemetryInfo) reqQP := req.URL.Query() reqQP.Set("environmentName", environmentName) - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -250,7 +250,7 @@ func (client *RecommendationsClient) disableRecommendationForSiteCreateRequest(c } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -303,7 +303,7 @@ func (client *RecommendationsClient) disableRecommendationForSubscriptionCreateR } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -370,7 +370,7 @@ func (client *RecommendationsClient) getRuleDetailsByHostingEnvironmentCreateReq if options != nil && options.RecommendationID != nil { reqQP.Set("recommendationId", *options.RecommendationID) } - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -446,7 +446,7 @@ func (client *RecommendationsClient) getRuleDetailsByWebAppCreateRequest(ctx con if options != nil && options.RecommendationID != nil { reqQP.Set("recommendationId", *options.RecommendationID) } - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -504,7 +504,7 @@ func (client *RecommendationsClient) listCreateRequest(ctx context.Context, opti if options != nil && options.Featured != nil { reqQP.Set("featured", strconv.FormatBool(*options.Featured)) } - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() unencodedParams := []string{req.URL.RawQuery} if options != nil && options.Filter != nil { @@ -575,7 +575,7 @@ func (client *RecommendationsClient) listHistoryForHostingEnvironmentCreateReque if options != nil && options.ExpiredOnly != nil { reqQP.Set("expiredOnly", strconv.FormatBool(*options.ExpiredOnly)) } - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() unencodedParams := []string{req.URL.RawQuery} if options != nil && options.Filter != nil { @@ -646,7 +646,7 @@ func (client *RecommendationsClient) listHistoryForWebAppCreateRequest(ctx conte if options != nil && options.ExpiredOnly != nil { reqQP.Set("expiredOnly", strconv.FormatBool(*options.ExpiredOnly)) } - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() unencodedParams := []string{req.URL.RawQuery} if options != nil && options.Filter != nil { @@ -717,7 +717,7 @@ func (client *RecommendationsClient) listRecommendedRulesForHostingEnvironmentCr if options != nil && options.Featured != nil { reqQP.Set("featured", strconv.FormatBool(*options.Featured)) } - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() unencodedParams := []string{req.URL.RawQuery} if options != nil && options.Filter != nil { @@ -788,7 +788,7 @@ func (client *RecommendationsClient) listRecommendedRulesForWebAppCreateRequest( if options != nil && options.Featured != nil { reqQP.Set("featured", strconv.FormatBool(*options.Featured)) } - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() unencodedParams := []string{req.URL.RawQuery} if options != nil && options.Filter != nil { @@ -851,7 +851,7 @@ func (client *RecommendationsClient) resetAllFiltersCreateRequest(ctx context.Co } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -909,7 +909,7 @@ func (client *RecommendationsClient) resetAllFiltersForHostingEnvironmentCreateR req.Telemetry(telemetryInfo) reqQP := req.URL.Query() reqQP.Set("environmentName", environmentName) - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -966,7 +966,7 @@ func (client *RecommendationsClient) resetAllFiltersForWebAppCreateRequest(ctx c } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil diff --git a/sdk/web/armweb/zz_generated_resourcehealthmetadata_client.go b/sdk/web/armweb/zz_generated_resourcehealthmetadata_client.go index 7b41dac2881c..d3f44d79d55c 100644 --- a/sdk/web/armweb/zz_generated_resourcehealthmetadata_client.go +++ b/sdk/web/armweb/zz_generated_resourcehealthmetadata_client.go @@ -68,7 +68,7 @@ func (client *ResourceHealthMetadataClient) getBySiteCreateRequest(ctx context.C } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -138,7 +138,7 @@ func (client *ResourceHealthMetadataClient) getBySiteSlotCreateRequest(ctx conte } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -193,7 +193,7 @@ func (client *ResourceHealthMetadataClient) listCreateRequest(ctx context.Contex } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -252,7 +252,7 @@ func (client *ResourceHealthMetadataClient) listByResourceGroupCreateRequest(ctx } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -315,7 +315,7 @@ func (client *ResourceHealthMetadataClient) listBySiteCreateRequest(ctx context. } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -382,7 +382,7 @@ func (client *ResourceHealthMetadataClient) listBySiteSlotCreateRequest(ctx cont } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil diff --git a/sdk/web/armweb/zz_generated_response_types.go b/sdk/web/armweb/zz_generated_response_types.go index d5dd2830241e..73b5252ab3f9 100644 --- a/sdk/web/armweb/zz_generated_response_types.go +++ b/sdk/web/armweb/zz_generated_response_types.go @@ -971,7 +971,7 @@ type AppServicePlansGetVnetFromServerFarmResponse struct { // AppServicePlansGetVnetFromServerFarmResult contains the result from method AppServicePlans.GetVnetFromServerFarm. type AppServicePlansGetVnetFromServerFarmResult struct { - VnetInfo + VnetInfoResource } // AppServicePlansGetVnetGatewayResponse contains the response from method AppServicePlans.GetVnetGateway. @@ -1081,8 +1081,8 @@ type AppServicePlansListVnetsResponse struct { // AppServicePlansListVnetsResult contains the result from method AppServicePlans.ListVnets. type AppServicePlansListVnetsResult struct { - // Array of VnetInfo - VnetInfoArray []*VnetInfo + // Array of VnetInfoResource + VnetInfoResourceArray []*VnetInfoResource } // AppServicePlansListWebAppsByHybridConnectionResponse contains the response from method AppServicePlans.ListWebAppsByHybridConnection. @@ -1412,7 +1412,7 @@ type DiagnosticsGetSiteDetectorResponseSlotResult struct { // DiagnosticsGetSiteDetectorResult contains the result from method Diagnostics.GetSiteDetector. type DiagnosticsGetSiteDetectorResult struct { - DetectorDefinition + DetectorDefinitionResource } // DiagnosticsGetSiteDetectorSlotResponse contains the response from method Diagnostics.GetSiteDetectorSlot. @@ -1424,7 +1424,7 @@ type DiagnosticsGetSiteDetectorSlotResponse struct { // DiagnosticsGetSiteDetectorSlotResult contains the result from method Diagnostics.GetSiteDetectorSlot. type DiagnosticsGetSiteDetectorSlotResult struct { - DetectorDefinition + DetectorDefinitionResource } // DiagnosticsGetSiteDiagnosticCategoryResponse contains the response from method Diagnostics.GetSiteDiagnosticCategory. @@ -3502,7 +3502,7 @@ type WebAppsCreateOrUpdateVnetConnectionResponse struct { // WebAppsCreateOrUpdateVnetConnectionResult contains the result from method WebApps.CreateOrUpdateVnetConnection. type WebAppsCreateOrUpdateVnetConnectionResult struct { - VnetInfo + VnetInfoResource } // WebAppsCreateOrUpdateVnetConnectionSlotResponse contains the response from method WebApps.CreateOrUpdateVnetConnectionSlot. @@ -3514,7 +3514,7 @@ type WebAppsCreateOrUpdateVnetConnectionSlotResponse struct { // WebAppsCreateOrUpdateVnetConnectionSlotResult contains the result from method WebApps.CreateOrUpdateVnetConnectionSlot. type WebAppsCreateOrUpdateVnetConnectionSlotResult struct { - VnetInfo + VnetInfoResource } // WebAppsDeleteBackupConfigurationResponse contains the response from method WebApps.DeleteBackupConfiguration. @@ -5084,7 +5084,7 @@ type WebAppsGetVnetConnectionResponse struct { // WebAppsGetVnetConnectionResult contains the result from method WebApps.GetVnetConnection. type WebAppsGetVnetConnectionResult struct { - VnetInfo + VnetInfoResource } // WebAppsGetVnetConnectionSlotResponse contains the response from method WebApps.GetVnetConnectionSlot. @@ -5096,7 +5096,7 @@ type WebAppsGetVnetConnectionSlotResponse struct { // WebAppsGetVnetConnectionSlotResult contains the result from method WebApps.GetVnetConnectionSlot. type WebAppsGetVnetConnectionSlotResult struct { - VnetInfo + VnetInfoResource } // WebAppsGetWebJobResponse contains the response from method WebApps.GetWebJob. @@ -6320,8 +6320,8 @@ type WebAppsListVnetConnectionsResponse struct { // WebAppsListVnetConnectionsResult contains the result from method WebApps.ListVnetConnections. type WebAppsListVnetConnectionsResult struct { - // Array of VnetInfo - VnetInfoArray []*VnetInfo + // Array of VnetInfoResource + VnetInfoResourceArray []*VnetInfoResource } // WebAppsListVnetConnectionsSlotResponse contains the response from method WebApps.ListVnetConnectionsSlot. @@ -6333,8 +6333,8 @@ type WebAppsListVnetConnectionsSlotResponse struct { // WebAppsListVnetConnectionsSlotResult contains the result from method WebApps.ListVnetConnectionsSlot. type WebAppsListVnetConnectionsSlotResult struct { - // Array of VnetInfo - VnetInfoArray []*VnetInfo + // Array of VnetInfoResource + VnetInfoResourceArray []*VnetInfoResource } // WebAppsListWebJobsResponse contains the response from method WebApps.ListWebJobs. @@ -7394,7 +7394,7 @@ type WebAppsUpdateVnetConnectionResponse struct { // WebAppsUpdateVnetConnectionResult contains the result from method WebApps.UpdateVnetConnection. type WebAppsUpdateVnetConnectionResult struct { - VnetInfo + VnetInfoResource } // WebAppsUpdateVnetConnectionSlotResponse contains the response from method WebApps.UpdateVnetConnectionSlot. @@ -7406,7 +7406,7 @@ type WebAppsUpdateVnetConnectionSlotResponse struct { // WebAppsUpdateVnetConnectionSlotResult contains the result from method WebApps.UpdateVnetConnectionSlot. type WebAppsUpdateVnetConnectionSlotResult struct { - VnetInfo + VnetInfoResource } // WebSiteManagementClientCheckNameAvailabilityResponse contains the response from method WebSiteManagementClient.CheckNameAvailability. diff --git a/sdk/web/armweb/zz_generated_staticsites_client.go b/sdk/web/armweb/zz_generated_staticsites_client.go index 0f85a0fca1ca..445a504aa85c 100644 --- a/sdk/web/armweb/zz_generated_staticsites_client.go +++ b/sdk/web/armweb/zz_generated_staticsites_client.go @@ -122,7 +122,7 @@ func (client *StaticSitesClient) approveOrRejectPrivateEndpointConnectionCreateR } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(privateEndpointWrapper) @@ -227,7 +227,7 @@ func (client *StaticSitesClient) createOrUpdateStaticSiteCreateRequest(ctx conte } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(staticSiteEnvelope) @@ -284,7 +284,7 @@ func (client *StaticSitesClient) createOrUpdateStaticSiteAppSettingsCreateReques } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(appSettings) @@ -354,7 +354,7 @@ func (client *StaticSitesClient) createOrUpdateStaticSiteBuildAppSettingsCreateR } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(appSettings) @@ -424,7 +424,7 @@ func (client *StaticSitesClient) createOrUpdateStaticSiteBuildFunctionAppSetting } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(appSettings) @@ -542,7 +542,7 @@ func (client *StaticSitesClient) createOrUpdateStaticSiteCustomDomainCreateReque } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(staticSiteCustomDomainRequestPropertiesEnvelope) @@ -599,7 +599,7 @@ func (client *StaticSitesClient) createOrUpdateStaticSiteFunctionAppSettingsCrea } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(appSettings) @@ -665,7 +665,7 @@ func (client *StaticSitesClient) createUserRolesInvitationLinkCreateRequest(ctx } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(staticSiteUserRolesInvitationEnvelope) @@ -779,7 +779,7 @@ func (client *StaticSitesClient) createZipDeploymentForStaticSiteCreateRequest(c } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(staticSiteZipDeploymentEnvelope) @@ -888,7 +888,7 @@ func (client *StaticSitesClient) createZipDeploymentForStaticSiteBuildCreateRequ } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(staticSiteZipDeploymentEnvelope) @@ -997,7 +997,7 @@ func (client *StaticSitesClient) deletePrivateEndpointConnectionCreateRequest(ct } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -1102,7 +1102,7 @@ func (client *StaticSitesClient) deleteStaticSiteCreateRequest(ctx context.Conte } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -1211,7 +1211,7 @@ func (client *StaticSitesClient) deleteStaticSiteBuildCreateRequest(ctx context. } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -1320,7 +1320,7 @@ func (client *StaticSitesClient) deleteStaticSiteCustomDomainCreateRequest(ctx c } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -1385,7 +1385,7 @@ func (client *StaticSitesClient) deleteStaticSiteUserCreateRequest(ctx context.C } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -1490,7 +1490,7 @@ func (client *StaticSitesClient) detachStaticSiteCreateRequest(ctx context.Conte } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -1551,7 +1551,7 @@ func (client *StaticSitesClient) detachUserProvidedFunctionAppFromStaticSiteCrea } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -1616,7 +1616,7 @@ func (client *StaticSitesClient) detachUserProvidedFunctionAppFromStaticSiteBuil } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -1677,7 +1677,7 @@ func (client *StaticSitesClient) getPrivateEndpointConnectionCreateRequest(ctx c } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -1740,7 +1740,7 @@ func (client *StaticSitesClient) getPrivateEndpointConnectionListCreateRequest(c } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -1806,7 +1806,7 @@ func (client *StaticSitesClient) getPrivateLinkResourcesCreateRequest(ctx contex } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -1872,7 +1872,7 @@ func (client *StaticSitesClient) getStaticSiteCreateRequest(ctx context.Context, } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -1942,7 +1942,7 @@ func (client *StaticSitesClient) getStaticSiteBuildCreateRequest(ctx context.Con } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -2005,7 +2005,7 @@ func (client *StaticSitesClient) getStaticSiteBuildsCreateRequest(ctx context.Co } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -2075,7 +2075,7 @@ func (client *StaticSitesClient) getStaticSiteCustomDomainCreateRequest(ctx cont } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -2134,7 +2134,7 @@ func (client *StaticSitesClient) getStaticSitesByResourceGroupCreateRequest(ctx } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -2204,7 +2204,7 @@ func (client *StaticSitesClient) getUserProvidedFunctionAppForStaticSiteCreateRe } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -2278,7 +2278,7 @@ func (client *StaticSitesClient) getUserProvidedFunctionAppForStaticSiteBuildCre } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -2341,7 +2341,7 @@ func (client *StaticSitesClient) getUserProvidedFunctionAppsForStaticSiteCreateR } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -2408,7 +2408,7 @@ func (client *StaticSitesClient) getUserProvidedFunctionAppsForStaticSiteBuildCr } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -2463,7 +2463,7 @@ func (client *StaticSitesClient) listCreateRequest(ctx context.Context, options } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -2529,7 +2529,7 @@ func (client *StaticSitesClient) listStaticSiteAppSettingsCreateRequest(ctx cont } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -2599,7 +2599,7 @@ func (client *StaticSitesClient) listStaticSiteBuildAppSettingsCreateRequest(ctx } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -2669,7 +2669,7 @@ func (client *StaticSitesClient) listStaticSiteBuildFunctionAppSettingsCreateReq } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -2736,7 +2736,7 @@ func (client *StaticSitesClient) listStaticSiteBuildFunctionsCreateRequest(ctx c } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -2802,7 +2802,7 @@ func (client *StaticSitesClient) listStaticSiteConfiguredRolesCreateRequest(ctx } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -2865,7 +2865,7 @@ func (client *StaticSitesClient) listStaticSiteCustomDomainsCreateRequest(ctx co } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -2931,7 +2931,7 @@ func (client *StaticSitesClient) listStaticSiteFunctionAppSettingsCreateRequest( } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -2994,7 +2994,7 @@ func (client *StaticSitesClient) listStaticSiteFunctionsCreateRequest(ctx contex } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -3060,7 +3060,7 @@ func (client *StaticSitesClient) listStaticSiteSecretsCreateRequest(ctx context. } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -3127,7 +3127,7 @@ func (client *StaticSitesClient) listStaticSiteUsersCreateRequest(ctx context.Co } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -3189,7 +3189,7 @@ func (client *StaticSitesClient) previewWorkflowCreateRequest(ctx context.Contex } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(staticSitesWorkflowPreviewRequest) @@ -3310,7 +3310,7 @@ func (client *StaticSitesClient) registerUserProvidedFunctionAppWithStaticSiteCr if options != nil && options.IsForced != nil { reqQP.Set("isForced", strconv.FormatBool(*options.IsForced)) } - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(staticSiteUserProvidedFunctionEnvelope) @@ -3426,7 +3426,7 @@ func (client *StaticSitesClient) registerUserProvidedFunctionAppWithStaticSiteBu if options != nil && options.IsForced != nil { reqQP.Set("isForced", strconv.FormatBool(*options.IsForced)) } - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(staticSiteUserProvidedFunctionEnvelope) @@ -3483,7 +3483,7 @@ func (client *StaticSitesClient) resetStaticSiteAPIKeyCreateRequest(ctx context. } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(resetPropertiesEnvelope) @@ -3540,7 +3540,7 @@ func (client *StaticSitesClient) updateStaticSiteCreateRequest(ctx context.Conte } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(staticSiteEnvelope) @@ -3614,7 +3614,7 @@ func (client *StaticSitesClient) updateStaticSiteUserCreateRequest(ctx context.C } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(staticSiteUserEnvelope) @@ -3732,7 +3732,7 @@ func (client *StaticSitesClient) validateCustomDomainCanBeAddedToStaticSiteCreat } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(staticSiteCustomDomainRequestPropertiesEnvelope) diff --git a/sdk/web/armweb/zz_generated_topleveldomains_client.go b/sdk/web/armweb/zz_generated_topleveldomains_client.go index d5f192b712ed..bc20524b40a2 100644 --- a/sdk/web/armweb/zz_generated_topleveldomains_client.go +++ b/sdk/web/armweb/zz_generated_topleveldomains_client.go @@ -64,7 +64,7 @@ func (client *TopLevelDomainsClient) getCreateRequest(ctx context.Context, name } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -119,7 +119,7 @@ func (client *TopLevelDomainsClient) listCreateRequest(ctx context.Context, opti } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -178,7 +178,7 @@ func (client *TopLevelDomainsClient) listAgreementsCreateRequest(ctx context.Con } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(agreementOption) diff --git a/sdk/web/armweb/zz_generated_webapps_client.go b/sdk/web/armweb/zz_generated_webapps_client.go index ef5267324966..90a6ae96fe6a 100644 --- a/sdk/web/armweb/zz_generated_webapps_client.go +++ b/sdk/web/armweb/zz_generated_webapps_client.go @@ -74,7 +74,7 @@ func (client *WebAppsClient) addPremierAddOnCreateRequest(ctx context.Context, r } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(premierAddOn) @@ -148,7 +148,7 @@ func (client *WebAppsClient) addPremierAddOnSlotCreateRequest(ctx context.Contex } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(premierAddOn) @@ -217,7 +217,7 @@ func (client *WebAppsClient) analyzeCustomHostnameCreateRequest(ctx context.Cont if options != nil && options.HostName != nil { reqQP.Set("hostName", *options.HostName) } - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -290,7 +290,7 @@ func (client *WebAppsClient) analyzeCustomHostnameSlotCreateRequest(ctx context. if options != nil && options.HostName != nil { reqQP.Set("hostName", *options.HostName) } - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -356,7 +356,7 @@ func (client *WebAppsClient) applySlotConfigToProductionCreateRequest(ctx contex } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(slotSwapEntity) @@ -417,7 +417,7 @@ func (client *WebAppsClient) applySlotConfigurationSlotCreateRequest(ctx context } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(slotSwapEntity) @@ -526,7 +526,7 @@ func (client *WebAppsClient) approveOrRejectPrivateEndpointConnectionCreateReque } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(privateEndpointWrapper) @@ -639,7 +639,7 @@ func (client *WebAppsClient) approveOrRejectPrivateEndpointConnectionSlotCreateR } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(privateEndpointWrapper) @@ -696,7 +696,7 @@ func (client *WebAppsClient) backupCreateRequest(ctx context.Context, resourceGr } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(request) @@ -766,7 +766,7 @@ func (client *WebAppsClient) backupSlotCreateRequest(ctx context.Context, resour } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(request) @@ -836,7 +836,7 @@ func (client *WebAppsClient) createDeploymentCreateRequest(ctx context.Context, } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(deployment) @@ -910,7 +910,7 @@ func (client *WebAppsClient) createDeploymentSlotCreateRequest(ctx context.Conte } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(deployment) @@ -1028,7 +1028,7 @@ func (client *WebAppsClient) createFunctionCreateRequest(ctx context.Context, re } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(functionEnvelope) @@ -1141,7 +1141,7 @@ func (client *WebAppsClient) createInstanceFunctionSlotCreateRequest(ctx context } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(functionEnvelope) @@ -1250,7 +1250,7 @@ func (client *WebAppsClient) createInstanceMSDeployOperationCreateRequest(ctx co } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(msDeploy) @@ -1371,7 +1371,7 @@ func (client *WebAppsClient) createInstanceMSDeployOperationSlotCreateRequest(ct } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(msDeploy) @@ -1484,7 +1484,7 @@ func (client *WebAppsClient) createMSDeployOperationCreateRequest(ctx context.Co } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(msDeploy) @@ -1601,7 +1601,7 @@ func (client *WebAppsClient) createMSDeployOperationSlotCreateRequest(ctx contex } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(msDeploy) @@ -1714,7 +1714,7 @@ func (client *WebAppsClient) createOrUpdateCreateRequest(ctx context.Context, re } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(siteEnvelope) @@ -1771,7 +1771,7 @@ func (client *WebAppsClient) createOrUpdateConfigurationCreateRequest(ctx contex } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(siteConfig) @@ -1841,7 +1841,7 @@ func (client *WebAppsClient) createOrUpdateConfigurationSlotCreateRequest(ctx co } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(siteConfig) @@ -1911,7 +1911,7 @@ func (client *WebAppsClient) createOrUpdateDomainOwnershipIdentifierCreateReques } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(domainOwnershipIdentifier) @@ -1985,7 +1985,7 @@ func (client *WebAppsClient) createOrUpdateDomainOwnershipIdentifierSlotCreateRe } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(domainOwnershipIdentifier) @@ -2059,7 +2059,7 @@ func (client *WebAppsClient) createOrUpdateFunctionSecretCreateRequest(ctx conte } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(key) @@ -2137,7 +2137,7 @@ func (client *WebAppsClient) createOrUpdateFunctionSecretSlotCreateRequest(ctx c } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(key) @@ -2207,7 +2207,7 @@ func (client *WebAppsClient) createOrUpdateHostNameBindingCreateRequest(ctx cont } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(hostNameBinding) @@ -2281,7 +2281,7 @@ func (client *WebAppsClient) createOrUpdateHostNameBindingSlotCreateRequest(ctx } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(hostNameBinding) @@ -2355,7 +2355,7 @@ func (client *WebAppsClient) createOrUpdateHostSecretCreateRequest(ctx context.C } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(key) @@ -2433,7 +2433,7 @@ func (client *WebAppsClient) createOrUpdateHostSecretSlotCreateRequest(ctx conte } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(key) @@ -2507,7 +2507,7 @@ func (client *WebAppsClient) createOrUpdateHybridConnectionCreateRequest(ctx con } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(connectionEnvelope) @@ -2585,7 +2585,7 @@ func (client *WebAppsClient) createOrUpdateHybridConnectionSlotCreateRequest(ctx } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(connectionEnvelope) @@ -2655,7 +2655,7 @@ func (client *WebAppsClient) createOrUpdatePublicCertificateCreateRequest(ctx co } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(publicCertificate) @@ -2729,7 +2729,7 @@ func (client *WebAppsClient) createOrUpdatePublicCertificateSlotCreateRequest(ct } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(publicCertificate) @@ -2799,7 +2799,7 @@ func (client *WebAppsClient) createOrUpdateRelayServiceConnectionCreateRequest(c } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(connectionEnvelope) @@ -2873,7 +2873,7 @@ func (client *WebAppsClient) createOrUpdateRelayServiceConnectionSlotCreateReque } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(connectionEnvelope) @@ -2991,7 +2991,7 @@ func (client *WebAppsClient) createOrUpdateSlotCreateRequest(ctx context.Context } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(siteEnvelope) @@ -3096,7 +3096,7 @@ func (client *WebAppsClient) createOrUpdateSourceControlCreateRequest(ctx contex } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(siteSourceControl) @@ -3205,7 +3205,7 @@ func (client *WebAppsClient) createOrUpdateSourceControlSlotCreateRequest(ctx co } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(siteSourceControl) @@ -3264,7 +3264,7 @@ func (client *WebAppsClient) createOrUpdateSwiftVirtualNetworkConnectionWithChec } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(connectionEnvelope) @@ -3336,7 +3336,7 @@ func (client *WebAppsClient) createOrUpdateSwiftVirtualNetworkConnectionWithChec } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(connectionEnvelope) @@ -3366,7 +3366,7 @@ func (client *WebAppsClient) createOrUpdateSwiftVirtualNetworkConnectionWithChec // CreateOrUpdateVnetConnection - Description for Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH). // If the operation fails it returns the *DefaultErrorResponse error type. -func (client *WebAppsClient) CreateOrUpdateVnetConnection(ctx context.Context, resourceGroupName string, name string, vnetName string, connectionEnvelope VnetInfo, options *WebAppsCreateOrUpdateVnetConnectionOptions) (WebAppsCreateOrUpdateVnetConnectionResponse, error) { +func (client *WebAppsClient) CreateOrUpdateVnetConnection(ctx context.Context, resourceGroupName string, name string, vnetName string, connectionEnvelope VnetInfoResource, options *WebAppsCreateOrUpdateVnetConnectionOptions) (WebAppsCreateOrUpdateVnetConnectionResponse, error) { req, err := client.createOrUpdateVnetConnectionCreateRequest(ctx, resourceGroupName, name, vnetName, connectionEnvelope, options) if err != nil { return WebAppsCreateOrUpdateVnetConnectionResponse{}, err @@ -3382,7 +3382,7 @@ func (client *WebAppsClient) CreateOrUpdateVnetConnection(ctx context.Context, r } // createOrUpdateVnetConnectionCreateRequest creates the CreateOrUpdateVnetConnection request. -func (client *WebAppsClient) createOrUpdateVnetConnectionCreateRequest(ctx context.Context, resourceGroupName string, name string, vnetName string, connectionEnvelope VnetInfo, options *WebAppsCreateOrUpdateVnetConnectionOptions) (*azcore.Request, error) { +func (client *WebAppsClient) createOrUpdateVnetConnectionCreateRequest(ctx context.Context, resourceGroupName string, name string, vnetName string, connectionEnvelope VnetInfoResource, options *WebAppsCreateOrUpdateVnetConnectionOptions) (*azcore.Request, error) { urlPath := "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/virtualNetworkConnections/{vnetName}" if resourceGroupName == "" { return nil, errors.New("parameter resourceGroupName cannot be empty") @@ -3406,7 +3406,7 @@ func (client *WebAppsClient) createOrUpdateVnetConnectionCreateRequest(ctx conte } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(connectionEnvelope) @@ -3415,7 +3415,7 @@ func (client *WebAppsClient) createOrUpdateVnetConnectionCreateRequest(ctx conte // createOrUpdateVnetConnectionHandleResponse handles the CreateOrUpdateVnetConnection response. func (client *WebAppsClient) createOrUpdateVnetConnectionHandleResponse(resp *azcore.Response) (WebAppsCreateOrUpdateVnetConnectionResponse, error) { result := WebAppsCreateOrUpdateVnetConnectionResponse{RawResponse: resp.Response} - if err := resp.UnmarshalAsJSON(&result.VnetInfo); err != nil { + if err := resp.UnmarshalAsJSON(&result.VnetInfoResource); err != nil { return WebAppsCreateOrUpdateVnetConnectionResponse{}, err } return result, nil @@ -3480,7 +3480,7 @@ func (client *WebAppsClient) createOrUpdateVnetConnectionGatewayCreateRequest(ct } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(connectionEnvelope) @@ -3558,7 +3558,7 @@ func (client *WebAppsClient) createOrUpdateVnetConnectionGatewaySlotCreateReques } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(connectionEnvelope) @@ -3588,7 +3588,7 @@ func (client *WebAppsClient) createOrUpdateVnetConnectionGatewaySlotHandleError( // CreateOrUpdateVnetConnectionSlot - Description for Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH). // If the operation fails it returns the *DefaultErrorResponse error type. -func (client *WebAppsClient) CreateOrUpdateVnetConnectionSlot(ctx context.Context, resourceGroupName string, name string, vnetName string, slot string, connectionEnvelope VnetInfo, options *WebAppsCreateOrUpdateVnetConnectionSlotOptions) (WebAppsCreateOrUpdateVnetConnectionSlotResponse, error) { +func (client *WebAppsClient) CreateOrUpdateVnetConnectionSlot(ctx context.Context, resourceGroupName string, name string, vnetName string, slot string, connectionEnvelope VnetInfoResource, options *WebAppsCreateOrUpdateVnetConnectionSlotOptions) (WebAppsCreateOrUpdateVnetConnectionSlotResponse, error) { req, err := client.createOrUpdateVnetConnectionSlotCreateRequest(ctx, resourceGroupName, name, vnetName, slot, connectionEnvelope, options) if err != nil { return WebAppsCreateOrUpdateVnetConnectionSlotResponse{}, err @@ -3604,7 +3604,7 @@ func (client *WebAppsClient) CreateOrUpdateVnetConnectionSlot(ctx context.Contex } // createOrUpdateVnetConnectionSlotCreateRequest creates the CreateOrUpdateVnetConnectionSlot request. -func (client *WebAppsClient) createOrUpdateVnetConnectionSlotCreateRequest(ctx context.Context, resourceGroupName string, name string, vnetName string, slot string, connectionEnvelope VnetInfo, options *WebAppsCreateOrUpdateVnetConnectionSlotOptions) (*azcore.Request, error) { +func (client *WebAppsClient) createOrUpdateVnetConnectionSlotCreateRequest(ctx context.Context, resourceGroupName string, name string, vnetName string, slot string, connectionEnvelope VnetInfoResource, options *WebAppsCreateOrUpdateVnetConnectionSlotOptions) (*azcore.Request, error) { urlPath := "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/virtualNetworkConnections/{vnetName}" if resourceGroupName == "" { return nil, errors.New("parameter resourceGroupName cannot be empty") @@ -3632,7 +3632,7 @@ func (client *WebAppsClient) createOrUpdateVnetConnectionSlotCreateRequest(ctx c } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(connectionEnvelope) @@ -3641,7 +3641,7 @@ func (client *WebAppsClient) createOrUpdateVnetConnectionSlotCreateRequest(ctx c // createOrUpdateVnetConnectionSlotHandleResponse handles the CreateOrUpdateVnetConnectionSlot response. func (client *WebAppsClient) createOrUpdateVnetConnectionSlotHandleResponse(resp *azcore.Response) (WebAppsCreateOrUpdateVnetConnectionSlotResponse, error) { result := WebAppsCreateOrUpdateVnetConnectionSlotResponse{RawResponse: resp.Response} - if err := resp.UnmarshalAsJSON(&result.VnetInfo); err != nil { + if err := resp.UnmarshalAsJSON(&result.VnetInfoResource); err != nil { return WebAppsCreateOrUpdateVnetConnectionSlotResponse{}, err } return result, nil @@ -3704,7 +3704,7 @@ func (client *WebAppsClient) deleteCreateRequest(ctx context.Context, resourceGr if options != nil && options.DeleteEmptyServerFarm != nil { reqQP.Set("deleteEmptyServerFarm", strconv.FormatBool(*options.DeleteEmptyServerFarm)) } - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -3773,7 +3773,7 @@ func (client *WebAppsClient) deleteBackupCreateRequest(ctx context.Context, reso } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -3838,7 +3838,7 @@ func (client *WebAppsClient) deleteBackupConfigurationCreateRequest(ctx context. } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -3899,7 +3899,7 @@ func (client *WebAppsClient) deleteBackupConfigurationSlotCreateRequest(ctx cont } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -3964,7 +3964,7 @@ func (client *WebAppsClient) deleteBackupSlotCreateRequest(ctx context.Context, } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -4033,7 +4033,7 @@ func (client *WebAppsClient) deleteContinuousWebJobCreateRequest(ctx context.Con } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -4098,7 +4098,7 @@ func (client *WebAppsClient) deleteContinuousWebJobSlotCreateRequest(ctx context } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -4159,7 +4159,7 @@ func (client *WebAppsClient) deleteDeploymentCreateRequest(ctx context.Context, } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -4224,7 +4224,7 @@ func (client *WebAppsClient) deleteDeploymentSlotCreateRequest(ctx context.Conte } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -4285,7 +4285,7 @@ func (client *WebAppsClient) deleteDomainOwnershipIdentifierCreateRequest(ctx co } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -4350,7 +4350,7 @@ func (client *WebAppsClient) deleteDomainOwnershipIdentifierSlotCreateRequest(ct } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -4411,7 +4411,7 @@ func (client *WebAppsClient) deleteFunctionCreateRequest(ctx context.Context, re } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -4484,7 +4484,7 @@ func (client *WebAppsClient) deleteFunctionSecretCreateRequest(ctx context.Conte } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -4561,7 +4561,7 @@ func (client *WebAppsClient) deleteFunctionSecretSlotCreateRequest(ctx context.C } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -4630,7 +4630,7 @@ func (client *WebAppsClient) deleteHostNameBindingCreateRequest(ctx context.Cont } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -4695,7 +4695,7 @@ func (client *WebAppsClient) deleteHostNameBindingSlotCreateRequest(ctx context. } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -4760,7 +4760,7 @@ func (client *WebAppsClient) deleteHostSecretCreateRequest(ctx context.Context, } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -4837,7 +4837,7 @@ func (client *WebAppsClient) deleteHostSecretSlotCreateRequest(ctx context.Conte } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -4910,7 +4910,7 @@ func (client *WebAppsClient) deleteHybridConnectionCreateRequest(ctx context.Con } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -4987,7 +4987,7 @@ func (client *WebAppsClient) deleteHybridConnectionSlotCreateRequest(ctx context } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -5060,7 +5060,7 @@ func (client *WebAppsClient) deleteInstanceFunctionSlotCreateRequest(ctx context } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -5134,7 +5134,7 @@ func (client *WebAppsClient) deleteInstanceProcessCreateRequest(ctx context.Cont } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -5212,7 +5212,7 @@ func (client *WebAppsClient) deleteInstanceProcessSlotCreateRequest(ctx context. } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -5281,7 +5281,7 @@ func (client *WebAppsClient) deletePremierAddOnCreateRequest(ctx context.Context } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -5346,7 +5346,7 @@ func (client *WebAppsClient) deletePremierAddOnSlotCreateRequest(ctx context.Con } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -5455,7 +5455,7 @@ func (client *WebAppsClient) deletePrivateEndpointConnectionCreateRequest(ctx co } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -5568,7 +5568,7 @@ func (client *WebAppsClient) deletePrivateEndpointConnectionSlotCreateRequest(ct } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -5629,7 +5629,7 @@ func (client *WebAppsClient) deleteProcessCreateRequest(ctx context.Context, res } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -5702,7 +5702,7 @@ func (client *WebAppsClient) deleteProcessSlotCreateRequest(ctx context.Context, } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -5771,7 +5771,7 @@ func (client *WebAppsClient) deletePublicCertificateCreateRequest(ctx context.Co } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -5836,7 +5836,7 @@ func (client *WebAppsClient) deletePublicCertificateSlotCreateRequest(ctx contex } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -5897,7 +5897,7 @@ func (client *WebAppsClient) deleteRelayServiceConnectionCreateRequest(ctx conte } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -5970,7 +5970,7 @@ func (client *WebAppsClient) deleteRelayServiceConnectionSlotCreateRequest(ctx c } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -6039,7 +6039,7 @@ func (client *WebAppsClient) deleteSiteExtensionCreateRequest(ctx context.Contex } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -6112,7 +6112,7 @@ func (client *WebAppsClient) deleteSiteExtensionSlotCreateRequest(ctx context.Co } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -6187,7 +6187,7 @@ func (client *WebAppsClient) deleteSlotCreateRequest(ctx context.Context, resour if options != nil && options.DeleteEmptyServerFarm != nil { reqQP.Set("deleteEmptyServerFarm", strconv.FormatBool(*options.DeleteEmptyServerFarm)) } - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -6255,7 +6255,7 @@ func (client *WebAppsClient) deleteSourceControlCreateRequest(ctx context.Contex if options != nil && options.AdditionalFlags != nil { reqQP.Set("additionalFlags", *options.AdditionalFlags) } - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -6327,7 +6327,7 @@ func (client *WebAppsClient) deleteSourceControlSlotCreateRequest(ctx context.Co if options != nil && options.AdditionalFlags != nil { reqQP.Set("additionalFlags", *options.AdditionalFlags) } - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -6392,7 +6392,7 @@ func (client *WebAppsClient) deleteSwiftVirtualNetworkCreateRequest(ctx context. } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -6461,7 +6461,7 @@ func (client *WebAppsClient) deleteSwiftVirtualNetworkSlotCreateRequest(ctx cont } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -6530,7 +6530,7 @@ func (client *WebAppsClient) deleteTriggeredWebJobCreateRequest(ctx context.Cont } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -6595,7 +6595,7 @@ func (client *WebAppsClient) deleteTriggeredWebJobSlotCreateRequest(ctx context. } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -6656,7 +6656,7 @@ func (client *WebAppsClient) deleteVnetConnectionCreateRequest(ctx context.Conte } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -6729,7 +6729,7 @@ func (client *WebAppsClient) deleteVnetConnectionSlotCreateRequest(ctx context.C } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -6795,7 +6795,7 @@ func (client *WebAppsClient) discoverBackupCreateRequest(ctx context.Context, re } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(request) @@ -6866,7 +6866,7 @@ func (client *WebAppsClient) discoverBackupSlotCreateRequest(ctx context.Context } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(request) @@ -6932,7 +6932,7 @@ func (client *WebAppsClient) generateNewSitePublishingPasswordCreateRequest(ctx } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -6993,7 +6993,7 @@ func (client *WebAppsClient) generateNewSitePublishingPasswordSlotCreateRequest( } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -7050,7 +7050,7 @@ func (client *WebAppsClient) getCreateRequest(ctx context.Context, resourceGroup } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -7128,7 +7128,7 @@ func (client *WebAppsClient) getAppSettingKeyVaultReferenceCreateRequest(ctx con } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -7202,7 +7202,7 @@ func (client *WebAppsClient) getAppSettingKeyVaultReferenceSlotCreateRequest(ctx } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -7265,7 +7265,7 @@ func (client *WebAppsClient) getAppSettingsKeyVaultReferencesCreateRequest(ctx c } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -7332,7 +7332,7 @@ func (client *WebAppsClient) getAppSettingsKeyVaultReferencesSlotCreateRequest(c } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -7398,7 +7398,7 @@ func (client *WebAppsClient) getAuthSettingsCreateRequest(ctx context.Context, r } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -7468,7 +7468,7 @@ func (client *WebAppsClient) getAuthSettingsSlotCreateRequest(ctx context.Contex } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -7534,7 +7534,7 @@ func (client *WebAppsClient) getAuthSettingsV2CreateRequest(ctx context.Context, } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -7604,7 +7604,7 @@ func (client *WebAppsClient) getAuthSettingsV2SlotCreateRequest(ctx context.Cont } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -7670,7 +7670,7 @@ func (client *WebAppsClient) getBackupConfigurationCreateRequest(ctx context.Con } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -7740,7 +7740,7 @@ func (client *WebAppsClient) getBackupConfigurationSlotCreateRequest(ctx context } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -7810,7 +7810,7 @@ func (client *WebAppsClient) getBackupStatusCreateRequest(ctx context.Context, r } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -7884,7 +7884,7 @@ func (client *WebAppsClient) getBackupStatusSlotCreateRequest(ctx context.Contex } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -7951,7 +7951,7 @@ func (client *WebAppsClient) getConfigurationCreateRequest(ctx context.Context, } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -8022,7 +8022,7 @@ func (client *WebAppsClient) getConfigurationSlotCreateRequest(ctx context.Conte } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -8092,7 +8092,7 @@ func (client *WebAppsClient) getConfigurationSnapshotCreateRequest(ctx context.C } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -8166,7 +8166,7 @@ func (client *WebAppsClient) getConfigurationSnapshotSlotCreateRequest(ctx conte } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -8232,7 +8232,7 @@ func (client *WebAppsClient) getContainerLogsZipCreateRequest(ctx context.Contex } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.SkipBodyDownload() req.Header.Set("Accept", "application/zip") @@ -8293,7 +8293,7 @@ func (client *WebAppsClient) getContainerLogsZipSlotCreateRequest(ctx context.Co } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.SkipBodyDownload() req.Header.Set("Accept", "application/zip") @@ -8354,7 +8354,7 @@ func (client *WebAppsClient) getContinuousWebJobCreateRequest(ctx context.Contex } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -8436,7 +8436,7 @@ func (client *WebAppsClient) getContinuousWebJobSlotCreateRequest(ctx context.Co } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -8514,7 +8514,7 @@ func (client *WebAppsClient) getDeploymentCreateRequest(ctx context.Context, res } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -8588,7 +8588,7 @@ func (client *WebAppsClient) getDeploymentSlotCreateRequest(ctx context.Context, } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -8654,7 +8654,7 @@ func (client *WebAppsClient) getDiagnosticLogsConfigurationCreateRequest(ctx con } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -8724,7 +8724,7 @@ func (client *WebAppsClient) getDiagnosticLogsConfigurationSlotCreateRequest(ctx } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -8794,7 +8794,7 @@ func (client *WebAppsClient) getDomainOwnershipIdentifierCreateRequest(ctx conte } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -8868,7 +8868,7 @@ func (client *WebAppsClient) getDomainOwnershipIdentifierSlotCreateRequest(ctx c } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -8934,7 +8934,7 @@ func (client *WebAppsClient) getFtpAllowedCreateRequest(ctx context.Context, res } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -9004,7 +9004,7 @@ func (client *WebAppsClient) getFtpAllowedSlotCreateRequest(ctx context.Context, } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -9074,7 +9074,7 @@ func (client *WebAppsClient) getFunctionCreateRequest(ctx context.Context, resou } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -9148,7 +9148,7 @@ func (client *WebAppsClient) getFunctionsAdminTokenCreateRequest(ctx context.Con } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -9218,7 +9218,7 @@ func (client *WebAppsClient) getFunctionsAdminTokenSlotCreateRequest(ctx context } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -9288,7 +9288,7 @@ func (client *WebAppsClient) getHostNameBindingCreateRequest(ctx context.Context } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -9362,7 +9362,7 @@ func (client *WebAppsClient) getHostNameBindingSlotCreateRequest(ctx context.Con } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -9436,7 +9436,7 @@ func (client *WebAppsClient) getHybridConnectionCreateRequest(ctx context.Contex } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -9514,7 +9514,7 @@ func (client *WebAppsClient) getHybridConnectionSlotCreateRequest(ctx context.Co } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -9588,7 +9588,7 @@ func (client *WebAppsClient) getInstanceFunctionSlotCreateRequest(ctx context.Co } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -9666,7 +9666,7 @@ func (client *WebAppsClient) getInstanceInfoCreateRequest(ctx context.Context, r } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -9740,7 +9740,7 @@ func (client *WebAppsClient) getInstanceInfoSlotCreateRequest(ctx context.Contex } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -9810,7 +9810,7 @@ func (client *WebAppsClient) getInstanceMSDeployLogCreateRequest(ctx context.Con } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -9892,7 +9892,7 @@ func (client *WebAppsClient) getInstanceMSDeployLogSlotCreateRequest(ctx context } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -9970,7 +9970,7 @@ func (client *WebAppsClient) getInstanceMsDeployStatusCreateRequest(ctx context. } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -10044,7 +10044,7 @@ func (client *WebAppsClient) getInstanceMsDeployStatusSlotCreateRequest(ctx cont } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -10118,7 +10118,7 @@ func (client *WebAppsClient) getInstanceProcessCreateRequest(ctx context.Context } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -10200,7 +10200,7 @@ func (client *WebAppsClient) getInstanceProcessDumpCreateRequest(ctx context.Con } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.SkipBodyDownload() req.Header.Set("Accept", "application/json") @@ -10278,7 +10278,7 @@ func (client *WebAppsClient) getInstanceProcessDumpSlotCreateRequest(ctx context } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.SkipBodyDownload() req.Header.Set("Accept", "application/json") @@ -10356,7 +10356,7 @@ func (client *WebAppsClient) getInstanceProcessModuleCreateRequest(ctx context.C } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -10446,7 +10446,7 @@ func (client *WebAppsClient) getInstanceProcessModuleSlotCreateRequest(ctx conte } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -10532,7 +10532,7 @@ func (client *WebAppsClient) getInstanceProcessSlotCreateRequest(ctx context.Con } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -10606,7 +10606,7 @@ func (client *WebAppsClient) getMSDeployLogCreateRequest(ctx context.Context, re } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -10684,7 +10684,7 @@ func (client *WebAppsClient) getMSDeployLogSlotCreateRequest(ctx context.Context } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -10758,7 +10758,7 @@ func (client *WebAppsClient) getMSDeployStatusCreateRequest(ctx context.Context, } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -10828,7 +10828,7 @@ func (client *WebAppsClient) getMSDeployStatusSlotCreateRequest(ctx context.Cont } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -10894,7 +10894,7 @@ func (client *WebAppsClient) getMigrateMySQLStatusCreateRequest(ctx context.Cont } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -10964,7 +10964,7 @@ func (client *WebAppsClient) getMigrateMySQLStatusSlotCreateRequest(ctx context. } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -11034,7 +11034,7 @@ func (client *WebAppsClient) getNetworkTraceOperationCreateRequest(ctx context.C } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -11108,7 +11108,7 @@ func (client *WebAppsClient) getNetworkTraceOperationSlotCreateRequest(ctx conte } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -11182,7 +11182,7 @@ func (client *WebAppsClient) getNetworkTraceOperationSlotV2CreateRequest(ctx con } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -11252,7 +11252,7 @@ func (client *WebAppsClient) getNetworkTraceOperationV2CreateRequest(ctx context } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -11322,7 +11322,7 @@ func (client *WebAppsClient) getNetworkTracesCreateRequest(ctx context.Context, } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -11396,7 +11396,7 @@ func (client *WebAppsClient) getNetworkTracesSlotCreateRequest(ctx context.Conte } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -11470,7 +11470,7 @@ func (client *WebAppsClient) getNetworkTracesSlotV2CreateRequest(ctx context.Con } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -11540,7 +11540,7 @@ func (client *WebAppsClient) getNetworkTracesV2CreateRequest(ctx context.Context } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -11610,7 +11610,7 @@ func (client *WebAppsClient) getPremierAddOnCreateRequest(ctx context.Context, r } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -11684,7 +11684,7 @@ func (client *WebAppsClient) getPremierAddOnSlotCreateRequest(ctx context.Contex } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -11750,7 +11750,7 @@ func (client *WebAppsClient) getPrivateAccessCreateRequest(ctx context.Context, } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -11820,7 +11820,7 @@ func (client *WebAppsClient) getPrivateAccessSlotCreateRequest(ctx context.Conte } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -11890,7 +11890,7 @@ func (client *WebAppsClient) getPrivateEndpointConnectionCreateRequest(ctx conte } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -11953,7 +11953,7 @@ func (client *WebAppsClient) getPrivateEndpointConnectionListCreateRequest(ctx c } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -12020,7 +12020,7 @@ func (client *WebAppsClient) getPrivateEndpointConnectionListSlotCreateRequest(c } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -12094,7 +12094,7 @@ func (client *WebAppsClient) getPrivateEndpointConnectionSlotCreateRequest(ctx c } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -12160,7 +12160,7 @@ func (client *WebAppsClient) getPrivateLinkResourcesCreateRequest(ctx context.Co } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -12230,7 +12230,7 @@ func (client *WebAppsClient) getPrivateLinkResourcesSlotCreateRequest(ctx contex } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -12300,7 +12300,7 @@ func (client *WebAppsClient) getProcessCreateRequest(ctx context.Context, resour } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -12378,7 +12378,7 @@ func (client *WebAppsClient) getProcessDumpCreateRequest(ctx context.Context, re } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.SkipBodyDownload() req.Header.Set("Accept", "application/json") @@ -12452,7 +12452,7 @@ func (client *WebAppsClient) getProcessDumpSlotCreateRequest(ctx context.Context } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.SkipBodyDownload() req.Header.Set("Accept", "application/json") @@ -12526,7 +12526,7 @@ func (client *WebAppsClient) getProcessModuleCreateRequest(ctx context.Context, } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -12612,7 +12612,7 @@ func (client *WebAppsClient) getProcessModuleSlotCreateRequest(ctx context.Conte } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -12694,7 +12694,7 @@ func (client *WebAppsClient) getProcessSlotCreateRequest(ctx context.Context, re } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -12772,7 +12772,7 @@ func (client *WebAppsClient) getPublicCertificateCreateRequest(ctx context.Conte } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -12846,7 +12846,7 @@ func (client *WebAppsClient) getPublicCertificateSlotCreateRequest(ctx context.C } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -12916,7 +12916,7 @@ func (client *WebAppsClient) getRelayServiceConnectionCreateRequest(ctx context. } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -12990,7 +12990,7 @@ func (client *WebAppsClient) getRelayServiceConnectionSlotCreateRequest(ctx cont } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -13056,7 +13056,7 @@ func (client *WebAppsClient) getScmAllowedCreateRequest(ctx context.Context, res } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -13126,7 +13126,7 @@ func (client *WebAppsClient) getScmAllowedSlotCreateRequest(ctx context.Context, } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -13196,7 +13196,7 @@ func (client *WebAppsClient) getSiteConnectionStringKeyVaultReferenceCreateReque } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -13270,7 +13270,7 @@ func (client *WebAppsClient) getSiteConnectionStringKeyVaultReferenceSlotCreateR } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -13333,7 +13333,7 @@ func (client *WebAppsClient) getSiteConnectionStringKeyVaultReferencesCreateRequ } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -13400,7 +13400,7 @@ func (client *WebAppsClient) getSiteConnectionStringKeyVaultReferencesSlotCreate } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -13470,7 +13470,7 @@ func (client *WebAppsClient) getSiteExtensionCreateRequest(ctx context.Context, } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -13552,7 +13552,7 @@ func (client *WebAppsClient) getSiteExtensionSlotCreateRequest(ctx context.Conte } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -13626,7 +13626,7 @@ func (client *WebAppsClient) getSitePhpErrorLogFlagCreateRequest(ctx context.Con } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -13696,7 +13696,7 @@ func (client *WebAppsClient) getSitePhpErrorLogFlagSlotCreateRequest(ctx context } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -13766,7 +13766,7 @@ func (client *WebAppsClient) getSlotCreateRequest(ctx context.Context, resourceG } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -13840,7 +13840,7 @@ func (client *WebAppsClient) getSourceControlCreateRequest(ctx context.Context, } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -13910,7 +13910,7 @@ func (client *WebAppsClient) getSourceControlSlotCreateRequest(ctx context.Conte } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -13976,7 +13976,7 @@ func (client *WebAppsClient) getSwiftVirtualNetworkConnectionCreateRequest(ctx c } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -14046,7 +14046,7 @@ func (client *WebAppsClient) getSwiftVirtualNetworkConnectionSlotCreateRequest(c } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -14116,7 +14116,7 @@ func (client *WebAppsClient) getTriggeredWebJobCreateRequest(ctx context.Context } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -14198,7 +14198,7 @@ func (client *WebAppsClient) getTriggeredWebJobHistoryCreateRequest(ctx context. } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -14284,7 +14284,7 @@ func (client *WebAppsClient) getTriggeredWebJobHistorySlotCreateRequest(ctx cont } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -14366,7 +14366,7 @@ func (client *WebAppsClient) getTriggeredWebJobSlotCreateRequest(ctx context.Con } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -14444,7 +14444,7 @@ func (client *WebAppsClient) getVnetConnectionCreateRequest(ctx context.Context, } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -14453,7 +14453,7 @@ func (client *WebAppsClient) getVnetConnectionCreateRequest(ctx context.Context, // getVnetConnectionHandleResponse handles the GetVnetConnection response. func (client *WebAppsClient) getVnetConnectionHandleResponse(resp *azcore.Response) (WebAppsGetVnetConnectionResponse, error) { result := WebAppsGetVnetConnectionResponse{RawResponse: resp.Response} - if err := resp.UnmarshalAsJSON(&result.VnetInfo); err != nil { + if err := resp.UnmarshalAsJSON(&result.VnetInfoResource); err != nil { return WebAppsGetVnetConnectionResponse{}, err } return result, nil @@ -14518,7 +14518,7 @@ func (client *WebAppsClient) getVnetConnectionGatewayCreateRequest(ctx context.C } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -14604,7 +14604,7 @@ func (client *WebAppsClient) getVnetConnectionGatewaySlotCreateRequest(ctx conte } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -14686,7 +14686,7 @@ func (client *WebAppsClient) getVnetConnectionSlotCreateRequest(ctx context.Cont } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -14695,7 +14695,7 @@ func (client *WebAppsClient) getVnetConnectionSlotCreateRequest(ctx context.Cont // getVnetConnectionSlotHandleResponse handles the GetVnetConnectionSlot response. func (client *WebAppsClient) getVnetConnectionSlotHandleResponse(resp *azcore.Response) (WebAppsGetVnetConnectionSlotResponse, error) { result := WebAppsGetVnetConnectionSlotResponse{RawResponse: resp.Response} - if err := resp.UnmarshalAsJSON(&result.VnetInfo); err != nil { + if err := resp.UnmarshalAsJSON(&result.VnetInfoResource); err != nil { return WebAppsGetVnetConnectionSlotResponse{}, err } return result, nil @@ -14756,7 +14756,7 @@ func (client *WebAppsClient) getWebJobCreateRequest(ctx context.Context, resourc } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -14830,7 +14830,7 @@ func (client *WebAppsClient) getWebJobSlotCreateRequest(ctx context.Context, res } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -14896,7 +14896,7 @@ func (client *WebAppsClient) getWebSiteContainerLogsCreateRequest(ctx context.Co } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.SkipBodyDownload() req.Header.Set("Accept", "application/octet-stream") @@ -14957,7 +14957,7 @@ func (client *WebAppsClient) getWebSiteContainerLogsSlotCreateRequest(ctx contex } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.SkipBodyDownload() req.Header.Set("Accept", "application/octet-stream") @@ -15066,7 +15066,7 @@ func (client *WebAppsClient) installSiteExtensionCreateRequest(ctx context.Conte } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -15187,7 +15187,7 @@ func (client *WebAppsClient) installSiteExtensionSlotCreateRequest(ctx context.C } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -15252,7 +15252,7 @@ func (client *WebAppsClient) isCloneableCreateRequest(ctx context.Context, resou } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -15322,7 +15322,7 @@ func (client *WebAppsClient) isCloneableSlotCreateRequest(ctx context.Context, r } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -15377,7 +15377,7 @@ func (client *WebAppsClient) listCreateRequest(ctx context.Context, options *Web } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -15443,7 +15443,7 @@ func (client *WebAppsClient) listApplicationSettingsCreateRequest(ctx context.Co } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -15513,7 +15513,7 @@ func (client *WebAppsClient) listApplicationSettingsSlotCreateRequest(ctx contex } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -15579,7 +15579,7 @@ func (client *WebAppsClient) listAzureStorageAccountsCreateRequest(ctx context.C } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -15649,7 +15649,7 @@ func (client *WebAppsClient) listAzureStorageAccountsSlotCreateRequest(ctx conte } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -15721,7 +15721,7 @@ func (client *WebAppsClient) listBackupStatusSecretsCreateRequest(ctx context.Co } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(request) @@ -15797,7 +15797,7 @@ func (client *WebAppsClient) listBackupStatusSecretsSlotCreateRequest(ctx contex } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(request) @@ -15860,7 +15860,7 @@ func (client *WebAppsClient) listBackupsCreateRequest(ctx context.Context, resou } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -15927,7 +15927,7 @@ func (client *WebAppsClient) listBackupsSlotCreateRequest(ctx context.Context, r } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -15990,7 +15990,7 @@ func (client *WebAppsClient) listBasicPublishingCredentialsPoliciesCreateRequest } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -16057,7 +16057,7 @@ func (client *WebAppsClient) listBasicPublishingCredentialsPoliciesSlotCreateReq } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -16119,7 +16119,7 @@ func (client *WebAppsClient) listByResourceGroupCreateRequest(ctx context.Contex if options != nil && options.IncludeSlots != nil { reqQP.Set("includeSlots", strconv.FormatBool(*options.IncludeSlots)) } - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -16183,7 +16183,7 @@ func (client *WebAppsClient) listConfigurationSnapshotInfoCreateRequest(ctx cont } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -16251,7 +16251,7 @@ func (client *WebAppsClient) listConfigurationSnapshotInfoSlotCreateRequest(ctx } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -16314,7 +16314,7 @@ func (client *WebAppsClient) listConfigurationsCreateRequest(ctx context.Context } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -16381,7 +16381,7 @@ func (client *WebAppsClient) listConfigurationsSlotCreateRequest(ctx context.Con } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -16447,7 +16447,7 @@ func (client *WebAppsClient) listConnectionStringsCreateRequest(ctx context.Cont } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -16517,7 +16517,7 @@ func (client *WebAppsClient) listConnectionStringsSlotCreateRequest(ctx context. } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -16580,7 +16580,7 @@ func (client *WebAppsClient) listContinuousWebJobsCreateRequest(ctx context.Cont } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -16647,7 +16647,7 @@ func (client *WebAppsClient) listContinuousWebJobsSlotCreateRequest(ctx context. } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -16717,7 +16717,7 @@ func (client *WebAppsClient) listDeploymentLogCreateRequest(ctx context.Context, } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -16791,7 +16791,7 @@ func (client *WebAppsClient) listDeploymentLogSlotCreateRequest(ctx context.Cont } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -16854,7 +16854,7 @@ func (client *WebAppsClient) listDeploymentsCreateRequest(ctx context.Context, r } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -16921,7 +16921,7 @@ func (client *WebAppsClient) listDeploymentsSlotCreateRequest(ctx context.Contex } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -16984,7 +16984,7 @@ func (client *WebAppsClient) listDomainOwnershipIdentifiersCreateRequest(ctx con } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -17051,7 +17051,7 @@ func (client *WebAppsClient) listDomainOwnershipIdentifiersSlotCreateRequest(ctx } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -17121,7 +17121,7 @@ func (client *WebAppsClient) listFunctionKeysCreateRequest(ctx context.Context, } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -17195,7 +17195,7 @@ func (client *WebAppsClient) listFunctionKeysSlotCreateRequest(ctx context.Conte } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -17265,7 +17265,7 @@ func (client *WebAppsClient) listFunctionSecretsCreateRequest(ctx context.Contex } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -17339,7 +17339,7 @@ func (client *WebAppsClient) listFunctionSecretsSlotCreateRequest(ctx context.Co } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -17402,7 +17402,7 @@ func (client *WebAppsClient) listFunctionsCreateRequest(ctx context.Context, res } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -17476,7 +17476,7 @@ func (client *WebAppsClient) listHostKeysCreateRequest(ctx context.Context, reso } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -17546,7 +17546,7 @@ func (client *WebAppsClient) listHostKeysSlotCreateRequest(ctx context.Context, } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -17609,7 +17609,7 @@ func (client *WebAppsClient) listHostNameBindingsCreateRequest(ctx context.Conte } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -17676,7 +17676,7 @@ func (client *WebAppsClient) listHostNameBindingsSlotCreateRequest(ctx context.C } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -17742,7 +17742,7 @@ func (client *WebAppsClient) listHybridConnectionsCreateRequest(ctx context.Cont } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -17812,7 +17812,7 @@ func (client *WebAppsClient) listHybridConnectionsSlotCreateRequest(ctx context. } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -17879,7 +17879,7 @@ func (client *WebAppsClient) listInstanceFunctionsSlotCreateRequest(ctx context. } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -17950,7 +17950,7 @@ func (client *WebAppsClient) listInstanceIdentifiersCreateRequest(ctx context.Co } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -18017,7 +18017,7 @@ func (client *WebAppsClient) listInstanceIdentifiersSlotCreateRequest(ctx contex } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -18088,7 +18088,7 @@ func (client *WebAppsClient) listInstanceProcessModulesCreateRequest(ctx context } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -18171,7 +18171,7 @@ func (client *WebAppsClient) listInstanceProcessModulesSlotCreateRequest(ctx con } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -18250,7 +18250,7 @@ func (client *WebAppsClient) listInstanceProcessThreadsCreateRequest(ctx context } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -18333,7 +18333,7 @@ func (client *WebAppsClient) listInstanceProcessThreadsSlotCreateRequest(ctx con } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -18408,7 +18408,7 @@ func (client *WebAppsClient) listInstanceProcessesCreateRequest(ctx context.Cont } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -18488,7 +18488,7 @@ func (client *WebAppsClient) listInstanceProcessesSlotCreateRequest(ctx context. } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -18562,7 +18562,7 @@ func (client *WebAppsClient) listMetadataCreateRequest(ctx context.Context, reso } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -18632,7 +18632,7 @@ func (client *WebAppsClient) listMetadataSlotCreateRequest(ctx context.Context, } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -18702,7 +18702,7 @@ func (client *WebAppsClient) listNetworkFeaturesCreateRequest(ctx context.Contex } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -18784,7 +18784,7 @@ func (client *WebAppsClient) listNetworkFeaturesSlotCreateRequest(ctx context.Co } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -18855,7 +18855,7 @@ func (client *WebAppsClient) listPerfMonCountersCreateRequest(ctx context.Contex } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() unencodedParams := []string{req.URL.RawQuery} if options != nil && options.Filter != nil { @@ -18927,7 +18927,7 @@ func (client *WebAppsClient) listPerfMonCountersSlotCreateRequest(ctx context.Co } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() unencodedParams := []string{req.URL.RawQuery} if options != nil && options.Filter != nil { @@ -18998,7 +18998,7 @@ func (client *WebAppsClient) listPremierAddOnsCreateRequest(ctx context.Context, } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -19068,7 +19068,7 @@ func (client *WebAppsClient) listPremierAddOnsSlotCreateRequest(ctx context.Cont } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -19135,7 +19135,7 @@ func (client *WebAppsClient) listProcessModulesCreateRequest(ctx context.Context } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -19214,7 +19214,7 @@ func (client *WebAppsClient) listProcessModulesSlotCreateRequest(ctx context.Con } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -19289,7 +19289,7 @@ func (client *WebAppsClient) listProcessThreadsCreateRequest(ctx context.Context } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -19368,7 +19368,7 @@ func (client *WebAppsClient) listProcessThreadsSlotCreateRequest(ctx context.Con } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -19439,7 +19439,7 @@ func (client *WebAppsClient) listProcessesCreateRequest(ctx context.Context, res } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -19514,7 +19514,7 @@ func (client *WebAppsClient) listProcessesSlotCreateRequest(ctx context.Context, } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -19585,7 +19585,7 @@ func (client *WebAppsClient) listPublicCertificatesCreateRequest(ctx context.Con } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -19652,7 +19652,7 @@ func (client *WebAppsClient) listPublicCertificatesSlotCreateRequest(ctx context } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -19766,7 +19766,7 @@ func (client *WebAppsClient) listPublishingCredentialsCreateRequest(ctx context. } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -19875,7 +19875,7 @@ func (client *WebAppsClient) listPublishingCredentialsSlotCreateRequest(ctx cont } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -19932,7 +19932,7 @@ func (client *WebAppsClient) listPublishingProfileXMLWithSecretsCreateRequest(ct } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.SkipBodyDownload() req.Header.Set("Accept", "application/xml") @@ -19994,7 +19994,7 @@ func (client *WebAppsClient) listPublishingProfileXMLWithSecretsSlotCreateReques } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.SkipBodyDownload() req.Header.Set("Accept", "application/xml") @@ -20052,7 +20052,7 @@ func (client *WebAppsClient) listRelayServiceConnectionsCreateRequest(ctx contex } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -20122,7 +20122,7 @@ func (client *WebAppsClient) listRelayServiceConnectionsSlotCreateRequest(ctx co } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -20185,7 +20185,7 @@ func (client *WebAppsClient) listSiteBackupsCreateRequest(ctx context.Context, r } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -20252,7 +20252,7 @@ func (client *WebAppsClient) listSiteBackupsSlotCreateRequest(ctx context.Contex } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -20315,7 +20315,7 @@ func (client *WebAppsClient) listSiteExtensionsCreateRequest(ctx context.Context } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -20390,7 +20390,7 @@ func (client *WebAppsClient) listSiteExtensionsSlotCreateRequest(ctx context.Con } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -20464,7 +20464,7 @@ func (client *WebAppsClient) listSitePushSettingsCreateRequest(ctx context.Conte } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -20534,7 +20534,7 @@ func (client *WebAppsClient) listSitePushSettingsSlotCreateRequest(ctx context.C } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -20600,7 +20600,7 @@ func (client *WebAppsClient) listSlotConfigurationNamesCreateRequest(ctx context } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -20663,7 +20663,7 @@ func (client *WebAppsClient) listSlotDifferencesFromProductionCreateRequest(ctx } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(slotSwapEntity) @@ -20730,7 +20730,7 @@ func (client *WebAppsClient) listSlotDifferencesSlotCreateRequest(ctx context.Co } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(slotSwapEntity) @@ -20793,7 +20793,7 @@ func (client *WebAppsClient) listSlotsCreateRequest(ctx context.Context, resourc } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -20856,7 +20856,7 @@ func (client *WebAppsClient) listSnapshotsCreateRequest(ctx context.Context, res } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -20919,7 +20919,7 @@ func (client *WebAppsClient) listSnapshotsFromDRSecondaryCreateRequest(ctx conte } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -20986,7 +20986,7 @@ func (client *WebAppsClient) listSnapshotsFromDRSecondarySlotCreateRequest(ctx c } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -21053,7 +21053,7 @@ func (client *WebAppsClient) listSnapshotsSlotCreateRequest(ctx context.Context, } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -21119,7 +21119,7 @@ func (client *WebAppsClient) listSyncFunctionTriggersCreateRequest(ctx context.C } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -21189,7 +21189,7 @@ func (client *WebAppsClient) listSyncFunctionTriggersSlotCreateRequest(ctx conte } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -21255,7 +21255,7 @@ func (client *WebAppsClient) listSyncStatusCreateRequest(ctx context.Context, re } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -21316,7 +21316,7 @@ func (client *WebAppsClient) listSyncStatusSlotCreateRequest(ctx context.Context } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -21374,7 +21374,7 @@ func (client *WebAppsClient) listTriggeredWebJobHistoryCreateRequest(ctx context } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -21453,7 +21453,7 @@ func (client *WebAppsClient) listTriggeredWebJobHistorySlotCreateRequest(ctx con } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -21524,7 +21524,7 @@ func (client *WebAppsClient) listTriggeredWebJobsCreateRequest(ctx context.Conte } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -21591,7 +21591,7 @@ func (client *WebAppsClient) listTriggeredWebJobsSlotCreateRequest(ctx context.C } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -21654,7 +21654,7 @@ func (client *WebAppsClient) listUsagesCreateRequest(ctx context.Context, resour } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() unencodedParams := []string{req.URL.RawQuery} if options != nil && options.Filter != nil { @@ -21726,7 +21726,7 @@ func (client *WebAppsClient) listUsagesSlotCreateRequest(ctx context.Context, re } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() unencodedParams := []string{req.URL.RawQuery} if options != nil && options.Filter != nil { @@ -21797,7 +21797,7 @@ func (client *WebAppsClient) listVnetConnectionsCreateRequest(ctx context.Contex } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -21806,7 +21806,7 @@ func (client *WebAppsClient) listVnetConnectionsCreateRequest(ctx context.Contex // listVnetConnectionsHandleResponse handles the ListVnetConnections response. func (client *WebAppsClient) listVnetConnectionsHandleResponse(resp *azcore.Response) (WebAppsListVnetConnectionsResponse, error) { result := WebAppsListVnetConnectionsResponse{RawResponse: resp.Response} - if err := resp.UnmarshalAsJSON(&result.VnetInfoArray); err != nil { + if err := resp.UnmarshalAsJSON(&result.VnetInfoResourceArray); err != nil { return WebAppsListVnetConnectionsResponse{}, err } return result, nil @@ -21867,7 +21867,7 @@ func (client *WebAppsClient) listVnetConnectionsSlotCreateRequest(ctx context.Co } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -21876,7 +21876,7 @@ func (client *WebAppsClient) listVnetConnectionsSlotCreateRequest(ctx context.Co // listVnetConnectionsSlotHandleResponse handles the ListVnetConnectionsSlot response. func (client *WebAppsClient) listVnetConnectionsSlotHandleResponse(resp *azcore.Response) (WebAppsListVnetConnectionsSlotResponse, error) { result := WebAppsListVnetConnectionsSlotResponse{RawResponse: resp.Response} - if err := resp.UnmarshalAsJSON(&result.VnetInfoArray); err != nil { + if err := resp.UnmarshalAsJSON(&result.VnetInfoResourceArray); err != nil { return WebAppsListVnetConnectionsSlotResponse{}, err } return result, nil @@ -21930,7 +21930,7 @@ func (client *WebAppsClient) listWebJobsCreateRequest(ctx context.Context, resou } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -21997,7 +21997,7 @@ func (client *WebAppsClient) listWebJobsSlotCreateRequest(ctx context.Context, r } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -22111,7 +22111,7 @@ func (client *WebAppsClient) migrateMySQLCreateRequest(ctx context.Context, reso } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(migrationRequestEnvelope) @@ -22217,7 +22217,7 @@ func (client *WebAppsClient) migrateStorageCreateRequest(ctx context.Context, su req.Telemetry(telemetryInfo) reqQP := req.URL.Query() reqQP.Set("subscriptionName", subscriptionName) - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(migrationOptions) @@ -22274,7 +22274,7 @@ func (client *WebAppsClient) putPrivateAccessVnetCreateRequest(ctx context.Conte } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(access) @@ -22344,7 +22344,7 @@ func (client *WebAppsClient) putPrivateAccessVnetSlotCreateRequest(ctx context.C } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(access) @@ -22414,7 +22414,7 @@ func (client *WebAppsClient) recoverSiteConfigurationSnapshotCreateRequest(ctx c } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -22479,7 +22479,7 @@ func (client *WebAppsClient) recoverSiteConfigurationSnapshotSlotCreateRequest(c } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -22537,7 +22537,7 @@ func (client *WebAppsClient) resetProductionSlotConfigCreateRequest(ctx context. } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -22599,7 +22599,7 @@ func (client *WebAppsClient) resetSlotConfigurationSlotCreateRequest(ctx context } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -22662,7 +22662,7 @@ func (client *WebAppsClient) restartCreateRequest(ctx context.Context, resourceG if options != nil && options.Synchronous != nil { reqQP.Set("synchronous", strconv.FormatBool(*options.Synchronous)) } - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -22729,7 +22729,7 @@ func (client *WebAppsClient) restartSlotCreateRequest(ctx context.Context, resou if options != nil && options.Synchronous != nil { reqQP.Set("synchronous", strconv.FormatBool(*options.Synchronous)) } - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -22838,7 +22838,7 @@ func (client *WebAppsClient) restoreCreateRequest(ctx context.Context, resourceG } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(request) @@ -22943,7 +22943,7 @@ func (client *WebAppsClient) restoreFromBackupBlobCreateRequest(ctx context.Cont } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(request) @@ -23052,7 +23052,7 @@ func (client *WebAppsClient) restoreFromBackupBlobSlotCreateRequest(ctx context. } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(request) @@ -23157,7 +23157,7 @@ func (client *WebAppsClient) restoreFromDeletedAppCreateRequest(ctx context.Cont } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(restoreRequest) @@ -23266,7 +23266,7 @@ func (client *WebAppsClient) restoreFromDeletedAppSlotCreateRequest(ctx context. } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(restoreRequest) @@ -23379,7 +23379,7 @@ func (client *WebAppsClient) restoreSlotCreateRequest(ctx context.Context, resou } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(request) @@ -23484,7 +23484,7 @@ func (client *WebAppsClient) restoreSnapshotCreateRequest(ctx context.Context, r } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(restoreRequest) @@ -23593,7 +23593,7 @@ func (client *WebAppsClient) restoreSnapshotSlotCreateRequest(ctx context.Contex } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(restoreRequest) @@ -23654,7 +23654,7 @@ func (client *WebAppsClient) runTriggeredWebJobCreateRequest(ctx context.Context } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -23727,7 +23727,7 @@ func (client *WebAppsClient) runTriggeredWebJobSlotCreateRequest(ctx context.Con } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -23792,7 +23792,7 @@ func (client *WebAppsClient) startCreateRequest(ctx context.Context, resourceGro } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -23853,7 +23853,7 @@ func (client *WebAppsClient) startContinuousWebJobCreateRequest(ctx context.Cont } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -23926,7 +23926,7 @@ func (client *WebAppsClient) startContinuousWebJobSlotCreateRequest(ctx context. } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -24048,7 +24048,7 @@ func (client *WebAppsClient) startNetworkTraceCreateRequest(ctx context.Context, if options != nil && options.SasURL != nil { reqQP.Set("sasUrl", *options.SasURL) } - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -24166,7 +24166,7 @@ func (client *WebAppsClient) startNetworkTraceSlotCreateRequest(ctx context.Cont if options != nil && options.SasURL != nil { reqQP.Set("sasUrl", *options.SasURL) } - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -24227,7 +24227,7 @@ func (client *WebAppsClient) startSlotCreateRequest(ctx context.Context, resourc } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -24293,7 +24293,7 @@ func (client *WebAppsClient) startWebSiteNetworkTraceCreateRequest(ctx context.C if options != nil && options.SasURL != nil { reqQP.Set("sasUrl", *options.SasURL) } - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -24416,7 +24416,7 @@ func (client *WebAppsClient) startWebSiteNetworkTraceOperationCreateRequest(ctx if options != nil && options.SasURL != nil { reqQP.Set("sasUrl", *options.SasURL) } - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -24534,7 +24534,7 @@ func (client *WebAppsClient) startWebSiteNetworkTraceOperationSlotCreateRequest( if options != nil && options.SasURL != nil { reqQP.Set("sasUrl", *options.SasURL) } - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -24604,7 +24604,7 @@ func (client *WebAppsClient) startWebSiteNetworkTraceSlotCreateRequest(ctx conte if options != nil && options.SasURL != nil { reqQP.Set("sasUrl", *options.SasURL) } - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -24670,7 +24670,7 @@ func (client *WebAppsClient) stopCreateRequest(ctx context.Context, resourceGrou } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -24731,7 +24731,7 @@ func (client *WebAppsClient) stopContinuousWebJobCreateRequest(ctx context.Conte } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -24804,7 +24804,7 @@ func (client *WebAppsClient) stopContinuousWebJobSlotCreateRequest(ctx context.C } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -24869,7 +24869,7 @@ func (client *WebAppsClient) stopNetworkTraceCreateRequest(ctx context.Context, } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -24930,7 +24930,7 @@ func (client *WebAppsClient) stopNetworkTraceSlotCreateRequest(ctx context.Conte } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -24991,7 +24991,7 @@ func (client *WebAppsClient) stopSlotCreateRequest(ctx context.Context, resource } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -25048,7 +25048,7 @@ func (client *WebAppsClient) stopWebSiteNetworkTraceCreateRequest(ctx context.Co } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -25109,7 +25109,7 @@ func (client *WebAppsClient) stopWebSiteNetworkTraceSlotCreateRequest(ctx contex } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -25218,7 +25218,7 @@ func (client *WebAppsClient) swapSlotCreateRequest(ctx context.Context, resource } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(slotSwapEntity) @@ -25323,7 +25323,7 @@ func (client *WebAppsClient) swapSlotWithProductionCreateRequest(ctx context.Con } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(slotSwapEntity) @@ -25380,7 +25380,7 @@ func (client *WebAppsClient) syncFunctionTriggersCreateRequest(ctx context.Conte } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -25441,7 +25441,7 @@ func (client *WebAppsClient) syncFunctionTriggersSlotCreateRequest(ctx context.C } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -25498,7 +25498,7 @@ func (client *WebAppsClient) syncFunctionsCreateRequest(ctx context.Context, res } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -25559,7 +25559,7 @@ func (client *WebAppsClient) syncFunctionsSlotCreateRequest(ctx context.Context, } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -25616,7 +25616,7 @@ func (client *WebAppsClient) syncRepositoryCreateRequest(ctx context.Context, re } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -25677,7 +25677,7 @@ func (client *WebAppsClient) syncRepositorySlotCreateRequest(ctx context.Context } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -25734,7 +25734,7 @@ func (client *WebAppsClient) updateCreateRequest(ctx context.Context, resourceGr } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(siteEnvelope) @@ -25800,7 +25800,7 @@ func (client *WebAppsClient) updateApplicationSettingsCreateRequest(ctx context. } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(appSettings) @@ -25870,7 +25870,7 @@ func (client *WebAppsClient) updateApplicationSettingsSlotCreateRequest(ctx cont } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(appSettings) @@ -25936,7 +25936,7 @@ func (client *WebAppsClient) updateAuthSettingsCreateRequest(ctx context.Context } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(siteAuthSettings) @@ -26006,7 +26006,7 @@ func (client *WebAppsClient) updateAuthSettingsSlotCreateRequest(ctx context.Con } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(siteAuthSettings) @@ -26072,7 +26072,7 @@ func (client *WebAppsClient) updateAuthSettingsV2CreateRequest(ctx context.Conte } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(siteAuthSettingsV2) @@ -26142,7 +26142,7 @@ func (client *WebAppsClient) updateAuthSettingsV2SlotCreateRequest(ctx context.C } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(siteAuthSettingsV2) @@ -26208,7 +26208,7 @@ func (client *WebAppsClient) updateAzureStorageAccountsCreateRequest(ctx context } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(azureStorageAccounts) @@ -26278,7 +26278,7 @@ func (client *WebAppsClient) updateAzureStorageAccountsSlotCreateRequest(ctx con } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(azureStorageAccounts) @@ -26344,7 +26344,7 @@ func (client *WebAppsClient) updateBackupConfigurationCreateRequest(ctx context. } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(request) @@ -26414,7 +26414,7 @@ func (client *WebAppsClient) updateBackupConfigurationSlotCreateRequest(ctx cont } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(request) @@ -26480,7 +26480,7 @@ func (client *WebAppsClient) updateConfigurationCreateRequest(ctx context.Contex } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(siteConfig) @@ -26550,7 +26550,7 @@ func (client *WebAppsClient) updateConfigurationSlotCreateRequest(ctx context.Co } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(siteConfig) @@ -26616,7 +26616,7 @@ func (client *WebAppsClient) updateConnectionStringsCreateRequest(ctx context.Co } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(connectionStrings) @@ -26686,7 +26686,7 @@ func (client *WebAppsClient) updateConnectionStringsSlotCreateRequest(ctx contex } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(connectionStrings) @@ -26752,7 +26752,7 @@ func (client *WebAppsClient) updateDiagnosticLogsConfigCreateRequest(ctx context } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(siteLogsConfig) @@ -26822,7 +26822,7 @@ func (client *WebAppsClient) updateDiagnosticLogsConfigSlotCreateRequest(ctx con } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(siteLogsConfig) @@ -26892,7 +26892,7 @@ func (client *WebAppsClient) updateDomainOwnershipIdentifierCreateRequest(ctx co } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(domainOwnershipIdentifier) @@ -26966,7 +26966,7 @@ func (client *WebAppsClient) updateDomainOwnershipIdentifierSlotCreateRequest(ct } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(domainOwnershipIdentifier) @@ -27032,7 +27032,7 @@ func (client *WebAppsClient) updateFtpAllowedCreateRequest(ctx context.Context, } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(csmPublishingAccessPoliciesEntity) @@ -27102,7 +27102,7 @@ func (client *WebAppsClient) updateFtpAllowedSlotCreateRequest(ctx context.Conte } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(csmPublishingAccessPoliciesEntity) @@ -27176,7 +27176,7 @@ func (client *WebAppsClient) updateHybridConnectionCreateRequest(ctx context.Con } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(connectionEnvelope) @@ -27254,7 +27254,7 @@ func (client *WebAppsClient) updateHybridConnectionSlotCreateRequest(ctx context } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(connectionEnvelope) @@ -27320,7 +27320,7 @@ func (client *WebAppsClient) updateMetadataCreateRequest(ctx context.Context, re } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(metadata) @@ -27390,7 +27390,7 @@ func (client *WebAppsClient) updateMetadataSlotCreateRequest(ctx context.Context } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(metadata) @@ -27460,7 +27460,7 @@ func (client *WebAppsClient) updatePremierAddOnCreateRequest(ctx context.Context } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(premierAddOn) @@ -27534,7 +27534,7 @@ func (client *WebAppsClient) updatePremierAddOnSlotCreateRequest(ctx context.Con } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(premierAddOn) @@ -27604,7 +27604,7 @@ func (client *WebAppsClient) updateRelayServiceConnectionCreateRequest(ctx conte } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(connectionEnvelope) @@ -27678,7 +27678,7 @@ func (client *WebAppsClient) updateRelayServiceConnectionSlotCreateRequest(ctx c } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(connectionEnvelope) @@ -27744,7 +27744,7 @@ func (client *WebAppsClient) updateScmAllowedCreateRequest(ctx context.Context, } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(csmPublishingAccessPoliciesEntity) @@ -27814,7 +27814,7 @@ func (client *WebAppsClient) updateScmAllowedSlotCreateRequest(ctx context.Conte } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(csmPublishingAccessPoliciesEntity) @@ -27880,7 +27880,7 @@ func (client *WebAppsClient) updateSitePushSettingsCreateRequest(ctx context.Con } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(pushSettings) @@ -27950,7 +27950,7 @@ func (client *WebAppsClient) updateSitePushSettingsSlotCreateRequest(ctx context } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(pushSettings) @@ -28020,7 +28020,7 @@ func (client *WebAppsClient) updateSlotCreateRequest(ctx context.Context, resour } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(siteEnvelope) @@ -28087,7 +28087,7 @@ func (client *WebAppsClient) updateSlotConfigurationNamesCreateRequest(ctx conte } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(slotConfigNames) @@ -28153,7 +28153,7 @@ func (client *WebAppsClient) updateSourceControlCreateRequest(ctx context.Contex } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(siteSourceControl) @@ -28223,7 +28223,7 @@ func (client *WebAppsClient) updateSourceControlSlotCreateRequest(ctx context.Co } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(siteSourceControl) @@ -28291,7 +28291,7 @@ func (client *WebAppsClient) updateSwiftVirtualNetworkConnectionWithCheckCreateR } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(connectionEnvelope) @@ -28363,7 +28363,7 @@ func (client *WebAppsClient) updateSwiftVirtualNetworkConnectionWithCheckSlotCre } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(connectionEnvelope) @@ -28393,7 +28393,7 @@ func (client *WebAppsClient) updateSwiftVirtualNetworkConnectionWithCheckSlotHan // UpdateVnetConnection - Description for Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH). // If the operation fails it returns the *DefaultErrorResponse error type. -func (client *WebAppsClient) UpdateVnetConnection(ctx context.Context, resourceGroupName string, name string, vnetName string, connectionEnvelope VnetInfo, options *WebAppsUpdateVnetConnectionOptions) (WebAppsUpdateVnetConnectionResponse, error) { +func (client *WebAppsClient) UpdateVnetConnection(ctx context.Context, resourceGroupName string, name string, vnetName string, connectionEnvelope VnetInfoResource, options *WebAppsUpdateVnetConnectionOptions) (WebAppsUpdateVnetConnectionResponse, error) { req, err := client.updateVnetConnectionCreateRequest(ctx, resourceGroupName, name, vnetName, connectionEnvelope, options) if err != nil { return WebAppsUpdateVnetConnectionResponse{}, err @@ -28409,7 +28409,7 @@ func (client *WebAppsClient) UpdateVnetConnection(ctx context.Context, resourceG } // updateVnetConnectionCreateRequest creates the UpdateVnetConnection request. -func (client *WebAppsClient) updateVnetConnectionCreateRequest(ctx context.Context, resourceGroupName string, name string, vnetName string, connectionEnvelope VnetInfo, options *WebAppsUpdateVnetConnectionOptions) (*azcore.Request, error) { +func (client *WebAppsClient) updateVnetConnectionCreateRequest(ctx context.Context, resourceGroupName string, name string, vnetName string, connectionEnvelope VnetInfoResource, options *WebAppsUpdateVnetConnectionOptions) (*azcore.Request, error) { urlPath := "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/virtualNetworkConnections/{vnetName}" if resourceGroupName == "" { return nil, errors.New("parameter resourceGroupName cannot be empty") @@ -28433,7 +28433,7 @@ func (client *WebAppsClient) updateVnetConnectionCreateRequest(ctx context.Conte } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(connectionEnvelope) @@ -28442,7 +28442,7 @@ func (client *WebAppsClient) updateVnetConnectionCreateRequest(ctx context.Conte // updateVnetConnectionHandleResponse handles the UpdateVnetConnection response. func (client *WebAppsClient) updateVnetConnectionHandleResponse(resp *azcore.Response) (WebAppsUpdateVnetConnectionResponse, error) { result := WebAppsUpdateVnetConnectionResponse{RawResponse: resp.Response} - if err := resp.UnmarshalAsJSON(&result.VnetInfo); err != nil { + if err := resp.UnmarshalAsJSON(&result.VnetInfoResource); err != nil { return WebAppsUpdateVnetConnectionResponse{}, err } return result, nil @@ -28507,7 +28507,7 @@ func (client *WebAppsClient) updateVnetConnectionGatewayCreateRequest(ctx contex } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(connectionEnvelope) @@ -28585,7 +28585,7 @@ func (client *WebAppsClient) updateVnetConnectionGatewaySlotCreateRequest(ctx co } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(connectionEnvelope) @@ -28615,7 +28615,7 @@ func (client *WebAppsClient) updateVnetConnectionGatewaySlotHandleError(resp *az // UpdateVnetConnectionSlot - Description for Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH). // If the operation fails it returns the *DefaultErrorResponse error type. -func (client *WebAppsClient) UpdateVnetConnectionSlot(ctx context.Context, resourceGroupName string, name string, vnetName string, slot string, connectionEnvelope VnetInfo, options *WebAppsUpdateVnetConnectionSlotOptions) (WebAppsUpdateVnetConnectionSlotResponse, error) { +func (client *WebAppsClient) UpdateVnetConnectionSlot(ctx context.Context, resourceGroupName string, name string, vnetName string, slot string, connectionEnvelope VnetInfoResource, options *WebAppsUpdateVnetConnectionSlotOptions) (WebAppsUpdateVnetConnectionSlotResponse, error) { req, err := client.updateVnetConnectionSlotCreateRequest(ctx, resourceGroupName, name, vnetName, slot, connectionEnvelope, options) if err != nil { return WebAppsUpdateVnetConnectionSlotResponse{}, err @@ -28631,7 +28631,7 @@ func (client *WebAppsClient) UpdateVnetConnectionSlot(ctx context.Context, resou } // updateVnetConnectionSlotCreateRequest creates the UpdateVnetConnectionSlot request. -func (client *WebAppsClient) updateVnetConnectionSlotCreateRequest(ctx context.Context, resourceGroupName string, name string, vnetName string, slot string, connectionEnvelope VnetInfo, options *WebAppsUpdateVnetConnectionSlotOptions) (*azcore.Request, error) { +func (client *WebAppsClient) updateVnetConnectionSlotCreateRequest(ctx context.Context, resourceGroupName string, name string, vnetName string, slot string, connectionEnvelope VnetInfoResource, options *WebAppsUpdateVnetConnectionSlotOptions) (*azcore.Request, error) { urlPath := "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/virtualNetworkConnections/{vnetName}" if resourceGroupName == "" { return nil, errors.New("parameter resourceGroupName cannot be empty") @@ -28659,7 +28659,7 @@ func (client *WebAppsClient) updateVnetConnectionSlotCreateRequest(ctx context.C } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(connectionEnvelope) @@ -28668,7 +28668,7 @@ func (client *WebAppsClient) updateVnetConnectionSlotCreateRequest(ctx context.C // updateVnetConnectionSlotHandleResponse handles the UpdateVnetConnectionSlot response. func (client *WebAppsClient) updateVnetConnectionSlotHandleResponse(resp *azcore.Response) (WebAppsUpdateVnetConnectionSlotResponse, error) { result := WebAppsUpdateVnetConnectionSlotResponse{RawResponse: resp.Response} - if err := resp.UnmarshalAsJSON(&result.VnetInfo); err != nil { + if err := resp.UnmarshalAsJSON(&result.VnetInfoResource); err != nil { return WebAppsUpdateVnetConnectionSlotResponse{}, err } return result, nil diff --git a/sdk/web/armweb/zz_generated_websitemanagementclient_client.go b/sdk/web/armweb/zz_generated_websitemanagementclient_client.go index f9ade71cc22f..f38f3f864db0 100644 --- a/sdk/web/armweb/zz_generated_websitemanagementclient_client.go +++ b/sdk/web/armweb/zz_generated_websitemanagementclient_client.go @@ -61,7 +61,7 @@ func (client *WebSiteManagementClient) checkNameAvailabilityCreateRequest(ctx co } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(request) @@ -115,7 +115,7 @@ func (client *WebSiteManagementClient) generateGithubAccessTokenForAppserviceCLI } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(request) @@ -169,7 +169,7 @@ func (client *WebSiteManagementClient) getPublishingUserCreateRequest(ctx contex } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -227,7 +227,7 @@ func (client *WebSiteManagementClient) getSourceControlCreateRequest(ctx context } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -285,7 +285,7 @@ func (client *WebSiteManagementClient) getSubscriptionDeploymentLocationsCreateR } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -346,7 +346,7 @@ func (client *WebSiteManagementClient) listBillingMetersCreateRequest(ctx contex if options != nil && options.OSType != nil { reqQP.Set("osType", *options.OSType) } - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -413,7 +413,7 @@ func (client *WebSiteManagementClient) listGeoRegionsCreateRequest(ctx context.C if options != nil && options.LinuxDynamicWorkersEnabled != nil { reqQP.Set("linuxDynamicWorkersEnabled", strconv.FormatBool(*options.LinuxDynamicWorkersEnabled)) } - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -468,7 +468,7 @@ func (client *WebSiteManagementClient) listPremierAddOnOffersCreateRequest(ctx c } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -526,7 +526,7 @@ func (client *WebSiteManagementClient) listSKUsCreateRequest(ctx context.Context } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -581,7 +581,7 @@ func (client *WebSiteManagementClient) listSiteIdentifiersAssignedToHostNameCrea } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(nameIdentifier) @@ -632,7 +632,7 @@ func (client *WebSiteManagementClient) listSourceControlsCreateRequest(ctx conte } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, nil @@ -694,7 +694,7 @@ func (client *WebSiteManagementClient) moveCreateRequest(ctx context.Context, re } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(moveResourceEnvelope) @@ -739,7 +739,7 @@ func (client *WebSiteManagementClient) updatePublishingUserCreateRequest(ctx con } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(userDetails) @@ -797,7 +797,7 @@ func (client *WebSiteManagementClient) updateSourceControlCreateRequest(ctx cont } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(requestMessage) @@ -859,7 +859,7 @@ func (client *WebSiteManagementClient) validateCreateRequest(ctx context.Context } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(validateRequest) @@ -921,7 +921,7 @@ func (client *WebSiteManagementClient) validateMoveCreateRequest(ctx context.Con } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(moveResourceEnvelope) @@ -971,7 +971,7 @@ func (client *WebSiteManagementClient) verifyHostingEnvironmentVnetCreateRequest } req.Telemetry(telemetryInfo) reqQP := req.URL.Query() - reqQP.Set("api-version", "2021-01-15") + reqQP.Set("api-version", "2021-02-01") req.URL.RawQuery = reqQP.Encode() req.Header.Set("Accept", "application/json") return req, req.MarshalAsJSON(parameters)