Skip to content

Commit

Permalink
CodeGen from PR 25378 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 658fb5c422a8caaffe413286e71c6a1a7722187d into 624dbc769880e5676ae8bb20d3c82ebd1783c64a
  • Loading branch information
SDKAuto committed Aug 18, 2023
1 parent 96b4a85 commit 3ec67d2
Show file tree
Hide file tree
Showing 169 changed files with 4,698 additions and 5,151 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.7 (Unreleased)
## 1.0.0-beta.1 (2023-08-18)

- 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-08-01-preview. 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
6 changes: 4 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-2023-02-01. 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-08-01-preview. 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.6</version>
<version>1.0.0-beta.7</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down Expand Up @@ -103,3 +103,5 @@ This project has adopted the [Microsoft Open Source Code of Conduct][coc]. For m
[cg]: https://github.com/Azure/azure-sdk-for-java/blob/main/CONTRIBUTING.md
[coc]: https://opensource.microsoft.com/codeofconduct/
[coc_faq]: https://opensource.microsoft.com/codeofconduct/faq/

![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-java%2Fsdk%2Fsignalr%2Fazure-resourcemanager-signalr%2FREADME.png)
276 changes: 240 additions & 36 deletions sdk/signalr/azure-resourcemanager-signalr/SAMPLE.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion sdk/signalr/azure-resourcemanager-signalr/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,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-2023-02-01.</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-08-01-preview.</description>
<url>https://github.com/Azure/azure-sdk-for-java</url>

