Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
2bbe2c4
[AutoPR datafactory/resource-manager] Creating new API version for AD…
AutorestCI Jun 22, 2018
2aba1fb
[AutoPR datafactory/resource-manager] [ADF v2]Add integration runtime…
AutorestCI Jul 10, 2018
9345ebd
Generated from 150ad35384422f89c66b0814294f439b35e2d2ed (#2212)
AutorestCI Jul 11, 2018
f8515fa
[AutoPR datafactory/resource-manager] [Datafactory] DatabricksSparkJa…
AutorestCI Jul 11, 2018
326d3d9
Generated from 3bcb5068dd38686779fe7f7aee5b11b6da83f680 (#2257)
AutorestCI Jul 24, 2018
b936080
Generated from 04d330debfe9f9f86aece8489cb5758f4025c53a (#2262)
AutorestCI Jul 24, 2018
0a73004
Generated from ac50a2da1ec162e8eb9e8f01f1bd1e9b110d24c0 (#2294)
AutorestCI Aug 1, 2018
9c6f664
[AutoPR datafactory/resource-manager] add 2 storage linked service ty…
AutorestCI Aug 1, 2018
a904668
[AutoPR datafactory/resource-manager] Add two API-s to integration ru…
AutorestCI Aug 22, 2018
741bd1b
[AutoPR datafactory/resource-manager] [Datafactory] Add folders to Pi…
AutorestCI Aug 29, 2018
6d457ed
[AutoPR datafactory/resource-manager] revert tumbling window dependsO…
AutorestCI Aug 29, 2018
2fe472b
Generated from 8b87f503ecc9be21483bf4836e503a4a39655629 (#2365)
AutorestCI Sep 6, 2018
b656cff
Generated from e2194ea26e21490f9c88bf4c63868716b5b772d7 (#2372)
AutorestCI Sep 7, 2018
f4593f5
[AutoPR datafactory/resource-manager] Azure Data Factory: Add swagger…
AutorestCI Sep 8, 2018
52c80dc
Generated from bfcac8c748456051e8aecca89cd0bad13704eb99 (#2396)
AutorestCI Sep 19, 2018
ba32de3
Generated from 9dec6b08742c433d0429a8737a65fdc690863d6b (#2435)
AutorestCI Sep 28, 2018
a04d48e
Generated from 68c58c2d8602adda9e80068e105f3d449474aa51 (#2443)
AutorestCI Oct 1, 2018
7c9baf0
[AutoPR datafactory/resource-manager] Add APIs for tumbling window re…
AutorestCI Oct 5, 2018
f42e83d
[AutoPR datafactory/resource-manager] Enable delete activity (#2557)
AutorestCI Nov 6, 2018
8d797e0
[AutoPR datafactory/resource-manager] [DataFactory]Add sensitive fiel…
AutorestCI Nov 6, 2018
0102fbd
Generated from 136aff8dae7f767f7391d0b20a2c071aef29f77f (#2577)
AutorestCI Nov 14, 2018
72ea7a2
[AutoPR datafactory/resource-manager] Adding get Dataplane readonly t…
AutorestCI Nov 20, 2018
ab820a9
Generated from 247c6a22105cd7c58a189359cf973edcb0ff05bd (#2640)
AutorestCI Nov 26, 2018
799018a
Generated from daf7fe30a7e5857636a834d880f9b6345b41bfac (#2656)
AutorestCI Nov 27, 2018
2fdbb0b
[AutoPR datafactory/resource-manager] Refactor delete activity payloa…
AutorestCI Dec 6, 2018
c19a541
[AutoPR datafactory/resource-manager] Add support for HDIinsight clus…
AutorestCI Dec 6, 2018
5ed2558
[AutoPR datafactory/resource-manager] Adding refresh and get Integrat…
AutorestCI Dec 11, 2018
ea32e5e
Generated from 948350f5d28ef4686eaa2a4ffead98655f0262cb (#2798)
AutorestCI Dec 17, 2018
c19044a
Generated from f9be2a6b0020602b14ff1e64cfb47c38f096fffa (#2813)
AutorestCI Jan 4, 2019
7061fab
[AutoPR datafactory/resource-manager] [Datafactory] Add Webhook Activ…
AutorestCI Jan 10, 2019
a78afda
Generated from af8bffa10fefa97dffc4d50f127481f09e74174e (#2839)
AutorestCI Jan 14, 2019
4922deb
[AutoPR datafactory/resource-manager] [DataFactory]Support schema pro…
AutorestCI Jan 15, 2019
eb6f712
[AutoPR datafactory/resource-manager] data factory validation activit…
AutorestCI Jan 15, 2019
7504321
[AutoPR datafactory/resource-manager] For preview api: Change type of…
AutorestCI Jan 15, 2019
6608364
Generated from f33ee24e7884fc7cdd79dfa4276779dfffcb660e (#2855)
AutorestCI Jan 18, 2019
bba26c2
[AutoPR datafactory/resource-manager] Revert DataFactory Validation A…
AutorestCI Jan 18, 2019
dbd3dd7
[AutoPR datafactory/resource-manager] [Datafactory] Add Azure Functio…
AutorestCI Jan 18, 2019
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
Prev Previous commit
Next Next commit
[AutoPR datafactory/resource-manager] [ADF v2]Add integration runtime…
… sharing feature. (#2173)

* Generated from 8252d05908b4f2a6dc1dff659c6eb61d6d0220eb

Add integration runtime sharing feature.

* Generated from 10967f6b83c1ff5532b2383c8fbac24f59c9e502

Add x-ms-client-name to LinkedIntegrationRuntimeRequest.factoryName

* Generated from fce7b6fcf59f03d2866abfd45b122a02bcd12afd

Change class name according review comments
  • Loading branch information
AutorestCI authored Jul 10, 2018
commit 2aba1fb70617f2c4385a80b9f78004b3a92c973a
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ public final class IntegrationRuntimeState extends ExpandableStringEnum<Integrat
/** Static value Offline for IntegrationRuntimeState. */
public static final IntegrationRuntimeState OFFLINE = fromString("Offline");

/** Static value AccessDenied for IntegrationRuntimeState. */
public static final IntegrationRuntimeState ACCESS_DENIED = fromString("AccessDenied");

/**
* Creates or finds a IntegrationRuntimeState from its string representation.
* @param name a name to look for
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public class IntegrationRuntimeStatus {
/**
* The state of integration runtime. Possible values include: 'Initial',
* 'Stopped', 'Started', 'Starting', 'Stopping', 'NeedRegistration',
* 'Online', 'Limited', 'Offline'.
* 'Online', 'Limited', 'Offline', 'AccessDenied'.
*/
@JsonProperty(value = "state", access = JsonProperty.Access.WRITE_ONLY)
private IntegrationRuntimeState state;
Expand Down Expand Up @@ -74,7 +74,7 @@ public String dataFactoryName() {
}

/**
* Get the state of integration runtime. Possible values include: 'Initial', 'Stopped', 'Started', 'Starting', 'Stopping', 'NeedRegistration', 'Online', 'Limited', 'Offline'.
* Get the state of integration runtime. Possible values include: 'Initial', 'Stopped', 'Started', 'Starting', 'Stopping', 'NeedRegistration', 'Online', 'Limited', 'Offline', 'AccessDenied'.
*
* @return the state value
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,18 @@ public interface IntegrationRuntimes extends SupportsCreating<IntegrationRuntime
*/
Completable upgradeAsync(String resourceGroupName, String factoryName, String integrationRuntimeName);

/**
* Remove all linked integration runtimes under specific data factory in a self-hosted integration runtime.
*
* @param resourceGroupName The resource group name.
* @param factoryName The factory name.
* @param integrationRuntimeName The integration runtime name.
* @param linkedFactoryName The data factory name for linked integration runtime.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
*/
Completable removeLinksAsync(String resourceGroupName, String factoryName, String integrationRuntimeName, String linkedFactoryName);

/**
* Gets an integration runtime.
*
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
/**
* 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 org.joda.time.DateTime;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
* The linked integration runtime information.
*/
public class LinkedIntegrationRuntime {
/**
* The name of the linked integration runtime.
*/
@JsonProperty(value = "name", access = JsonProperty.Access.WRITE_ONLY)
private String name;

/**
* The subscription ID for which the linked integration runtime belong to.
*/
@JsonProperty(value = "subscriptionId", access = JsonProperty.Access.WRITE_ONLY)
private String subscriptionId;

/**
* The name of the data factory for which the linked integration runtime
* belong to.
*/
@JsonProperty(value = "dataFactoryName", access = JsonProperty.Access.WRITE_ONLY)
private String dataFactoryName;

/**
* The location of the data factory for which the linked integration
* runtime belong to.
*/
@JsonProperty(value = "dataFactoryLocation", access = JsonProperty.Access.WRITE_ONLY)
private String dataFactoryLocation;

/**
* The creating time of the linked integration runtime.
*/
@JsonProperty(value = "createTime", access = JsonProperty.Access.WRITE_ONLY)
private DateTime createTime;

/**
* Get the name of the linked integration runtime.
*
* @return the name value
*/
public String name() {
return this.name;
}

/**
* Get the subscription ID for which the linked integration runtime belong to.
*
* @return the subscriptionId value
*/
public String subscriptionId() {
return this.subscriptionId;
}

/**
* Get the name of the data factory for which the linked integration runtime belong to.
*
* @return the dataFactoryName value
*/
public String dataFactoryName() {
return this.dataFactoryName;
}

/**
* Get the location of the data factory for which the linked integration runtime belong to.
*
* @return the dataFactoryLocation value
*/
public String dataFactoryLocation() {
return this.dataFactoryLocation;
}

/**
* Get the creating time of the linked integration runtime.
*
* @return the createTime value
*/
public DateTime createTime() {
return this.createTime;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
/**
* 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;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName;

/**
* The key authorization type.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "authorizationType")
@JsonTypeName("Key")
public class LinkedIntegrationRuntimeKey extends LinkedIntegrationRuntimeProperties {
/**
* The key used for authorization.
*/
@JsonProperty(value = "key", required = true)
private SecureString key;

/**
* Get the key used for authorization.
*
* @return the key value
*/
public SecureString key() {
return this.key;
}

/**
* Set the key used for authorization.
*
* @param key the key value to set
* @return the LinkedIntegrationRuntimeKey object itself.
*/
public LinkedIntegrationRuntimeKey withKey(SecureString key) {
this.key = key;
return this;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
/**
* 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;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName;

/**
* The key authorization type integration runtime.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "authorizationType")
@JsonTypeName("Key")
public class LinkedIntegrationRuntimeKeyAuthorization extends LinkedIntegrationRuntimeType {
/**
* The key used for authorization.
*/
@JsonProperty(value = "key", required = true)
private SecureString key;

/**
* Get the key used for authorization.
*
* @return the key value
*/
public SecureString key() {
return this.key;
}

/**
* Set the key used for authorization.
*
* @param key the key value to set
* @return the LinkedIntegrationRuntimeKeyAuthorization object itself.
*/
public LinkedIntegrationRuntimeKeyAuthorization withKey(SecureString key) {
this.key = key;
return this;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
/**
* 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;
import com.fasterxml.jackson.annotation.JsonSubTypes;

/**
* The base definition of a linked integration runtime properties.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "authorizationType")
@JsonTypeName("LinkedIntegrationRuntimeProperties")
@JsonSubTypes({
@JsonSubTypes.Type(name = "RBAC", value = LinkedIntegrationRuntimeRbac.class),
@JsonSubTypes.Type(name = "Key", value = LinkedIntegrationRuntimeKey.class)
})
public class LinkedIntegrationRuntimeProperties {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
/**
* 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;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName;

/**
* The role based access control (RBAC) authorization type.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "authorizationType")
@JsonTypeName("RBAC")
public class LinkedIntegrationRuntimeRbac extends LinkedIntegrationRuntimeProperties {
/**
* The resource identifier of the integration runtime to be shared.
*/
@JsonProperty(value = "resourceId", required = true)
private String resourceId;

/**
* Get the resource identifier of the integration runtime to be shared.
*
* @return the resourceId value
*/
public String resourceId() {
return this.resourceId;
}

/**
* Set the resource identifier of the integration runtime to be shared.
*
* @param resourceId the resourceId value to set
* @return the LinkedIntegrationRuntimeRbac object itself.
*/
public LinkedIntegrationRuntimeRbac withResourceId(String resourceId) {
this.resourceId = resourceId;
return this;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
/**
* 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;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName;

/**
* The role based access control (RBAC) authorization type integration runtime.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "authorizationType")
@JsonTypeName("RBAC")
public class LinkedIntegrationRuntimeRbacAuthorization extends LinkedIntegrationRuntimeType {
/**
* The resource identifier of the integration runtime to be shared.
*/
@JsonProperty(value = "resourceId", required = true)
private String resourceId;

/**
* Get the resource identifier of the integration runtime to be shared.
*
* @return the resourceId value
*/
public String resourceId() {
return this.resourceId;
}

/**
* Set the resource identifier of the integration runtime to be shared.
*
* @param resourceId the resourceId value to set
* @return the LinkedIntegrationRuntimeRbacAuthorization object itself.
*/
public LinkedIntegrationRuntimeRbacAuthorization withResourceId(String resourceId) {
this.resourceId = resourceId;
return this;
}

}
Loading