-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Synapse: regenerate package-2019-06-01-preview (#17713)
* regenerate synapse package-2019-06-01-preview * update version * fix compile errors
- Loading branch information
1 parent
23f614c
commit d57c9b3
Showing
234 changed files
with
24,225 additions
and
998 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
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
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
58 changes: 58 additions & 0 deletions
58
...com/microsoft/azure/management/synapse/v2019_06_01_preview/CustomerManagedKeyDetails.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,58 @@ | ||
/** | ||
* 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.synapse.v2019_06_01_preview; | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
|
||
/** | ||
* Details of the customer managed key associated with the workspace. | ||
*/ | ||
public class CustomerManagedKeyDetails { | ||
/** | ||
* The customer managed key status on the workspace. | ||
*/ | ||
@JsonProperty(value = "status", access = JsonProperty.Access.WRITE_ONLY) | ||
private String status; | ||
|
||
/** | ||
* The key object of the workspace. | ||
*/ | ||
@JsonProperty(value = "key") | ||
private WorkspaceKeyDetails key; | ||
|
||
/** | ||
* Get the customer managed key status on the workspace. | ||
* | ||
* @return the status value | ||
*/ | ||
public String status() { | ||
return this.status; | ||
} | ||
|
||
/** | ||
* Get the key object of the workspace. | ||
* | ||
* @return the key value | ||
*/ | ||
public WorkspaceKeyDetails key() { | ||
return this.key; | ||
} | ||
|
||
/** | ||
* Set the key object of the workspace. | ||
* | ||
* @param key the key value to set | ||
* @return the CustomerManagedKeyDetails object itself. | ||
*/ | ||
public CustomerManagedKeyDetails withKey(WorkspaceKeyDetails key) { | ||
this.key = key; | ||
return this; | ||
} | ||
|
||
} |
65 changes: 65 additions & 0 deletions
65
.../java/com/microsoft/azure/management/synapse/v2019_06_01_preview/DataMaskingFunction.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,65 @@ | ||
/** | ||
* 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.synapse.v2019_06_01_preview; | ||
|
||
import com.fasterxml.jackson.annotation.JsonCreator; | ||
import com.fasterxml.jackson.annotation.JsonValue; | ||
|
||
/** | ||
* Defines values for DataMaskingFunction. | ||
*/ | ||
public enum DataMaskingFunction { | ||
/** Enum value Default. */ | ||
DEFAULT("Default"), | ||
|
||
/** Enum value CCN. */ | ||
CCN("CCN"), | ||
|
||
/** Enum value Email. */ | ||
EMAIL("Email"), | ||
|
||
/** Enum value Number. */ | ||
NUMBER("Number"), | ||
|
||
/** Enum value SSN. */ | ||
SSN("SSN"), | ||
|
||
/** Enum value Text. */ | ||
TEXT("Text"); | ||
|
||
/** The actual serialized value for a DataMaskingFunction instance. */ | ||
private String value; | ||
|
||
DataMaskingFunction(String value) { | ||
this.value = value; | ||
} | ||
|
||
/** | ||
* Parses a serialized value to a DataMaskingFunction instance. | ||
* | ||
* @param value the serialized value to parse. | ||
* @return the parsed DataMaskingFunction object, or null if unable to parse. | ||
*/ | ||
@JsonCreator | ||
public static DataMaskingFunction fromString(String value) { | ||
DataMaskingFunction[] items = DataMaskingFunction.values(); | ||
for (DataMaskingFunction item : items) { | ||
if (item.toString().equalsIgnoreCase(value)) { | ||
return item; | ||
} | ||
} | ||
return null; | ||
} | ||
|
||
@JsonValue | ||
@Override | ||
public String toString() { | ||
return this.value; | ||
} | ||
} |
31 changes: 31 additions & 0 deletions
31
.../java/com/microsoft/azure/management/synapse/v2019_06_01_preview/DataMaskingPolicies.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,31 @@ | ||
/** | ||
* 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.synapse.v2019_06_01_preview; | ||
|
||
import com.microsoft.azure.arm.collection.SupportsCreating; | ||
import rx.Observable; | ||
import com.microsoft.azure.management.synapse.v2019_06_01_preview.implementation.DataMaskingPoliciesInner; | ||
import com.microsoft.azure.arm.model.HasInner; | ||
|
||
/** | ||
* Type representing DataMaskingPolicies. | ||
*/ | ||
public interface DataMaskingPolicies extends SupportsCreating<DataMaskingPolicy.DefinitionStages.Blank>, HasInner<DataMaskingPoliciesInner> { | ||
/** | ||
* Gets a Sql pool data masking policy. | ||
* | ||
* @param resourceGroupName The name of the resource group. The name is case insensitive. | ||
* @param workspaceName The name of the workspace | ||
* @param sqlPoolName SQL pool name | ||
* @throws IllegalArgumentException thrown if parameters fail the validation | ||
* @return the observable for the request | ||
*/ | ||
Observable<DataMaskingPolicy> getAsync(String resourceGroupName, String workspaceName, String sqlPoolName); | ||
|
||
} |
Oops, something went wrong.