diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/BackupRequest.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/BackupRequest.java index 9abce3c796a20..360067ff27a63 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/BackupRequest.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/BackupRequest.java @@ -18,6 +18,11 @@ * Type representing BackupRequest. */ public interface BackupRequest extends HasInner, HasManager { + /** + * @return the backupName value. + */ + String backupName(); + /** * @return the backupSchedule value. */ diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/BackupRequestImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/BackupRequestImpl.java index b5045b977f38e..9ba81549824ac 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/BackupRequestImpl.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/BackupRequestImpl.java @@ -26,6 +26,11 @@ public CertificateRegistrationManager manager() { return this.manager; } + @Override + public String backupName() { + return this.inner().backupName(); + } + @Override public BackupSchedule backupSchedule() { return this.inner().backupSchedule(); diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/BackupRequestInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/BackupRequestInner.java index e761a1d8b2cb1..581fe11bb33dd 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/BackupRequestInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/BackupRequestInner.java @@ -20,6 +20,12 @@ */ @JsonFlatten public class BackupRequestInner extends ProxyOnlyResource { + /** + * Name of the backup. + */ + @JsonProperty(value = "properties.backupName") + private String backupName; + /** * True if the backup schedule is enabled (must be included in that case), * false if the backup schedule should be disabled. @@ -45,6 +51,26 @@ public class BackupRequestInner extends ProxyOnlyResource { @JsonProperty(value = "properties.databases") private List databases; + /** + * Get name of the backup. + * + * @return the backupName value + */ + public String backupName() { + return this.backupName; + } + + /** + * Set name of the backup. + * + * @param backupName the backupName value to set + * @return the BackupRequestInner object itself. + */ + public BackupRequestInner withBackupName(String backupName) { + this.backupName = backupName; + return this; + } + /** * Get true if the backup schedule is enabled (must be included in that case), false if the backup schedule should be disabled. *