Skip to content

Commit

Permalink
CodeGen from PR 25365 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Dev/kalyanke/webhook activitypolicy (Azure#25365)

* Add pipeline policy and ElapsedTime Policy

* adding missing objects

* fix schema validation

* fix prettier issues

* Change webhook to ExecutionActivity

* change to policy object

* fix comments

---------

Co-authored-by: Kalyan C Kesireddy <kalyanke@microsoft.com>
  • Loading branch information
SDKAuto and Kalyan C Kesireddy committed Sep 29, 2023
1 parent f76d34b commit f3c1b94
Show file tree
Hide file tree
Showing 775 changed files with 34 additions and 50,579 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Release History

## 1.0.0-beta.24 (Unreleased)
## 1.0.0-beta.1 (2023-09-29)

- Azure Resource Manager DataFactory client library for Java. This package contains Microsoft Azure SDK for DataFactory Management SDK. The Azure Data Factory V2 management API provides a RESTful set of web services that interact with Azure Data Factory V2 services. Package tag package-2018-06. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).

### Features Added

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Various documentation is available to help you get started
<dependency>
<groupId>com.azure.resourcemanager</groupId>
<artifactId>azure-resourcemanager-datafactory</artifactId>
<version>1.0.0-beta.23</version>
<version>1.0.0-beta.24</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ public DataFactoryManager authenticate(TokenCredential credential, AzureProfile
.append("-")
.append("com.azure.resourcemanager.datafactory")
.append("/")
.append("1.0.0-beta.23");
.append("1.0.0-beta.1");
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
userAgentBuilder
.append(" (")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ public final class WebhookActivity extends ControlActivity {
@JsonProperty(value = "typeProperties", required = true)
private WebhookActivityTypeProperties innerTypeProperties = new WebhookActivityTypeProperties();

/*
* Activity policy.
*/
@JsonProperty(value = "policy")
private SecureInputOutputPolicy policy;

/** Creates an instance of WebhookActivity class. */
public WebhookActivity() {
}
Expand All @@ -36,6 +42,26 @@ private WebhookActivityTypeProperties innerTypeProperties() {
return this.innerTypeProperties;
}

/**
* Get the policy property: Activity policy.
*
* @return the policy value.
*/
public SecureInputOutputPolicy policy() {
return this.policy;
}

/**
* Set the policy property: Activity policy.
*
* @param policy the policy value to set.
* @return the WebhookActivity object itself.
*/
public WebhookActivity withPolicy(SecureInputOutputPolicy policy) {
this.policy = policy;
return this;
}

/** {@inheritDoc} */
@Override
public WebhookActivity withName(String name) {
Expand Down Expand Up @@ -271,6 +297,9 @@ public void validate() {
} else {
innerTypeProperties().validate();
}
if (policy() != null) {
policy().validate();
}
}

private static final ClientLogger LOGGER = new ClientLogger(WebhookActivity.class);
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit f3c1b94

Please sign in to comment.