Skip to content

Commit

Permalink
CodeGen from PR 14925 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 300ceb95a70bc5e5236953fef0e24bb651c1307a into 15b8f52952714a8f947a932f4fc034e14af92629
  • Loading branch information
SDKAuto committed Jul 6, 2021
1 parent 026370a commit 77b9c5e
Show file tree
Hide file tree
Showing 35 changed files with 749 additions and 131 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Release History

## 1.0.0-beta.3 (Unreleased)
## 1.0.0-beta.1 (2021-07-06)

- 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).

## 1.0.0-beta.2 (2021-06-16)

Expand Down
4 changes: 2 additions & 2 deletions sdk/datafactory/azure-resourcemanager-datafactory/README.md
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.2</version>
<version>1.0.0-beta.3</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down Expand Up @@ -169,7 +169,7 @@ while ("InProgress".equals(runStatus)) {

## Contributing

For details on contributing to this repository, see the [contributing guide](https://github.com/Azure/azure-sdk-for-java/blob/main/CONTRIBUTING.md).
For details on contributing to this repository, see the [contributing guide](https://github.com/Azure/azure-sdk-for-java/blob/master/CONTRIBUTING.md).

1. Fork it
1. Create your feature branch (`git checkout -b my-new-feature`)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ public DataFactoryManager authenticate(TokenCredential credential, AzureProfile
.append("-")
.append("com.azure.resourcemanager.datafactory")
.append("/")
.append("1.0.0-beta.2");
.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 @@ -14,6 +14,7 @@
import com.azure.resourcemanager.datafactory.fluent.models.IntegrationRuntimeAuthKeysInner;
import com.azure.resourcemanager.datafactory.fluent.models.IntegrationRuntimeConnectionInfoInner;
import com.azure.resourcemanager.datafactory.fluent.models.IntegrationRuntimeMonitoringDataInner;
import com.azure.resourcemanager.datafactory.fluent.models.IntegrationRuntimeOutboundNetworkDependenciesEndpointsResponseInner;
import com.azure.resourcemanager.datafactory.fluent.models.IntegrationRuntimeResourceInner;
import com.azure.resourcemanager.datafactory.fluent.models.IntegrationRuntimeStatusResponseInner;
import com.azure.resourcemanager.datafactory.models.CreateLinkedIntegrationRuntimeRequest;
Expand Down Expand Up @@ -230,6 +231,38 @@ IntegrationRuntimeStatusResponseInner getStatus(
Response<IntegrationRuntimeStatusResponseInner> getStatusWithResponse(
String resourceGroupName, String factoryName, String integrationRuntimeName, Context context);

/**
* Gets the list of outbound network dependencies for a given Azure-SSIS integration runtime.
*
* @param resourceGroupName The resource group name.
* @param factoryName The factory name.
* @param integrationRuntimeName The integration runtime name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the list of outbound network dependencies for a given Azure-SSIS integration runtime.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
IntegrationRuntimeOutboundNetworkDependenciesEndpointsResponseInner outboundNetworkDependenciesEndpoints(
String resourceGroupName, String factoryName, String integrationRuntimeName);

/**
* Gets the list of outbound network dependencies for a given Azure-SSIS integration runtime.
*
* @param resourceGroupName The resource group name.
* @param factoryName The factory name.
* @param integrationRuntimeName The integration runtime name.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the list of outbound network dependencies for a given Azure-SSIS integration runtime.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<IntegrationRuntimeOutboundNetworkDependenciesEndpointsResponseInner>
outboundNetworkDependenciesEndpointsWithResponse(
String resourceGroupName, String factoryName, String integrationRuntimeName, Context context);

/**
* Gets the on-premises integration runtime connection information for encrypting the on-premises data source
* credentials.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.datafactory.fluent.models;

import com.azure.core.annotation.Fluent;
import com.azure.core.util.logging.ClientLogger;
import com.azure.resourcemanager.datafactory.models.IntegrationRuntimeOutboundNetworkDependenciesCategoryEndpoint;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;

/** Azure-SSIS integration runtime outbound network dependency endpoints. */
@Fluent
public final class IntegrationRuntimeOutboundNetworkDependenciesEndpointsResponseInner {
@JsonIgnore
private final ClientLogger logger =
new ClientLogger(IntegrationRuntimeOutboundNetworkDependenciesEndpointsResponseInner.class);

/*
* List of outbound network dependency endpoints.
*/
@JsonProperty(value = "value")
private List<IntegrationRuntimeOutboundNetworkDependenciesCategoryEndpoint> value;

/**
* Get the value property: List of outbound network dependency endpoints.
*
* @return the value value.
*/
public List<IntegrationRuntimeOutboundNetworkDependenciesCategoryEndpoint> value() {
return this.value;
}

/**
* Set the value property: List of outbound network dependency endpoints.
*
* @param value the value value to set.
* @return the IntegrationRuntimeOutboundNetworkDependenciesEndpointsResponseInner object itself.
*/
public IntegrationRuntimeOutboundNetworkDependenciesEndpointsResponseInner withValue(
List<IntegrationRuntimeOutboundNetworkDependenciesCategoryEndpoint> value) {
this.value = value;
return this;
}

/**
* Validates the instance.
*
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
if (value() != null) {
value().forEach(e -> e.validate());
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.datafactory.implementation;

import com.azure.resourcemanager.datafactory.fluent.models.IntegrationRuntimeOutboundNetworkDependenciesEndpointsResponseInner;
import com.azure.resourcemanager.datafactory.models.IntegrationRuntimeOutboundNetworkDependenciesCategoryEndpoint;
import com.azure.resourcemanager.datafactory.models.IntegrationRuntimeOutboundNetworkDependenciesEndpointsResponse;
import java.util.Collections;
import java.util.List;

public final class IntegrationRuntimeOutboundNetworkDependenciesEndpointsResponseImpl
implements IntegrationRuntimeOutboundNetworkDependenciesEndpointsResponse {
private IntegrationRuntimeOutboundNetworkDependenciesEndpointsResponseInner innerObject;

private final com.azure.resourcemanager.datafactory.DataFactoryManager serviceManager;

IntegrationRuntimeOutboundNetworkDependenciesEndpointsResponseImpl(
IntegrationRuntimeOutboundNetworkDependenciesEndpointsResponseInner innerObject,
com.azure.resourcemanager.datafactory.DataFactoryManager serviceManager) {
this.innerObject = innerObject;
this.serviceManager = serviceManager;
}

public List<IntegrationRuntimeOutboundNetworkDependenciesCategoryEndpoint> value() {
List<IntegrationRuntimeOutboundNetworkDependenciesCategoryEndpoint> inner = this.innerModel().value();
if (inner != null) {
return Collections.unmodifiableList(inner);
} else {
return Collections.emptyList();
}
}

public IntegrationRuntimeOutboundNetworkDependenciesEndpointsResponseInner innerModel() {
return this.innerObject;
}

private com.azure.resourcemanager.datafactory.DataFactoryManager manager() {
return this.serviceManager;
}
}
Loading

0 comments on commit 77b9c5e

Please sign in to comment.