Skip to content

Commit d57c9b3

Browse files
authored
Synapse: regenerate package-2019-06-01-preview (Azure#17713)
* regenerate synapse package-2019-06-01-preview * update version * fix compile errors
1 parent 23f614c commit d57c9b3

File tree

234 files changed

+24225
-998
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

234 files changed

+24225
-998
lines changed

sdk/synapse/mgmt-v2019_06_01_preview/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<relativePath>../../parents/azure-arm-parent/pom.xml</relativePath>
1616
</parent>
1717
<artifactId>azure-mgmt-synapse</artifactId>
18-
<version>1.0.0-beta-3</version>
18+
<version>1.0.0-beta-4</version>
1919
<packaging>jar</packaging>
2020
<name>Microsoft Azure SDK for Synapse Management</name>
2121
<description>This package contains Microsoft Synapse Management SDK.</description>

sdk/synapse/mgmt-v2019_06_01_preview/src/main/java/com/microsoft/azure/management/synapse/v2019_06_01_preview/AzureEntityResource.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
import com.microsoft.azure.ProxyResource;
1313

1414
/**
15-
* The resource model definition for a Azure Resource Manager resource with an
15+
* Entity Resource.
16+
* The resource model definition for an Azure Resource Manager resource with an
1617
* etag.
1718
*/
1819
public class AzureEntityResource extends ProxyResource {

sdk/synapse/mgmt-v2019_06_01_preview/src/main/java/com/microsoft/azure/management/synapse/v2019_06_01_preview/BigDataPoolResourceInfo.java

Lines changed: 91 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,11 @@ public interface BigDataPoolResourceInfo extends HasInner<BigDataPoolResourceInf
4444
*/
4545
String defaultSparkLogFolder();
4646

47+
/**
48+
* @return the haveLibraryRequirementsChanged value.
49+
*/
50+
Boolean haveLibraryRequirementsChanged();
51+
4752
/**
4853
* @return the id value.
4954
*/
@@ -89,6 +94,16 @@ public interface BigDataPoolResourceInfo extends HasInner<BigDataPoolResourceInf
8994
*/
9095
String provisioningState();
9196

97+
/**
98+
* @return the sessionLevelPackagesEnabled value.
99+
*/
100+
Boolean sessionLevelPackagesEnabled();
101+
102+
/**
103+
* @return the sparkConfigProperties value.
104+
*/
105+
LibraryRequirements sparkConfigProperties();
106+
92107
/**
93108
* @return the sparkEventsFolder value.
94109
*/
@@ -210,6 +225,18 @@ interface WithDefaultSparkLogFolder {
210225
WithCreate withDefaultSparkLogFolder(String defaultSparkLogFolder);
211226
}
212227

228+
/**
229+
* The stage of the bigdatapoolresourceinfo definition allowing to specify HaveLibraryRequirementsChanged.
230+
*/
231+
interface WithHaveLibraryRequirementsChanged {
232+
/**
233+
* Specifies haveLibraryRequirementsChanged.
234+
* @param haveLibraryRequirementsChanged Whether library requirements changed
235+
* @return the next definition stage
236+
*/
237+
WithCreate withHaveLibraryRequirementsChanged(Boolean haveLibraryRequirementsChanged);
238+
}
239+
213240
/**
214241
* The stage of the bigdatapoolresourceinfo definition allowing to specify IsComputeIsolationEnabled.
215242
*/
@@ -252,7 +279,7 @@ interface WithNodeCount {
252279
interface WithNodeSize {
253280
/**
254281
* Specifies nodeSize.
255-
* @param nodeSize The level of compute power that each node in the Big Data pool has. Possible values include: 'None', 'Small', 'Medium', 'Large', 'XLarge', 'XXLarge'
282+
* @param nodeSize The level of compute power that each node in the Big Data pool has. Possible values include: 'None', 'Small', 'Medium', 'Large', 'XLarge', 'XXLarge', 'XXXLarge'
256283
* @return the next definition stage
257284
*/
258285
WithCreate withNodeSize(NodeSize nodeSize);
@@ -282,6 +309,30 @@ interface WithProvisioningState {
282309
WithCreate withProvisioningState(String provisioningState);
283310
}
284311

312+
/**
313+
* The stage of the bigdatapoolresourceinfo definition allowing to specify SessionLevelPackagesEnabled.
314+
*/
315+
interface WithSessionLevelPackagesEnabled {
316+
/**
317+
* Specifies sessionLevelPackagesEnabled.
318+
* @param sessionLevelPackagesEnabled Whether session level packages enabled
319+
* @return the next definition stage
320+
*/
321+
WithCreate withSessionLevelPackagesEnabled(Boolean sessionLevelPackagesEnabled);
322+
}
323+
324+
/**
325+
* The stage of the bigdatapoolresourceinfo definition allowing to specify SparkConfigProperties.
326+
*/
327+
interface WithSparkConfigProperties {
328+
/**
329+
* Specifies sparkConfigProperties.
330+
* @param sparkConfigProperties Spark configuration file to specify additional properties
331+
* @return the next definition stage
332+
*/
333+
WithCreate withSparkConfigProperties(LibraryRequirements sparkConfigProperties);
334+
}
335+
285336
/**
286337
* The stage of the bigdatapoolresourceinfo definition allowing to specify SparkEventsFolder.
287338
*/
@@ -323,13 +374,13 @@ interface WithTags {
323374
* the resource to be created (via {@link WithCreate#create()}), but also allows
324375
* for any other optional settings to be specified.
325376
*/
326-
interface WithCreate extends Creatable<BigDataPoolResourceInfo>, DefinitionStages.WithAutoPause, DefinitionStages.WithAutoScale, DefinitionStages.WithCreationDate, DefinitionStages.WithDefaultSparkLogFolder, DefinitionStages.WithIsComputeIsolationEnabled, DefinitionStages.WithLibraryRequirements, DefinitionStages.WithNodeCount, DefinitionStages.WithNodeSize, DefinitionStages.WithNodeSizeFamily, DefinitionStages.WithProvisioningState, DefinitionStages.WithSparkEventsFolder, DefinitionStages.WithSparkVersion, DefinitionStages.WithTags {
377+
interface WithCreate extends Creatable<BigDataPoolResourceInfo>, DefinitionStages.WithAutoPause, DefinitionStages.WithAutoScale, DefinitionStages.WithCreationDate, DefinitionStages.WithDefaultSparkLogFolder, DefinitionStages.WithHaveLibraryRequirementsChanged, DefinitionStages.WithIsComputeIsolationEnabled, DefinitionStages.WithLibraryRequirements, DefinitionStages.WithNodeCount, DefinitionStages.WithNodeSize, DefinitionStages.WithNodeSizeFamily, DefinitionStages.WithProvisioningState, DefinitionStages.WithSessionLevelPackagesEnabled, DefinitionStages.WithSparkConfigProperties, DefinitionStages.WithSparkEventsFolder, DefinitionStages.WithSparkVersion, DefinitionStages.WithTags {
327378
}
328379
}
329380
/**
330381
* The template for a BigDataPoolResourceInfo update operation, containing all the settings that can be modified.
331382
*/
332-
interface Update extends Appliable<BigDataPoolResourceInfo>, UpdateStages.WithForce, UpdateStages.WithAutoPause, UpdateStages.WithAutoScale, UpdateStages.WithCreationDate, UpdateStages.WithDefaultSparkLogFolder, UpdateStages.WithIsComputeIsolationEnabled, UpdateStages.WithLibraryRequirements, UpdateStages.WithNodeCount, UpdateStages.WithNodeSize, UpdateStages.WithNodeSizeFamily, UpdateStages.WithProvisioningState, UpdateStages.WithSparkEventsFolder, UpdateStages.WithSparkVersion, UpdateStages.WithTags {
383+
interface Update extends Appliable<BigDataPoolResourceInfo>, UpdateStages.WithForce, UpdateStages.WithAutoPause, UpdateStages.WithAutoScale, UpdateStages.WithCreationDate, UpdateStages.WithDefaultSparkLogFolder, UpdateStages.WithHaveLibraryRequirementsChanged, UpdateStages.WithIsComputeIsolationEnabled, UpdateStages.WithLibraryRequirements, UpdateStages.WithNodeCount, UpdateStages.WithNodeSize, UpdateStages.WithNodeSizeFamily, UpdateStages.WithProvisioningState, UpdateStages.WithSessionLevelPackagesEnabled, UpdateStages.WithSparkConfigProperties, UpdateStages.WithSparkEventsFolder, UpdateStages.WithSparkVersion, UpdateStages.WithTags {
333384
}
334385

335386
/**
@@ -396,6 +447,18 @@ interface WithDefaultSparkLogFolder {
396447
Update withDefaultSparkLogFolder(String defaultSparkLogFolder);
397448
}
398449

450+
/**
451+
* The stage of the bigdatapoolresourceinfo update allowing to specify HaveLibraryRequirementsChanged.
452+
*/
453+
interface WithHaveLibraryRequirementsChanged {
454+
/**
455+
* Specifies haveLibraryRequirementsChanged.
456+
* @param haveLibraryRequirementsChanged Whether library requirements changed
457+
* @return the next update stage
458+
*/
459+
Update withHaveLibraryRequirementsChanged(Boolean haveLibraryRequirementsChanged);
460+
}
461+
399462
/**
400463
* The stage of the bigdatapoolresourceinfo update allowing to specify IsComputeIsolationEnabled.
401464
*/
@@ -438,7 +501,7 @@ interface WithNodeCount {
438501
interface WithNodeSize {
439502
/**
440503
* Specifies nodeSize.
441-
* @param nodeSize The level of compute power that each node in the Big Data pool has. Possible values include: 'None', 'Small', 'Medium', 'Large', 'XLarge', 'XXLarge'
504+
* @param nodeSize The level of compute power that each node in the Big Data pool has. Possible values include: 'None', 'Small', 'Medium', 'Large', 'XLarge', 'XXLarge', 'XXXLarge'
442505
* @return the next update stage
443506
*/
444507
Update withNodeSize(NodeSize nodeSize);
@@ -468,6 +531,30 @@ interface WithProvisioningState {
468531
Update withProvisioningState(String provisioningState);
469532
}
470533

534+
/**
535+
* The stage of the bigdatapoolresourceinfo update allowing to specify SessionLevelPackagesEnabled.
536+
*/
537+
interface WithSessionLevelPackagesEnabled {
538+
/**
539+
* Specifies sessionLevelPackagesEnabled.
540+
* @param sessionLevelPackagesEnabled Whether session level packages enabled
541+
* @return the next update stage
542+
*/
543+
Update withSessionLevelPackagesEnabled(Boolean sessionLevelPackagesEnabled);
544+
}
545+
546+
/**
547+
* The stage of the bigdatapoolresourceinfo update allowing to specify SparkConfigProperties.
548+
*/
549+
interface WithSparkConfigProperties {
550+
/**
551+
* Specifies sparkConfigProperties.
552+
* @param sparkConfigProperties Spark configuration file to specify additional properties
553+
* @return the next update stage
554+
*/
555+
Update withSparkConfigProperties(LibraryRequirements sparkConfigProperties);
556+
}
557+
471558
/**
472559
* The stage of the bigdatapoolresourceinfo update allowing to specify SparkEventsFolder.
473560
*/
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
/**
2+
* Copyright (c) Microsoft Corporation. All rights reserved.
3+
* Licensed under the MIT License. See License.txt in the project root for
4+
* license information.
5+
*
6+
* Code generated by Microsoft (R) AutoRest Code Generator.
7+
*/
8+
9+
package com.microsoft.azure.management.synapse.v2019_06_01_preview;
10+
11+
import com.fasterxml.jackson.annotation.JsonProperty;
12+
13+
/**
14+
* Details of the customer managed key associated with the workspace.
15+
*/
16+
public class CustomerManagedKeyDetails {
17+
/**
18+
* The customer managed key status on the workspace.
19+
*/
20+
@JsonProperty(value = "status", access = JsonProperty.Access.WRITE_ONLY)
21+
private String status;
22+
23+
/**
24+
* The key object of the workspace.
25+
*/
26+
@JsonProperty(value = "key")
27+
private WorkspaceKeyDetails key;
28+
29+
/**
30+
* Get the customer managed key status on the workspace.
31+
*
32+
* @return the status value
33+
*/
34+
public String status() {
35+
return this.status;
36+
}
37+
38+
/**
39+
* Get the key object of the workspace.
40+
*
41+
* @return the key value
42+
*/
43+
public WorkspaceKeyDetails key() {
44+
return this.key;
45+
}
46+
47+
/**
48+
* Set the key object of the workspace.
49+
*
50+
* @param key the key value to set
51+
* @return the CustomerManagedKeyDetails object itself.
52+
*/
53+
public CustomerManagedKeyDetails withKey(WorkspaceKeyDetails key) {
54+
this.key = key;
55+
return this;
56+
}
57+
58+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
/**
2+
* Copyright (c) Microsoft Corporation. All rights reserved.
3+
* Licensed under the MIT License. See License.txt in the project root for
4+
* license information.
5+
*
6+
* Code generated by Microsoft (R) AutoRest Code Generator.
7+
*/
8+
9+
package com.microsoft.azure.management.synapse.v2019_06_01_preview;
10+
11+
import com.fasterxml.jackson.annotation.JsonCreator;
12+
import com.fasterxml.jackson.annotation.JsonValue;
13+
14+
/**
15+
* Defines values for DataMaskingFunction.
16+
*/
17+
public enum DataMaskingFunction {
18+
/** Enum value Default. */
19+
DEFAULT("Default"),
20+
21+
/** Enum value CCN. */
22+
CCN("CCN"),
23+
24+
/** Enum value Email. */
25+
EMAIL("Email"),
26+
27+
/** Enum value Number. */
28+
NUMBER("Number"),
29+
30+
/** Enum value SSN. */
31+
SSN("SSN"),
32+
33+
/** Enum value Text. */
34+
TEXT("Text");
35+
36+
/** The actual serialized value for a DataMaskingFunction instance. */
37+
private String value;
38+
39+
DataMaskingFunction(String value) {
40+
this.value = value;
41+
}
42+
43+
/**
44+
* Parses a serialized value to a DataMaskingFunction instance.
45+
*
46+
* @param value the serialized value to parse.
47+
* @return the parsed DataMaskingFunction object, or null if unable to parse.
48+
*/
49+
@JsonCreator
50+
public static DataMaskingFunction fromString(String value) {
51+
DataMaskingFunction[] items = DataMaskingFunction.values();
52+
for (DataMaskingFunction item : items) {
53+
if (item.toString().equalsIgnoreCase(value)) {
54+
return item;
55+
}
56+
}
57+
return null;
58+
}
59+
60+
@JsonValue
61+
@Override
62+
public String toString() {
63+
return this.value;
64+
}
65+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
/**
2+
* Copyright (c) Microsoft Corporation. All rights reserved.
3+
* Licensed under the MIT License. See License.txt in the project root for
4+
* license information.
5+
*
6+
* Code generated by Microsoft (R) AutoRest Code Generator.
7+
*/
8+
9+
package com.microsoft.azure.management.synapse.v2019_06_01_preview;
10+
11+
import com.microsoft.azure.arm.collection.SupportsCreating;
12+
import rx.Observable;
13+
import com.microsoft.azure.management.synapse.v2019_06_01_preview.implementation.DataMaskingPoliciesInner;
14+
import com.microsoft.azure.arm.model.HasInner;
15+
16+
/**
17+
* Type representing DataMaskingPolicies.
18+
*/
19+
public interface DataMaskingPolicies extends SupportsCreating<DataMaskingPolicy.DefinitionStages.Blank>, HasInner<DataMaskingPoliciesInner> {
20+
/**
21+
* Gets a Sql pool data masking policy.
22+
*
23+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
24+
* @param workspaceName The name of the workspace
25+
* @param sqlPoolName SQL pool name
26+
* @throws IllegalArgumentException thrown if parameters fail the validation
27+
* @return the observable for the request
28+
*/
29+
Observable<DataMaskingPolicy> getAsync(String resourceGroupName, String workspaceName, String sqlPoolName);
30+
31+
}

0 commit comments

Comments
 (0)