diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/CHANGELOG.md b/sdk/webpubsub/azure-resourcemanager-webpubsub/CHANGELOG.md index c422efb6998e..5835927b4a74 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/CHANGELOG.md +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/CHANGELOG.md @@ -1,6 +1,8 @@ # Release History -## 1.0.0-beta.3 (Unreleased) +## 1.0.0-beta.1 (2021-11-30) + +- 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-2021-10-01. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt). ### Features Added diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/README.md b/sdk/webpubsub/azure-resourcemanager-webpubsub/README.md index aed73f4e1fd9..22d6e16e903a 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/README.md +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/README.md @@ -32,7 +32,7 @@ Various documentation is available to help you get started com.azure.resourcemanager azure-resourcemanager-webpubsub - 1.0.0-beta.2 + 1.0.0-beta.3 ``` [//]: # ({x-version-update-end}) diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/WebPubSubManager.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/WebPubSubManager.java index 26f61ee4e121..ff92d3b8014a 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/WebPubSubManager.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/WebPubSubManager.java @@ -8,6 +8,7 @@ import com.azure.core.http.HttpClient; import com.azure.core.http.HttpPipeline; import com.azure.core.http.HttpPipelineBuilder; +import com.azure.core.http.HttpPipelinePosition; import com.azure.core.http.policy.AddDatePolicy; import com.azure.core.http.policy.HttpLogOptions; import com.azure.core.http.policy.HttpLoggingPolicy; @@ -41,6 +42,7 @@ import java.util.ArrayList; import java.util.List; import java.util.Objects; +import java.util.stream.Collectors; /** Entry point to WebPubSubManager. REST API for Azure WebPubSub Service. */ public final class WebPubSubManager { @@ -194,7 +196,7 @@ public WebPubSubManager authenticate(TokenCredential credential, AzureProfile pr .append("-") .append("com.azure.resourcemanager.webpubsub") .append("/") - .append("1.0.0-beta.2"); + .append("1.0.0-beta.1"); if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) { userAgentBuilder .append(" (") @@ -217,11 +219,24 @@ public WebPubSubManager authenticate(TokenCredential credential, AzureProfile pr List policies = new ArrayList<>(); policies.add(new UserAgentPolicy(userAgentBuilder.toString())); policies.add(new RequestIdPolicy()); + policies + .addAll( + this + .policies + .stream() + .filter(p -> p.getPipelinePosition() == HttpPipelinePosition.PER_CALL) + .collect(Collectors.toList())); HttpPolicyProviders.addBeforeRetryPolicies(policies); policies.add(retryPolicy); policies.add(new AddDatePolicy()); policies.add(new ArmChallengeAuthenticationPolicy(credential, scopes.toArray(new String[0]))); - policies.addAll(this.policies); + policies + .addAll( + this + .policies + .stream() + .filter(p -> p.getPipelinePosition() == HttpPipelinePosition.PER_RETRY) + .collect(Collectors.toList())); HttpPolicyProviders.addAfterRetryPolicies(policies); policies.add(new HttpLoggingPolicy(httpLogOptions)); HttpPipeline httpPipeline = diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/OperationInner.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/OperationInner.java index 279b6ec5c29a..bc9fb8e1e6b8 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/OperationInner.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/OperationInner.java @@ -29,7 +29,7 @@ public final class OperationInner { private Boolean isDataAction; /* - * The object that describes the operation. + * The object that describes a operation. */ @JsonProperty(value = "display") private OperationDisplay display; @@ -42,7 +42,7 @@ public final class OperationInner { private String origin; /* - * Extra properties for the operation. + * Extra Operation properties. */ @JsonProperty(value = "properties") private OperationProperties properties; @@ -88,7 +88,7 @@ public OperationInner withIsDataAction(Boolean isDataAction) { } /** - * Get the display property: The object that describes the operation. + * Get the display property: The object that describes a operation. * * @return the display value. */ @@ -97,7 +97,7 @@ public OperationDisplay display() { } /** - * Set the display property: The object that describes the operation. + * Set the display property: The object that describes a operation. * * @param display the display value to set. * @return the OperationInner object itself. @@ -130,7 +130,7 @@ public OperationInner withOrigin(String origin) { } /** - * Get the properties property: Extra properties for the operation. + * Get the properties property: Extra Operation properties. * * @return the properties value. */ @@ -139,7 +139,7 @@ public OperationProperties properties() { } /** - * Set the properties property: Extra properties for the operation. + * Set the properties property: Extra Operation properties. * * @param properties the properties value to set. * @return the OperationInner object itself. diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/PrivateEndpointConnectionInner.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/PrivateEndpointConnectionInner.java index 2a5cd55fba9c..81f4ebd6e213 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/PrivateEndpointConnectionInner.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/PrivateEndpointConnectionInner.java @@ -27,7 +27,7 @@ public final class PrivateEndpointConnectionInner extends ProxyResource { private SystemData systemData; /* - * Properties of the private endpoint connection + * Private endpoint connection properties */ @JsonProperty(value = "properties") private PrivateEndpointConnectionProperties innerProperties; @@ -42,7 +42,7 @@ public SystemData systemData() { } /** - * Get the innerProperties property: Properties of the private endpoint connection. + * Get the innerProperties property: Private endpoint connection properties. * * @return the innerProperties value. */ @@ -51,7 +51,7 @@ private PrivateEndpointConnectionProperties innerProperties() { } /** - * Get the provisioningState property: Provisioning state of the private endpoint connection. + * Get the provisioningState property: Provisioning state of the resource. * * @return the provisioningState value. */ @@ -60,7 +60,7 @@ public ProvisioningState provisioningState() { } /** - * Get the privateEndpoint property: Private endpoint associated with the private endpoint connection. + * Get the privateEndpoint property: Private endpoint. * * @return the privateEndpoint value. */ @@ -69,7 +69,7 @@ public PrivateEndpoint privateEndpoint() { } /** - * Set the privateEndpoint property: Private endpoint associated with the private endpoint connection. + * Set the privateEndpoint property: Private endpoint. * * @param privateEndpoint the privateEndpoint value to set. * @return the PrivateEndpointConnectionInner object itself. @@ -92,7 +92,7 @@ public List groupIds() { } /** - * Get the privateLinkServiceConnectionState property: Connection state. + * Get the privateLinkServiceConnectionState property: Connection state of the private endpoint connection. * * @return the privateLinkServiceConnectionState value. */ @@ -101,7 +101,7 @@ public PrivateLinkServiceConnectionState privateLinkServiceConnectionState() { } /** - * Set the privateLinkServiceConnectionState property: Connection state. + * Set the privateLinkServiceConnectionState property: Connection state of the private endpoint connection. * * @param privateLinkServiceConnectionState the privateLinkServiceConnectionState value to set. * @return the PrivateEndpointConnectionInner object itself. diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/PrivateEndpointConnectionProperties.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/PrivateEndpointConnectionProperties.java index 26300d518a99..4be9fd53af89 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/PrivateEndpointConnectionProperties.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/PrivateEndpointConnectionProperties.java @@ -19,13 +19,13 @@ public final class PrivateEndpointConnectionProperties { @JsonIgnore private final ClientLogger logger = new ClientLogger(PrivateEndpointConnectionProperties.class); /* - * Provisioning state of the private endpoint connection + * Provisioning state of the resource. */ @JsonProperty(value = "provisioningState", access = JsonProperty.Access.WRITE_ONLY) private ProvisioningState provisioningState; /* - * Private endpoint associated with the private endpoint connection + * Private endpoint */ @JsonProperty(value = "privateEndpoint") private PrivateEndpoint privateEndpoint; @@ -37,13 +37,13 @@ public final class PrivateEndpointConnectionProperties { private List groupIds; /* - * Connection state + * Connection state of the private endpoint connection */ @JsonProperty(value = "privateLinkServiceConnectionState") private PrivateLinkServiceConnectionState privateLinkServiceConnectionState; /** - * Get the provisioningState property: Provisioning state of the private endpoint connection. + * Get the provisioningState property: Provisioning state of the resource. * * @return the provisioningState value. */ @@ -52,7 +52,7 @@ public ProvisioningState provisioningState() { } /** - * Get the privateEndpoint property: Private endpoint associated with the private endpoint connection. + * Get the privateEndpoint property: Private endpoint. * * @return the privateEndpoint value. */ @@ -61,7 +61,7 @@ public PrivateEndpoint privateEndpoint() { } /** - * Set the privateEndpoint property: Private endpoint associated with the private endpoint connection. + * Set the privateEndpoint property: Private endpoint. * * @param privateEndpoint the privateEndpoint value to set. * @return the PrivateEndpointConnectionProperties object itself. @@ -81,7 +81,7 @@ public List groupIds() { } /** - * Get the privateLinkServiceConnectionState property: Connection state. + * Get the privateLinkServiceConnectionState property: Connection state of the private endpoint connection. * * @return the privateLinkServiceConnectionState value. */ @@ -90,7 +90,7 @@ public PrivateLinkServiceConnectionState privateLinkServiceConnectionState() { } /** - * Set the privateLinkServiceConnectionState property: Connection state. + * Set the privateLinkServiceConnectionState property: Connection state of the private endpoint connection. * * @param privateLinkServiceConnectionState the privateLinkServiceConnectionState value to set. * @return the PrivateEndpointConnectionProperties object itself. diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/PrivateLinkResourceInner.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/PrivateLinkResourceInner.java index e3d4589d8af4..ae74ef342341 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/PrivateLinkResourceInner.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/PrivateLinkResourceInner.java @@ -18,13 +18,13 @@ public final class PrivateLinkResourceInner extends ProxyResource { @JsonIgnore private final ClientLogger logger = new ClientLogger(PrivateLinkResourceInner.class); /* - * Properties of a private link resource + * Private link resource properties */ @JsonProperty(value = "properties") private PrivateLinkResourceProperties innerProperties; /** - * Get the innerProperties property: Properties of a private link resource. + * Get the innerProperties property: Private link resource properties. * * @return the innerProperties value. */ diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/SharedPrivateLinkResourceInner.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/SharedPrivateLinkResourceInner.java index 1e92d03b4f19..f56a3e684530 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/SharedPrivateLinkResourceInner.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/SharedPrivateLinkResourceInner.java @@ -25,7 +25,7 @@ public final class SharedPrivateLinkResourceInner extends ProxyResource { private SystemData systemData; /* - * Describes the properties of a Shared Private Link Resource + * Describes the properties of an existing Shared Private Link Resource */ @JsonProperty(value = "properties") private SharedPrivateLinkResourceProperties innerProperties; @@ -40,7 +40,7 @@ public SystemData systemData() { } /** - * Get the innerProperties property: Describes the properties of a Shared Private Link Resource. + * Get the innerProperties property: Describes the properties of an existing Shared Private Link Resource. * * @return the innerProperties value. */ @@ -95,7 +95,7 @@ public SharedPrivateLinkResourceInner withPrivateLinkResourceId(String privateLi } /** - * Get the provisioningState property: Provisioning state of the shared private link resource. + * Get the provisioningState property: Provisioning state of the resource. * * @return the provisioningState value. */ diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/SharedPrivateLinkResourceProperties.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/SharedPrivateLinkResourceProperties.java index 34fe5dbcbdfd..d48f8524c956 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/SharedPrivateLinkResourceProperties.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/SharedPrivateLinkResourceProperties.java @@ -30,7 +30,7 @@ public final class SharedPrivateLinkResourceProperties { private String privateLinkResourceId; /* - * Provisioning state of the shared private link resource + * Provisioning state of the resource. */ @JsonProperty(value = "provisioningState", access = JsonProperty.Access.WRITE_ONLY) private ProvisioningState provisioningState; @@ -89,7 +89,7 @@ public SharedPrivateLinkResourceProperties withPrivateLinkResourceId(String priv } /** - * Get the provisioningState property: Provisioning state of the shared private link resource. + * Get the provisioningState property: Provisioning state of the resource. * * @return the provisioningState value. */ diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/WebPubSubHubInner.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/WebPubSubHubInner.java index b215c9b9132f..f4476fa308b9 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/WebPubSubHubInner.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/WebPubSubHubInner.java @@ -24,7 +24,7 @@ public final class WebPubSubHubInner extends ProxyResource { private SystemData systemData; /* - * Properties of the hub setting. + * Properties of a hub. */ @JsonProperty(value = "properties", required = true) private WebPubSubHubProperties properties; @@ -39,7 +39,7 @@ public SystemData systemData() { } /** - * Get the properties property: Properties of the hub setting. + * Get the properties property: Properties of a hub. * * @return the properties value. */ @@ -48,7 +48,7 @@ public WebPubSubHubProperties properties() { } /** - * Set the properties property: Properties of the hub setting. + * Set the properties property: Properties of a hub. * * @param properties the properties value to set. * @return the WebPubSubHubInner object itself. diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/WebPubSubProperties.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/WebPubSubProperties.java index a814d7ef99a2..9b950026564d 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/WebPubSubProperties.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/WebPubSubProperties.java @@ -72,7 +72,7 @@ public final class WebPubSubProperties { private List sharedPrivateLinkResources; /* - * TLS settings. + * TLS settings for the resource */ @JsonProperty(value = "tls") private WebPubSubTlsSettings tls; @@ -91,16 +91,12 @@ public final class WebPubSubProperties { /* * Resource log configuration of a Microsoft.SignalRService resource. - * If resourceLogConfiguration isn't null or empty, it will override - * options "EnableConnectivityLog" and "EnableMessagingLogs" in features. - * Otherwise, use options "EnableConnectivityLog" and "EnableMessagingLogs" - * in features. */ @JsonProperty(value = "resourceLogConfiguration") private ResourceLogConfiguration resourceLogConfiguration; /* - * Network ACLs + * Network ACLs for the resource */ @JsonProperty(value = "networkACLs") private WebPubSubNetworkACLs networkACLs; @@ -205,7 +201,7 @@ public List sharedPrivateLinkResources() { } /** - * Get the tls property: TLS settings. + * Get the tls property: TLS settings for the resource. * * @return the tls value. */ @@ -214,7 +210,7 @@ public WebPubSubTlsSettings tls() { } /** - * Set the tls property: TLS settings. + * Set the tls property: TLS settings for the resource. * * @param tls the tls value to set. * @return the WebPubSubProperties object itself. @@ -254,10 +250,7 @@ public WebPubSubProperties withLiveTraceConfiguration(LiveTraceConfiguration liv } /** - * Get the resourceLogConfiguration property: Resource log configuration of a Microsoft.SignalRService resource. If - * resourceLogConfiguration isn't null or empty, it will override options "EnableConnectivityLog" and - * "EnableMessagingLogs" in features. Otherwise, use options "EnableConnectivityLog" and "EnableMessagingLogs" in - * features. + * Get the resourceLogConfiguration property: Resource log configuration of a Microsoft.SignalRService resource. * * @return the resourceLogConfiguration value. */ @@ -266,10 +259,7 @@ public ResourceLogConfiguration resourceLogConfiguration() { } /** - * Set the resourceLogConfiguration property: Resource log configuration of a Microsoft.SignalRService resource. If - * resourceLogConfiguration isn't null or empty, it will override options "EnableConnectivityLog" and - * "EnableMessagingLogs" in features. Otherwise, use options "EnableConnectivityLog" and "EnableMessagingLogs" in - * features. + * Set the resourceLogConfiguration property: Resource log configuration of a Microsoft.SignalRService resource. * * @param resourceLogConfiguration the resourceLogConfiguration value to set. * @return the WebPubSubProperties object itself. @@ -280,7 +270,7 @@ public WebPubSubProperties withResourceLogConfiguration(ResourceLogConfiguration } /** - * Get the networkACLs property: Network ACLs. + * Get the networkACLs property: Network ACLs for the resource. * * @return the networkACLs value. */ @@ -289,7 +279,7 @@ public WebPubSubNetworkACLs networkACLs() { } /** - * Set the networkACLs property: Network ACLs. + * Set the networkACLs property: Network ACLs for the resource. * * @param networkACLs the networkACLs value to set. * @return the WebPubSubProperties object itself. diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/WebPubSubResourceInner.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/WebPubSubResourceInner.java index 484195d25907..f74738c1eaec 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/WebPubSubResourceInner.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/WebPubSubResourceInner.java @@ -26,19 +26,19 @@ public final class WebPubSubResourceInner extends Resource { @JsonIgnore private final ClientLogger logger = new ClientLogger(WebPubSubResourceInner.class); /* - * The billing information of the resource.(e.g. Free, Standard) + * The billing information of the resource. */ @JsonProperty(value = "sku") private ResourceSku sku; /* - * Settings used to provision or configure the resource + * A class that describes the properties of the resource */ @JsonProperty(value = "properties") private WebPubSubProperties innerProperties; /* - * The managed identity response + * A class represent managed identities used for request and response */ @JsonProperty(value = "identity") private ManagedIdentity identity; @@ -50,7 +50,7 @@ public final class WebPubSubResourceInner extends Resource { private SystemData systemData; /** - * Get the sku property: The billing information of the resource.(e.g. Free, Standard). + * Get the sku property: The billing information of the resource. * * @return the sku value. */ @@ -59,7 +59,7 @@ public ResourceSku sku() { } /** - * Set the sku property: The billing information of the resource.(e.g. Free, Standard). + * Set the sku property: The billing information of the resource. * * @param sku the sku value to set. * @return the WebPubSubResourceInner object itself. @@ -70,7 +70,7 @@ public WebPubSubResourceInner withSku(ResourceSku sku) { } /** - * Get the innerProperties property: Settings used to provision or configure the resource. + * Get the innerProperties property: A class that describes the properties of the resource. * * @return the innerProperties value. */ @@ -79,7 +79,7 @@ private WebPubSubProperties innerProperties() { } /** - * Get the identity property: The managed identity response. + * Get the identity property: A class represent managed identities used for request and response. * * @return the identity value. */ @@ -88,7 +88,7 @@ public ManagedIdentity identity() { } /** - * Set the identity property: The managed identity response. + * Set the identity property: A class represent managed identities used for request and response. * * @param identity the identity value to set. * @return the WebPubSubResourceInner object itself. @@ -196,7 +196,7 @@ public List sharedPrivateLinkResources() { } /** - * Get the tls property: TLS settings. + * Get the tls property: TLS settings for the resource. * * @return the tls value. */ @@ -205,7 +205,7 @@ public WebPubSubTlsSettings tls() { } /** - * Set the tls property: TLS settings. + * Set the tls property: TLS settings for the resource. * * @param tls the tls value to set. * @return the WebPubSubResourceInner object itself. @@ -251,10 +251,7 @@ public WebPubSubResourceInner withLiveTraceConfiguration(LiveTraceConfiguration } /** - * Get the resourceLogConfiguration property: Resource log configuration of a Microsoft.SignalRService resource. If - * resourceLogConfiguration isn't null or empty, it will override options "EnableConnectivityLog" and - * "EnableMessagingLogs" in features. Otherwise, use options "EnableConnectivityLog" and "EnableMessagingLogs" in - * features. + * Get the resourceLogConfiguration property: Resource log configuration of a Microsoft.SignalRService resource. * * @return the resourceLogConfiguration value. */ @@ -263,10 +260,7 @@ public ResourceLogConfiguration resourceLogConfiguration() { } /** - * Set the resourceLogConfiguration property: Resource log configuration of a Microsoft.SignalRService resource. If - * resourceLogConfiguration isn't null or empty, it will override options "EnableConnectivityLog" and - * "EnableMessagingLogs" in features. Otherwise, use options "EnableConnectivityLog" and "EnableMessagingLogs" in - * features. + * Set the resourceLogConfiguration property: Resource log configuration of a Microsoft.SignalRService resource. * * @param resourceLogConfiguration the resourceLogConfiguration value to set. * @return the WebPubSubResourceInner object itself. @@ -280,7 +274,7 @@ public WebPubSubResourceInner withResourceLogConfiguration(ResourceLogConfigurat } /** - * Get the networkACLs property: Network ACLs. + * Get the networkACLs property: Network ACLs for the resource. * * @return the networkACLs value. */ @@ -289,7 +283,7 @@ public WebPubSubNetworkACLs networkACLs() { } /** - * Set the networkACLs property: Network ACLs. + * Set the networkACLs property: Network ACLs for the resource. * * @param networkACLs the networkACLs value to set. * @return the WebPubSubResourceInner object itself. diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/WebPubSubHubsClientImpl.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/WebPubSubHubsClientImpl.java index a10875455e57..a9b500ba4631 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/WebPubSubHubsClientImpl.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/WebPubSubHubsClientImpl.java @@ -632,7 +632,11 @@ private PollerFlux, WebPubSubHubInner> beginCreate return this .client .getLroResult( - mono, this.client.getHttpPipeline(), WebPubSubHubInner.class, WebPubSubHubInner.class, Context.NONE); + mono, + this.client.getHttpPipeline(), + WebPubSubHubInner.class, + WebPubSubHubInner.class, + this.client.getContext()); } /** @@ -906,7 +910,8 @@ private PollerFlux, Void> beginDeleteAsync( Mono>> mono = deleteWithResponseAsync(hubName, resourceGroupName, resourceName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult( + mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/WebPubSubPrivateEndpointConnectionsClientImpl.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/WebPubSubPrivateEndpointConnectionsClientImpl.java index 3e592fe99eb1..3fdcc4977f6b 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/WebPubSubPrivateEndpointConnectionsClientImpl.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/WebPubSubPrivateEndpointConnectionsClientImpl.java @@ -850,7 +850,8 @@ private PollerFlux, Void> beginDeleteAsync( deleteWithResponseAsync(privateEndpointConnectionName, resourceGroupName, resourceName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult( + mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/WebPubSubSharedPrivateLinkResourcesClientImpl.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/WebPubSubSharedPrivateLinkResourcesClientImpl.java index 931051e5fbc4..45c179f4f7a7 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/WebPubSubSharedPrivateLinkResourcesClientImpl.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/WebPubSubSharedPrivateLinkResourcesClientImpl.java @@ -670,7 +670,7 @@ private Mono>> createOrUpdateWithResponseAsync( this.client.getHttpPipeline(), SharedPrivateLinkResourceInner.class, SharedPrivateLinkResourceInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -987,7 +987,8 @@ private PollerFlux, Void> beginDeleteAsync( deleteWithResponseAsync(sharedPrivateLinkResourceName, resourceGroupName, resourceName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult( + mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/WebPubSubsClientImpl.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/WebPubSubsClientImpl.java index e1e370a1914a..47b0c2cadee8 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/WebPubSubsClientImpl.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/WebPubSubsClientImpl.java @@ -1008,7 +1008,7 @@ private PollerFlux, WebPubSubResourceInner> b this.client.getHttpPipeline(), WebPubSubResourceInner.class, WebPubSubResourceInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -1266,7 +1266,8 @@ private PollerFlux, Void> beginDeleteAsync(String resourceGroup Mono>> mono = deleteWithResponseAsync(resourceGroupName, resourceName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult( + mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -1524,7 +1525,7 @@ private PollerFlux, WebPubSubResourceInner> b this.client.getHttpPipeline(), WebPubSubResourceInner.class, WebPubSubResourceInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -1955,7 +1956,11 @@ private PollerFlux, WebPubSubKeysInner> beginRege return this .client .getLroResult( - mono, this.client.getHttpPipeline(), WebPubSubKeysInner.class, WebPubSubKeysInner.class, Context.NONE); + mono, + this.client.getHttpPipeline(), + WebPubSubKeysInner.class, + WebPubSubKeysInner.class, + this.client.getContext()); } /** @@ -2209,7 +2214,8 @@ private PollerFlux, Void> beginRestartAsync(String resourceGrou Mono>> mono = restartWithResponseAsync(resourceGroupName, resourceName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult( + mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/models/EventHandler.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/models/EventHandler.java index 30aa31166814..402c6ec2d028 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/models/EventHandler.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/models/EventHandler.java @@ -44,8 +44,8 @@ public final class EventHandler { private List systemEvents; /* - * Gets or sets the auth settings for an event handler. If not set, no auth - * is used. + * Upstream auth settings. If not set, no auth is used for upstream + * messages. */ @JsonProperty(value = "auth") private UpstreamAuthSettings auth; @@ -123,7 +123,7 @@ public EventHandler withSystemEvents(List systemEvents) { } /** - * Get the auth property: Gets or sets the auth settings for an event handler. If not set, no auth is used. + * Get the auth property: Upstream auth settings. If not set, no auth is used for upstream messages. * * @return the auth value. */ @@ -132,7 +132,7 @@ public UpstreamAuthSettings auth() { } /** - * Set the auth property: Gets or sets the auth settings for an event handler. If not set, no auth is used. + * Set the auth property: Upstream auth settings. If not set, no auth is used for upstream messages. * * @param auth the auth value to set. * @return the EventHandler object itself. diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/models/ManagedIdentity.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/models/ManagedIdentity.java index a05fdad2fcf6..d29173fe7e4d 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/models/ManagedIdentity.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/models/ManagedIdentity.java @@ -17,7 +17,7 @@ public class ManagedIdentity { @JsonIgnore private final ClientLogger logger = new ClientLogger(ManagedIdentity.class); /* - * Represent the identity type: systemAssigned, userAssigned, None + * Represents the identity type: systemAssigned, userAssigned, None */ @JsonProperty(value = "type") private ManagedIdentityType type; @@ -44,7 +44,7 @@ public class ManagedIdentity { private String tenantId; /** - * Get the type property: Represent the identity type: systemAssigned, userAssigned, None. + * Get the type property: Represents the identity type: systemAssigned, userAssigned, None. * * @return the type value. */ @@ -53,7 +53,7 @@ public ManagedIdentityType type() { } /** - * Set the type property: Represent the identity type: systemAssigned, userAssigned, None. + * Set the type property: Represents the identity type: systemAssigned, userAssigned, None. * * @param type the type value to set. * @return the ManagedIdentity object itself. diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/models/Operation.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/models/Operation.java index cbcd019d1460..ff42de3760f6 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/models/Operation.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/models/Operation.java @@ -23,7 +23,7 @@ public interface Operation { Boolean isDataAction(); /** - * Gets the display property: The object that describes the operation. + * Gets the display property: The object that describes a operation. * * @return the display value. */ @@ -38,7 +38,7 @@ public interface Operation { String origin(); /** - * Gets the properties property: Extra properties for the operation. + * Gets the properties property: Extra Operation properties. * * @return the properties value. */ diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/models/OperationProperties.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/models/OperationProperties.java index 100e1d699117..f79ac2a5f286 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/models/OperationProperties.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/models/OperationProperties.java @@ -15,13 +15,13 @@ public final class OperationProperties { @JsonIgnore private final ClientLogger logger = new ClientLogger(OperationProperties.class); /* - * The service specifications. + * An object that describes a specification. */ @JsonProperty(value = "serviceSpecification") private ServiceSpecification serviceSpecification; /** - * Get the serviceSpecification property: The service specifications. + * Get the serviceSpecification property: An object that describes a specification. * * @return the serviceSpecification value. */ @@ -30,7 +30,7 @@ public ServiceSpecification serviceSpecification() { } /** - * Set the serviceSpecification property: The service specifications. + * Set the serviceSpecification property: An object that describes a specification. * * @param serviceSpecification the serviceSpecification value to set. * @return the OperationProperties object itself. diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/models/PrivateEndpointConnection.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/models/PrivateEndpointConnection.java index 8343c0515da7..28bb0cdeaa29 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/models/PrivateEndpointConnection.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/models/PrivateEndpointConnection.java @@ -39,14 +39,14 @@ public interface PrivateEndpointConnection { SystemData systemData(); /** - * Gets the provisioningState property: Provisioning state of the private endpoint connection. + * Gets the provisioningState property: Provisioning state of the resource. * * @return the provisioningState value. */ ProvisioningState provisioningState(); /** - * Gets the privateEndpoint property: Private endpoint associated with the private endpoint connection. + * Gets the privateEndpoint property: Private endpoint. * * @return the privateEndpoint value. */ @@ -60,7 +60,7 @@ public interface PrivateEndpointConnection { List groupIds(); /** - * Gets the privateLinkServiceConnectionState property: Connection state. + * Gets the privateLinkServiceConnectionState property: Connection state of the private endpoint connection. * * @return the privateLinkServiceConnectionState value. */ diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/models/RegenerateKeyParameters.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/models/RegenerateKeyParameters.java index cefc6d4d3fa5..b27259ae8468 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/models/RegenerateKeyParameters.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/models/RegenerateKeyParameters.java @@ -15,14 +15,13 @@ public final class RegenerateKeyParameters { @JsonIgnore private final ClientLogger logger = new ClientLogger(RegenerateKeyParameters.class); /* - * The keyType to regenerate. Must be either 'primary' or - * 'secondary'(case-insensitive). + * The type of access key. */ @JsonProperty(value = "keyType") private KeyType keyType; /** - * Get the keyType property: The keyType to regenerate. Must be either 'primary' or 'secondary'(case-insensitive). + * Get the keyType property: The type of access key. * * @return the keyType value. */ @@ -31,7 +30,7 @@ public KeyType keyType() { } /** - * Set the keyType property: The keyType to regenerate. Must be either 'primary' or 'secondary'(case-insensitive). + * Set the keyType property: The type of access key. * * @param keyType the keyType value to set. * @return the RegenerateKeyParameters object itself. diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/models/SharedPrivateLinkResource.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/models/SharedPrivateLinkResource.java index 10d62ed2b39f..3569a8d8ba52 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/models/SharedPrivateLinkResource.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/models/SharedPrivateLinkResource.java @@ -53,7 +53,7 @@ public interface SharedPrivateLinkResource { String privateLinkResourceId(); /** - * Gets the provisioningState property: Provisioning state of the shared private link resource. + * Gets the provisioningState property: Provisioning state of the resource. * * @return the provisioningState value. */ diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/models/Sku.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/models/Sku.java index af3d5893653a..fcdca1cc8a84 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/models/Sku.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/models/Sku.java @@ -21,13 +21,13 @@ public final class Sku { private String resourceType; /* - * The exact set of keys that define this sku. + * The billing information of the resource. */ @JsonProperty(value = "sku", access = JsonProperty.Access.WRITE_ONLY) private ResourceSku sku; /* - * Specifies the unit of the resource. + * Describes scaling information of a sku. */ @JsonProperty(value = "capacity", access = JsonProperty.Access.WRITE_ONLY) private SkuCapacity capacity; @@ -42,7 +42,7 @@ public String resourceType() { } /** - * Get the sku property: The exact set of keys that define this sku. + * Get the sku property: The billing information of the resource. * * @return the sku value. */ @@ -51,7 +51,7 @@ public ResourceSku sku() { } /** - * Get the capacity property: Specifies the unit of the resource. + * Get the capacity property: Describes scaling information of a sku. * * @return the capacity value. */ diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/models/UpstreamAuthSettings.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/models/UpstreamAuthSettings.java index c5657e1902eb..cd6b02d2b3f3 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/models/UpstreamAuthSettings.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/models/UpstreamAuthSettings.java @@ -9,26 +9,25 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; -/** Upstream auth settings. */ +/** Upstream auth settings. If not set, no auth is used for upstream messages. */ @Fluent public final class UpstreamAuthSettings { @JsonIgnore private final ClientLogger logger = new ClientLogger(UpstreamAuthSettings.class); /* - * Gets or sets the type of auth. None or ManagedIdentity is supported now. + * Upstream auth type enum. */ @JsonProperty(value = "type") private UpstreamAuthType type; /* - * Gets or sets the managed identity settings. It's required if the auth - * type is set to ManagedIdentity. + * Managed identity settings for upstream. */ @JsonProperty(value = "managedIdentity") private ManagedIdentitySettings managedIdentity; /** - * Get the type property: Gets or sets the type of auth. None or ManagedIdentity is supported now. + * Get the type property: Upstream auth type enum. * * @return the type value. */ @@ -37,7 +36,7 @@ public UpstreamAuthType type() { } /** - * Set the type property: Gets or sets the type of auth. None or ManagedIdentity is supported now. + * Set the type property: Upstream auth type enum. * * @param type the type value to set. * @return the UpstreamAuthSettings object itself. @@ -48,8 +47,7 @@ public UpstreamAuthSettings withType(UpstreamAuthType type) { } /** - * Get the managedIdentity property: Gets or sets the managed identity settings. It's required if the auth type is - * set to ManagedIdentity. + * Get the managedIdentity property: Managed identity settings for upstream. * * @return the managedIdentity value. */ @@ -58,8 +56,7 @@ public ManagedIdentitySettings managedIdentity() { } /** - * Set the managedIdentity property: Gets or sets the managed identity settings. It's required if the auth type is - * set to ManagedIdentity. + * Set the managedIdentity property: Managed identity settings for upstream. * * @param managedIdentity the managedIdentity value to set. * @return the UpstreamAuthSettings object itself. diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/models/WebPubSubHub.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/models/WebPubSubHub.java index 25850cc0c6b0..ab522a47f0cf 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/models/WebPubSubHub.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/models/WebPubSubHub.java @@ -39,7 +39,7 @@ public interface WebPubSubHub { SystemData systemData(); /** - * Gets the properties property: Properties of the hub setting. + * Gets the properties property: Properties of a hub. * * @return the properties value. */ @@ -79,9 +79,9 @@ interface WithParentResource { /** The stage of the WebPubSubHub definition allowing to specify properties. */ interface WithProperties { /** - * Specifies the properties property: Properties of the hub setting.. + * Specifies the properties property: Properties of a hub.. * - * @param properties Properties of the hub setting. + * @param properties Properties of a hub. * @return the next definition stage. */ WithCreate withProperties(WebPubSubHubProperties properties); @@ -136,9 +136,9 @@ interface UpdateStages { /** The stage of the WebPubSubHub update allowing to specify properties. */ interface WithProperties { /** - * Specifies the properties property: Properties of the hub setting.. + * Specifies the properties property: Properties of a hub.. * - * @param properties Properties of the hub setting. + * @param properties Properties of a hub. * @return the next definition stage. */ Update withProperties(WebPubSubHubProperties properties); diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/models/WebPubSubNetworkACLs.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/models/WebPubSubNetworkACLs.java index f25999a1d547..b76c6e0aa98d 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/models/WebPubSubNetworkACLs.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/models/WebPubSubNetworkACLs.java @@ -16,13 +16,13 @@ public final class WebPubSubNetworkACLs { @JsonIgnore private final ClientLogger logger = new ClientLogger(WebPubSubNetworkACLs.class); /* - * Default action when no other rule matches + * Azure Networking ACL Action. */ @JsonProperty(value = "defaultAction") private AclAction defaultAction; /* - * ACL for requests from public network + * Network ACL */ @JsonProperty(value = "publicNetwork") private NetworkAcl publicNetwork; @@ -34,7 +34,7 @@ public final class WebPubSubNetworkACLs { private List privateEndpoints; /** - * Get the defaultAction property: Default action when no other rule matches. + * Get the defaultAction property: Azure Networking ACL Action. * * @return the defaultAction value. */ @@ -43,7 +43,7 @@ public AclAction defaultAction() { } /** - * Set the defaultAction property: Default action when no other rule matches. + * Set the defaultAction property: Azure Networking ACL Action. * * @param defaultAction the defaultAction value to set. * @return the WebPubSubNetworkACLs object itself. @@ -54,7 +54,7 @@ public WebPubSubNetworkACLs withDefaultAction(AclAction defaultAction) { } /** - * Get the publicNetwork property: ACL for requests from public network. + * Get the publicNetwork property: Network ACL. * * @return the publicNetwork value. */ @@ -63,7 +63,7 @@ public NetworkAcl publicNetwork() { } /** - * Set the publicNetwork property: ACL for requests from public network. + * Set the publicNetwork property: Network ACL. * * @param publicNetwork the publicNetwork value to set. * @return the WebPubSubNetworkACLs object itself. diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/models/WebPubSubResource.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/models/WebPubSubResource.java index bcb704a905f5..15b6d364cd66 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/models/WebPubSubResource.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/models/WebPubSubResource.java @@ -50,14 +50,14 @@ public interface WebPubSubResource { Map tags(); /** - * Gets the sku property: The billing information of the resource.(e.g. Free, Standard). + * Gets the sku property: The billing information of the resource. * * @return the sku value. */ ResourceSku sku(); /** - * Gets the identity property: The managed identity response. + * Gets the identity property: A class represent managed identities used for request and response. * * @return the identity value. */ @@ -129,7 +129,7 @@ public interface WebPubSubResource { List sharedPrivateLinkResources(); /** - * Gets the tls property: TLS settings. + * Gets the tls property: TLS settings for the resource. * * @return the tls value. */ @@ -150,17 +150,14 @@ public interface WebPubSubResource { LiveTraceConfiguration liveTraceConfiguration(); /** - * Gets the resourceLogConfiguration property: Resource log configuration of a Microsoft.SignalRService resource. If - * resourceLogConfiguration isn't null or empty, it will override options "EnableConnectivityLog" and - * "EnableMessagingLogs" in features. Otherwise, use options "EnableConnectivityLog" and "EnableMessagingLogs" in - * features. + * Gets the resourceLogConfiguration property: Resource log configuration of a Microsoft.SignalRService resource. * * @return the resourceLogConfiguration value. */ ResourceLogConfiguration resourceLogConfiguration(); /** - * Gets the networkACLs property: Network ACLs. + * Gets the networkACLs property: Network ACLs for the resource. * * @return the networkACLs value. */ @@ -296,9 +293,9 @@ interface WithTags { /** The stage of the WebPubSubResource definition allowing to specify sku. */ interface WithSku { /** - * Specifies the sku property: The billing information of the resource.(e.g. Free, Standard). + * Specifies the sku property: The billing information of the resource.. * - * @param sku The billing information of the resource.(e.g. Free, Standard). + * @param sku The billing information of the resource. * @return the next definition stage. */ WithCreate withSku(ResourceSku sku); @@ -306,9 +303,9 @@ interface WithSku { /** The stage of the WebPubSubResource definition allowing to specify identity. */ interface WithIdentity { /** - * Specifies the identity property: The managed identity response. + * Specifies the identity property: A class represent managed identities used for request and response. * - * @param identity The managed identity response. + * @param identity A class represent managed identities used for request and response. * @return the next definition stage. */ WithCreate withIdentity(ManagedIdentity identity); @@ -316,9 +313,9 @@ interface WithIdentity { /** The stage of the WebPubSubResource definition allowing to specify tls. */ interface WithTls { /** - * Specifies the tls property: TLS settings.. + * Specifies the tls property: TLS settings for the resource. * - * @param tls TLS settings. + * @param tls TLS settings for the resource. * @return the next definition stage. */ WithCreate withTls(WebPubSubTlsSettings tls); @@ -338,14 +335,9 @@ interface WithLiveTraceConfiguration { interface WithResourceLogConfiguration { /** * Specifies the resourceLogConfiguration property: Resource log configuration of a Microsoft.SignalRService - * resource. If resourceLogConfiguration isn't null or empty, it will override options - * "EnableConnectivityLog" and "EnableMessagingLogs" in features. Otherwise, use options - * "EnableConnectivityLog" and "EnableMessagingLogs" in features.. + * resource.. * - * @param resourceLogConfiguration Resource log configuration of a Microsoft.SignalRService resource. If - * resourceLogConfiguration isn't null or empty, it will override options "EnableConnectivityLog" and - * "EnableMessagingLogs" in features. Otherwise, use options "EnableConnectivityLog" and - * "EnableMessagingLogs" in features. + * @param resourceLogConfiguration Resource log configuration of a Microsoft.SignalRService resource. * @return the next definition stage. */ WithCreate withResourceLogConfiguration(ResourceLogConfiguration resourceLogConfiguration); @@ -353,9 +345,9 @@ interface WithResourceLogConfiguration { /** The stage of the WebPubSubResource definition allowing to specify networkACLs. */ interface WithNetworkACLs { /** - * Specifies the networkACLs property: Network ACLs. + * Specifies the networkACLs property: Network ACLs for the resource. * - * @param networkACLs Network ACLs. + * @param networkACLs Network ACLs for the resource. * @return the next definition stage. */ WithCreate withNetworkACLs(WebPubSubNetworkACLs networkACLs); @@ -448,9 +440,9 @@ interface WithTags { /** The stage of the WebPubSubResource update allowing to specify sku. */ interface WithSku { /** - * Specifies the sku property: The billing information of the resource.(e.g. Free, Standard). + * Specifies the sku property: The billing information of the resource.. * - * @param sku The billing information of the resource.(e.g. Free, Standard). + * @param sku The billing information of the resource. * @return the next definition stage. */ Update withSku(ResourceSku sku); @@ -458,9 +450,9 @@ interface WithSku { /** The stage of the WebPubSubResource update allowing to specify identity. */ interface WithIdentity { /** - * Specifies the identity property: The managed identity response. + * Specifies the identity property: A class represent managed identities used for request and response. * - * @param identity The managed identity response. + * @param identity A class represent managed identities used for request and response. * @return the next definition stage. */ Update withIdentity(ManagedIdentity identity); @@ -468,9 +460,9 @@ interface WithIdentity { /** The stage of the WebPubSubResource update allowing to specify tls. */ interface WithTls { /** - * Specifies the tls property: TLS settings.. + * Specifies the tls property: TLS settings for the resource. * - * @param tls TLS settings. + * @param tls TLS settings for the resource. * @return the next definition stage. */ Update withTls(WebPubSubTlsSettings tls); @@ -490,14 +482,9 @@ interface WithLiveTraceConfiguration { interface WithResourceLogConfiguration { /** * Specifies the resourceLogConfiguration property: Resource log configuration of a Microsoft.SignalRService - * resource. If resourceLogConfiguration isn't null or empty, it will override options - * "EnableConnectivityLog" and "EnableMessagingLogs" in features. Otherwise, use options - * "EnableConnectivityLog" and "EnableMessagingLogs" in features.. + * resource.. * - * @param resourceLogConfiguration Resource log configuration of a Microsoft.SignalRService resource. If - * resourceLogConfiguration isn't null or empty, it will override options "EnableConnectivityLog" and - * "EnableMessagingLogs" in features. Otherwise, use options "EnableConnectivityLog" and - * "EnableMessagingLogs" in features. + * @param resourceLogConfiguration Resource log configuration of a Microsoft.SignalRService resource. * @return the next definition stage. */ Update withResourceLogConfiguration(ResourceLogConfiguration resourceLogConfiguration); @@ -505,9 +492,9 @@ interface WithResourceLogConfiguration { /** The stage of the WebPubSubResource update allowing to specify networkACLs. */ interface WithNetworkACLs { /** - * Specifies the networkACLs property: Network ACLs. + * Specifies the networkACLs property: Network ACLs for the resource. * - * @param networkACLs Network ACLs. + * @param networkACLs Network ACLs for the resource. * @return the next definition stage. */ Update withNetworkACLs(WebPubSubNetworkACLs networkACLs);