Skip to content

Commit

Permalink
CodeGen from PR 17002 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge e3d727dac88692c28f5709082bb25f867673e4af into 52f9379c7709eb53f15b875b7de9b1abfa17f298
  • Loading branch information
SDKAuto committed Dec 10, 2021
1 parent 3cb936e commit 16bf6d9
Show file tree
Hide file tree
Showing 14 changed files with 84 additions and 47 deletions.
4 changes: 3 additions & 1 deletion sdk/avs/azure-resourcemanager-avs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Release History

## 1.0.0-beta.4 (Unreleased)
## 1.0.0-beta.1 (2021-12-10)

- Azure Resource Manager Avs client library for Java. This package contains Microsoft Azure SDK for Avs Management SDK. Azure VMware Solution API. Package tag package-2021-12-01. 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
2 changes: 1 addition & 1 deletion sdk/avs/azure-resourcemanager-avs/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-avs</artifactId>
<version>1.0.0-beta.3</version>
<version>1.0.0-beta.4</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ public AvsManager authenticate(TokenCredential credential, AzureProfile profile)
.append("-")
.append("com.azure.resourcemanager.avs")
.append("/")
.append("1.0.0-beta.3");
.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 @@ -624,7 +624,7 @@ private PollerFlux<PollResult<AddonInner>, AddonInner> beginCreateOrUpdateAsync(
return this
.client
.<AddonInner, AddonInner>getLroResult(
mono, this.client.getHttpPipeline(), AddonInner.class, AddonInner.class, Context.NONE);
mono, this.client.getHttpPipeline(), AddonInner.class, AddonInner.class, this.client.getContext());
}

