Skip to content
Merged
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 storage/resource-manager/v2019_04_01/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
<parent>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-arm-parent</artifactId>
<version>1.1.0</version>
<relativePath>../../../pom.management.xml</relativePath>
<version>0.0.3-beta</version>
<relativePath>../../../pom.xml</relativePath>
</parent>
<artifactId>azure-mgmt-storage</artifactId>
<version>1.0.0-beta</version>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
/**
* 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.storage.v2019_04_01;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
* Settings for Azure Files identity based authentication.
*/
public class AzureFilesIdentityBasedAuthentication {
/**
* Indicates the directory service used. Possible values include: 'None',
* 'AADDS'.
*/
@JsonProperty(value = "directoryServiceOptions", required = true)
private DirectoryServiceOptions directoryServiceOptions;

/**
* Get indicates the directory service used. Possible values include: 'None', 'AADDS'.
*
* @return the directoryServiceOptions value
*/
public DirectoryServiceOptions directoryServiceOptions() {
return this.directoryServiceOptions;
}

/**
* Set indicates the directory service used. Possible values include: 'None', 'AADDS'.
*
* @param directoryServiceOptions the directoryServiceOptions value to set
* @return the AzureFilesIdentityBasedAuthentication object itself.
*/
public AzureFilesIdentityBasedAuthentication withDirectoryServiceOptions(DirectoryServiceOptions directoryServiceOptions) {
this.directoryServiceOptions = directoryServiceOptions;
return this;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public interface BlobContainers {
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
*/
Observable<ListContainerItems> listAsync(String resourceGroupName, String accountName);
Observable<ListContainerItem> listAsync(final String resourceGroupName, final String accountName);

/**
* Gets properties of a specified container.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,14 @@ public interface BlobServices extends SupportsCreating<BlobServiceProperties.Def
*/
Observable<BlobServiceProperties> getServicePropertiesAsync(String resourceGroupName, String accountName);

/**
* List blob services of storage account. It returns a collection of one object named default.
*
* @param resourceGroupName The name of the resource group within the user's subscription. The name is case insensitive.
* @param accountName The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
*/
Observable<BlobServiceProperties> listAsync(String resourceGroupName, String accountName);

}
Original file line number Diff line number Diff line change
Expand Up @@ -15,27 +15,27 @@
*/
public class DateAfterCreation {
/**
* Integer value indicating the age in days after creation.
* Value indicating the age in days after creation.
*/
@JsonProperty(value = "daysAfterCreationGreaterThan", required = true)
private int daysAfterCreationGreaterThan;
private double daysAfterCreationGreaterThan;

/**
* Get integer value indicating the age in days after creation.
* Get value indicating the age in days after creation.
*
* @return the daysAfterCreationGreaterThan value
*/
public int daysAfterCreationGreaterThan() {
public double daysAfterCreationGreaterThan() {
return this.daysAfterCreationGreaterThan;
}

/**
* Set integer value indicating the age in days after creation.
* Set value indicating the age in days after creation.
*
* @param daysAfterCreationGreaterThan the daysAfterCreationGreaterThan value to set
* @return the DateAfterCreation object itself.
*/
public DateAfterCreation withDaysAfterCreationGreaterThan(int daysAfterCreationGreaterThan) {
public DateAfterCreation withDaysAfterCreationGreaterThan(double daysAfterCreationGreaterThan) {
this.daysAfterCreationGreaterThan = daysAfterCreationGreaterThan;
return this;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,27 +15,27 @@
*/
public class DateAfterModification {
/**
* Integer value indicating the age in days after last modification.
* Value indicating the age in days after last modification.
*/
@JsonProperty(value = "daysAfterModificationGreaterThan", required = true)
private int daysAfterModificationGreaterThan;
private double daysAfterModificationGreaterThan;

/**
* Get integer value indicating the age in days after last modification.
* Get value indicating the age in days after last modification.
*
* @return the daysAfterModificationGreaterThan value
*/
public int daysAfterModificationGreaterThan() {
public double daysAfterModificationGreaterThan() {
return this.daysAfterModificationGreaterThan;
}

/**
* Set integer value indicating the age in days after last modification.
* Set value indicating the age in days after last modification.
*
* @param daysAfterModificationGreaterThan the daysAfterModificationGreaterThan value to set
* @return the DateAfterModification object itself.
*/
public DateAfterModification withDaysAfterModificationGreaterThan(int daysAfterModificationGreaterThan) {
public DateAfterModification withDaysAfterModificationGreaterThan(double daysAfterModificationGreaterThan) {
this.daysAfterModificationGreaterThan = daysAfterModificationGreaterThan;
return this;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
/**
* 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.storage.v2019_04_01;

import java.util.Collection;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.microsoft.rest.ExpandableStringEnum;

/**
* Defines values for DirectoryServiceOptions.
*/
public final class DirectoryServiceOptions extends ExpandableStringEnum<DirectoryServiceOptions> {
/** Static value None for DirectoryServiceOptions. */
public static final DirectoryServiceOptions NONE = fromString("None");

/** Static value AADDS for DirectoryServiceOptions. */
public static final DirectoryServiceOptions AADDS = fromString("AADDS");

/**
* Creates or finds a DirectoryServiceOptions from its string representation.
* @param name a name to look for
* @return the corresponding DirectoryServiceOptions
*/
@JsonCreator
public static DirectoryServiceOptions fromString(String name) {
return fromString(name, DirectoryServiceOptions.class);
}

/**
* @return known DirectoryServiceOptions values
*/
public static Collection<DirectoryServiceOptions> values() {
return values(DirectoryServiceOptions.class);
}
}
Loading