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
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
/**
* 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.datafactory;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
* Grant or revoke access to integration runtime request.
*/
public class IntegrationRuntimePermissionRequest {
/**
* The data factory identity.
*/
@JsonProperty(value = "factoryIdentity", required = true)
private String factoryIdentity;

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

/**
* Set the factoryIdentity value.
*
* @param factoryIdentity the factoryIdentity value to set
* @return the IntegrationRuntimePermissionRequest object itself.
*/
public IntegrationRuntimePermissionRequest withFactoryIdentity(String factoryIdentity) {
this.factoryIdentity = factoryIdentity;
return this;
}

}
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
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@
import com.fasterxml.jackson.annotation.JsonTypeName;

/**
* The base definition of a secret type.
* The key authorization type.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "authorizationType")
@JsonTypeName("Key")
public class LinkedIntegrationRuntimeKey extends LinkedIntegrationRuntimeProperties {
/**
* Type of the secret.
* The key used for authorization.
*/
@JsonProperty(value = "key", required = true)
private SecureString key;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import com.fasterxml.jackson.annotation.JsonSubTypes;

/**
* The base definition of a secret type.
* The base definition of a linked integration runtime properties.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "authorizationType")
@JsonTypeName("LinkedIntegrationRuntimeProperties")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@
import com.fasterxml.jackson.annotation.JsonTypeName;

/**
* The base definition of a secret type.
* 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 ID of the integration runtime to be shared.
* The resource identifier of the integration runtime to be shared.
*/
@JsonProperty(value = "resourceId", required = true)
private String resourceId;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public class ManagedIntegrationRuntime extends IntegrationRuntimeInner {
* Integration runtime state, only valid for managed dedicated integration
* runtime. Possible values include: 'Initial', 'Stopped', 'Started',
* 'Starting', 'Stopping', 'NeedRegistration', 'Online', 'Limited',
* 'Offline'.
* 'Offline', 'AccessDenied'.
*/
@JsonProperty(value = "state", access = JsonProperty.Access.WRITE_ONLY)
private IntegrationRuntimeState state;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,28 @@ public class QuickBooksLinkedService extends LinkedServiceInner {
@JsonProperty(value = "typeProperties.companyId", required = true)
private Object companyId;

/**
* The consumer key for OAuth 1.0 authentication.
*/
@JsonProperty(value = "typeProperties.consumerKey", required = true)
private Object consumerKey;

/**
* The consumer secret for OAuth 1.0 authentication.
*/
@JsonProperty(value = "typeProperties.consumerSecret", required = true)
private SecretBase consumerSecret;

/**
* The access token for OAuth 1.0 authentication.
*/
@JsonProperty(value = "typeProperties.accessToken")
@JsonProperty(value = "typeProperties.accessToken", required = true)
private SecretBase accessToken;

/**
* The access token secret for OAuth 1.0 authentication.
*/
@JsonProperty(value = "typeProperties.accessTokenSecret")
@JsonProperty(value = "typeProperties.accessTokenSecret", required = true)
private SecretBase accessTokenSecret;

/**
Expand Down Expand Up @@ -100,6 +112,46 @@ public QuickBooksLinkedService withCompanyId(Object companyId) {
return this;
}

/**
* Get the consumerKey value.
*
* @return the consumerKey value
*/
public Object consumerKey() {
return this.consumerKey;
}

/**
* Set the consumerKey value.
*
* @param consumerKey the consumerKey value to set
* @return the QuickBooksLinkedService object itself.
*/
public QuickBooksLinkedService withConsumerKey(Object consumerKey) {
this.consumerKey = consumerKey;
return this;
}

/**
* Get the consumerSecret value.
*
* @return the consumerSecret value
*/
public SecretBase consumerSecret() {
return this.consumerSecret;
}

/**
* Set the consumerSecret value.
*
* @param consumerSecret the consumerSecret value to set
* @return the QuickBooksLinkedService object itself.
*/
public QuickBooksLinkedService withConsumerSecret(SecretBase consumerSecret) {
this.consumerSecret = consumerSecret;
return this;
}

/**
* Get the accessToken value.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,18 @@ public class SelfHostedIntegrationRuntimeStatus extends IntegrationRuntimeStatus
@JsonProperty(value = "typeProperties.links")
private List<LinkedIntegrationRuntime> links;

/**
* The version that the integration runtime is going to update to.
*/
@JsonProperty(value = "typeProperties.pushedVersion", access = JsonProperty.Access.WRITE_ONLY)
private String pushedVersion;

/**
* The latest version on download center.
*/
@JsonProperty(value = "typeProperties.latestVersion", access = JsonProperty.Access.WRITE_ONLY)
private String latestVersion;

/**
* Get the createTime value.
*
Expand Down Expand Up @@ -249,4 +261,22 @@ public SelfHostedIntegrationRuntimeStatus withLinks(List<LinkedIntegrationRuntim
return this;
}

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

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

}
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
@JsonFlatten
public class ServiceNowLinkedService extends LinkedServiceInner {
/**
* The endpoint of the ServiceNow server. (i.e. ServiceNowData.com).
* The endpoint of the ServiceNow server. (i.e.
* &lt;instance&gt;.service-now.com).
*/
@JsonProperty(value = "typeProperties.endpoint", required = true)
private Object endpoint;
Expand Down
Loading