diff --git a/services/web/mgmt/2018-02-01/web/apps.go b/services/web/mgmt/2018-02-01/web/apps.go
index e3e1f25fc029..60ba5cfbb0c9 100644
--- a/services/web/mgmt/2018-02-01/web/apps.go
+++ b/services/web/mgmt/2018-02-01/web/apps.go
@@ -3089,7 +3089,7 @@ func (client AppsClient) CreateOrUpdateSwiftVirtualNetworkConnectionPreparer(ctx
autorest.AsContentType("application/json; charset=utf-8"),
autorest.AsPut(),
autorest.WithBaseURL(client.BaseURI),
- autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/virtualNetwork", pathParameters),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkConfig/virtualNetwork", pathParameters),
autorest.WithJSON(connectionEnvelope),
autorest.WithQueryParameters(queryParameters))
return preparer.Prepare((&http.Request{}).WithContext(ctx))
@@ -3183,7 +3183,7 @@ func (client AppsClient) CreateOrUpdateSwiftVirtualNetworkConnectionSlotPreparer
autorest.AsContentType("application/json; charset=utf-8"),
autorest.AsPut(),
autorest.WithBaseURL(client.BaseURI),
- autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/virtualNetwork", pathParameters),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkConfig/virtualNetwork", pathParameters),
autorest.WithJSON(connectionEnvelope),
autorest.WithQueryParameters(queryParameters))
return preparer.Prepare((&http.Request{}).WithContext(ctx))
@@ -6465,7 +6465,7 @@ func (client AppsClient) DeleteSwiftVirtualNetworkPreparer(ctx context.Context,
preparer := autorest.CreatePreparer(
autorest.AsDelete(),
autorest.WithBaseURL(client.BaseURI),
- autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/virtualNetwork", pathParameters),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkConfig/virtualNetwork", pathParameters),
autorest.WithQueryParameters(queryParameters))
return preparer.Prepare((&http.Request{}).WithContext(ctx))
}
@@ -6552,7 +6552,7 @@ func (client AppsClient) DeleteSwiftVirtualNetworkSlotPreparer(ctx context.Conte
preparer := autorest.CreatePreparer(
autorest.AsDelete(),
autorest.WithBaseURL(client.BaseURI),
- autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/virtualNetwork", pathParameters),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkConfig/virtualNetwork", pathParameters),
autorest.WithQueryParameters(queryParameters))
return preparer.Prepare((&http.Request{}).WithContext(ctx))
}
@@ -14240,7 +14240,7 @@ func (client AppsClient) GetSwiftVirtualNetworkConnectionPreparer(ctx context.Co
preparer := autorest.CreatePreparer(
autorest.AsGet(),
autorest.WithBaseURL(client.BaseURI),
- autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/virtualNetwork", pathParameters),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkConfig/virtualNetwork", pathParameters),
autorest.WithQueryParameters(queryParameters))
return preparer.Prepare((&http.Request{}).WithContext(ctx))
}
@@ -14328,7 +14328,7 @@ func (client AppsClient) GetSwiftVirtualNetworkConnectionSlotPreparer(ctx contex
preparer := autorest.CreatePreparer(
autorest.AsGet(),
autorest.WithBaseURL(client.BaseURI),
- autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/virtualNetwork", pathParameters),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkConfig/virtualNetwork", pathParameters),
autorest.WithQueryParameters(queryParameters))
return preparer.Prepare((&http.Request{}).WithContext(ctx))
}
@@ -24298,6 +24298,254 @@ func (client AppsClient) ListSnapshotsComplete(ctx context.Context, resourceGrou
return
}
+// ListSnapshotsFromDRSecondary returns all Snapshots to the user from DRSecondary endpoint.
+// Parameters:
+// resourceGroupName - name of the resource group to which the resource belongs.
+// name - website Name.
+func (client AppsClient) ListSnapshotsFromDRSecondary(ctx context.Context, resourceGroupName string, name string) (result SnapshotCollectionPage, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/AppsClient.ListSnapshotsFromDRSecondary")
+ defer func() {
+ sc := -1
+ if result.sc.Response.Response != nil {
+ sc = result.sc.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ if err := validation.Validate([]validation.Validation{
+ {TargetValue: resourceGroupName,
+ Constraints: []validation.Constraint{{Target: "resourceGroupName", Name: validation.MaxLength, Rule: 90, Chain: nil},
+ {Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil},
+ {Target: "resourceGroupName", Name: validation.Pattern, Rule: `^[-\w\._\(\)]+[^\.]$`, Chain: nil}}}}); err != nil {
+ return result, validation.NewError("web.AppsClient", "ListSnapshotsFromDRSecondary", err.Error())
+ }
+
+ result.fn = client.listSnapshotsFromDRSecondaryNextResults
+ req, err := client.ListSnapshotsFromDRSecondaryPreparer(ctx, resourceGroupName, name)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "web.AppsClient", "ListSnapshotsFromDRSecondary", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.ListSnapshotsFromDRSecondarySender(req)
+ if err != nil {
+ result.sc.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "web.AppsClient", "ListSnapshotsFromDRSecondary", resp, "Failure sending request")
+ return
+ }
+
+ result.sc, err = client.ListSnapshotsFromDRSecondaryResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "web.AppsClient", "ListSnapshotsFromDRSecondary", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// ListSnapshotsFromDRSecondaryPreparer prepares the ListSnapshotsFromDRSecondary request.
+func (client AppsClient) ListSnapshotsFromDRSecondaryPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "name": autorest.Encode("path", name),
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2018-02-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsGet(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/snapshotsdr", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// ListSnapshotsFromDRSecondarySender sends the ListSnapshotsFromDRSecondary request. The method will close the
+// http.Response Body if it receives an error.
+func (client AppsClient) ListSnapshotsFromDRSecondarySender(req *http.Request) (*http.Response, error) {
+ return autorest.SendWithSender(client, req,
+ azure.DoRetryWithRegistration(client.Client))
+}
+
+// ListSnapshotsFromDRSecondaryResponder handles the response to the ListSnapshotsFromDRSecondary request. The method always
+// closes the http.Response Body.
+func (client AppsClient) ListSnapshotsFromDRSecondaryResponder(resp *http.Response) (result SnapshotCollection, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// listSnapshotsFromDRSecondaryNextResults retrieves the next set of results, if any.
+func (client AppsClient) listSnapshotsFromDRSecondaryNextResults(ctx context.Context, lastResults SnapshotCollection) (result SnapshotCollection, err error) {
+ req, err := lastResults.snapshotCollectionPreparer(ctx)
+ if err != nil {
+ return result, autorest.NewErrorWithError(err, "web.AppsClient", "listSnapshotsFromDRSecondaryNextResults", nil, "Failure preparing next results request")
+ }
+ if req == nil {
+ return
+ }
+ resp, err := client.ListSnapshotsFromDRSecondarySender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ return result, autorest.NewErrorWithError(err, "web.AppsClient", "listSnapshotsFromDRSecondaryNextResults", resp, "Failure sending next results request")
+ }
+ result, err = client.ListSnapshotsFromDRSecondaryResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "web.AppsClient", "listSnapshotsFromDRSecondaryNextResults", resp, "Failure responding to next results request")
+ }
+ return
+}
+
+// ListSnapshotsFromDRSecondaryComplete enumerates all values, automatically crossing page boundaries as required.
+func (client AppsClient) ListSnapshotsFromDRSecondaryComplete(ctx context.Context, resourceGroupName string, name string) (result SnapshotCollectionIterator, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/AppsClient.ListSnapshotsFromDRSecondary")
+ defer func() {
+ sc := -1
+ if result.Response().Response.Response != nil {
+ sc = result.page.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ result.page, err = client.ListSnapshotsFromDRSecondary(ctx, resourceGroupName, name)
+ return
+}
+
+// ListSnapshotsFromDRSecondarySlot returns all Snapshots to the user from DRSecondary endpoint.
+// Parameters:
+// resourceGroupName - name of the resource group to which the resource belongs.
+// name - website Name.
+// slot - website Slot.
+func (client AppsClient) ListSnapshotsFromDRSecondarySlot(ctx context.Context, resourceGroupName string, name string, slot string) (result SnapshotCollectionPage, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/AppsClient.ListSnapshotsFromDRSecondarySlot")
+ defer func() {
+ sc := -1
+ if result.sc.Response.Response != nil {
+ sc = result.sc.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ if err := validation.Validate([]validation.Validation{
+ {TargetValue: resourceGroupName,
+ Constraints: []validation.Constraint{{Target: "resourceGroupName", Name: validation.MaxLength, Rule: 90, Chain: nil},
+ {Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil},
+ {Target: "resourceGroupName", Name: validation.Pattern, Rule: `^[-\w\._\(\)]+[^\.]$`, Chain: nil}}}}); err != nil {
+ return result, validation.NewError("web.AppsClient", "ListSnapshotsFromDRSecondarySlot", err.Error())
+ }
+
+ result.fn = client.listSnapshotsFromDRSecondarySlotNextResults
+ req, err := client.ListSnapshotsFromDRSecondarySlotPreparer(ctx, resourceGroupName, name, slot)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "web.AppsClient", "ListSnapshotsFromDRSecondarySlot", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.ListSnapshotsFromDRSecondarySlotSender(req)
+ if err != nil {
+ result.sc.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "web.AppsClient", "ListSnapshotsFromDRSecondarySlot", resp, "Failure sending request")
+ return
+ }
+
+ result.sc, err = client.ListSnapshotsFromDRSecondarySlotResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "web.AppsClient", "ListSnapshotsFromDRSecondarySlot", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// ListSnapshotsFromDRSecondarySlotPreparer prepares the ListSnapshotsFromDRSecondarySlot request.
+func (client AppsClient) ListSnapshotsFromDRSecondarySlotPreparer(ctx context.Context, resourceGroupName string, name string, slot string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "name": autorest.Encode("path", name),
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "slot": autorest.Encode("path", slot),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2018-02-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsGet(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/snapshotsdr", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// ListSnapshotsFromDRSecondarySlotSender sends the ListSnapshotsFromDRSecondarySlot request. The method will close the
+// http.Response Body if it receives an error.
+func (client AppsClient) ListSnapshotsFromDRSecondarySlotSender(req *http.Request) (*http.Response, error) {
+ return autorest.SendWithSender(client, req,
+ azure.DoRetryWithRegistration(client.Client))
+}
+
+// ListSnapshotsFromDRSecondarySlotResponder handles the response to the ListSnapshotsFromDRSecondarySlot request. The method always
+// closes the http.Response Body.
+func (client AppsClient) ListSnapshotsFromDRSecondarySlotResponder(resp *http.Response) (result SnapshotCollection, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// listSnapshotsFromDRSecondarySlotNextResults retrieves the next set of results, if any.
+func (client AppsClient) listSnapshotsFromDRSecondarySlotNextResults(ctx context.Context, lastResults SnapshotCollection) (result SnapshotCollection, err error) {
+ req, err := lastResults.snapshotCollectionPreparer(ctx)
+ if err != nil {
+ return result, autorest.NewErrorWithError(err, "web.AppsClient", "listSnapshotsFromDRSecondarySlotNextResults", nil, "Failure preparing next results request")
+ }
+ if req == nil {
+ return
+ }
+ resp, err := client.ListSnapshotsFromDRSecondarySlotSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ return result, autorest.NewErrorWithError(err, "web.AppsClient", "listSnapshotsFromDRSecondarySlotNextResults", resp, "Failure sending next results request")
+ }
+ result, err = client.ListSnapshotsFromDRSecondarySlotResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "web.AppsClient", "listSnapshotsFromDRSecondarySlotNextResults", resp, "Failure responding to next results request")
+ }
+ return
+}
+
+// ListSnapshotsFromDRSecondarySlotComplete enumerates all values, automatically crossing page boundaries as required.
+func (client AppsClient) ListSnapshotsFromDRSecondarySlotComplete(ctx context.Context, resourceGroupName string, name string, slot string) (result SnapshotCollectionIterator, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/AppsClient.ListSnapshotsFromDRSecondarySlot")
+ defer func() {
+ sc := -1
+ if result.Response().Response.Response != nil {
+ sc = result.page.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ result.page, err = client.ListSnapshotsFromDRSecondarySlot(ctx, resourceGroupName, name, slot)
+ return
+}
+
// ListSnapshotsSlot returns all Snapshots to the user.
// Parameters:
// resourceGroupName - name of the resource group to which the resource belongs.
@@ -32657,7 +32905,7 @@ func (client AppsClient) UpdateSwiftVirtualNetworkConnectionPreparer(ctx context
autorest.AsContentType("application/json; charset=utf-8"),
autorest.AsPatch(),
autorest.WithBaseURL(client.BaseURI),
- autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/virtualNetwork", pathParameters),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkConfig/virtualNetwork", pathParameters),
autorest.WithJSON(connectionEnvelope),
autorest.WithQueryParameters(queryParameters))
return preparer.Prepare((&http.Request{}).WithContext(ctx))
@@ -32751,7 +32999,7 @@ func (client AppsClient) UpdateSwiftVirtualNetworkConnectionSlotPreparer(ctx con
autorest.AsContentType("application/json; charset=utf-8"),
autorest.AsPatch(),
autorest.WithBaseURL(client.BaseURI),
- autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/virtualNetwork", pathParameters),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkConfig/virtualNetwork", pathParameters),
autorest.WithJSON(connectionEnvelope),
autorest.WithQueryParameters(queryParameters))
return preparer.Prepare((&http.Request{}).WithContext(ctx))
diff --git a/services/web/mgmt/2018-02-01/web/models.go b/services/web/mgmt/2018-02-01/web/models.go
index 27148d752bf5..da32d43ed0b4 100644
--- a/services/web/mgmt/2018-02-01/web/models.go
+++ b/services/web/mgmt/2018-02-01/web/models.go
@@ -6782,6 +6782,10 @@ type CorsSettings struct {
// AllowedOrigins - Gets or sets the list of origins that should be allowed to make cross-origin
// calls (for example: http://example.com:12345). Use "*" to allow all.
AllowedOrigins *[]string `json:"allowedOrigins,omitempty"`
+ // SupportCredentials - Gets or sets whether CORS requests with credentials are allowed. See
+ // https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#Requests_with_credentials
+ // for more details.
+ SupportCredentials *bool `json:"supportCredentials,omitempty"`
}
// CsmMoveResourceEnvelope object with a list of the resources that need to be moved and the resource group
@@ -7413,6 +7417,8 @@ type DeletedAppRestoreRequestProperties struct {
// SnapshotTime - Point in time to restore the deleted app from, formatted as a DateTime string.
// If unspecified, default value is the time that the app was deleted.
SnapshotTime *string `json:"snapshotTime,omitempty"`
+ // UseDRSecondary - If true, the snapshot is retrieved from DRSecondary endpoint.
+ UseDRSecondary *bool `json:"useDRSecondary,omitempty"`
}
// DeletedSite a deleted app.
@@ -17162,6 +17168,9 @@ type SiteAuthSettingsProperties struct {
// Otherwise, the OpenID Connect Authorization Code Flow is used to authenticate end users.
// More information on OpenID Connect: http://openid.net/specs/openid-connect-core-1_0.html
ClientSecret *string `json:"clientSecret,omitempty"`
+ // ClientSecretCertificateThumbprint - An alternative to the client secret, that is the thumbprint of a certifite used for signing purposes. This property acts as
+ // a replacement for the Client Secret. It is also optional.
+ ClientSecretCertificateThumbprint *string `json:"clientSecretCertificateThumbprint,omitempty"`
// Issuer - The OpenID Connect Issuer URI that represents the entity which issues access tokens for this application.
// When using Azure Active Directory, this value is the URI of the directory tenant, e.g. https://sts.windows.net/{tenant-guid}/.
// This URI is a case-sensitive identifier for the token issuer.
@@ -17338,8 +17347,12 @@ type SiteConfig struct {
ManagedServiceIdentityID *int32 `json:"managedServiceIdentityId,omitempty"`
// XManagedServiceIdentityID - Explicit Managed Service Identity Id
XManagedServiceIdentityID *int32 `json:"xManagedServiceIdentityId,omitempty"`
- // IPSecurityRestrictions - IP security restrictions.
+ // IPSecurityRestrictions - IP security restrictions for main.
IPSecurityRestrictions *[]IPSecurityRestriction `json:"ipSecurityRestrictions,omitempty"`
+ // ScmIPSecurityRestrictions - IP security restrictions for scm.
+ ScmIPSecurityRestrictions *[]IPSecurityRestriction `json:"scmIpSecurityRestrictions,omitempty"`
+ // ScmIPSecurityRestrictionsUseMain - IP security restrictions for scm to use main.
+ ScmIPSecurityRestrictionsUseMain *bool `json:"scmIpSecurityRestrictionsUseMain,omitempty"`
// HTTP20Enabled - Http20Enabled: configures a web site to allow clients to connect over http2.0
HTTP20Enabled *bool `json:"http20Enabled,omitempty"`
// MinTLSVersion - MinTlsVersion: configures the minimum version of TLS required for SSL requests. Possible values include: 'OneFullStopZero', 'OneFullStopOne', 'OneFullStopTwo'
@@ -17495,6 +17508,12 @@ func (sc SiteConfig) MarshalJSON() ([]byte, error) {
if sc.IPSecurityRestrictions != nil {
objectMap["ipSecurityRestrictions"] = sc.IPSecurityRestrictions
}
+ if sc.ScmIPSecurityRestrictions != nil {
+ objectMap["scmIpSecurityRestrictions"] = sc.ScmIPSecurityRestrictions
+ }
+ if sc.ScmIPSecurityRestrictionsUseMain != nil {
+ objectMap["scmIpSecurityRestrictionsUseMain"] = sc.ScmIPSecurityRestrictionsUseMain
+ }
if sc.HTTP20Enabled != nil {
objectMap["http20Enabled"] = sc.HTTP20Enabled
}
@@ -19886,6 +19905,8 @@ type SnapshotRestoreRequestProperties struct {
// IgnoreConflictingHostNames - If true, custom hostname conflicts will be ignored when recovering to a target web app.
// This setting is only necessary when RecoverConfiguration is enabled.
IgnoreConflictingHostNames *bool `json:"ignoreConflictingHostNames,omitempty"`
+ // UseDRSecondary - If true, the snapshot is retrieved from DRSecondary endpoint.
+ UseDRSecondary *bool `json:"useDRSecondary,omitempty"`
}
// Solution class Representing Solution for problems detected.
@@ -20160,6 +20181,8 @@ type StackMajorVersion struct {
IsDefault *bool `json:"isDefault,omitempty"`
// MinorVersions - Minor versions associated with the major version.
MinorVersions *[]StackMinorVersion `json:"minorVersions,omitempty"`
+ // ApplicationInsights - true if this supports Application Insights; otherwise, false.
+ ApplicationInsights *bool `json:"applicationInsights,omitempty"`
}
// StackMinorVersion application stack minor version.
@@ -22491,6 +22514,8 @@ type VnetInfoProperties struct {
ResyncRequired *bool `json:"resyncRequired,omitempty"`
// DNSServers - DNS servers to be used by this Virtual Network. This should be a comma-separated list of IP addresses.
DNSServers *string `json:"dnsServers,omitempty"`
+ // IsSwift - Flag that is used to denote if this is VNET injection
+ IsSwift *bool `json:"isSwift,omitempty"`
}
// VnetParameters the required set of inputs to validate a VNET