/**
Expand Down Expand Up @@ -890,7 +890,8 @@ private PollerFlux<PollResult<Void>, Void> beginDeleteAsync(
Mono<Response<Flux<ByteBuffer>>> mono = deleteWithResponseAsync(resourceGroupName, privateCloudName, addonName);
return this
.client
.<Void, Void>getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE);
.<Void, Void>getLroResult(
mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext());
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -649,7 +649,7 @@ private Mono<Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(
this.client.getHttpPipeline(),
ExpressRouteAuthorizationInner.class,
ExpressRouteAuthorizationInner.class,
Context.NONE);
this.client.getContext());
}

/**
Expand Down Expand Up @@ -952,7 +952,8 @@ private PollerFlux<PollResult<Void>, Void> beginDeleteAsync(
deleteWithResponseAsync(resourceGroupName, privateCloudName, authorizationName);
return this
.client
.<Void, Void>getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE);
.<Void, Void>getLroResult(
mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext());
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,11 @@ private PollerFlux<PollResult<CloudLinkInner>, CloudLinkInner> beginCreateOrUpda
return this
.client
.<CloudLinkInner, CloudLinkInner>getLroResult(
mono, this.client.getHttpPipeline(), CloudLinkInner.class, CloudLinkInner.class, Context.NONE);
mono,
this.client.getHttpPipeline(),
CloudLinkInner.class,
CloudLinkInner.class,
this.client.getContext());
}

/**
Expand Down Expand Up @@ -913,7 +917,8 @@ private PollerFlux<PollResult<Void>, Void> beginDeleteAsync(
deleteWithResponseAsync(resourceGroupName, privateCloudName, cloudLinkName);
return this
.client
.<Void, Void>getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE);
.<Void, Void>getLroResult(
mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext());
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,7 @@ private PollerFlux<PollResult<ClusterInner>, ClusterInner> beginCreateOrUpdateAs
return this
.client
.<ClusterInner, ClusterInner>getLroResult(
mono, this.client.getHttpPipeline(), ClusterInner.class, ClusterInner.class, Context.NONE);
mono, this.client.getHttpPipeline(), ClusterInner.class, ClusterInner.class, this.client.getContext());
}

/**
Expand Down Expand Up @@ -931,7 +931,7 @@ private PollerFlux<PollResult<ClusterInner>, ClusterInner> beginUpdateAsync(
return this
.client
.<ClusterInner, ClusterInner>getLroResult(
mono, this.client.getHttpPipeline(), ClusterInner.class, ClusterInner.class, Context.NONE);
mono, this.client.getHttpPipeline(), ClusterInner.class, ClusterInner.class, this.client.getContext());
}

/**
Expand Down Expand Up @@ -1215,7 +1215,8 @@ private PollerFlux<PollResult<Void>, Void> beginDeleteAsync(
deleteWithResponseAsync(resourceGroupName, privateCloudName, clusterName);
return this
.client
.<Void, Void>getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE);
.<Void, Void>getLroResult(
mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext());
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,11 @@ private PollerFlux<PollResult<DatastoreInner>, DatastoreInner> beginCreateOrUpda
return this
.client
.<DatastoreInner, DatastoreInner>getLroResult(
mono, this.client.getHttpPipeline(), DatastoreInner.class, DatastoreInner.class, Context.NONE);
mono,
this.client.getHttpPipeline(),
DatastoreInner.class,
DatastoreInner.class,
this.client.getContext());
}

/**
Expand Down Expand Up @@ -1008,7 +1012,8 @@ private PollerFlux<PollResult<Void>, Void> beginDeleteAsync(
deleteWithResponseAsync(resourceGroupName, privateCloudName, clusterName, datastoreName);
return this
.client
.<Void, Void>getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE);
.<Void, Void>getLroResult(
mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext());
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,7 @@ private PollerFlux<PollResult<GlobalReachConnectionInner>, GlobalReachConnection
this.client.getHttpPipeline(),
GlobalReachConnectionInner.class,
GlobalReachConnectionInner.class,
Context.NONE);
this.client.getContext());
}

/**
Expand Down Expand Up @@ -973,7 +973,8 @@ private PollerFlux<PollResult<Void>, Void> beginDeleteAsync(
deleteWithResponseAsync(resourceGroupName, privateCloudName, globalReachConnectionName);
return this
.client
.<Void, Void>getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE);
.<Void, Void>getLroResult(
mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext());
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -727,7 +727,7 @@ private PollerFlux<PollResult<PlacementPolicyInner>, PlacementPolicyInner> begin
this.client.getHttpPipeline(),
PlacementPolicyInner.class,
PlacementPolicyInner.class,
Context.NONE);
this.client.getContext());
}

/**
Expand Down Expand Up @@ -1093,7 +1093,7 @@ private PollerFlux<PollResult<PlacementPolicyInner>, PlacementPolicyInner> begin
this.client.getHttpPipeline(),
PlacementPolicyInner.class,
PlacementPolicyInner.class,
Context.NONE);
this.client.getContext());
}

/**
Expand Down Expand Up @@ -1426,7 +1426,8 @@ private PollerFlux<PollResult<Void>, Void> beginDeleteAsync(
deleteWithResponseAsync(resourceGroupName, privateCloudName, clusterName, placementPolicyName);
return this
.client
.<Void, Void>getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE);
.<Void, Void>getLroResult(
mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext());
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -805,7 +805,11 @@ private PollerFlux<PollResult<PrivateCloudInner>, PrivateCloudInner> beginCreate
return this
.client
.<PrivateCloudInner, PrivateCloudInner>getLroResult(
mono, this.client.getHttpPipeline(), PrivateCloudInner.class, PrivateCloudInner.class, Context.NONE);
mono,
this.client.getHttpPipeline(),
PrivateCloudInner.class,
PrivateCloudInner.class,
this.client.getContext());
}

/**
Expand Down Expand Up @@ -1072,7 +1076,11 @@ private PollerFlux<PollResult<PrivateCloudInner>, PrivateCloudInner> beginUpdate
return this
.client
.<PrivateCloudInner, PrivateCloudInner>getLroResult(
mono, this.client.getHttpPipeline(), PrivateCloudInner.class, PrivateCloudInner.class, Context.NONE);
mono,
this.client.getHttpPipeline(),
PrivateCloudInner.class,
PrivateCloudInner.class,
this.client.getContext());
}

/**
Expand Down Expand Up @@ -1319,7 +1327,8 @@ private PollerFlux<PollResult<Void>, Void> beginDeleteAsync(String resourceGroup
Mono<Response<Flux<ByteBuffer>>> mono = deleteWithResponseAsync(resourceGroupName, privateCloudName);
return this
.client
.<Void, Void>getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE);
.<Void, Void>getLroResult(
mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext());
}

/**
Expand Down Expand Up @@ -1552,7 +1561,8 @@ private PollerFlux<PollResult<Void>, Void> beginRotateVcenterPasswordAsync(
rotateVcenterPasswordWithResponseAsync(resourceGroupName, privateCloudName);
return this
.client
.<Void, Void>getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE);
.<Void, Void>getLroResult(
mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext());
}

/**
Expand Down Expand Up @@ -1787,7 +1797,8 @@ private PollerFlux<PollResult<Void>, Void> beginRotateNsxtPasswordAsync(
rotateNsxtPasswordWithResponseAsync(resourceGroupName, privateCloudName);
return this
.client
.<Void, Void>getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE);
.<Void, Void>getLroResult(
mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext());
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,7 @@ private PollerFlux<PollResult<ScriptExecutionInner>, ScriptExecutionInner> begin
this.client.getHttpPipeline(),
ScriptExecutionInner.class,
ScriptExecutionInner.class,
Context.NONE);
this.client.getContext());
}

/**
Expand Down Expand Up @@ -969,7 +969,8 @@ private PollerFlux<PollResult<Void>, Void> beginDeleteAsync(
deleteWithResponseAsync(resourceGroupName, privateCloudName, scriptExecutionName);
return this
.client
.<Void, Void>getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE);
.<Void, Void>getLroResult(
mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext());
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,8 @@ private PollerFlux<PollResult<Void>, Void> beginRestrictMovementAsync(
resourceGroupName, privateCloudName, clusterName, virtualMachineId, restrictMovement);
return this
.client
.<Void, Void>getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE);
.<Void, Void>getLroResult(
mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext());
}

/**
Expand Down
Loading

0 comments on commit 16bf6d9

Please sign in to comment.