Skip to content

Commit 72f961e

Browse files
author
SDKAuto
committed
CodeGen from PR 18858 in Azure/azure-rest-api-specs
Merge 53f906a7f937911c9f05c52ebd5c32a1370369bb into 324a148497f28ef7588eee7bdb61dcd28b74f505
1 parent 89cca69 commit 72f961e

File tree

97 files changed

+771
-108
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

97 files changed

+771
-108
lines changed

sdk/datafactory/azure-resourcemanager-datafactory/CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Release History
22

3-
## 1.0.0-beta.15 (Unreleased)
3+
## 1.0.0-beta.1 (2022-05-09)
4+
5+
- 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).
46

57
### Features Added
68

sdk/datafactory/azure-resourcemanager-datafactory/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Various documentation is available to help you get started
3232
<dependency>
3333
<groupId>com.azure.resourcemanager</groupId>
3434
<artifactId>azure-resourcemanager-datafactory</artifactId>
35-
<version>1.0.0-beta.14</version>
35+
<version>1.0.0-beta.15</version>
3636
</dependency>
3737
```
3838
[//]: # ({x-version-update-end})

sdk/datafactory/azure-resourcemanager-datafactory/SAMPLE.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2585,6 +2585,7 @@ public final class PrivateEndPointConnectionsListByFactorySamples {
25852585
### PrivateEndpointConnectionOperation_CreateOrUpdate
25862586

25872587
```java
2588+
import com.azure.resourcemanager.datafactory.models.PrivateEndpoint;
25882589
import com.azure.resourcemanager.datafactory.models.PrivateLinkConnectionApprovalRequest;
25892590
import com.azure.resourcemanager.datafactory.models.PrivateLinkConnectionState;
25902591

@@ -2610,7 +2611,11 @@ public final class PrivateEndpointConnectionOperationCreateOrUpdateSamples {
26102611
new PrivateLinkConnectionState()
26112612
.withStatus("Approved")
26122613
.withDescription("Approved by admin.")
2613-
.withActionsRequired("")))
2614+
.withActionsRequired(""))
2615+
.withPrivateEndpoint(
2616+
new PrivateEndpoint()
2617+
.withId(
2618+
"/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.DataFactory/factories/exampleFactoryName/privateEndpoints/myPrivateEndpoint")))
26142619
.create();
26152620
}
26162621
}

sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/DataFactoryManager.java

Lines changed: 101 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ public DataFactoryManager authenticate(TokenCredential credential, AzureProfile
282282
.append("-")
283283
.append("com.azure.resourcemanager.datafactory")
284284
.append("/")
285-
.append("1.0.0-beta.14");
285+
.append("1.0.0-beta.1");
286286
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
287287
userAgentBuilder
288288
.append(" (")
@@ -339,39 +339,59 @@ public DataFactoryManager authenticate(TokenCredential credential, AzureProfile
339339
}
340340
}
341341

342-
/** @return Resource collection API of Operations. */
342+
/**
343+
* Gets the resource collection API of Operations.
344+
*
345+
* @return Resource collection API of Operations.
346+
*/
343347
public Operations operations() {
344348
if (this.operations == null) {
345349
this.operations = new OperationsImpl(clientObject.getOperations(), this);
346350
}
347351
return operations;
348352
}
349353

350-
/** @return Resource collection API of Factories. */
354+
/**
355+
* Gets the resource collection API of Factories.
356+
*
357+
* @return Resource collection API of Factories.
358+
*/
351359
public Factories factories() {
352360
if (this.factories == null) {
353361
this.factories = new FactoriesImpl(clientObject.getFactories(), this);
354362
}
355363
return factories;
356364
}
357365

358-
/** @return Resource collection API of ExposureControls. */
366+
/**
367+
* Gets the resource collection API of ExposureControls.
368+
*
369+
* @return Resource collection API of ExposureControls.
370+
*/
359371
public ExposureControls exposureControls() {
360372
if (this.exposureControls == null) {
361373
this.exposureControls = new ExposureControlsImpl(clientObject.getExposureControls(), this);
362374
}
363375
return exposureControls;
364376
}
365377

366-
/** @return Resource collection API of IntegrationRuntimes. */
378+
/**
379+
* Gets the resource collection API of IntegrationRuntimes.
380+
*
381+
* @return Resource collection API of IntegrationRuntimes.
382+
*/
367383
public IntegrationRuntimes integrationRuntimes() {
368384
if (this.integrationRuntimes == null) {
369385
this.integrationRuntimes = new IntegrationRuntimesImpl(clientObject.getIntegrationRuntimes(), this);
370386
}
371387
return integrationRuntimes;
372388
}
373389

