Skip to content

Commit eae8b97

Browse files
authored
[Automation] Generate Fluent Lite from signalr#package-2023-08-01-preview (Azure#37295)
1 parent b3f34a4 commit eae8b97

File tree

139 files changed

+2639
-1299
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

139 files changed

+2639
-1299
lines changed

sdk/signalr/azure-resourcemanager-signalr/CHANGELOG.md

Lines changed: 53 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,63 @@
11
# Release History
22

3-
## 1.0.0-beta.8 (Unreleased)
3+
## 1.0.0-beta.8 (2023-10-23)
4+
5+
- 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).
46

57
### Features Added
68

7-
### Breaking Changes
9+
* `models.IpRule` was added
10+
11+
#### `models.CustomDomain` was modified
12+
13+
* `systemData()` was added
14+
15+
#### `models.SharedPrivateLinkResource` was modified
16+
17+
* `systemData()` was added
18+
19+
#### `models.PrivateLinkResource` was modified
20+
21+
* `systemData()` was added
22+
23+
#### `models.Replica` was modified
24+
25+
* `resourceStopped()` was added
26+
* `regionEndpointEnabled()` was added
27+
28+
#### `models.Replica$Update` was modified
29+
30+
* `withRegionEndpointEnabled(java.lang.String)` was added
31+
* `withResourceStopped(java.lang.String)` was added
32+
33+
#### `models.SignalRNetworkACLs` was modified
34+
35+
* `ipRules()` was added
36+
* `withIpRules(java.util.List)` was added
37+
38+
#### `models.SignalRResource$Definition` was modified
39+
40+
* `withResourceStopped(java.lang.String)` was added
41+
* `withRegionEndpointEnabled(java.lang.String)` was added
42+
43+
#### `models.CustomCertificate` was modified
44+
45+
* `systemData()` was added
46+
47+
#### `models.SignalRResource` was modified
48+
49+
* `regionEndpointEnabled()` was added
50+
* `resourceStopped()` was added
51+
52+
#### `models.SignalRResource$Update` was modified
53+
54+
* `withResourceStopped(java.lang.String)` was added
55+
* `withRegionEndpointEnabled(java.lang.String)` was added
856

9-
### Bugs Fixed
57+
#### `models.Replica$Definition` was modified
1058

11-
### Other Changes
59+
* `withResourceStopped(java.lang.String)` was added
60+
* `withRegionEndpointEnabled(java.lang.String)` was added
1261

1362
## 1.0.0-beta.7 (2023-09-14)
1463

sdk/signalr/azure-resourcemanager-signalr/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Azure Resource Manager SignalR client library for Java.
44

5-
This package contains Microsoft Azure SDK for SignalR Management SDK. REST API for Azure SignalR Service. Package tag package-2023-06-01-preview. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
5+
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).
66

77
## We'd love to hear your feedback
88

