Skip to content
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
Expand Up @@ -143,6 +143,11 @@ public String provisioningState() {
return this.inner().provisioningState();
}

@Override
public LibraryRequirements sparkConfigProperties() {
return this.inner().sparkConfigProperties();
}

@Override
public String sparkEventsFolder() {
return this.inner().sparkEventsFolder();
Expand Down Expand Up @@ -246,6 +251,12 @@ public BigDataPoolResourceInfoImpl withProvisioningState(String provisioningStat
return this;
}

@Override
public BigDataPoolResourceInfoImpl withSparkConfigProperties(LibraryRequirements sparkConfigProperties) {
this.inner().withSparkConfigProperties(sparkConfigProperties);
return this;
}

@Override
public BigDataPoolResourceInfoImpl withSparkEventsFolder(String sparkEventsFolder) {
this.inner().withSparkEventsFolder(sparkEventsFolder);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,12 @@ public class BigDataPoolResourceInfoInner extends Resource {
@JsonProperty(value = "properties.libraryRequirements")
private LibraryRequirements libraryRequirements;

/**
* Spark configuration file to specify additional properties.
*/
@JsonProperty(value = "properties.sparkConfigProperties")
private LibraryRequirements sparkConfigProperties;

/**
* The Apache Spark version.
*/
Expand Down Expand Up @@ -259,6 +265,26 @@ public BigDataPoolResourceInfoInner withLibraryRequirements(LibraryRequirements
return this;
}

/**
* Get spark configuration file to specify additional properties.
*
* @return the sparkConfigProperties value
*/
public LibraryRequirements sparkConfigProperties() {
return this.sparkConfigProperties;
}

/**
* Set spark configuration file to specify additional properties.
*
* @param sparkConfigProperties the sparkConfigProperties value to set
* @return the BigDataPoolResourceInfoInner object itself.
*/
public BigDataPoolResourceInfoInner withSparkConfigProperties(LibraryRequirements sparkConfigProperties) {
this.sparkConfigProperties = sparkConfigProperties;
return this;
}

/**
* Get the Apache Spark version.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
import com.microsoft.azure.CloudException;
import com.microsoft.azure.ListOperationCallback;
import com.microsoft.azure.management.synapse.v2019_06_01_preview.BigDataPoolPatchInfo;
import com.microsoft.azure.management.synapse.v2019_06_01_preview.ErrorContractInnerException;
import com.microsoft.azure.Page;
import com.microsoft.azure.PagedList;
import com.microsoft.rest.ServiceCallback;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonSubTypes;
import com.microsoft.azure.management.synapse.v2019_06_01_preview.ManagedIntegrationRuntime;
import com.microsoft.azure.management.synapse.v2019_06_01_preview.SelfHostedIntegrationRuntime;

/**
* Azure Synapse nested object which serves as a compute resource for
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
import com.microsoft.azure.AzureServiceFuture;
import com.microsoft.azure.CloudException;
import com.microsoft.azure.ListOperationCallback;
import com.microsoft.azure.management.synapse.v2019_06_01_preview.ErrorContractInnerException;
import com.microsoft.azure.management.synapse.v2019_06_01_preview.IpFirewallRuleProperties;
import com.microsoft.azure.management.synapse.v2019_06_01_preview.ReplaceAllIpFirewallRulesRequest;
import com.microsoft.azure.Page;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import com.google.common.reflect.TypeToken;
import com.microsoft.azure.CloudException;
import com.microsoft.azure.management.synapse.v2019_06_01_preview.CheckNameAvailabilityRequest;
import com.microsoft.azure.management.synapse.v2019_06_01_preview.ErrorContractInnerException;
import com.microsoft.rest.ServiceCallback;
import com.microsoft.rest.ServiceFuture;
import com.microsoft.rest.ServiceResponse;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import com.google.common.reflect.TypeToken;
import com.microsoft.azure.AzureServiceFuture;
import com.microsoft.azure.ListOperationCallback;
import com.microsoft.azure.management.synapse.v2019_06_01_preview.ErrorContractInnerException;
import com.microsoft.azure.Page;
import com.microsoft.azure.PagedList;
import com.microsoft.rest.ServiceCallback;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
import com.microsoft.azure.AzureServiceFuture;
import com.microsoft.azure.CloudException;
import com.microsoft.azure.ListOperationCallback;
import com.microsoft.azure.management.synapse.v2019_06_01_preview.ErrorContractInnerException;
import com.microsoft.azure.management.synapse.v2019_06_01_preview.PrivateLinkHubPatchInfo;
import com.microsoft.azure.Page;
import com.microsoft.azure.PagedList;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

import retrofit2.Retrofit;
import com.google.common.reflect.TypeToken;
import com.microsoft.azure.management.synapse.v2019_06_01_preview.ErrorContractInnerException;
import com.microsoft.rest.ServiceCallback;
import com.microsoft.rest.ServiceFuture;
import com.microsoft.rest.ServiceResponse;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@ class SqlPoolVulnerabilityAssessmentRuleBaselineImpl extends CreatableUpdatableI
super(name, new SqlPoolVulnerabilityAssessmentRuleBaselineInner());
this.manager = manager;
// Set resource name
this.baselineName = VulnerabilityAssessmentPolicyBaselineName.fromString(name);
this.baselineName = name;
//
}

SqlPoolVulnerabilityAssessmentRuleBaselineImpl(SqlPoolVulnerabilityAssessmentRuleBaselineInner inner, SynapseManager manager) {
super(inner.name(), inner);
this.manager = manager;
// Set resource name
this.baselineName = VulnerabilityAssessmentPolicyBaselineName.fromString(inner.name());
this.baselineName = inner.name();
// set resource ancestor and positional variables
this.resourceGroupName = IdParsingUtils.getValueFromIdByName(inner.id(), "resourceGroups");
this.workspaceName = IdParsingUtils.getValueFromIdByName(inner.id(), "workspaces");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

import com.microsoft.azure.arm.model.implementation.WrapperImpl;
import com.microsoft.azure.management.synapse.v2019_06_01_preview.SqlPoolVulnerabilityAssessmentRuleBaselines;
import com.microsoft.azure.management.synapse.v2019_06_01_preview.VulnerabilityAssessmentPolicyBaselineName;
import rx.Completable;

class SqlPoolVulnerabilityAssessmentRuleBaselinesImpl extends WrapperImpl<SqlPoolVulnerabilityAssessmentRuleBaselinesInner> implements SqlPoolVulnerabilityAssessmentRuleBaselines {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
import com.microsoft.azure.AzureServiceFuture;
import com.microsoft.azure.CloudException;
import com.microsoft.azure.ListOperationCallback;
import com.microsoft.azure.management.synapse.v2019_06_01_preview.ErrorContractInnerException;
import com.microsoft.azure.management.synapse.v2019_06_01_preview.ResourceMoveDefinition;
import com.microsoft.azure.management.synapse.v2019_06_01_preview.SqlPoolPatchInfo;
import com.microsoft.azure.Page;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import retrofit2.Retrofit;
import com.google.common.reflect.TypeToken;
import com.microsoft.azure.CloudException;
import com.microsoft.azure.management.synapse.v2019_06_01_preview.ErrorContractInnerException;
import com.microsoft.rest.ServiceCallback;
import com.microsoft.rest.ServiceFuture;
import com.microsoft.rest.ServiceResponse;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

import retrofit2.Retrofit;
import com.google.common.reflect.TypeToken;
import com.microsoft.azure.management.synapse.v2019_06_01_preview.ErrorContractInnerException;
import com.microsoft.azure.management.synapse.v2019_06_01_preview.ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity;
import com.microsoft.rest.ServiceCallback;
import com.microsoft.rest.ServiceFuture;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
import com.microsoft.azure.AzureServiceFuture;
import com.microsoft.azure.CloudException;
import com.microsoft.azure.ListOperationCallback;
import com.microsoft.azure.management.synapse.v2019_06_01_preview.ErrorContractInnerException;
import com.microsoft.azure.management.synapse.v2019_06_01_preview.WorkspacePatchInfo;
import com.microsoft.azure.Page;
import com.microsoft.azure.PagedList;
Expand Down