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/synapse/mgmt-v2019_06_01_preview] Data Exfilteration related changes #16215

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
6 changes: 3 additions & 3 deletions sdk/synapse/mgmt-v2019_06_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.3.2</version>
<relativePath>../../parents/azure-arm-parent/pom.xml</relativePath>
<version>1.1.0</version>
<relativePath>../../../pom.management.xml</relativePath>
</parent>
<artifactId>azure-mgmt-synapse</artifactId>
<version>1.0.0-beta-3</version>
<version>1.0.0-beta</version>
<packaging>jar</packaging>
<name>Microsoft Azure SDK for Synapse Management</name>
<description>This package contains Microsoft Synapse Management SDK.</description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,11 @@ public interface BigDataPoolResourceInfo extends HasInner<BigDataPoolResourceInf
*/
String provisioningState();

/**
* @return the sparkConfigProperties value.
*/
LibraryRequirements sparkConfigProperties();

/**
* @return the sparkEventsFolder value.
*/
Expand Down Expand Up @@ -282,6 +287,18 @@ interface WithProvisioningState {
WithCreate withProvisioningState(String provisioningState);
}

/**
* The stage of the bigdatapoolresourceinfo definition allowing to specify SparkConfigProperties.
*/
interface WithSparkConfigProperties {
/**
* Specifies sparkConfigProperties.
* @param sparkConfigProperties Spark configuration file to specify additional properties
* @return the next definition stage
*/
WithCreate withSparkConfigProperties(LibraryRequirements sparkConfigProperties);
}