@@ -32,7 +32,7 @@ Various documentation is available to help you get started
3232
<dependency>
3333
<groupId>com.azure.resourcemanager</groupId>
3434
<artifactId>azure-resourcemanager-signalr</artifactId>
35-
<version>1.0.0-beta.7</version>
35+
<version>1.0.0-beta.8</version>
3636
</dependency>
3737
```
3838
[//]: # ({x-version-update-end})
@@ -45,7 +45,7 @@ Azure Management Libraries require a `TokenCredential` implementation for authen
4545

4646
### Authentication
4747

48-
By default, Azure Active Directory token authentication depends on correct configuration of the following environment variables.
48+
By default, Microsoft Entra ID token authentication depends on correct configuration of the following environment variables.
4949

5050
- `AZURE_CLIENT_ID` for Azure client ID.
5151
- `AZURE_TENANT_ID` for Azure tenant ID.
@@ -94,7 +94,7 @@ This project has adopted the [Microsoft Open Source Code of Conduct][coc]. For m
9494
<!-- LINKS -->
9595
[survey]: https://microsoft.qualtrics.com/jfe/form/SV_ehN0lIk2FKEBkwd?Q_CHL=DOCS
9696
[docs]: https://azure.github.io/azure-sdk-for-java/
97-
[jdk]: https://docs.microsoft.com/java/azure/jdk/
97+
[jdk]: https://learn.microsoft.com/azure/developer/java/fundamentals/
9898
[azure_subscription]: https://azure.microsoft.com/free/
9999
[azure_identity]: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/identity/azure-identity
100100
[azure_core_http_netty]: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/core/azure-core-http-netty

sdk/signalr/azure-resourcemanager-signalr/SAMPLE.md

Lines changed: 39 additions & 37 deletions
Large diffs are not rendered by default.

sdk/signalr/azure-resourcemanager-signalr/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<packaging>jar</packaging>
1919

2020
<name>Microsoft Azure SDK for SignalR Management</name>
21-
<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-06-01-preview.</description>
21+
<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>
2222
<url>https://github.com/Azure/azure-sdk-for-java</url>
2323

2424
<licenses>

sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/SignalRManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ public SignalRManager authenticate(TokenCredential credential, AzureProfile prof
235235
.append("-")
236236
.append("com.azure.resourcemanager.signalr")
237237
.append("/")
238-
.append("1.0.0-beta.7");
238+
.append("1.0.0-beta.8");
239239
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
240240
userAgentBuilder
241241
.append(" (")

sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/CustomCertificateInner.java

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
import com.azure.core.annotation.Fluent;
88
import com.azure.core.management.ProxyResource;
9+
import com.azure.core.management.SystemData;
910
import com.azure.core.util.logging.ClientLogger;
1011
import com.azure.resourcemanager.signalr.models.ProvisioningState;
1112
import com.fasterxml.jackson.annotation.JsonProperty;
@@ -19,6 +20,12 @@ public final class CustomCertificateInner extends ProxyResource {
1920
@JsonProperty(value = "properties", required = true)
2021
private CustomCertificateProperties innerProperties = new CustomCertificateProperties();
2122

23+
/*
24+
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
25+
*/
26+
@JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
27+
private SystemData systemData;
28+
2229
/** Creates an instance of CustomCertificateInner class. */
2330
public CustomCertificateInner() {
2431
}
@@ -32,6 +39,15 @@ private CustomCertificateProperties innerProperties() {
3239
return this.innerProperties;
3340
}
3441

42+
/**
43+
* Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
44+
*
45+
* @return the systemData value.
46+
*/
47+
public SystemData systemData() {
48+
return this.systemData;
49+
}
50+
3551
/**
3652
* Get the provisioningState property: Provisioning state of the resource.
3753
*

sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/CustomDomainInner.java

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
import com.azure.core.annotation.Fluent;
88
import com.azure.core.management.ProxyResource;
9+
import com.azure.core.management.SystemData;
910
import com.azure.core.util.logging.ClientLogger;
1011
import com.azure.resourcemanager.signalr.models.ProvisioningState;
1112
import com.azure.resourcemanager.signalr.models.ResourceReference;
@@ -20,6 +21,12 @@ public final class CustomDomainInner extends ProxyResource {
2021
@JsonProperty(value = "properties", required = true)
2122
private CustomDomainProperties innerProperties = new CustomDomainProperties();
2223

24+
/*
25+
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
26+
*/
27+
@JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
28+
private SystemData systemData;
29+
2330
/** Creates an instance of CustomDomainInner class. */
2431
public CustomDomainInner() {
2532
}
@@ -33,6 +40,15 @@ private CustomDomainProperties innerProperties() {
3340
return this.innerProperties;
3441
}
3542

43+
/**
44+
* Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
45+
*
46+
* @return the systemData value.
47+
*/
48+
public SystemData systemData() {
49+
return this.systemData;
50+
}
51+
3652
/**
3753
* Get the provisioningState property: Provisioning state of the resource.
3854
*

sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/PrivateLinkResourceInner.java

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
import com.azure.core.annotation.Fluent;
88
import com.azure.core.management.ProxyResource;
9+
import com.azure.core.management.SystemData;
910
import com.azure.resourcemanager.signalr.models.ShareablePrivateLinkResourceType;
1011
import com.fasterxml.jackson.annotation.JsonProperty;
1112
import java.util.List;
@@ -19,6 +20,12 @@ public final class PrivateLinkResourceInner extends ProxyResource {
1920
@JsonProperty(value = "properties")
2021
private PrivateLinkResourceProperties innerProperties;
2122

23+
/*
24+
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
25+
*/
26+
@JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
27+
private SystemData systemData;
28+
2229
/** Creates an instance of PrivateLinkResourceInner class. */
2330
public PrivateLinkResourceInner() {
2431
}
@@ -32,6 +39,15 @@ private PrivateLinkResourceProperties innerProperties() {
3239
return this.innerProperties;
3340
}
3441

42+
/**
43+
* Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
44+
*
45+
* @return the systemData value.
46+
*/
47+
public SystemData systemData() {
48+
return this.systemData;
49+
}
50+
3551
/**
3652
* Get the groupId property: Group Id of the private link resource.
3753
*

sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/ReplicaInner.java

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,56 @@ public ProvisioningState provisioningState() {
9898
return this.innerProperties() == null ? null : this.innerProperties().provisioningState();
9999
}
100100

101+
/**
102+
* Get the regionEndpointEnabled property: Enable or disable the regional endpoint. Default to "Enabled". When it's
103+
* Disabled, new connections will not be routed to this endpoint, however existing connections will not be affected.
104+
*
105+
* @return the regionEndpointEnabled value.
106+
*/
107+
public String regionEndpointEnabled() {
108+
return this.innerProperties() == null ? null : this.innerProperties().regionEndpointEnabled();
109+
}
110+
111+
/**
112+
* Set the regionEndpointEnabled property: Enable or disable the regional endpoint. Default to "Enabled". When it's
113+
* Disabled, new connections will not be routed to this endpoint, however existing connections will not be affected.
114+
*
115+
* @param regionEndpointEnabled the regionEndpointEnabled value to set.
116+
* @return the ReplicaInner object itself.
117+
*/
118+
public ReplicaInner withRegionEndpointEnabled(String regionEndpointEnabled) {
119+
if (this.innerProperties() == null) {
120+
this.innerProperties = new ReplicaProperties();
121+
}
122+
this.innerProperties().withRegionEndpointEnabled(regionEndpointEnabled);
123+
return this;
124+
}
125+
126+
/**
127+
* Get the resourceStopped property: Stop or start the resource. Default to "false". When it's true, the data plane
128+
* of the resource is shutdown. When it's false, the data plane of the resource is started.
129+
*
130+
* @return the resourceStopped value.
131+
*/
132+
public String resourceStopped() {
133+
return this.innerProperties() == null ? null : this.innerProperties().resourceStopped();
134+
}
135+
136+
/**
137+
* Set the resourceStopped property: Stop or start the resource. Default to "false". When it's true, the data plane
138+
* of the resource is shutdown. When it's false, the data plane of the resource is started.
139+
*
140+
* @param resourceStopped the resourceStopped value to set.
141+
* @return the ReplicaInner object itself.
142+
*/
143+
public ReplicaInner withResourceStopped(String resourceStopped) {
144+
if (this.innerProperties() == null) {
145+
this.innerProperties = new ReplicaProperties();
146+
}
147+
this.innerProperties().withResourceStopped(resourceStopped);
148+
return this;
149+
}
150+
101151
/**
102152
* Validates the instance.
103153
*

sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/ReplicaProperties.java

Lines changed: 62 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,35 @@
44

55
package com.azure.resourcemanager.signalr.fluent.models;
66

7-
import com.azure.core.annotation.Immutable;
7+
import com.azure.core.annotation.Fluent;
88
import com.azure.resourcemanager.signalr.models.ProvisioningState;
99
import com.fasterxml.jackson.annotation.JsonProperty;
1010

1111
/** The ReplicaProperties model. */
12-
@Immutable
12+
@Fluent
1313
public final class ReplicaProperties {
1414
/*
1515
* Provisioning state of the resource.
1616
*/
1717
@JsonProperty(value = "provisioningState", access = JsonProperty.Access.WRITE_ONLY)
1818
private ProvisioningState provisioningState;
1919

20+
/*
21+
* Enable or disable the regional endpoint. Default to "Enabled".
22+
* When it's Disabled, new connections will not be routed to this endpoint, however existing connections will not
23+
* be affected.
24+
*/
25+
@JsonProperty(value = "regionEndpointEnabled")
26+
private String regionEndpointEnabled;
27+
28+
/*
29+
* Stop or start the resource. Default to "false".
30+
* When it's true, the data plane of the resource is shutdown.
31+
* When it's false, the data plane of the resource is started.
32+
*/
33+
@JsonProperty(value = "resourceStopped")
34+
private String resourceStopped;
35+
2036
/** Creates an instance of ReplicaProperties class. */
2137
public ReplicaProperties() {
2238
}
@@ -30,6 +46,50 @@ public ProvisioningState provisioningState() {
3046
return this.provisioningState;
3147
}
3248

49+
/**
50+
* Get the regionEndpointEnabled property: Enable or disable the regional endpoint. Default to "Enabled". When it's
51+
* Disabled, new connections will not be routed to this endpoint, however existing connections will not be affected.
52+
*
53+
* @return the regionEndpointEnabled value.
54+
*/
55+
public String regionEndpointEnabled() {
56+
return this.regionEndpointEnabled;
57+
}
58+
59+
/**
60+
* Set the regionEndpointEnabled property: Enable or disable the regional endpoint. Default to "Enabled". When it's
61+
* Disabled, new connections will not be routed to this endpoint, however existing connections will not be affected.
62+
*
63+
* @param regionEndpointEnabled the regionEndpointEnabled value to set.
64+
* @return the ReplicaProperties object itself.
65+
*/
66+
public ReplicaProperties withRegionEndpointEnabled(String regionEndpointEnabled) {
67+
this.regionEndpointEnabled = regionEndpointEnabled;
68+
return this;
69+
}
70+
71+
/**
72+
* Get the resourceStopped property: Stop or start the resource. Default to "false". When it's true, the data plane
73+
* of the resource is shutdown. When it's false, the data plane of the resource is started.
74+
*
75+
* @return the resourceStopped value.
76+
*/
77+
public String resourceStopped() {
78+
return this.resourceStopped;
79+
}
80+
81+
/**
82+
* Set the resourceStopped property: Stop or start the resource. Default to "false". When it's true, the data plane
83+
* of the resource is shutdown. When it's false, the data plane of the resource is started.
84+
*
85+
* @param resourceStopped the resourceStopped value to set.
86+
* @return the ReplicaProperties object itself.
87+
*/
88+
public ReplicaProperties withResourceStopped(String resourceStopped) {
89+
this.resourceStopped = resourceStopped;
90+
return this;
91+
}
92+
3393
/**
3494
* Validates the instance.
3595
*

0 commit comments

Comments
 (0)