Skip to content

Commit

Permalink
Generated from f33ee24e7884fc7cdd79dfa4276779dfffcb660e (#946)
Browse files Browse the repository at this point in the history
removing webhook
  • Loading branch information
AutorestCI authored Jan 18, 2019
1 parent 9b0c10b commit 42381e8
Show file tree
Hide file tree
Showing 9 changed files with 1 addition and 132 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,6 @@ export {
WaitActivity,
ForEachActivity,
IfConditionActivity,
WebHookActivity,
ExecutePipelineActivity,
LinkedIntegrationRuntimeRbacAuthorization,
LinkedIntegrationRuntimeKeyAuthorization,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,6 @@ export {
WaitActivity,
ForEachActivity,
IfConditionActivity,
WebHookActivity,
ExecutePipelineActivity,
LinkedIntegrationRuntimeRbacAuthorization,
LinkedIntegrationRuntimeKeyAuthorization,
Expand Down
70 changes: 1 addition & 69 deletions packages/@azure/arm-datafactory/lib/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14771,7 +14771,7 @@ export interface CopyActivity {
/**
* Contains the possible cases for ControlActivity.
*/
export type ControlActivityUnion = ControlActivity | AppendVariableActivity | SetVariableActivity | FilterActivity | ValidationActivity | UntilActivity | WaitActivity | ForEachActivity | IfConditionActivity | WebHookActivity | ExecutePipelineActivity;
export type ControlActivityUnion = ControlActivity | AppendVariableActivity | SetVariableActivity | FilterActivity | ValidationActivity | UntilActivity | WaitActivity | ForEachActivity | IfConditionActivity | ExecutePipelineActivity;

/**
* @interface
Expand Down Expand Up @@ -15150,66 +15150,6 @@ export interface IfConditionActivity {
ifFalseActivities?: ActivityUnion[];
}

/**
* @interface
* An interface representing WebHookActivity.
* WebHook activity.
*
*/
export interface WebHookActivity {
/**
* @member {string} type Polymorphic Discriminator
*/
type: "WebHook";
/**
* @member {string} name Activity name.
*/
name: string;
/**
* @member {string} [description] Activity description.
*/
description?: string;
/**
* @member {ActivityDependency[]} [dependsOn] Activity depends on condition.
*/
dependsOn?: ActivityDependency[];
/**
* @member {UserProperty[]} [userProperties] Activity user properties.
*/
userProperties?: UserProperty[];
/**
* @member {any} url WebHook activity target endpoint and path. Type: string
* (or Expression with resultType string).
*/
url: any;
/**
* @member {any} [timeout] Specifies the timeout within which the webhook
* should be called back. If there is no value specified, it takes the value
* of TimeSpan.FromMinutes(10) which is 10 minutes as default. Type: string
* (or Expression with resultType string), pattern:
* ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
*/
timeout?: any;
/**
* @member {any} [headers] Represents the headers that will be sent to the
* request. For example, to set the language and type on a request: "headers"
* : { "Accept-Language": "en-us", "Content-Type": "application/json" }.
* Type: string (or Expression with resultType string).
*/
headers?: any;
/**
* @member {any} [body] Represents the payload that will be sent to the
* endpoint. Required for POST/PUT method, not allowed for GET method Type:
* string (or Expression with resultType string).
*/
body?: any;
/**
* @member {WebActivityAuthentication} [authentication] Authentication method
* used for calling the endpoint.
*/
authentication?: WebActivityAuthentication;
}

/**
* @interface
* An interface representing ExecutePipelineActivity.
Expand Down Expand Up @@ -17036,14 +16976,6 @@ export type PolybaseSettingsRejectType = 'value' | 'percentage';
*/
export type SapCloudForCustomerSinkWriteBehavior = 'Insert' | 'Update';

/**
* Defines values for WebHookActivityMethod.
* Possible values include: 'POST'
* @readonly
* @enum {string}
*/
export type WebHookActivityMethod = 'POST';

/**
* Defines values for IntegrationRuntimeType.
* Possible values include: 'Managed', 'SelfHosted'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,6 @@ export {
WaitActivity,
ForEachActivity,
IfConditionActivity,
WebHookActivity,
ExecutePipelineActivity,
LinkedIntegrationRuntimeRbacAuthorization,
LinkedIntegrationRuntimeKeyAuthorization,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,6 @@ export {
WaitActivity,
ForEachActivity,
IfConditionActivity,
WebHookActivity,
ExecutePipelineActivity,
LinkedIntegrationRuntimeRbacAuthorization,
LinkedIntegrationRuntimeKeyAuthorization,
Expand Down
56 changes: 0 additions & 56 deletions packages/@azure/arm-datafactory/lib/models/mappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13198,61 +13198,6 @@ export const IfConditionActivity: msRest.CompositeMapper = {
}
};

export const WebHookActivity: msRest.CompositeMapper = {
serializedName: "WebHook",
type: {
name: "Composite",
polymorphicDiscriminator: Activity.type.polymorphicDiscriminator,
uberParent: "Activity",
className: "WebHookActivity",
modelProperties: {
...ControlActivity.type.modelProperties,
method: {
required: true,
isConstant: true,
serializedName: "typeProperties.method",
defaultValue: 'POST',
type: {
name: "String"
}
},
url: {
required: true,
serializedName: "typeProperties.url",
type: {
name: "Object"
}
},
timeout: {
serializedName: "typeProperties.timeout",
type: {
name: "Object"
}
},
headers: {
serializedName: "typeProperties.headers",
type: {
name: "Object"
}
},
body: {
serializedName: "typeProperties.body",
type: {
name: "Object"
}
},
authentication: {
serializedName: "typeProperties.authentication",
type: {
name: "Composite",
className: "WebActivityAuthentication"
}
}
},
additionalProperties: Activity.type.additionalProperties
}
};

export const ExecutePipelineActivity: msRest.CompositeMapper = {
serializedName: "ExecutePipeline",
type: {
Expand Down Expand Up @@ -14988,7 +14933,6 @@ export const discriminators = {
'Activity.Wait' : WaitActivity,
'Activity.ForEach' : ForEachActivity,
'Activity.IfCondition' : IfConditionActivity,
'Activity.WebHook' : WebHookActivity,
'Activity.ExecutePipeline' : ExecutePipelineActivity,
'Activity.Container' : ControlActivity,
'IntegrationRuntimeStatus.SelfHosted' : SelfHostedIntegrationRuntimeStatus,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,6 @@ export {
WaitActivity,
ForEachActivity,
IfConditionActivity,
WebHookActivity,
ExecutePipelineActivity,
LinkedIntegrationRuntimeRbacAuthorization,
LinkedIntegrationRuntimeKeyAuthorization,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,6 @@ export {
WaitActivity,
ForEachActivity,
IfConditionActivity,
WebHookActivity,
ExecutePipelineActivity,
LinkedIntegrationRuntimeRbacAuthorization,
LinkedIntegrationRuntimeKeyAuthorization,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,6 @@ export {
WaitActivity,
ForEachActivity,
IfConditionActivity,
WebHookActivity,
ExecutePipelineActivity,
LinkedIntegrationRuntimeRbacAuthorization,
LinkedIntegrationRuntimeKeyAuthorization,
Expand Down

0 comments on commit 42381e8

Please sign in to comment.