/**
* The stage of the bigdatapoolresourceinfo definition allowing to specify SparkEventsFolder.
*/
Expand Down Expand Up @@ -323,13 +340,13 @@ interface WithTags {
* the resource to be created (via {@link WithCreate#create()}), but also allows
* for any other optional settings to be specified.
*/
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 {
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.WithSparkConfigProperties, DefinitionStages.WithSparkEventsFolder, DefinitionStages.WithSparkVersion, DefinitionStages.WithTags {
}
}
/**
* The template for a BigDataPoolResourceInfo update operation, containing all the settings that can be modified.
*/
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 {
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.WithSparkConfigProperties, UpdateStages.WithSparkEventsFolder, UpdateStages.WithSparkVersion, UpdateStages.WithTags {
}

/**
Expand Down Expand Up @@ -468,6 +485,18 @@ interface WithProvisioningState {
Update withProvisioningState(String provisioningState);
}

/**
* The stage of the bigdatapoolresourceinfo update allowing to specify SparkConfigProperties.
*/
interface WithSparkConfigProperties {
/**
* Specifies sparkConfigProperties.
* @param sparkConfigProperties Spark configuration file to specify additional properties
* @return the next update stage
*/
Update withSparkConfigProperties(LibraryRequirements sparkConfigProperties);
}

/**
* The stage of the bigdatapoolresourceinfo update allowing to specify SparkEventsFolder.
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
/**
* 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 java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
* Managed Virtual Network Settings.
*/
public class ManagedVirtualNetworkSettings {
/**
* Prevent Data Exfiltration.
*/
@JsonProperty(value = "preventDataExfiltration")
private Boolean preventDataExfiltration;

/**
* Linked Access Check On Target Resource.
*/
@JsonProperty(value = "linkedAccessCheckOnTargetResource")
private Boolean linkedAccessCheckOnTargetResource;

/**
* Allowed Aad Tenant Ids For Linking.
*/
@JsonProperty(value = "allowedAadTenantIdsForLinking")
private List<String> allowedAadTenantIdsForLinking;

/**
* Get prevent Data Exfiltration.
*
* @return the preventDataExfiltration value
*/
public Boolean preventDataExfiltration() {
return this.preventDataExfiltration;
}

/**
* Set prevent Data Exfiltration.
*
* @param preventDataExfiltration the preventDataExfiltration value to set
* @return the ManagedVirtualNetworkSettings object itself.
*/
public ManagedVirtualNetworkSettings withPreventDataExfiltration(Boolean preventDataExfiltration) {
this.preventDataExfiltration = preventDataExfiltration;
return this;
}

/**
* Get linked Access Check On Target Resource.
*
* @return the linkedAccessCheckOnTargetResource value
*/
public Boolean linkedAccessCheckOnTargetResource() {
return this.linkedAccessCheckOnTargetResource;
}

/**
* Set linked Access Check On Target Resource.
*
* @param linkedAccessCheckOnTargetResource the linkedAccessCheckOnTargetResource value to set
* @return the ManagedVirtualNetworkSettings object itself.
*/
public ManagedVirtualNetworkSettings withLinkedAccessCheckOnTargetResource(Boolean linkedAccessCheckOnTargetResource) {
this.linkedAccessCheckOnTargetResource = linkedAccessCheckOnTargetResource;
return this;
}

/**
* Get allowed Aad Tenant Ids For Linking.
*
* @return the allowedAadTenantIdsForLinking value
*/
public List<String> allowedAadTenantIdsForLinking() {
return this.allowedAadTenantIdsForLinking;
}

/**
* Set allowed Aad Tenant Ids For Linking.
*
* @param allowedAadTenantIdsForLinking the allowedAadTenantIdsForLinking value to set
* @return the ManagedVirtualNetworkSettings object itself.
*/
public ManagedVirtualNetworkSettings withAllowedAadTenantIdsForLinking(List<String> allowedAadTenantIdsForLinking) {
this.allowedAadTenantIdsForLinking = allowedAadTenantIdsForLinking;
return this;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,11 @@ public interface Workspace extends HasInner<WorkspaceInner>, Resource, Groupable
*/
String managedVirtualNetwork();

/**
* @return the managedVirtualNetworkSettings value.
*/
ManagedVirtualNetworkSettings managedVirtualNetworkSettings();

/**
* @return the privateEndpointConnections value.
*/
Expand Down Expand Up @@ -164,6 +169,18 @@ interface WithManagedVirtualNetwork {
WithCreate withManagedVirtualNetwork(String managedVirtualNetwork);
}

/**
* The stage of the workspace definition allowing to specify ManagedVirtualNetworkSettings.
*/
interface WithManagedVirtualNetworkSettings {
/**
* Specifies managedVirtualNetworkSettings.
* @param managedVirtualNetworkSettings Managed Virtual Network Settings
* @return the next definition stage
*/
WithCreate withManagedVirtualNetworkSettings(ManagedVirtualNetworkSettings managedVirtualNetworkSettings);
}

/**
* The stage of the workspace definition allowing to specify PrivateEndpointConnections.
*/
Expand Down Expand Up @@ -217,13 +234,13 @@ interface WithVirtualNetworkProfile {
* the resource to be created (via {@link WithCreate#create()}), but also allows
* for any other optional settings to be specified.
*/
interface WithCreate extends Creatable<Workspace>, Resource.DefinitionWithTags<WithCreate>, DefinitionStages.WithConnectivityEndpoints, DefinitionStages.WithDefaultDataLakeStorage, DefinitionStages.WithIdentity, DefinitionStages.WithManagedResourceGroupName, DefinitionStages.WithManagedVirtualNetwork, DefinitionStages.WithPrivateEndpointConnections, DefinitionStages.WithSqlAdministratorLogin, DefinitionStages.WithSqlAdministratorLoginPassword, DefinitionStages.WithVirtualNetworkProfile {
interface WithCreate extends Creatable<Workspace>, Resource.DefinitionWithTags<WithCreate>, DefinitionStages.WithConnectivityEndpoints, DefinitionStages.WithDefaultDataLakeStorage, DefinitionStages.WithIdentity, DefinitionStages.WithManagedResourceGroupName, DefinitionStages.WithManagedVirtualNetwork, DefinitionStages.WithManagedVirtualNetworkSettings, DefinitionStages.WithPrivateEndpointConnections, DefinitionStages.WithSqlAdministratorLogin, DefinitionStages.WithSqlAdministratorLoginPassword, DefinitionStages.WithVirtualNetworkProfile {
}
}
/**
* The template for a Workspace update operation, containing all the settings that can be modified.
*/
interface Update extends Appliable<Workspace>, Resource.UpdateWithTags<Update>, UpdateStages.WithIdentity, UpdateStages.WithSqlAdministratorLoginPassword {
interface Update extends Appliable<Workspace>, Resource.UpdateWithTags<Update>, UpdateStages.WithIdentity, UpdateStages.WithManagedVirtualNetworkSettings, UpdateStages.WithSqlAdministratorLoginPassword {
}

/**
Expand All @@ -242,6 +259,18 @@ interface WithIdentity {
Update withIdentity(ManagedIdentity identity);
}

/**
* The stage of the workspace update allowing to specify ManagedVirtualNetworkSettings.
*/
interface WithManagedVirtualNetworkSettings {
/**
* Specifies managedVirtualNetworkSettings.
* @param managedVirtualNetworkSettings Managed Virtual Network Settings
* @return the next update stage
*/
Update withManagedVirtualNetworkSettings(WorkspacePatchInfoManagedVirtualNetworkSettings managedVirtualNetworkSettings);
}

/**
* The stage of the workspace update allowing to specify SqlAdministratorLoginPassword.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@ public class WorkspacePatchInfo {
@JsonProperty(value = "identity")
private ManagedIdentity identity;

/**
* Managed Virtual Network Settings.
*/
@JsonProperty(value = "managedVirtualNetworkSettings")
private WorkspacePatchInfoManagedVirtualNetworkSettings managedVirtualNetworkSettings;

/**
* SQL administrator login password.
*/
Expand Down Expand Up @@ -81,6 +87,26 @@ public WorkspacePatchInfo withIdentity(ManagedIdentity identity) {
return this;
}

/**
* Get managed Virtual Network Settings.
*
* @return the managedVirtualNetworkSettings value
*/
public WorkspacePatchInfoManagedVirtualNetworkSettings managedVirtualNetworkSettings() {
return this.managedVirtualNetworkSettings;
}

/**
* Set managed Virtual Network Settings.
*
* @param managedVirtualNetworkSettings the managedVirtualNetworkSettings value to set
* @return the WorkspacePatchInfo object itself.
*/
public WorkspacePatchInfo withManagedVirtualNetworkSettings(WorkspacePatchInfoManagedVirtualNetworkSettings managedVirtualNetworkSettings) {
this.managedVirtualNetworkSettings = managedVirtualNetworkSettings;
return this;
}

/**
* Get sQL administrator login password.
*
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
/**
* 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 java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
* Managed Virtual Network Settings.
*/
public class WorkspacePatchInfoManagedVirtualNetworkSettings {
/**
* Prevent Data Exfiltration.
*/
@JsonProperty(value = "preventDataExfiltration")
private Boolean preventDataExfiltration;

/**
* Linked Access Check On Target Resource.
*/
@JsonProperty(value = "linkedAccessCheckOnTargetResource")
private Boolean linkedAccessCheckOnTargetResource;

/**
* Allowed Aad Tenant Ids For Linking.
*/
@JsonProperty(value = "allowedAadTenantIdsForLinking")
private List<String> allowedAadTenantIdsForLinking;

/**
* Get prevent Data Exfiltration.
*
* @return the preventDataExfiltration value
*/
public Boolean preventDataExfiltration() {
return this.preventDataExfiltration;
}

/**
* Set prevent Data Exfiltration.
*
* @param preventDataExfiltration the preventDataExfiltration value to set
* @return the WorkspacePatchInfoManagedVirtualNetworkSettings object itself.
*/
public WorkspacePatchInfoManagedVirtualNetworkSettings withPreventDataExfiltration(Boolean preventDataExfiltration) {
this.preventDataExfiltration = preventDataExfiltration;
return this;
}

/**
* Get linked Access Check On Target Resource.
*
* @return the linkedAccessCheckOnTargetResource value
*/
public Boolean linkedAccessCheckOnTargetResource() {
return this.linkedAccessCheckOnTargetResource;
}

/**
* Set linked Access Check On Target Resource.
*
* @param linkedAccessCheckOnTargetResource the linkedAccessCheckOnTargetResource value to set
* @return the WorkspacePatchInfoManagedVirtualNetworkSettings object itself.
*/
public WorkspacePatchInfoManagedVirtualNetworkSettings withLinkedAccessCheckOnTargetResource(Boolean linkedAccessCheckOnTargetResource) {
this.linkedAccessCheckOnTargetResource = linkedAccessCheckOnTargetResource;
return this;
}

/**
* Get allowed Aad Tenant Ids For Linking.
*
* @return the allowedAadTenantIdsForLinking value
*/
public List<String> allowedAadTenantIdsForLinking() {
return this.allowedAadTenantIdsForLinking;
}

/**
* Set allowed Aad Tenant Ids For Linking.
*
* @param allowedAadTenantIdsForLinking the allowedAadTenantIdsForLinking value to set
* @return the WorkspacePatchInfoManagedVirtualNetworkSettings object itself.
*/
public WorkspacePatchInfoManagedVirtualNetworkSettings withAllowedAadTenantIdsForLinking(List<String> allowedAadTenantIdsForLinking) {
this.allowedAadTenantIdsForLinking = allowedAadTenantIdsForLinking;
return this;
}

}
Loading