forked from Azure/azure-sdk-for-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Datamigration: update package 2018-07-15-preview. (Azure#4937)
- Loading branch information
Showing
168 changed files
with
7,906 additions
and
200 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
95 changes: 95 additions & 0 deletions
95
...microsoft/azure/management/datamigration/v2018_07_15_preview/AzureActiveDirectoryApp.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,95 @@ | ||
/** | ||
* Copyright (c) Microsoft Corporation. All rights reserved. | ||
* Licensed under the MIT License. See License.txt in the project root for | ||
* license information. | ||
* | ||
* Code generated by Microsoft (R) AutoRest Code Generator. | ||
*/ | ||
|
||
package com.microsoft.azure.management.datamigration.v2018_07_15_preview; | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
|
||
/** | ||
* Azure Active Directory Application. | ||
*/ | ||
public class AzureActiveDirectoryApp { | ||
/** | ||
* Application ID of the Azure Active Directory Application. | ||
*/ | ||
@JsonProperty(value = "applicationId", required = true) | ||
private String applicationId; | ||
|
||
/** | ||
* Key used to authenticate to the Azure Active Directory Application. | ||
*/ | ||
@JsonProperty(value = "appKey", required = true) | ||
private String appKey; | ||
|
||
/** | ||
* Tenant id of the customer. | ||
*/ | ||
@JsonProperty(value = "tenantId", required = true) | ||
private String tenantId; | ||
|
||
/** | ||
* Get application ID of the Azure Active Directory Application. | ||
* | ||
* @return the applicationId value | ||
*/ | ||
public String applicationId() { | ||
return this.applicationId; | ||
} | ||
|
||
/** | ||
* Set application ID of the Azure Active Directory Application. | ||
* | ||
* @param applicationId the applicationId value to set | ||
* @return the AzureActiveDirectoryApp object itself. | ||
*/ | ||
public AzureActiveDirectoryApp withApplicationId(String applicationId) { | ||
this.applicationId = applicationId; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get key used to authenticate to the Azure Active Directory Application. | ||
* | ||
* @return the appKey value | ||
*/ | ||
public String appKey() { | ||
return this.appKey; | ||
} | ||
|
||
/** | ||
* Set key used to authenticate to the Azure Active Directory Application. | ||
* | ||
* @param appKey the appKey value to set | ||
* @return the AzureActiveDirectoryApp object itself. | ||
*/ | ||
public AzureActiveDirectoryApp withAppKey(String appKey) { | ||
this.appKey = appKey; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get tenant id of the customer. | ||
* | ||
* @return the tenantId value | ||
*/ | ||
public String tenantId() { | ||
return this.tenantId; | ||
} | ||
|
||
/** | ||
* Set tenant id of the customer. | ||
* | ||
* @param tenantId the tenantId value to set | ||
* @return the AzureActiveDirectoryApp object itself. | ||
*/ | ||
public AzureActiveDirectoryApp withTenantId(String tenantId) { | ||
this.tenantId = tenantId; | ||
return this; | ||
} | ||
|
||
} |
97 changes: 97 additions & 0 deletions
97
...java/com/microsoft/azure/management/datamigration/v2018_07_15_preview/BackupFileInfo.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
/** | ||
* Copyright (c) Microsoft Corporation. All rights reserved. | ||
* Licensed under the MIT License. See License.txt in the project root for | ||
* license information. | ||
* | ||
* Code generated by Microsoft (R) AutoRest Code Generator. | ||
*/ | ||
|
||
package com.microsoft.azure.management.datamigration.v2018_07_15_preview; | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
|
||
/** | ||
* Information of the backup file. | ||
*/ | ||
public class BackupFileInfo { | ||
/** | ||
* Location of the backup file in shared folder. | ||
*/ | ||
@JsonProperty(value = "fileLocation") | ||
private String fileLocation; | ||
|
||
/** | ||
* Sequence number of the backup file in the backup set. | ||
*/ | ||
@JsonProperty(value = "familySequenceNumber") | ||
private Integer familySequenceNumber; | ||
|
||
/** | ||
* Status of the backup file during migration. Possible values include: | ||
* 'Arrived', 'Queued', 'Uploading', 'Uploaded', 'Restoring', 'Restored', | ||
* 'Cancelled'. | ||
*/ | ||
@JsonProperty(value = "status") | ||
private BackupFileStatus status; | ||
|
||
/** | ||
* Get location of the backup file in shared folder. | ||
* | ||
* @return the fileLocation value | ||
*/ | ||
public String fileLocation() { | ||
return this.fileLocation; | ||
} | ||
|
||
/** | ||
* Set location of the backup file in shared folder. | ||
* | ||
* @param fileLocation the fileLocation value to set | ||
* @return the BackupFileInfo object itself. | ||
*/ | ||
public BackupFileInfo withFileLocation(String fileLocation) { | ||
this.fileLocation = fileLocation; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get sequence number of the backup file in the backup set. | ||
* | ||
* @return the familySequenceNumber value | ||
*/ | ||
public Integer familySequenceNumber() { | ||
return this.familySequenceNumber; | ||
} | ||
|
||
/** | ||
* Set sequence number of the backup file in the backup set. | ||
* | ||
* @param familySequenceNumber the familySequenceNumber value to set | ||
* @return the BackupFileInfo object itself. | ||
*/ | ||
public BackupFileInfo withFamilySequenceNumber(Integer familySequenceNumber) { | ||
this.familySequenceNumber = familySequenceNumber; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get status of the backup file during migration. Possible values include: 'Arrived', 'Queued', 'Uploading', 'Uploaded', 'Restoring', 'Restored', 'Cancelled'. | ||
* | ||
* @return the status value | ||
*/ | ||
public BackupFileStatus status() { | ||
return this.status; | ||
} | ||
|
||
/** | ||
* Set status of the backup file during migration. Possible values include: 'Arrived', 'Queued', 'Uploading', 'Uploaded', 'Restoring', 'Restored', 'Cancelled'. | ||
* | ||
* @param status the status value to set | ||
* @return the BackupFileInfo object itself. | ||
*/ | ||
public BackupFileInfo withStatus(BackupFileStatus status) { | ||
this.status = status; | ||
return this; | ||
} | ||
|
||
} |
56 changes: 56 additions & 0 deletions
56
...va/com/microsoft/azure/management/datamigration/v2018_07_15_preview/BackupFileStatus.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
/** | ||
* Copyright (c) Microsoft Corporation. All rights reserved. | ||
* Licensed under the MIT License. See License.txt in the project root for | ||
* license information. | ||
* | ||
* Code generated by Microsoft (R) AutoRest Code Generator. | ||
*/ | ||
|
||
package com.microsoft.azure.management.datamigration.v2018_07_15_preview; | ||
|
||
import java.util.Collection; | ||
import com.fasterxml.jackson.annotation.JsonCreator; | ||
import com.microsoft.rest.ExpandableStringEnum; | ||
|
||
/** | ||
* Defines values for BackupFileStatus. | ||
*/ | ||
public final class BackupFileStatus extends ExpandableStringEnum<BackupFileStatus> { | ||
/** Static value Arrived for BackupFileStatus. */ | ||
public static final BackupFileStatus ARRIVED = fromString("Arrived"); | ||
|
||
/** Static value Queued for BackupFileStatus. */ | ||
public static final BackupFileStatus QUEUED = fromString("Queued"); | ||
|
||
/** Static value Uploading for BackupFileStatus. */ | ||
public static final BackupFileStatus UPLOADING = fromString("Uploading"); | ||
|
||
/** Static value Uploaded for BackupFileStatus. */ | ||
public static final BackupFileStatus UPLOADED = fromString("Uploaded"); | ||
|
||
/** Static value Restoring for BackupFileStatus. */ | ||
public static final BackupFileStatus RESTORING = fromString("Restoring"); | ||
|
||
/** Static value Restored for BackupFileStatus. */ | ||
public static final BackupFileStatus RESTORED = fromString("Restored"); | ||
|
||
/** Static value Cancelled for BackupFileStatus. */ | ||
public static final BackupFileStatus CANCELLED = fromString("Cancelled"); | ||
|
||
/** | ||
* Creates or finds a BackupFileStatus from its string representation. | ||
* @param name a name to look for | ||
* @return the corresponding BackupFileStatus | ||
*/ | ||
@JsonCreator | ||
public static BackupFileStatus fromString(String name) { | ||
return fromString(name, BackupFileStatus.class); | ||
} | ||
|
||
/** | ||
* @return known BackupFileStatus values | ||
*/ | ||
public static Collection<BackupFileStatus> values() { | ||
return values(BackupFileStatus.class); | ||
} | ||
} |
Oops, something went wrong.