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 mgmt-v2015_10_01_preview] [T2] datalakestore for python track2 #17720

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
8 changes: 5 additions & 3 deletions sdk/datalakestore/mgmt-v2015_10_01_preview/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.2.0</version>
<relativePath>../../parents/azure-arm-parent</relativePath>
<version>1.1.0</version>
<relativePath>../../../pom.management.xml</relativePath>
</parent>
<artifactId>azure-mgmt-datalakestore</artifactId>
<version>1.0.0-beta-2</version>
<version>1.0.0-beta</version>
<packaging>jar</packaging>
<name>Microsoft Azure SDK for DataLakeStore Management</name>
<description>This package contains Microsoft DataLakeStore Management SDK.</description>
Expand Down Expand Up @@ -71,6 +71,8 @@
<artifactId>azure-arm-client-runtime</artifactId>
<type>test-jar</type>
<scope>test</scope>
<!--Below version for test jar needs to be removed, this will be done as part of v1-runtime 1.6.7-->
<version>1.6.5</version>
</dependency>
</dependencies>
<build>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
*/
public class AzureAsyncOperationResult {
/**
* the status of the AzureAsuncOperation. Possible values include:
* the status of the AzureAsyncOperation. Possible values include:
* 'InProgress', 'Succeeded', 'Failed'.
*/
@JsonProperty(value = "status", access = JsonProperty.Access.WRITE_ONLY)
Expand All @@ -35,7 +35,7 @@ public class AzureAsyncOperationResult {
private Error error;

/**
* Get the status of the AzureAsuncOperation. Possible values include: 'InProgress', 'Succeeded', 'Failed'.
* Get the status of the AzureAsyncOperation. Possible values include: 'InProgress', 'Succeeded', 'Failed'.
*
* @return the status value
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,10 +167,14 @@ private Observable<FirewallRuleInner> getFirewallRuleInnerUsingAccountsInnerAsyn
public Observable<FirewallRule> getFirewallRuleAsync(String resourceGroupName, String accountName, String firewallRuleName) {
AccountsInner client = this.inner();
return client.getFirewallRuleAsync(resourceGroupName, accountName, firewallRuleName)
.map(new Func1<FirewallRuleInner, FirewallRule>() {
.flatMap(new Func1<FirewallRuleInner, Observable<FirewallRule>>() {
@Override
public FirewallRule call(FirewallRuleInner inner) {
return wrapFirewallRuleModel(inner);
public Observable<FirewallRule> call(FirewallRuleInner inner) {
if (inner == null) {
return Observable.empty();
} else {
return Observable.just((FirewallRule)wrapFirewallRuleModel(inner));
}
}
});
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1346,7 +1346,7 @@ public Observable<ServiceResponse<Page<DataLakeStoreAccountInner>>> call(Respons
* @param orderby OrderBy clause. One or more comma-separated expressions with an optional "asc" (the default) or "desc" depending on the order you'd like the values sorted, e.g. Categories?$orderby=CategoryName desc. Optional.
* @param count A Boolean value of true or false to request a count of the matching resources included with the resources in the response, e.g. Categories?$count=true. Optional.
* @param search A free form search. A free-text search expression to match for whether a particular entry should be included in the feed, e.g. Categories?$search=blue OR green. Optional.
* @param format The desired return format. Return the response in particular formatxii without access to request headers for standard content-type negotiation (e.g Orders?$format=json). Optional.
* @param format The desired return format. Return the response in particular format without access to request headers for standard content-type negotiation (e.g Orders?$format=json). Optional.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @throws CloudException thrown if the request is rejected by server
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
Expand Down Expand Up @@ -1374,7 +1374,7 @@ public Page<DataLakeStoreAccountInner> nextPage(String nextPageLink) {
* @param orderby OrderBy clause. One or more comma-separated expressions with an optional "asc" (the default) or "desc" depending on the order you'd like the values sorted, e.g. Categories?$orderby=CategoryName desc. Optional.
* @param count A Boolean value of true or false to request a count of the matching resources included with the resources in the response, e.g. Categories?$count=true. Optional.
* @param search A free form search. A free-text search expression to match for whether a particular entry should be included in the feed, e.g. Categories?$search=blue OR green. Optional.
* @param format The desired return format. Return the response in particular formatxii without access to request headers for standard content-type negotiation (e.g Orders?$format=json). Optional.
* @param format The desired return format. Return the response in particular format without access to request headers for standard content-type negotiation (e.g Orders?$format=json). Optional.
* @param serviceCallback the async ServiceCallback to handle successful and failed responses.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the {@link ServiceFuture} object
Expand Down Expand Up @@ -1403,7 +1403,7 @@ public Observable<ServiceResponse<Page<DataLakeStoreAccountInner>>> call(String
* @param orderby OrderBy clause. One or more comma-separated expressions with an optional "asc" (the default) or "desc" depending on the order you'd like the values sorted, e.g. Categories?$orderby=CategoryName desc. Optional.
* @param count A Boolean value of true or false to request a count of the matching resources included with the resources in the response, e.g. Categories?$count=true. Optional.
* @param search A free form search. A free-text search expression to match for whether a particular entry should be included in the feed, e.g. Categories?$search=blue OR green. Optional.
* @param format The desired return format. Return the response in particular formatxii without access to request headers for standard content-type negotiation (e.g Orders?$format=json). Optional.
* @param format The desired return format. Return the response in particular format without access to request headers for standard content-type negotiation (e.g Orders?$format=json). Optional.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the PagedList&lt;DataLakeStoreAccountInner&gt; object
*/
Expand All @@ -1429,7 +1429,7 @@ public Page<DataLakeStoreAccountInner> call(ServiceResponse<Page<DataLakeStoreAc
* @param orderby OrderBy clause. One or more comma-separated expressions with an optional "asc" (the default) or "desc" depending on the order you'd like the values sorted, e.g. Categories?$orderby=CategoryName desc. Optional.
* @param count A Boolean value of true or false to request a count of the matching resources included with the resources in the response, e.g. Categories?$count=true. Optional.
* @param search A free form search. A free-text search expression to match for whether a particular entry should be included in the feed, e.g. Categories?$search=blue OR green. Optional.
* @param format The desired return format. Return the response in particular formatxii without access to request headers for standard content-type negotiation (e.g Orders?$format=json). Optional.
* @param format The desired return format. Return the response in particular format without access to request headers for standard content-type negotiation (e.g Orders?$format=json). Optional.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the PagedList&lt;DataLakeStoreAccountInner&gt; object
*/
Expand Down Expand Up @@ -1459,7 +1459,7 @@ public Observable<ServiceResponse<Page<DataLakeStoreAccountInner>>> call(Service
ServiceResponse<PageImpl<DataLakeStoreAccountInner>> * @param orderby OrderBy clause. One or more comma-separated expressions with an optional "asc" (the default) or "desc" depending on the order you'd like the values sorted, e.g. Categories?$orderby=CategoryName desc. Optional.
ServiceResponse<PageImpl<DataLakeStoreAccountInner>> * @param count A Boolean value of true or false to request a count of the matching resources included with the resources in the response, e.g. Categories?$count=true. Optional.
ServiceResponse<PageImpl<DataLakeStoreAccountInner>> * @param search A free form search. A free-text search expression to match for whether a particular entry should be included in the feed, e.g. Categories?$search=blue OR green. Optional.
ServiceResponse<PageImpl<DataLakeStoreAccountInner>> * @param format The desired return format. Return the response in particular formatxii without access to request headers for standard content-type negotiation (e.g Orders?$format=json). Optional.
ServiceResponse<PageImpl<DataLakeStoreAccountInner>> * @param format The desired return format. Return the response in particular format without access to request headers for standard content-type negotiation (e.g Orders?$format=json). Optional.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the PagedList&lt;DataLakeStoreAccountInner&gt; object wrapped in {@link ServiceResponse} if successful.
*/
Expand Down Expand Up @@ -1614,7 +1614,7 @@ public Observable<ServiceResponse<Page<DataLakeStoreAccountInner>>> call(Respons
* @param orderby OrderBy clause. One or more comma-separated expressions with an optional "asc" (the default) or "desc" depending on the order you'd like the values sorted, e.g. Categories?$orderby=CategoryName desc. Optional.
* @param count The Boolean value of true or false to request a count of the matching resources included with the resources in the response, e.g. Categories?$count=true. Optional.
* @param search A free form search. A free-text search expression to match for whether a particular entry should be included in the feed, e.g. Categories?$search=blue OR green. Optional.
* @param format The desired return format. Return the response in particular formatxii without access to request headers for standard content-type negotiation (e.g Orders?$format=json). Optional.
* @param format The desired return format. Return the response in particular format without access to request headers for standard content-type negotiation (e.g Orders?$format=json). Optional.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @throws CloudException thrown if the request is rejected by server
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
Expand All @@ -1641,7 +1641,7 @@ public Page<DataLakeStoreAccountInner> nextPage(String nextPageLink) {
* @param orderby OrderBy clause. One or more comma-separated expressions with an optional "asc" (the default) or "desc" depending on the order you'd like the values sorted, e.g. Categories?$orderby=CategoryName desc. Optional.
* @param count The Boolean value of true or false to request a count of the matching resources included with the resources in the response, e.g. Categories?$count=true. Optional.
* @param search A free form search. A free-text search expression to match for whether a particular entry should be included in the feed, e.g. Categories?$search=blue OR green. Optional.
* @param format The desired return format. Return the response in particular formatxii without access to request headers for standard content-type negotiation (e.g Orders?$format=json). Optional.
* @param format The desired return format. Return the response in particular format without access to request headers for standard content-type negotiation (e.g Orders?$format=json). Optional.
* @param serviceCallback the async ServiceCallback to handle successful and failed responses.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the {@link ServiceFuture} object
Expand Down Expand Up @@ -1669,7 +1669,7 @@ public Observable<ServiceResponse<Page<DataLakeStoreAccountInner>>> call(String
* @param orderby OrderBy clause. One or more comma-separated expressions with an optional "asc" (the default) or "desc" depending on the order you'd like the values sorted, e.g. Categories?$orderby=CategoryName desc. Optional.
* @param count The Boolean value of true or false to request a count of the matching resources included with the resources in the response, e.g. Categories?$count=true. Optional.
* @param search A free form search. A free-text search expression to match for whether a particular entry should be included in the feed, e.g. Categories?$search=blue OR green. Optional.
* @param format The desired return format. Return the response in particular formatxii without access to request headers for standard content-type negotiation (e.g Orders?$format=json). Optional.
* @param format The desired return format. Return the response in particular format without access to request headers for standard content-type negotiation (e.g Orders?$format=json). Optional.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the PagedList&lt;DataLakeStoreAccountInner&gt; object
*/
Expand All @@ -1694,7 +1694,7 @@ public Page<DataLakeStoreAccountInner> call(ServiceResponse<Page<DataLakeStoreAc
* @param orderby OrderBy clause. One or more comma-separated expressions with an optional "asc" (the default) or "desc" depending on the order you'd like the values sorted, e.g. Categories?$orderby=CategoryName desc. Optional.
* @param count The Boolean value of true or false to request a count of the matching resources included with the resources in the response, e.g. Categories?$count=true. Optional.
* @param search A free form search. A free-text search expression to match for whether a particular entry should be included in the feed, e.g. Categories?$search=blue OR green. Optional.
* @param format The desired return format. Return the response in particular formatxii without access to request headers for standard content-type negotiation (e.g Orders?$format=json). Optional.
* @param format The desired return format. Return the response in particular format without access to request headers for standard content-type negotiation (e.g Orders?$format=json). Optional.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the PagedList&lt;DataLakeStoreAccountInner&gt; object
*/
Expand Down Expand Up @@ -1723,7 +1723,7 @@ public Observable<ServiceResponse<Page<DataLakeStoreAccountInner>>> call(Service
ServiceResponse<PageImpl<DataLakeStoreAccountInner>> * @param orderby OrderBy clause. One or more comma-separated expressions with an optional "asc" (the default) or "desc" depending on the order you'd like the values sorted, e.g. Categories?$orderby=CategoryName desc. Optional.
ServiceResponse<PageImpl<DataLakeStoreAccountInner>> * @param count The Boolean value of true or false to request a count of the matching resources included with the resources in the response, e.g. Categories?$count=true. Optional.
ServiceResponse<PageImpl<DataLakeStoreAccountInner>> * @param search A free form search. A free-text search expression to match for whether a particular entry should be included in the feed, e.g. Categories?$search=blue OR green. Optional.
ServiceResponse<PageImpl<DataLakeStoreAccountInner>> * @param format The desired return format. Return the response in particular formatxii without access to request headers for standard content-type negotiation (e.g Orders?$format=json). Optional.
ServiceResponse<PageImpl<DataLakeStoreAccountInner>> * @param format The desired return format. Return the response in particular format without access to request headers for standard content-type negotiation (e.g Orders?$format=json). Optional.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the PagedList&lt;DataLakeStoreAccountInner&gt; object wrapped in {@link ServiceResponse} if successful.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

package com.microsoft.azure.management.datalakestore.v2015_10_01_preview.implementation;

import com.microsoft.azure.Resource;
import com.microsoft.azure.management.datalakestore.v2015_10_01_preview.EncryptionIdentity;
import java.util.Map;
import com.microsoft.azure.management.datalakestore.v2015_10_01_preview.DataLakeStoreAccountProperties;
Expand All @@ -17,19 +16,107 @@
/**
* Data Lake Store account information.
*/
public class DataLakeStoreAccountInner extends Resource {
public class DataLakeStoreAccountInner {
/**
* the account regional location.
*/
@JsonProperty(value = "location")
private String location;

/**
* the account name.
*/
@JsonProperty(value = "name")
private String name;

/**
* the namespace and type of the account.
*/
@JsonProperty(value = "type", access = JsonProperty.Access.WRITE_ONLY)
private String type;

/**
* the account subscription ID.
*/
@JsonProperty(value = "id", access = JsonProperty.Access.WRITE_ONLY)
private String id;

/**
* The Key vault encryption identity, if any.
*/
@JsonProperty(value = "identity")
private EncryptionIdentity identity;

/**
* the value of custom properties.
*/
@JsonProperty(value = "tags")
private Map<String, String> tags;

/**
* the Data Lake Store account properties.
*/
@JsonProperty(value = "properties")
private DataLakeStoreAccountProperties properties;

/**
* Get the account regional location.
*
* @return the location value
*/
public String location() {
return this.location;
}

/**
* Set the account regional location.
*
* @param location the location value to set
* @return the DataLakeStoreAccountInner object itself.
*/
public DataLakeStoreAccountInner withLocation(String location) {
this.location = location;
return this;
}

/**
* Get the account name.
*
* @return the name value
*/
public String name() {
return this.name;
}

/**
* Set the account name.
*
* @param name the name value to set
* @return the DataLakeStoreAccountInner object itself.
*/
public DataLakeStoreAccountInner withName(String name) {
this.name = name;
return this;
}

/**
* Get the namespace and type of the account.
*
* @return the type value
*/
public String type() {
return this.type;
}

/**
* Get the account subscription ID.
*
* @return the id value
*/
public String id() {
return this.id;
}

/**
* Get the Key vault encryption identity, if any.
*
Expand All @@ -50,6 +137,26 @@ public DataLakeStoreAccountInner withIdentity(EncryptionIdentity identity) {
return this;
}

/**
* Get the value of custom properties.
*
* @return the tags value
*/
public Map<String, String> tags() {
return this.tags;
}

/**
* Set the value of custom properties.
*
* @param tags the tags value to set
* @return the DataLakeStoreAccountInner object itself.
*/
public DataLakeStoreAccountInner withTags(Map<String, String> tags) {
this.tags = tags;
return this;
}

/**
* Get the Data Lake Store account properties.
*
Expand Down
Loading