Skip to content
Closed
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
4 changes: 3 additions & 1 deletion sdk/webpubsub/azure-resourcemanager-webpubsub/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 (2023-03-03)

- Azure Resource Manager WebPubSub client library for Java. This package contains Microsoft Azure SDK for WebPubSub Management SDK. REST API for Azure WebPubSub Service. Package tag package-2023-02-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
4 changes: 2 additions & 2 deletions sdk/webpubsub/azure-resourcemanager-webpubsub/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Azure Resource Manager WebPubSub client library for Java.

This package contains Microsoft Azure SDK for WebPubSub Management SDK. REST API for Azure WebPubSub Service. Package tag package-2022-08-01-preview. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
This package contains Microsoft Azure SDK for WebPubSub Management SDK. REST API for Azure WebPubSub Service. Package tag package-2023-02-01. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).

## We'd love to hear your feedback

Expand Down Expand Up @@ -32,7 +32,7 @@ Various documentation is available to help you get started
<dependency>
<groupId>com.azure.resourcemanager</groupId>
<artifactId>azure-resourcemanager-webpubsub</artifactId>
<version>1.0.0-beta.3</version>
<version>1.0.0-beta.4</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down
221 changes: 102 additions & 119 deletions sdk/webpubsub/azure-resourcemanager-webpubsub/SAMPLE.md

Large diffs are not rendered by default.

10 changes: 8 additions & 2 deletions sdk/webpubsub/azure-resourcemanager-webpubsub/pom.xml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
<!--
~ Copyright (c) Microsoft Corporation. All rights reserved.
~ Licensed under the MIT License.
~ Code generated by Microsoft (R) AutoRest Code Generator.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
Expand All @@ -13,7 +18,7 @@
<packaging>jar</packaging>

<name>Microsoft Azure SDK for WebPubSub Management</name>
<description>This package contains Microsoft Azure SDK for WebPubSub Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. REST API for Azure WebPubSub Service. Package tag package-2022-08-01-preview.</description>
<description>This package contains Microsoft Azure SDK for WebPubSub Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. REST API for Azure WebPubSub Service. Package tag package-2023-02-01.</description>
<url>https://github.com/Azure/azure-sdk-for-java</url>

