Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ReleasePR sdk/storage/mgmt-v2019_06_01] Add lastEnabledTime in GetBlobServiceProperties API and minor descrip… #9825

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
4 changes: 2 additions & 2 deletions sdk/storage/mgmt-v2019_06_01/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
<parent>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-arm-parent</artifactId>
<version>1.3.0</version>
<version>1.1.0</version>
<relativePath>../../../pom.management.xml</relativePath>
</parent>
<artifactId>azure-mgmt-storage</artifactId>
<version>1.0.0-beta-5</version>
<version>1.0.0-beta</version>
<packaging>jar</packaging>
<name>Microsoft Azure SDK for Storage Management</name>
<description>This package contains Microsoft Storage Management SDK.</description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,19 @@
*/
public class BlobRestoreRange {
/**
* Blob start range. Empty means account start.
* Blob start range. This is inclusive. Empty means account start.
*/
@JsonProperty(value = "startRange", required = true)
private String startRange;

/**
* Blob end range. Empty means account end.
* Blob end range. This is exclusive. Empty means account end.
*/
@JsonProperty(value = "endRange", required = true)
private String endRange;

/**
* Get blob start range. Empty means account start.
* Get blob start range. This is inclusive. Empty means account start.
*
* @return the startRange value
*/
Expand All @@ -36,7 +36,7 @@ public String startRange() {
}

/**
* Set blob start range. Empty means account start.
* Set blob start range. This is inclusive. Empty means account start.
*
* @param startRange the startRange value to set
* @return the BlobRestoreRange object itself.
Expand All @@ -47,7 +47,7 @@ public BlobRestoreRange withStartRange(String startRange) {
}

/**
* Get blob end range. Empty means account end.
* Get blob end range. This is exclusive. Empty means account end.
*
* @return the endRange value
*/
Expand All @@ -56,7 +56,7 @@ public String endRange() {
}

/**
* Set blob end range. Empty means account end.
* Set blob end range. This is exclusive. Empty means account end.
*
* @param endRange the endRange value to set
* @return the BlobRestoreRange object itself.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
import com.microsoft.azure.arm.model.Appliable;
import com.microsoft.azure.arm.model.Creatable;
import com.microsoft.azure.arm.resources.models.HasManager;
import com.microsoft.azure.management.storage.v2019_06_01.implementation.SkuInner;
import com.microsoft.azure.management.storage.v2019_06_01.implementation.StorageManager;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
import com.microsoft.azure.arm.model.Appliable;
import com.microsoft.azure.arm.model.Creatable;
import com.microsoft.azure.arm.resources.models.HasManager;
import com.microsoft.azure.management.storage.v2019_06_01.implementation.SkuInner;
import com.microsoft.azure.management.storage.v2019_06_01.implementation.StorageManager;
import java.util.List;

/**
* Type representing FileServiceProperties.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

package com.microsoft.azure.management.storage.v2019_06_01;

import org.joda.time.DateTime;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
Expand All @@ -27,6 +28,12 @@ public class RestorePolicyProperties {
@JsonProperty(value = "days")
private Integer days;

/**
* Returns the date and time the restore policy was last enabled.
*/
@JsonProperty(value = "lastEnabledTime", access = JsonProperty.Access.WRITE_ONLY)
private DateTime lastEnabledTime;

/**
* Get blob restore is enabled if set to true.
*
Expand Down Expand Up @@ -67,4 +74,13 @@ public RestorePolicyProperties withDays(Integer days) {
return this;
}

/**
* Get returns the date and time the restore policy was last enabled.
*
* @return the lastEnabledTime value
*/
public DateTime lastEnabledTime() {
return this.lastEnabledTime;
}

}