Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Release History

## 1.0.0-beta.3 (Unreleased)
## 1.0.0-beta.1 (2021-10-25)

- Azure Resource Manager ServiceFabric client library for Java. This package contains Microsoft Azure SDK for ServiceFabric Management SDK. Service Fabric Management Client. Package tag package-2021-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-servicefabric</artifactId>
<version>1.0.0-beta.2</version>
<version>1.0.0-beta.3</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down
136 changes: 34 additions & 102 deletions sdk/servicefabric/azure-resourcemanager-servicefabric/SAMPLE.md

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ public ServiceFabricManager authenticate(TokenCredential credential, AzureProfil
.append("-")
.append("com.azure.resourcemanager.servicefabric")
.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 @@ -65,7 +65,7 @@ Response<ApplicationTypeVersionResourceInner> getWithResponse(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return an application type version resource for the specified application type name resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller<PollResult<ApplicationTypeVersionResourceInner>, ApplicationTypeVersionResourceInner>
beginCreateOrUpdate(
String resourceGroupName,
Expand All @@ -88,7 +88,7 @@ Response<ApplicationTypeVersionResourceInner> getWithResponse(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return an application type version resource for the specified application type name resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller<PollResult<ApplicationTypeVersionResourceInner>, ApplicationTypeVersionResourceInner>
beginCreateOrUpdate(
String resourceGroupName,
Expand Down Expand Up @@ -154,7 +154,7 @@ ApplicationTypeVersionResourceInner createOrUpdate(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the completion.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller<PollResult<Void>, Void> beginDelete(
String resourceGroupName, String clusterName, String applicationTypeName, String version);

Expand All @@ -171,7 +171,7 @@ SyncPoller<PollResult<Void>, Void> beginDelete(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the completion.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller<PollResult<Void>, Void> beginDelete(
String resourceGroupName, String clusterName, String applicationTypeName, String version, Context context);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ Response<ApplicationTypeResourceInner> createOrUpdateWithResponse(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the completion.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller<PollResult<Void>, Void> beginDelete(
String resourceGroupName, String clusterName, String applicationTypeName);

Expand All @@ -116,7 +116,7 @@ SyncPoller<PollResult<Void>, Void> beginDelete(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the completion.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller<PollResult<Void>, Void> beginDelete(
String resourceGroupName, String clusterName, String applicationTypeName, Context context);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Response<ApplicationResourceInner> getWithResponse(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the application resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller<PollResult<ApplicationResourceInner>, ApplicationResourceInner> beginCreateOrUpdate(
String resourceGroupName, String clusterName, String applicationName, ApplicationResourceInner parameters);

Expand All @@ -79,7 +79,7 @@ SyncPoller<PollResult<ApplicationResourceInner>, ApplicationResourceInner> begin
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the application resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller<PollResult<ApplicationResourceInner>, ApplicationResourceInner> beginCreateOrUpdate(
String resourceGroupName,
String clusterName,
Expand Down Expand Up @@ -136,7 +136,7 @@ ApplicationResourceInner createOrUpdate(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the application resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller<PollResult<ApplicationResourceInner>, ApplicationResourceInner> beginUpdate(
String resourceGroupName, String clusterName, String applicationName, ApplicationResourceUpdate parameters);

Expand All @@ -153,7 +153,7 @@ SyncPoller<PollResult<ApplicationResourceInner>, ApplicationResourceInner> begin
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the application resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller<PollResult<ApplicationResourceInner>, ApplicationResourceInner> beginUpdate(
String resourceGroupName,
String clusterName,
Expand Down Expand Up @@ -209,7 +209,7 @@ ApplicationResourceInner update(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the completion.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller<PollResult<Void>, Void> beginDelete(
String resourceGroupName, String clusterName, String applicationName);

Expand All @@ -225,7 +225,7 @@ SyncPoller<PollResult<Void>, Void> beginDelete(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the completion.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller<PollResult<Void>, Void> beginDelete(
String resourceGroupName, String clusterName, String applicationName, Context context);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Response<ClusterInner> getByResourceGroupWithResponse(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the cluster resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller<PollResult<ClusterInner>, ClusterInner> beginCreateOrUpdate(
String resourceGroupName, String clusterName, ClusterInner parameters);

Expand All @@ -75,7 +75,7 @@ SyncPoller<PollResult<ClusterInner>, ClusterInner> beginCreateOrUpdate(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the cluster resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller<PollResult<ClusterInner>, ClusterInner> beginCreateOrUpdate(
String resourceGroupName, String clusterName, ClusterInner parameters, Context context);

Expand Down Expand Up @@ -120,7 +120,7 @@ SyncPoller<PollResult<ClusterInner>, ClusterInner> beginCreateOrUpdate(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the cluster resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller<PollResult<ClusterInner>, ClusterInner> beginUpdate(
String resourceGroupName, String clusterName, ClusterUpdateParameters parameters);

Expand All @@ -137,7 +137,7 @@ SyncPoller<PollResult<ClusterInner>, ClusterInner> beginUpdate(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the cluster resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller<PollResult<ClusterInner>, ClusterInner> beginUpdate(
String resourceGroupName, String clusterName, ClusterUpdateParameters parameters, Context context);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ Response<ServiceResourceInner> getWithResponse(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the service resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller<PollResult<ServiceResourceInner>, ServiceResourceInner> beginCreateOrUpdate(
String resourceGroupName,
String clusterName,
Expand All @@ -87,7 +87,7 @@ SyncPoller<PollResult<ServiceResourceInner>, ServiceResourceInner> beginCreateOr
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the service resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller<PollResult<ServiceResourceInner>, ServiceResourceInner> beginCreateOrUpdate(
String resourceGroupName,
String clusterName,
Expand Down Expand Up @@ -153,7 +153,7 @@ ServiceResourceInner createOrUpdate(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the service resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller<PollResult<ServiceResourceInner>, ServiceResourceInner> beginUpdate(
String resourceGroupName,
String clusterName,
Expand All @@ -175,7 +175,7 @@ SyncPoller<PollResult<ServiceResourceInner>, ServiceResourceInner> beginUpdate(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the service resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller<PollResult<ServiceResourceInner>, ServiceResourceInner> beginUpdate(
String resourceGroupName,
String clusterName,
Expand Down Expand Up @@ -240,7 +240,7 @@ ServiceResourceInner update(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the completion.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller<PollResult<Void>, Void> beginDelete(
String resourceGroupName, String clusterName, String applicationName, String serviceName);

Expand All @@ -257,7 +257,7 @@ SyncPoller<PollResult<Void>, Void> beginDelete(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the completion.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller<PollResult<Void>, Void> beginDelete(
String resourceGroupName, String clusterName, String applicationName, String serviceName, Context context);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ private Mono<Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return an application type version resource for the specified application type name resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
private PollerFlux<PollResult<ApplicationTypeVersionResourceInner>, ApplicationTypeVersionResourceInner>
beginCreateOrUpdateAsync(
String resourceGroupName,
Expand Down Expand Up @@ -508,7 +508,7 @@ private Mono<Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return an application type version resource for the specified application type name resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
private PollerFlux<PollResult<ApplicationTypeVersionResourceInner>, ApplicationTypeVersionResourceInner>
beginCreateOrUpdateAsync(
String resourceGroupName,
Expand Down Expand Up @@ -544,7 +544,7 @@ private Mono<Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return an application type version resource for the specified application type name resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
public SyncPoller<PollResult<ApplicationTypeVersionResourceInner>, ApplicationTypeVersionResourceInner>
beginCreateOrUpdate(
String resourceGroupName,
Expand All @@ -570,7 +570,7 @@ private Mono<Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return an application type version resource for the specified application type name resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
public SyncPoller<PollResult<ApplicationTypeVersionResourceInner>, ApplicationTypeVersionResourceInner>
beginCreateOrUpdate(
String resourceGroupName,
Expand Down Expand Up @@ -814,7 +814,7 @@ private Mono<Response<Flux<ByteBuffer>>> deleteWithResponseAsync(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the completion.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
private PollerFlux<PollResult<Void>, Void> beginDeleteAsync(
String resourceGroupName, String clusterName, String applicationTypeName, String version) {
Mono<Response<Flux<ByteBuffer>>> mono =
Expand All @@ -837,7 +837,7 @@ private PollerFlux<PollResult<Void>, Void> beginDeleteAsync(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the completion.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
private PollerFlux<PollResult<Void>, Void> beginDeleteAsync(
String resourceGroupName, String clusterName, String applicationTypeName, String version, Context context) {
context = this.client.mergeContext(context);
Expand All @@ -860,7 +860,7 @@ private PollerFlux<PollResult<Void>, Void> beginDeleteAsync(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the completion.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
public SyncPoller<PollResult<Void>, Void> beginDelete(
String resourceGroupName, String clusterName, String applicationTypeName, String version) {
return beginDeleteAsync(resourceGroupName, clusterName, applicationTypeName, version).getSyncPoller();
Expand All @@ -879,7 +879,7 @@ public SyncPoller<PollResult<Void>, Void> beginDelete(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the completion.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
public SyncPoller<PollResult<Void>, Void> beginDelete(
String resourceGroupName, String clusterName, String applicationTypeName, String version, Context context) {
return beginDeleteAsync(resourceGroupName, clusterName, applicationTypeName, version, context).getSyncPoller();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,7 @@ private Mono<Response<Flux<ByteBuffer>>> deleteWithResponseAsync(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the completion.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
private PollerFlux<PollResult<Void>, Void> beginDeleteAsync(
String resourceGroupName, String clusterName, String applicationTypeName) {
Mono<Response<Flux<ByteBuffer>>> mono =
Expand All @@ -643,7 +643,7 @@ private PollerFlux<PollResult<Void>, Void> beginDeleteAsync(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the completion.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
private PollerFlux<PollResult<Void>, Void> beginDeleteAsync(
String resourceGroupName, String clusterName, String applicationTypeName, Context context) {
context = this.client.mergeContext(context);
Expand All @@ -665,7 +665,7 @@ private PollerFlux<PollResult<Void>, Void> beginDeleteAsync(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the completion.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
public SyncPoller<PollResult<Void>, Void> beginDelete(
String resourceGroupName, String clusterName, String applicationTypeName) {
return beginDeleteAsync(resourceGroupName, clusterName, applicationTypeName).getSyncPoller();
Expand All @@ -683,7 +683,7 @@ public SyncPoller<PollResult<Void>, Void> beginDelete(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the completion.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
public SyncPoller<PollResult<Void>, Void> beginDelete(
String resourceGroupName, String clusterName, String applicationTypeName, Context context) {
return beginDeleteAsync(resourceGroupName, clusterName, applicationTypeName, context).getSyncPoller();
Expand Down
Loading