<licenses>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
import com.azure.resourcemanager.signalr.implementation.SignalRManagementClientBuilder;
import com.azure.resourcemanager.signalr.implementation.SignalRPrivateEndpointConnectionsImpl;
import com.azure.resourcemanager.signalr.implementation.SignalRPrivateLinkResourcesImpl;
import com.azure.resourcemanager.signalr.implementation.SignalRReplicasImpl;
import com.azure.resourcemanager.signalr.implementation.SignalRSharedPrivateLinkResourcesImpl;
import com.azure.resourcemanager.signalr.implementation.SignalRsImpl;
import com.azure.resourcemanager.signalr.implementation.UsagesImpl;
Expand All @@ -38,6 +39,7 @@
import com.azure.resourcemanager.signalr.models.SignalRCustomDomains;
import com.azure.resourcemanager.signalr.models.SignalRPrivateEndpointConnections;
import com.azure.resourcemanager.signalr.models.SignalRPrivateLinkResources;
import com.azure.resourcemanager.signalr.models.SignalRReplicas;
import com.azure.resourcemanager.signalr.models.SignalRSharedPrivateLinkResources;
import com.azure.resourcemanager.signalr.models.SignalRs;
import com.azure.resourcemanager.signalr.models.Usages;
Expand All @@ -64,6 +66,8 @@ public final class SignalRManager {

private SignalRPrivateLinkResources signalRPrivateLinkResources;

private SignalRReplicas signalRReplicas;

private SignalRSharedPrivateLinkResources signalRSharedPrivateLinkResources;

private final SignalRManagementClient clientObject;
Expand Down Expand Up @@ -231,7 +235,7 @@ public SignalRManager authenticate(TokenCredential credential, AzureProfile prof
.append("-")
.append("com.azure.resourcemanager.signalr")
.append("/")
.append("1.0.0-beta.6");
.append("1.0.0-beta.1");
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
userAgentBuilder
.append(" (")
Expand Down Expand Up @@ -375,6 +379,18 @@ public SignalRPrivateLinkResources signalRPrivateLinkResources() {
return signalRPrivateLinkResources;
}

/**
* Gets the resource collection API of SignalRReplicas. It manages Replica.
*
* @return Resource collection API of SignalRReplicas.
*/
public SignalRReplicas signalRReplicas() {
if (this.signalRReplicas == null) {
this.signalRReplicas = new SignalRReplicasImpl(clientObject.getSignalRReplicas(), this);
}
return signalRReplicas;
}

/**
* Gets the resource collection API of SignalRSharedPrivateLinkResources. It manages SharedPrivateLinkResource.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ public interface SignalRCustomCertificatesClient {
/**
* List all custom certificates.
*
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
* from the Azure Resource Manager API or the portal.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
Expand All @@ -32,8 +31,7 @@ public interface SignalRCustomCertificatesClient {
/**
* List all custom certificates.
*
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
* from the Azure Resource Manager API or the portal.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
Expand All @@ -47,8 +45,7 @@ public interface SignalRCustomCertificatesClient {
/**
* Get a custom certificate.
*
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
* from the Azure Resource Manager API or the portal.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param certificateName Custom certificate name.
* @param context The context to associate with this operation.
Expand All @@ -64,8 +61,7 @@ Response<CustomCertificateInner> getWithResponse(
/**
* Get a custom certificate.
*
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
* from the Azure Resource Manager API or the portal.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param certificateName Custom certificate name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
Expand All @@ -79,8 +75,7 @@ Response<CustomCertificateInner> getWithResponse(
/**
* Create or update a custom certificate.
*
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
* from the Azure Resource Manager API or the portal.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param certificateName Custom certificate name.
* @param parameters A custom certificate.
Expand All @@ -96,8 +91,7 @@ SyncPoller<PollResult<CustomCertificateInner>, CustomCertificateInner> beginCrea
/**
* Create or update a custom certificate.
*
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
* from the Azure Resource Manager API or the portal.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param certificateName Custom certificate name.
* @param parameters A custom certificate.
Expand All @@ -118,8 +112,7 @@ SyncPoller<PollResult<CustomCertificateInner>, CustomCertificateInner> beginCrea
/**
* Create or update a custom certificate.
*
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
* from the Azure Resource Manager API or the portal.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param certificateName Custom certificate name.
* @param parameters A custom certificate.
Expand All @@ -135,8 +128,7 @@ CustomCertificateInner createOrUpdate(
/**
* Create or update a custom certificate.
*
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
* from the Azure Resource Manager API or the portal.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param certificateName Custom certificate name.
* @param parameters A custom certificate.
Expand All @@ -157,8 +149,7 @@ CustomCertificateInner createOrUpdate(
/**
* Delete a custom certificate.
*
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
* from the Azure Resource Manager API or the portal.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param certificateName Custom certificate name.
* @param context The context to associate with this operation.
Expand All @@ -174,8 +165,7 @@ Response<Void> deleteWithResponse(
/**
* Delete a custom certificate.
*
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
* from the Azure Resource Manager API or the portal.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param certificateName Custom certificate name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ public interface SignalRCustomDomainsClient {
/**
* List all custom domains.
*
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
* from the Azure Resource Manager API or the portal.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
Expand All @@ -32,8 +31,7 @@ public interface SignalRCustomDomainsClient {
/**
* List all custom domains.
*
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
* from the Azure Resource Manager API or the portal.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
Expand All @@ -47,8 +45,7 @@ public interface SignalRCustomDomainsClient {
/**
* Get a custom domain.
*
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
* from the Azure Resource Manager API or the portal.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param name Custom domain name.
* @param context The context to associate with this operation.
Expand All @@ -64,8 +61,7 @@ Response<CustomDomainInner> getWithResponse(
/**
* Get a custom domain.
*
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
* from the Azure Resource Manager API or the portal.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param name Custom domain name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
Expand All @@ -79,8 +75,7 @@ Response<CustomDomainInner> getWithResponse(
/**
* Create or update a custom domain.
*
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
* from the Azure Resource Manager API or the portal.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param name Custom domain name.
* @param parameters A custom domain.
Expand All @@ -96,8 +91,7 @@ SyncPoller<PollResult<CustomDomainInner>, CustomDomainInner> beginCreateOrUpdate
/**
* Create or update a custom domain.
*
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
* from the Azure Resource Manager API or the portal.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param name Custom domain name.
* @param parameters A custom domain.
Expand All @@ -114,8 +108,7 @@ SyncPoller<PollResult<CustomDomainInner>, CustomDomainInner> beginCreateOrUpdate
/**
* Create or update a custom domain.
*
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
* from the Azure Resource Manager API or the portal.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param name Custom domain name.
* @param parameters A custom domain.
Expand All @@ -131,8 +124,7 @@ CustomDomainInner createOrUpdate(
/**
* Create or update a custom domain.
*
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
* from the Azure Resource Manager API or the portal.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param name Custom domain name.
* @param parameters A custom domain.
Expand All @@ -149,8 +141,7 @@ CustomDomainInner createOrUpdate(
/**
* Delete a custom domain.
*
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
* from the Azure Resource Manager API or the portal.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param name Custom domain name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
Expand All @@ -164,8 +155,7 @@ CustomDomainInner createOrUpdate(
/**
* Delete a custom domain.
*
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
* from the Azure Resource Manager API or the portal.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param name Custom domain name.
* @param context The context to associate with this operation.
Expand All @@ -181,8 +171,7 @@ SyncPoller<PollResult<Void>, Void> beginDelete(
/**
* Delete a custom domain.
*
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
* from the Azure Resource Manager API or the portal.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param name Custom domain name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
Expand All @@ -195,8 +184,7 @@ SyncPoller<PollResult<Void>, Void> beginDelete(
/**
* Delete a custom domain.
*
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
* from the Azure Resource Manager API or the portal.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param name Custom domain name.
* @param context The context to associate with this operation.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
/** The interface for SignalRManagementClient class. */
public interface SignalRManagementClient {
/**
* Gets Gets subscription Id which uniquely identify the Microsoft Azure subscription. The subscription ID forms
* part of the URI for every service call.
* Gets The ID of the target subscription. The value must be an UUID.
*
* @return the subscriptionId value.
*/
Expand Down Expand Up @@ -94,6 +93,13 @@ public interface SignalRManagementClient {
*/
SignalRPrivateLinkResourcesClient getSignalRPrivateLinkResources();

/**
* Gets the SignalRReplicasClient object to access its operations.
*
* @return the SignalRReplicasClient object.
*/
SignalRReplicasClient getSignalRReplicas();

/**
* Gets the SignalRSharedPrivateLinkResourcesClient object to access its operations.
*
Expand Down
Loading

0 comments on commit 3ec67d2

Please sign in to comment.