374-
/** @return Resource collection API of IntegrationRuntimeObjectMetadatas. */
390+
/**
391+
* Gets the resource collection API of IntegrationRuntimeObjectMetadatas.
392+
*
393+
* @return Resource collection API of IntegrationRuntimeObjectMetadatas.
394+
*/
375395
public IntegrationRuntimeObjectMetadatas integrationRuntimeObjectMetadatas() {
376396
if (this.integrationRuntimeObjectMetadatas == null) {
377397
this.integrationRuntimeObjectMetadatas =
@@ -380,7 +400,11 @@ public IntegrationRuntimeObjectMetadatas integrationRuntimeObjectMetadatas() {
380400
return integrationRuntimeObjectMetadatas;
381401
}
382402

383-
/** @return Resource collection API of IntegrationRuntimeNodes. */
403+
/**
404+
* Gets the resource collection API of IntegrationRuntimeNodes.
405+
*
406+
* @return Resource collection API of IntegrationRuntimeNodes.
407+
*/
384408
public IntegrationRuntimeNodes integrationRuntimeNodes() {
385409
if (this.integrationRuntimeNodes == null) {
386410
this.integrationRuntimeNodes =
@@ -389,79 +413,119 @@ public IntegrationRuntimeNodes integrationRuntimeNodes() {
389413
return integrationRuntimeNodes;
390414
}
391415

392-
/** @return Resource collection API of LinkedServices. */
416+
/**
417+
* Gets the resource collection API of LinkedServices.
418+
*
419+
* @return Resource collection API of LinkedServices.
420+
*/
393421
public LinkedServices linkedServices() {
394422
if (this.linkedServices == null) {
395423
this.linkedServices = new LinkedServicesImpl(clientObject.getLinkedServices(), this);
396424
}
397425
return linkedServices;
398426
}
399427

400-
/** @return Resource collection API of Datasets. */
428+
/**
429+
* Gets the resource collection API of Datasets.
430+
*
431+
* @return Resource collection API of Datasets.
432+
*/
401433
public Datasets datasets() {
402434
if (this.datasets == null) {
403435
this.datasets = new DatasetsImpl(clientObject.getDatasets(), this);
404436
}
405437
return datasets;
406438
}
407439

408-
/** @return Resource collection API of Pipelines. */
440+
/**
441+
* Gets the resource collection API of Pipelines.
442+
*
443+
* @return Resource collection API of Pipelines.
444+
*/
409445
public Pipelines pipelines() {
410446
if (this.pipelines == null) {
411447
this.pipelines = new PipelinesImpl(clientObject.getPipelines(), this);
412448
}
413449
return pipelines;
414450
}
415451

416-
/** @return Resource collection API of PipelineRuns. */
452+
/**
453+
* Gets the resource collection API of PipelineRuns.
454+
*
455+
* @return Resource collection API of PipelineRuns.
456+
*/
417457
public PipelineRuns pipelineRuns() {
418458
if (this.pipelineRuns == null) {
419459
this.pipelineRuns = new PipelineRunsImpl(clientObject.getPipelineRuns(), this);
420460
}
421461
return pipelineRuns;
422462
}
423463

424-
/** @return Resource collection API of ActivityRuns. */
464+
/**
465+
* Gets the resource collection API of ActivityRuns.
466+
*
467+
* @return Resource collection API of ActivityRuns.
468+
*/
425469
public ActivityRuns activityRuns() {
426470
if (this.activityRuns == null) {
427471
this.activityRuns = new ActivityRunsImpl(clientObject.getActivityRuns(), this);
428472
}
429473
return activityRuns;
430474
}
431475

432-
/** @return Resource collection API of Triggers. */
476+
/**
477+
* Gets the resource collection API of Triggers.
478+
*
479+
* @return Resource collection API of Triggers.
480+
*/
433481
public Triggers triggers() {
434482
if (this.triggers == null) {
435483
this.triggers = new TriggersImpl(clientObject.getTriggers(), this);
436484
}
437485
return triggers;
438486
}
439487

440-
/** @return Resource collection API of TriggerRuns. */
488+
/**
489+
* Gets the resource collection API of TriggerRuns.
490+
*
491+
* @return Resource collection API of TriggerRuns.
492+
*/
441493
public TriggerRuns triggerRuns() {
442494
if (this.triggerRuns == null) {
443495
this.triggerRuns = new TriggerRunsImpl(clientObject.getTriggerRuns(), this);
444496
}
445497
return triggerRuns;
446498
}
447499

448-
/** @return Resource collection API of DataFlows. */
500+
/**
501+
* Gets the resource collection API of DataFlows.
502+
*
503+
* @return Resource collection API of DataFlows.
504+
*/
449505
public DataFlows dataFlows() {
450506
if (this.dataFlows == null) {
451507
this.dataFlows = new DataFlowsImpl(clientObject.getDataFlows(), this);
452508
}
453509
return dataFlows;
454510
}
455511

456-
/** @return Resource collection API of DataFlowDebugSessions. */
512+
/**
513+
* Gets the resource collection API of DataFlowDebugSessions.
514+
*
515+
* @return Resource collection API of DataFlowDebugSessions.
516+
*/
457517
public DataFlowDebugSessions dataFlowDebugSessions() {
458518
if (this.dataFlowDebugSessions == null) {
459519
this.dataFlowDebugSessions = new DataFlowDebugSessionsImpl(clientObject.getDataFlowDebugSessions(), this);
460520
}
461521
return dataFlowDebugSessions;
462522
}
463523

464-
/** @return Resource collection API of ManagedVirtualNetworks. */
524+
/**
525+
* Gets the resource collection API of ManagedVirtualNetworks.
526+
*
527+
* @return Resource collection API of ManagedVirtualNetworks.
528+
*/
465529
public ManagedVirtualNetworks managedVirtualNetworks() {
466530
if (this.managedVirtualNetworks == null) {
467531
this.managedVirtualNetworks =
@@ -470,7 +534,11 @@ public ManagedVirtualNetworks managedVirtualNetworks() {
470534
return managedVirtualNetworks;
471535
}
472536

473-
/** @return Resource collection API of ManagedPrivateEndpoints. */
537+
/**
538+
* Gets the resource collection API of ManagedPrivateEndpoints.
539+
*
540+
* @return Resource collection API of ManagedPrivateEndpoints.
541+
*/
474542
public ManagedPrivateEndpoints managedPrivateEndpoints() {
475543
if (this.managedPrivateEndpoints == null) {
476544
this.managedPrivateEndpoints =
@@ -479,7 +547,11 @@ public ManagedPrivateEndpoints managedPrivateEndpoints() {
479547
return managedPrivateEndpoints;
480548
}
481549

482-
/** @return Resource collection API of PrivateEndPointConnections. */
550+
/**
551+
* Gets the resource collection API of PrivateEndPointConnections.
552+
*
553+
* @return Resource collection API of PrivateEndPointConnections.
554+
*/
483555
public PrivateEndPointConnections privateEndPointConnections() {
484556
if (this.privateEndPointConnections == null) {
485557
this.privateEndPointConnections =
@@ -488,7 +560,11 @@ public PrivateEndPointConnections privateEndPointConnections() {
488560
return privateEndPointConnections;
489561
}
490562

491-
/** @return Resource collection API of PrivateEndpointConnectionOperations. */
563+
/**
564+
* Gets the resource collection API of PrivateEndpointConnectionOperations.
565+
*
566+
* @return Resource collection API of PrivateEndpointConnectionOperations.
567+
*/
492568
public PrivateEndpointConnectionOperations privateEndpointConnectionOperations() {
493569
if (this.privateEndpointConnectionOperations == null) {
494570
this.privateEndpointConnectionOperations =
@@ -498,7 +574,11 @@ public PrivateEndpointConnectionOperations privateEndpointConnectionOperations()
498574
return privateEndpointConnectionOperations;
499575
}
500576

501-
/** @return Resource collection API of PrivateLinkResources. */
577+
/**
578+
* Gets the resource collection API of PrivateLinkResources.
579+
*
580+
* @return Resource collection API of PrivateLinkResources.
581+
*/
502582
public PrivateLinkResources privateLinkResources() {
503583
if (this.privateLinkResources == null) {
504584
this.privateLinkResources = new PrivateLinkResourcesImpl(clientObject.getPrivateLinkResources(), this);

sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/FactoryInner.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
import com.azure.resourcemanager.datafactory.models.FactoryRepoConfiguration;
1212
import com.azure.resourcemanager.datafactory.models.GlobalParameterSpecification;
1313
import com.azure.resourcemanager.datafactory.models.PublicNetworkAccess;
14+
import com.azure.resourcemanager.datafactory.models.PurviewConfiguration;
1415
import com.fasterxml.jackson.annotation.JsonAnyGetter;
1516
import com.fasterxml.jackson.annotation.JsonAnySetter;
1617
import com.fasterxml.jackson.annotation.JsonIgnore;
@@ -153,6 +154,29 @@ public String version() {
153154
return this.innerProperties() == null ? null : this.innerProperties().version();
154155
}
155156

157+
/**
158+
* Get the purviewConfiguration property: Purview information of the factory.
159+
*
160+
* @return the purviewConfiguration value.
161+
*/
162+
public PurviewConfiguration purviewConfiguration() {
163+
return this.innerProperties() == null ? null : this.innerProperties().purviewConfiguration();
164+
}
165+
166+
/**
167+
* Set the purviewConfiguration property: Purview information of the factory.
168+
*
169+
* @param purviewConfiguration the purviewConfiguration value to set.
170+
* @return the FactoryInner object itself.
171+
*/
172+
public FactoryInner withPurviewConfiguration(PurviewConfiguration purviewConfiguration) {
173+
if (this.innerProperties() == null) {
174+
this.innerProperties = new FactoryProperties();
175+
}
176+
this.innerProperties().withPurviewConfiguration(purviewConfiguration);
177+
return this;
178+
}
179+
156180
/**
157181
* Get the repoConfiguration property: Git repo information of the factory.
158182
*

0 commit comments

Comments
 (0)