Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,14 @@ public class CorsSettings {
@JsonProperty(value = "allowedOrigins")
private List<String> allowedOrigins;

/**
* 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.
*/
@JsonProperty(value = "supportCredentials")
private Boolean supportCredentials;

/**
* Get 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.
Expand All @@ -45,4 +53,28 @@ public CorsSettings withAllowedOrigins(List<String> allowedOrigins) {
return this;
}

/**
* Get 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.
*
* @return the supportCredentials value
*/
public Boolean supportCredentials() {
return this.supportCredentials;
}

/**
* Set 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.
*
* @param supportCredentials the supportCredentials value to set
* @return the CorsSettings object itself.
*/
public CorsSettings withSupportCredentials(Boolean supportCredentials) {
this.supportCredentials = supportCredentials;
return this;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@ public class DeletedAppRestoreRequest extends ProxyOnlyResource {
@JsonProperty(value = "properties.snapshotTime")
private String snapshotTime;

/**
* If true, the snapshot is retrieved from DRSecondary endpoint.
*/
@JsonProperty(value = "properties.useDRSecondary")
private Boolean useDRSecondary;

/**
* Get aRM resource ID of the deleted app. Example:
/subscriptions/{subId}/providers/Microsoft.Web/deletedSites/{deletedSiteId}.
Expand Down Expand Up @@ -102,4 +108,24 @@ public DeletedAppRestoreRequest withSnapshotTime(String snapshotTime) {
return this;
}

/**
* Get if true, the snapshot is retrieved from DRSecondary endpoint.
*
* @return the useDRSecondary value
*/
public Boolean useDRSecondary() {
return this.useDRSecondary;
}

/**
* Set if true, the snapshot is retrieved from DRSecondary endpoint.
*
* @param useDRSecondary the useDRSecondary value to set
* @return the DeletedAppRestoreRequest object itself.
*/
public DeletedAppRestoreRequest withUseDRSecondary(Boolean useDRSecondary) {
this.useDRSecondary = useDRSecondary;
return this;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@ public interface ServerfarmVnetInfo extends HasInner<VnetInfoInner>, Indexable,
*/
String id();

/**
* @return the isSwift value.
*/
Boolean isSwift();

/**
* @return the kind value.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ public interface SiteAuthSettings extends HasInner<SiteAuthSettingsInner>, HasMa
*/
String clientSecret();

/**
* @return the clientSecretCertificateThumbprint value.
*/
String clientSecretCertificateThumbprint();

/**
* @return the defaultProvider value.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -308,11 +308,23 @@ public class SiteConfig {
private Integer xManagedServiceIdentityId;

/**
* IP security restrictions.
* IP security restrictions for main.
*/
@JsonProperty(value = "ipSecurityRestrictions")
private List<IpSecurityRestriction> ipSecurityRestrictions;

/**
* IP security restrictions for scm.
*/
@JsonProperty(value = "scmIpSecurityRestrictions")
private List<IpSecurityRestriction> scmIpSecurityRestrictions;

/**
* IP security restrictions for scm to use main.
*/
@JsonProperty(value = "scmIpSecurityRestrictionsUseMain")
private Boolean scmIpSecurityRestrictionsUseMain;

/**
* Http20Enabled: configures a web site to allow clients to connect over
* http2.0.
Expand Down Expand Up @@ -1251,7 +1263,7 @@ public SiteConfig withXManagedServiceIdentityId(Integer xManagedServiceIdentityI
}

/**
* Get iP security restrictions.
* Get iP security restrictions for main.
*
* @return the ipSecurityRestrictions value
*/
Expand All @@ -1260,7 +1272,7 @@ public List<IpSecurityRestriction> ipSecurityRestrictions() {
}

/**
* Set iP security restrictions.
* Set iP security restrictions for main.
*
* @param ipSecurityRestrictions the ipSecurityRestrictions value to set
* @return the SiteConfig object itself.
Expand All @@ -1270,6 +1282,46 @@ public SiteConfig withIpSecurityRestrictions(List<IpSecurityRestriction> ipSecur
return this;
}

/**
* Get iP security restrictions for scm.
*
* @return the scmIpSecurityRestrictions value
*/
public List<IpSecurityRestriction> scmIpSecurityRestrictions() {
return this.scmIpSecurityRestrictions;
}

/**
* Set iP security restrictions for scm.
*
* @param scmIpSecurityRestrictions the scmIpSecurityRestrictions value to set
* @return the SiteConfig object itself.
*/
public SiteConfig withScmIpSecurityRestrictions(List<IpSecurityRestriction> scmIpSecurityRestrictions) {
this.scmIpSecurityRestrictions = scmIpSecurityRestrictions;
return this;
}

/**
* Get iP security restrictions for scm to use main.
*
* @return the scmIpSecurityRestrictionsUseMain value
*/
public Boolean scmIpSecurityRestrictionsUseMain() {
return this.scmIpSecurityRestrictionsUseMain;
}

/**
* Set iP security restrictions for scm to use main.
*
* @param scmIpSecurityRestrictionsUseMain the scmIpSecurityRestrictionsUseMain value to set
* @return the SiteConfig object itself.
*/
public SiteConfig withScmIpSecurityRestrictionsUseMain(Boolean scmIpSecurityRestrictionsUseMain) {
this.scmIpSecurityRestrictionsUseMain = scmIpSecurityRestrictionsUseMain;
return this;
}

/**
* Get http20Enabled: configures a web site to allow clients to connect over http2.0.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,16 @@ public interface SiteConfigResource extends HasInner<SiteConfigResourceInner>, H
*/
Integer reservedInstanceCount();

/**
* @return the scmIpSecurityRestrictions value.
*/
List<IpSecurityRestriction> scmIpSecurityRestrictions();

/**
* @return the scmIpSecurityRestrictionsUseMain value.
*/
Boolean scmIpSecurityRestrictionsUseMain();

/**
* @return the scmType value.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ public interface SiteVnetInfo extends HasInner<VnetInfoInner>, Indexable, Refres
*/
String id();

/**
* @return the isSwift value.
*/
Boolean isSwift();

/**
* @return the kind value.
*/
Expand Down Expand Up @@ -119,6 +124,16 @@ interface WithDnsServers {
WithCreate withDnsServers(String dnsServers);
}

/**
* The stage of the sitevnetinfo definition allowing to specify IsSwift.
*/
interface WithIsSwift {
/**
* Specifies isSwift.
*/
WithCreate withIsSwift(Boolean isSwift);
}

/**
* The stage of the sitevnetinfo definition allowing to specify Kind.
*/
Expand All @@ -144,13 +159,13 @@ interface WithVnetResourceId {
* the resource to be created (via {@link WithCreate#create()}), but also allows
* for any other optional settings to be specified.
*/
interface WithCreate extends Creatable<SiteVnetInfo>, DefinitionStages.WithCertBlob, DefinitionStages.WithDnsServers, DefinitionStages.WithKind, DefinitionStages.WithVnetResourceId {
interface WithCreate extends Creatable<SiteVnetInfo>, DefinitionStages.WithCertBlob, DefinitionStages.WithDnsServers, DefinitionStages.WithIsSwift, DefinitionStages.WithKind, DefinitionStages.WithVnetResourceId {
}
}
/**
* The template for a SiteVnetInfo update operation, containing all the settings that can be modified.
*/
interface Update extends Appliable<SiteVnetInfo>, UpdateStages.WithCertBlob, UpdateStages.WithDnsServers, UpdateStages.WithKind, UpdateStages.WithVnetResourceId {
interface Update extends Appliable<SiteVnetInfo>, UpdateStages.WithCertBlob, UpdateStages.WithDnsServers, UpdateStages.WithIsSwift, UpdateStages.WithKind, UpdateStages.WithVnetResourceId {
}

/**
Expand All @@ -177,6 +192,16 @@ interface WithDnsServers {
Update withDnsServers(String dnsServers);
}

/**
* The stage of the sitevnetinfo update allowing to specify IsSwift.
*/
interface WithIsSwift {
/**
* Specifies isSwift.
*/
Update withIsSwift(Boolean isSwift);
}

/**
* The stage of the sitevnetinfo update allowing to specify Kind.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,12 @@ public class SnapshotRestoreRequest extends ProxyOnlyResource {
@JsonProperty(value = "properties.ignoreConflictingHostNames")
private Boolean ignoreConflictingHostNames;

/**
* If true, the snapshot is retrieved from DRSecondary endpoint.
*/
@JsonProperty(value = "properties.useDRSecondary")
private Boolean useDRSecondary;

/**
* Get point in time in which the app restore should be done, formatted as a DateTime string.
*
Expand Down Expand Up @@ -156,4 +162,24 @@ public SnapshotRestoreRequest withIgnoreConflictingHostNames(Boolean ignoreConfl
return this;
}

/**
* Get if true, the snapshot is retrieved from DRSecondary endpoint.
*
* @return the useDRSecondary value
*/
public Boolean useDRSecondary() {
return this.useDRSecondary;
}

/**
* Set if true, the snapshot is retrieved from DRSecondary endpoint.
*
* @param useDRSecondary the useDRSecondary value to set
* @return the SnapshotRestoreRequest object itself.
*/
public SnapshotRestoreRequest withUseDRSecondary(Boolean useDRSecondary) {
this.useDRSecondary = useDRSecondary;
return this;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,13 @@ public class StackMajorVersion {
@JsonProperty(value = "minorVersions")
private List<StackMinorVersion> minorVersions;

/**
* &lt;code&gt;true&lt;/code&gt; if this supports Application Insights;
* otherwise, &lt;code&gt;false&lt;/code&gt;.
*/
@JsonProperty(value = "applicationInsights")
private Boolean applicationInsights;

/**
* Get application stack major version (display only).
*
Expand Down Expand Up @@ -120,4 +127,24 @@ public StackMajorVersion withMinorVersions(List<StackMinorVersion> minorVersions
return this;
}

/**
* Get &lt;code&gt;true&lt;/code&gt; if this supports Application Insights; otherwise, &lt;code&gt;false&lt;/code&gt;.
*
* @return the applicationInsights value
*/
public Boolean applicationInsights() {
return this.applicationInsights;
}

/**
* Set &lt;code&gt;true&lt;/code&gt; if this supports Application Insights; otherwise, &lt;code&gt;false&lt;/code&gt;.
*
* @param applicationInsights the applicationInsights value to set
* @return the StackMajorVersion object itself.
*/
public StackMajorVersion withApplicationInsights(Boolean applicationInsights) {
this.applicationInsights = applicationInsights;
return this;
}

}
Loading