<licenses>
Expand All @@ -38,7 +43,8 @@
</developers>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jacoco.skip>true</jacoco.skip>
<jacoco.min.linecoverage>0</jacoco.min.linecoverage>
<jacoco.min.branchcoverage>0</jacoco.min.branchcoverage>
</properties>
<dependencies>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ public WebPubSubManager authenticate(TokenCredential credential, AzureProfile pr
.append("-")
.append("com.azure.resourcemanager.webpubsub")
.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 @@ -692,7 +692,9 @@ private PollerFlux<PollResult<CustomCertificateInner>, CustomCertificateInner> b
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
public SyncPoller<PollResult<CustomCertificateInner>, CustomCertificateInner> beginCreateOrUpdate(
String resourceGroupName, String resourceName, String certificateName, CustomCertificateInner parameters) {
return beginCreateOrUpdateAsync(resourceGroupName, resourceName, certificateName, parameters).getSyncPoller();
return this
.beginCreateOrUpdateAsync(resourceGroupName, resourceName, certificateName, parameters)
.getSyncPoller();
}

/**
Expand All @@ -716,7 +718,8 @@ public SyncPoller<PollResult<CustomCertificateInner>, CustomCertificateInner> be
String certificateName,
CustomCertificateInner parameters,
Context context) {
return beginCreateOrUpdateAsync(resourceGroupName, resourceName, certificateName, parameters, context)
return this
.beginCreateOrUpdateAsync(resourceGroupName, resourceName, certificateName, parameters, context)
.getSyncPoller();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,7 @@ private PollerFlux<PollResult<CustomDomainInner>, CustomDomainInner> beginCreate
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
public SyncPoller<PollResult<CustomDomainInner>, CustomDomainInner> beginCreateOrUpdate(
String resourceGroupName, String resourceName, String name, CustomDomainInner parameters) {
return beginCreateOrUpdateAsync(resourceGroupName, resourceName, name, parameters).getSyncPoller();
return this.beginCreateOrUpdateAsync(resourceGroupName, resourceName, name, parameters).getSyncPoller();
}

/**
Expand All @@ -692,7 +692,9 @@ public SyncPoller<PollResult<CustomDomainInner>, CustomDomainInner> beginCreateO
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
public SyncPoller<PollResult<CustomDomainInner>, CustomDomainInner> beginCreateOrUpdate(
String resourceGroupName, String resourceName, String name, CustomDomainInner parameters, Context context) {
return beginCreateOrUpdateAsync(resourceGroupName, resourceName, name, parameters, context).getSyncPoller();
return this
.beginCreateOrUpdateAsync(resourceGroupName, resourceName, name, parameters, context)
.getSyncPoller();
}

/**
Expand Down Expand Up @@ -942,7 +944,7 @@ private PollerFlux<PollResult<Void>, Void> beginDeleteAsync(
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
public SyncPoller<PollResult<Void>, Void> beginDelete(String resourceGroupName, String resourceName, String name) {
return beginDeleteAsync(resourceGroupName, resourceName, name).getSyncPoller();
return this.beginDeleteAsync(resourceGroupName, resourceName, name).getSyncPoller();
}

/**
Expand All @@ -961,7 +963,7 @@ public SyncPoller<PollResult<Void>, Void> beginDelete(String resourceGroupName,
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
public SyncPoller<PollResult<Void>, Void> beginDelete(
String resourceGroupName, String resourceName, String name, Context context) {
return beginDeleteAsync(resourceGroupName, resourceName, name, context).getSyncPoller();
return this.beginDeleteAsync(resourceGroupName, resourceName, name, context).getSyncPoller();
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -671,7 +671,7 @@ private PollerFlux<PollResult<WebPubSubHubInner>, WebPubSubHubInner> beginCreate
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
public SyncPoller<PollResult<WebPubSubHubInner>, WebPubSubHubInner> beginCreateOrUpdate(
String hubName, String resourceGroupName, String resourceName, WebPubSubHubInner parameters) {
return beginCreateOrUpdateAsync(hubName, resourceGroupName, resourceName, parameters).getSyncPoller();
return this.beginCreateOrUpdateAsync(hubName, resourceGroupName, resourceName, parameters).getSyncPoller();
}

/**
Expand All @@ -691,7 +691,9 @@ public SyncPoller<PollResult<WebPubSubHubInner>, WebPubSubHubInner> beginCreateO
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
public SyncPoller<PollResult<WebPubSubHubInner>, WebPubSubHubInner> beginCreateOrUpdate(
String hubName, String resourceGroupName, String resourceName, WebPubSubHubInner parameters, Context context) {
return beginCreateOrUpdateAsync(hubName, resourceGroupName, resourceName, parameters, context).getSyncPoller();
return this
.beginCreateOrUpdateAsync(hubName, resourceGroupName, resourceName, parameters, context)
.getSyncPoller();
}

/**
Expand Down Expand Up @@ -943,7 +945,7 @@ private PollerFlux<PollResult<Void>, Void> beginDeleteAsync(
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
public SyncPoller<PollResult<Void>, Void> beginDelete(
String hubName, String resourceGroupName, String resourceName) {
return beginDeleteAsync(hubName, resourceGroupName, resourceName).getSyncPoller();
return this.beginDeleteAsync(hubName, resourceGroupName, resourceName).getSyncPoller();
}

/**
Expand All @@ -962,7 +964,7 @@ public SyncPoller<PollResult<Void>, Void> beginDelete(
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
public SyncPoller<PollResult<Void>, Void> beginDelete(
String hubName, String resourceGroupName, String resourceName, Context context) {
return beginDeleteAsync(hubName, resourceGroupName, resourceName, context).getSyncPoller();
return this.beginDeleteAsync(hubName, resourceGroupName, resourceName, context).getSyncPoller();
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ public WebPubSubSharedPrivateLinkResourcesClient getWebPubSubSharedPrivateLinkRe
this.defaultPollInterval = defaultPollInterval;
this.subscriptionId = subscriptionId;
this.endpoint = endpoint;
this.apiVersion = "2022-08-01-preview";
this.apiVersion = "2023-02-01";
this.operations = new OperationsClientImpl(this);
this.webPubSubs = new WebPubSubsClientImpl(this);
this.usages = new UsagesClientImpl(this);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -884,7 +884,7 @@ private PollerFlux<PollResult<Void>, Void> beginDeleteAsync(
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
public SyncPoller<PollResult<Void>, Void> beginDelete(
String privateEndpointConnectionName, String resourceGroupName, String resourceName) {
return beginDeleteAsync(privateEndpointConnectionName, resourceGroupName, resourceName).getSyncPoller();
return this.beginDeleteAsync(privateEndpointConnectionName, resourceGroupName, resourceName).getSyncPoller();
}

/**
Expand All @@ -903,7 +903,8 @@ public SyncPoller<PollResult<Void>, Void> beginDelete(
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
public SyncPoller<PollResult<Void>, Void> beginDelete(
String privateEndpointConnectionName, String resourceGroupName, String resourceName, Context context) {
return beginDeleteAsync(privateEndpointConnectionName, resourceGroupName, resourceName, context)
return this
.beginDeleteAsync(privateEndpointConnectionName, resourceGroupName, resourceName, context)
.getSyncPoller();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -724,7 +724,8 @@ public SyncPoller<PollResult<SharedPrivateLinkResourceInner>, SharedPrivateLinkR
String resourceGroupName,
String resourceName,
SharedPrivateLinkResourceInner parameters) {
return beginCreateOrUpdateAsync(sharedPrivateLinkResourceName, resourceGroupName, resourceName, parameters)
return this
.beginCreateOrUpdateAsync(sharedPrivateLinkResourceName, resourceGroupName, resourceName, parameters)
.getSyncPoller();
}

Expand All @@ -749,7 +750,8 @@ public SyncPoller<PollResult<SharedPrivateLinkResourceInner>, SharedPrivateLinkR
String resourceName,
SharedPrivateLinkResourceInner parameters,
Context context) {
return beginCreateOrUpdateAsync(
return this
.beginCreateOrUpdateAsync(
sharedPrivateLinkResourceName, resourceGroupName, resourceName, parameters, context)
.getSyncPoller();
}
Expand Down Expand Up @@ -1026,7 +1028,7 @@ private PollerFlux<PollResult<Void>, Void> beginDeleteAsync(
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
public SyncPoller<PollResult<Void>, Void> beginDelete(
String sharedPrivateLinkResourceName, String resourceGroupName, String resourceName) {
return beginDeleteAsync(sharedPrivateLinkResourceName, resourceGroupName, resourceName).getSyncPoller();
return this.beginDeleteAsync(sharedPrivateLinkResourceName, resourceGroupName, resourceName).getSyncPoller();
}

/**
Expand All @@ -1045,7 +1047,8 @@ public SyncPoller<PollResult<Void>, Void> beginDelete(
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
public SyncPoller<PollResult<Void>, Void> beginDelete(
String sharedPrivateLinkResourceName, String resourceGroupName, String resourceName, Context context) {
return beginDeleteAsync(sharedPrivateLinkResourceName, resourceGroupName, resourceName, context)
return this
.beginDeleteAsync(sharedPrivateLinkResourceName, resourceGroupName, resourceName, context)
.getSyncPoller();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1052,7 +1052,7 @@ private PollerFlux<PollResult<WebPubSubResourceInner>, WebPubSubResourceInner> b
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
public SyncPoller<PollResult<WebPubSubResourceInner>, WebPubSubResourceInner> beginCreateOrUpdate(
String resourceGroupName, String resourceName, WebPubSubResourceInner parameters) {
return beginCreateOrUpdateAsync(resourceGroupName, resourceName, parameters).getSyncPoller();
return this.beginCreateOrUpdateAsync(resourceGroupName, resourceName, parameters).getSyncPoller();
}

/**
Expand All @@ -1071,7 +1071,7 @@ public SyncPoller<PollResult<WebPubSubResourceInner>, WebPubSubResourceInner> be
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
public SyncPoller<PollResult<WebPubSubResourceInner>, WebPubSubResourceInner> beginCreateOrUpdate(
String resourceGroupName, String resourceName, WebPubSubResourceInner parameters, Context context) {
return beginCreateOrUpdateAsync(resourceGroupName, resourceName, parameters, context).getSyncPoller();
return this.beginCreateOrUpdateAsync(resourceGroupName, resourceName, parameters, context).getSyncPoller();
}

/**
Expand Down Expand Up @@ -1302,7 +1302,7 @@ private PollerFlux<PollResult<Void>, Void> beginDeleteAsync(
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
public SyncPoller<PollResult<Void>, Void> beginDelete(String resourceGroupName, String resourceName) {
return beginDeleteAsync(resourceGroupName, resourceName).getSyncPoller();
return this.beginDeleteAsync(resourceGroupName, resourceName).getSyncPoller();
}

/**
Expand All @@ -1320,7 +1320,7 @@ public SyncPoller<PollResult<Void>, Void> beginDelete(String resourceGroupName,
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
public SyncPoller<PollResult<Void>, Void> beginDelete(
String resourceGroupName, String resourceName, Context context) {
return beginDeleteAsync(resourceGroupName, resourceName, context).getSyncPoller();
return this.beginDeleteAsync(resourceGroupName, resourceName, context).getSyncPoller();
}

/**
Expand Down Expand Up @@ -1569,7 +1569,7 @@ private PollerFlux<PollResult<WebPubSubResourceInner>, WebPubSubResourceInner> b
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
public SyncPoller<PollResult<WebPubSubResourceInner>, WebPubSubResourceInner> beginUpdate(
String resourceGroupName, String resourceName, WebPubSubResourceInner parameters) {
return beginUpdateAsync(resourceGroupName, resourceName, parameters).getSyncPoller();
return this.beginUpdateAsync(resourceGroupName, resourceName, parameters).getSyncPoller();
}

/**
Expand All @@ -1588,7 +1588,7 @@ public SyncPoller<PollResult<WebPubSubResourceInner>, WebPubSubResourceInner> be
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
public SyncPoller<PollResult<WebPubSubResourceInner>, WebPubSubResourceInner> beginUpdate(
String resourceGroupName, String resourceName, WebPubSubResourceInner parameters, Context context) {
return beginUpdateAsync(resourceGroupName, resourceName, parameters, context).getSyncPoller();
return this.beginUpdateAsync(resourceGroupName, resourceName, parameters, context).getSyncPoller();
}

/**
Expand Down Expand Up @@ -1995,7 +1995,7 @@ private PollerFlux<PollResult<WebPubSubKeysInner>, WebPubSubKeysInner> beginRege
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
public SyncPoller<PollResult<WebPubSubKeysInner>, WebPubSubKeysInner> beginRegenerateKey(
String resourceGroupName, String resourceName, RegenerateKeyParameters parameters) {
return beginRegenerateKeyAsync(resourceGroupName, resourceName, parameters).getSyncPoller();
return this.beginRegenerateKeyAsync(resourceGroupName, resourceName, parameters).getSyncPoller();
}

/**
Expand All @@ -2014,7 +2014,7 @@ public SyncPoller<PollResult<WebPubSubKeysInner>, WebPubSubKeysInner> beginRegen
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
public SyncPoller<PollResult<WebPubSubKeysInner>, WebPubSubKeysInner> beginRegenerateKey(
String resourceGroupName, String resourceName, RegenerateKeyParameters parameters, Context context) {
return beginRegenerateKeyAsync(resourceGroupName, resourceName, parameters, context).getSyncPoller();
return this.beginRegenerateKeyAsync(resourceGroupName, resourceName, parameters, context).getSyncPoller();
}

/**
Expand Down Expand Up @@ -2245,7 +2245,7 @@ private PollerFlux<PollResult<Void>, Void> beginRestartAsync(
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
public SyncPoller<PollResult<Void>, Void> beginRestart(String resourceGroupName, String resourceName) {
return beginRestartAsync(resourceGroupName, resourceName).getSyncPoller();
return this.beginRestartAsync(resourceGroupName, resourceName).getSyncPoller();
}

/**
Expand All @@ -2263,7 +2263,7 @@ public SyncPoller<PollResult<Void>, Void> beginRestart(String resourceGroupName,
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
public SyncPoller<PollResult<Void>, Void> beginRestart(
String resourceGroupName, String resourceName, Context context) {
return beginRestartAsync(resourceGroupName, resourceName, context).getSyncPoller();
return this.beginRestartAsync(resourceGroupName, resourceName, context).getSyncPoller();
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,15 @@ public final class AclAction extends ExpandableStringEnum<AclAction> {
/** Static value Deny for AclAction. */
public static final AclAction DENY = fromString("Deny");

/**
* Creates a new instance of AclAction value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public AclAction() {
}

/**
* Creates or finds a AclAction from its string representation.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,15 @@ public final class EventListenerEndpointDiscriminator extends ExpandableStringEn
/** Static value EventHub for EventListenerEndpointDiscriminator. */
public static final EventListenerEndpointDiscriminator EVENT_HUB = fromString("EventHub");

/**
* Creates a new instance of EventListenerEndpointDiscriminator value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public EventListenerEndpointDiscriminator() {
}

/**
* Creates or finds a EventListenerEndpointDiscriminator from its string representation.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,15 @@ public final class EventListenerFilterDiscriminator extends ExpandableStringEnum
/** Static value EventName for EventListenerFilterDiscriminator. */
public static final EventListenerFilterDiscriminator EVENT_NAME = fromString("EventName");

/**
* Creates a new instance of EventListenerFilterDiscriminator value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public EventListenerFilterDiscriminator() {
}

/**
* Creates or finds a EventListenerFilterDiscriminator from its string representation.
*
Expand Down
Loading