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

[AutoPR datafactory/resource-manager] add missing ssis entity types #3450

Merged
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,11 @@
package com.microsoft.azure.management.datafactoryv2.v2018_06_01;

import rx.Observable;
import com.microsoft.azure.management.datafactoryv2.v2018_06_01.implementation.ExposureControlsInner;
import com.microsoft.azure.arm.model.HasInner;

/**
* Type representing ExposureControls.
*/
public interface ExposureControls extends HasInner<ExposureControlsInner> {
public interface ExposureControls {
/**
* Get exposure control feature for specific location.
*
Expand All @@ -26,4 +24,15 @@ public interface ExposureControls extends HasInner<ExposureControlsInner> {
*/
Observable<ExposureControlResponse> getFeatureValueAsync(String locationId, ExposureControlRequest exposureControlRequest);

/**
* Get exposure control feature for specific factory.
*
* @param resourceGroupName The resource group name.
* @param factoryName The factory name.
* @param exposureControlRequest The exposure control request.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
*/
Observable<ExposureControlResponse> getFeatureValueByFactoryAsync(String resourceGroupName, String factoryName, ExposureControlRequest exposureControlRequest);

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
/**
* 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.datafactoryv2.v2018_06_01;

import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName;

/**
* Ssis environment.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type")
@JsonTypeName("Environment")
public class SsisEnvironment extends SsisObjectMetadata {
/**
* Folder id which contains environment.
*/
@JsonProperty(value = "folderId")
private Long folderId;

/**
* Variable in environment.
*/
@JsonProperty(value = "variables")
private List<SsisVariable> variables;

/**
* Get folder id which contains environment.
*
* @return the folderId value
*/
public Long folderId() {
return this.folderId;
}

/**
* Set folder id which contains environment.
*
* @param folderId the folderId value to set
* @return the SsisEnvironment object itself.
*/
public SsisEnvironment withFolderId(Long folderId) {
this.folderId = folderId;
return this;
}

/**
* Get variable in environment.
*
* @return the variables value
*/
public List<SsisVariable> variables() {
return this.variables;
}

/**
* Set variable in environment.
*
* @param variables the variables value to set
* @return the SsisEnvironment object itself.
*/
public SsisEnvironment withVariables(List<SsisVariable> variables) {
this.variables = variables;
return this;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,121 @@
/**
* 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.datafactoryv2.v2018_06_01;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
* Ssis environment reference.
*/
public class SsisEnvironmentReference {
/**
* Environment reference id.
*/
@JsonProperty(value = "id")
private Long id;

/**
* Environment folder name.
*/
@JsonProperty(value = "environmentFolderName")
private String environmentFolderName;

/**
* Environment name.
*/
@JsonProperty(value = "environmentName")
private String environmentName;

/**
* Reference type.
*/
@JsonProperty(value = "referenceType")
private String referenceType;

/**
* Get environment reference id.
*
* @return the id value
*/
public Long id() {
return this.id;
}

/**
* Set environment reference id.
*
* @param id the id value to set
* @return the SsisEnvironmentReference object itself.
*/
public SsisEnvironmentReference withId(Long id) {
this.id = id;
return this;
}

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

/**
* Set environment folder name.
*
* @param environmentFolderName the environmentFolderName value to set
* @return the SsisEnvironmentReference object itself.
*/
public SsisEnvironmentReference withEnvironmentFolderName(String environmentFolderName) {
this.environmentFolderName = environmentFolderName;
return this;
}

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

/**
* Set environment name.
*
* @param environmentName the environmentName value to set
* @return the SsisEnvironmentReference object itself.
*/
public SsisEnvironmentReference withEnvironmentName(String environmentName) {
this.environmentName = environmentName;
return this;
}

/**
* Get reference type.
*
* @return the referenceType value
*/
public String referenceType() {
return this.referenceType;
}

/**
* Set reference type.
*
* @param referenceType the referenceType value to set
* @return the SsisEnvironmentReference object itself.
*/
public SsisEnvironmentReference withReferenceType(String referenceType) {
this.referenceType = referenceType;
return this;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
/**
* 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.datafactoryv2.v2018_06_01;

import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName;

/**
* Ssis folder.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type")
@JsonTypeName("Folder")
public class SsisFolder extends SsisObjectMetadata {
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,19 @@
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonSubTypes;

/**
* SSIS object metadata.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type")
@JsonTypeName("SsisObjectMetadata")
@JsonSubTypes({
@JsonSubTypes.Type(name = "Environment", value = SsisEnvironment.class),
@JsonSubTypes.Type(name = "Package", value = SsisPackage.class),
@JsonSubTypes.Type(name = "Project", value = SsisProject.class),
@JsonSubTypes.Type(name = "Folder", value = SsisFolder.class)
})
public class SsisObjectMetadata {
/**
* Metadata id.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,126 @@
/**
* 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.datafactoryv2.v2018_06_01;

import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName;

/**
* Ssis Package.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type")
@JsonTypeName("Package")
public class SsisPackage extends SsisObjectMetadata {
/**
* Folder id which contains package.
*/
@JsonProperty(value = "folderId")
private Long folderId;

/**
* Project version which contains package.
*/
@JsonProperty(value = "projectVersion")
private Long projectVersion;

/**
* Project id which contains package.
*/
@JsonProperty(value = "projectId")
private Long projectId;

/**
* Parameters in package.
*/
@JsonProperty(value = "parameters")
private List<SsisParameter> parameters;

/**
* Get folder id which contains package.
*
* @return the folderId value
*/
public Long folderId() {
return this.folderId;
}

/**
* Set folder id which contains package.
*
* @param folderId the folderId value to set
* @return the SsisPackage object itself.
*/
public SsisPackage withFolderId(Long folderId) {
this.folderId = folderId;
return this;
}

/**
* Get project version which contains package.
*
* @return the projectVersion value
*/
public Long projectVersion() {
return this.projectVersion;
}

/**
* Set project version which contains package.
*
* @param projectVersion the projectVersion value to set
* @return the SsisPackage object itself.
*/
public SsisPackage withProjectVersion(Long projectVersion) {
this.projectVersion = projectVersion;
return this;
}

/**
* Get project id which contains package.
*
* @return the projectId value
*/
public Long projectId() {
return this.projectId;
}

/**
* Set project id which contains package.
*
* @param projectId the projectId value to set
* @return the SsisPackage object itself.
*/
public SsisPackage withProjectId(Long projectId) {
this.projectId = projectId;
return this;
}

/**
* Get parameters in package.
*
* @return the parameters value
*/
public List<SsisParameter> parameters() {
return this.parameters;
}

/**
* Set parameters in package.
*
* @param parameters the parameters value to set
* @return the SsisPackage object itself.
*/
public SsisPackage withParameters(List<SsisParameter> parameters) {
this.parameters = parameters;
return this;
}

}
Loading