Skip to content

Commit

Permalink
CodeGen from PR 22695 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Azure SignalR - Adding new api-version 2023-02-01 (Azure#22695)

* copy from existing api-version before adding new one

* add new api-version 2023-02-01

* remove minLength

* add back minLength
  • Loading branch information
SDKAuto committed Mar 3, 2023
1 parent 0aa7f47 commit f735d64
Show file tree
Hide file tree
Showing 129 changed files with 306 additions and 4,582 deletions.
4 changes: 3 additions & 1 deletion sdk/signalr/azure-resourcemanager-signalr/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Release History

## 1.0.0-beta.6 (Unreleased)
## 1.0.0-beta.1 (2023-03-03)

- Azure Resource Manager SignalR client library for Java. This package contains Microsoft Azure SDK for SignalR Management SDK. REST API for Azure SignalR 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/signalr/azure-resourcemanager-signalr/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Azure Resource Manager SignalR client library for Java.

This package contains Microsoft Azure SDK for SignalR Management SDK. REST API for Azure SignalR 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 SignalR Management SDK. REST API for Azure SignalR 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-signalr</artifactId>
<version>1.0.0-beta.5</version>
<version>1.0.0-beta.6</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down
182 changes: 76 additions & 106 deletions sdk/signalr/azure-resourcemanager-signalr/SAMPLE.md

Large diffs are not rendered by default.

10 changes: 8 additions & 2 deletions sdk/signalr/azure-resourcemanager-signalr/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 SignalR Management</name>
<description>This package contains Microsoft Azure SDK for SignalR Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. REST API for Azure SignalR Service. Package tag package-2022-08-01-preview.</description>
<description>This package contains Microsoft Azure SDK for SignalR Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. REST API for Azure SignalR 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 @@ -231,7 +231,7 @@ public SignalRManager authenticate(TokenCredential credential, AzureProfile prof
.append("-")
.append("com.azure.resourcemanager.signalr")
.append("/")
.append("1.0.0-beta.5");
.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 @@ -238,7 +238,7 @@ public SignalRSharedPrivateLinkResourcesClient getSignalRSharedPrivateLinkResour
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.signalRs = new SignalRsClientImpl(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 @@ -1047,7 +1047,7 @@ private PollerFlux<PollResult<SignalRResourceInner>, SignalRResourceInner> begin
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
public SyncPoller<PollResult<SignalRResourceInner>, SignalRResourceInner> beginCreateOrUpdate(
String resourceGroupName, String resourceName, SignalRResourceInner parameters) {
return beginCreateOrUpdateAsync(resourceGroupName, resourceName, parameters).getSyncPoller();
return this.beginCreateOrUpdateAsync(resourceGroupName, resourceName, parameters).getSyncPoller();
}

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

/**
Expand Down Expand Up @@ -1297,7 +1297,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 @@ -1315,7 +1315,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 @@ -1560,7 +1560,7 @@ private PollerFlux<PollResult<SignalRResourceInner>, SignalRResourceInner> begin
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
public SyncPoller<PollResult<SignalRResourceInner>, SignalRResourceInner> beginUpdate(
String resourceGroupName, String resourceName, SignalRResourceInner parameters) {
return beginUpdateAsync(resourceGroupName, resourceName, parameters).getSyncPoller();
return this.beginUpdateAsync(resourceGroupName, resourceName, parameters).getSyncPoller();
}

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

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

/**
Expand All @@ -2003,7 +2003,7 @@ public SyncPoller<PollResult<SignalRKeysInner>, SignalRKeysInner> beginRegenerat
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
public SyncPoller<PollResult<SignalRKeysInner>, SignalRKeysInner> 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 @@ -2234,7 +2234,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 @@ -2252,7 +2252,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 @@ -32,6 +32,15 @@ public final class FeatureFlags extends ExpandableStringEnum<FeatureFlags> {
/** Static value EnableLiveTrace for FeatureFlags. */
public static final FeatureFlags ENABLE_LIVE_TRACE = fromString("EnableLiveTrace");

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

/**
* Creates or finds a FeatureFlags from its string representation.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,15 @@ public final class KeyType extends ExpandableStringEnum<KeyType> {
/** Static value Salt for KeyType. */
public static final KeyType SALT = fromString("Salt");

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

/**
* Creates or finds a KeyType from its string representation.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,15 @@ public final class ManagedIdentityType extends ExpandableStringEnum<ManagedIdent
/** Static value UserAssigned for ManagedIdentityType. */
public static final ManagedIdentityType USER_ASSIGNED = fromString("UserAssigned");

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

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

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

/**
* Creates or finds a PrivateLinkServiceConnectionStatus from its string representation.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,15 @@ public final class ProvisioningState extends ExpandableStringEnum<ProvisioningSt
/** Static value Moving for ProvisioningState. */
public static final ProvisioningState MOVING = fromString("Moving");

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

/**
* Creates or finds a ProvisioningState from its string representation.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,15 @@ public final class ScaleType extends ExpandableStringEnum<ScaleType> {
/** Static value Automatic for ScaleType. */
public static final ScaleType AUTOMATIC = fromString("Automatic");

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

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

0 comments on commit f735d64

Please sign in to comment.