diff --git a/sdk/eventgrid/azure-resourcemanager-eventgrid/CHANGELOG.md b/sdk/eventgrid/azure-resourcemanager-eventgrid/CHANGELOG.md index 561d4e3150cbf..241c0259e5831 100644 --- a/sdk/eventgrid/azure-resourcemanager-eventgrid/CHANGELOG.md +++ b/sdk/eventgrid/azure-resourcemanager-eventgrid/CHANGELOG.md @@ -1,6 +1,8 @@ # Release History -## 1.2.0-beta.2 (Unreleased) +## 1.0.0-beta.1 (2022-05-11) + +- Azure Resource Manager EventGrid client library for Java. This package contains Microsoft Azure SDK for EventGrid Management SDK. Azure EventGrid Management Client. Package tag package-2021-10-preview. 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/eventgrid/azure-resourcemanager-eventgrid/README.md b/sdk/eventgrid/azure-resourcemanager-eventgrid/README.md index b069f31aca8cd..24bd2e5981271 100644 --- a/sdk/eventgrid/azure-resourcemanager-eventgrid/README.md +++ b/sdk/eventgrid/azure-resourcemanager-eventgrid/README.md @@ -32,7 +32,7 @@ Various documentation is available to help you get started com.azure.resourcemanager azure-resourcemanager-eventgrid - 1.2.0-beta.1 + 1.2.0-beta.2 ``` [//]: # ({x-version-update-end}) diff --git a/sdk/eventgrid/azure-resourcemanager-eventgrid/pom.xml b/sdk/eventgrid/azure-resourcemanager-eventgrid/pom.xml index 9c682a8efa9db..7a6899a422c7c 100644 --- a/sdk/eventgrid/azure-resourcemanager-eventgrid/pom.xml +++ b/sdk/eventgrid/azure-resourcemanager-eventgrid/pom.xml @@ -39,7 +39,6 @@ UTF-8 true - true diff --git a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/EventGridManager.java b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/EventGridManager.java index 68f872c819f3f..65d310877d85b 100644 --- a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/EventGridManager.java +++ b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/EventGridManager.java @@ -10,11 +10,13 @@ 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.AddHeadersFromContextPolicy; import com.azure.core.http.policy.HttpLogOptions; import com.azure.core.http.policy.HttpLoggingPolicy; import com.azure.core.http.policy.HttpPipelinePolicy; import com.azure.core.http.policy.HttpPolicyProviders; import com.azure.core.http.policy.RequestIdPolicy; +import com.azure.core.http.policy.RetryOptions; import com.azure.core.http.policy.RetryPolicy; import com.azure.core.http.policy.UserAgentPolicy; import com.azure.core.management.http.policy.ArmChallengeAuthenticationPolicy; @@ -151,6 +153,19 @@ public static EventGridManager authenticate(TokenCredential credential, AzurePro return configure().authenticate(credential, profile); } + /** + * Creates an instance of EventGrid service API entry point. + * + * @param httpPipeline the {@link HttpPipeline} configured with Azure authentication credential. + * @param profile the Azure profile for client. + * @return the EventGrid service API instance. + */ + public static EventGridManager authenticate(HttpPipeline httpPipeline, AzureProfile profile) { + Objects.requireNonNull(httpPipeline, "'httpPipeline' cannot be null."); + Objects.requireNonNull(profile, "'profile' cannot be null."); + return new EventGridManager(httpPipeline, profile, null); + } + /** * Gets a Configurable instance that can be used to create EventGridManager with optional configuration. * @@ -169,6 +184,7 @@ public static final class Configurable { private final List policies = new ArrayList<>(); private final List scopes = new ArrayList<>(); private RetryPolicy retryPolicy; + private RetryOptions retryOptions; private Duration defaultPollInterval; private Configurable() { @@ -229,6 +245,19 @@ public Configurable withRetryPolicy(RetryPolicy retryPolicy) { return this; } + /** + * Sets the retry options for the HTTP pipeline retry policy. + * + *

This setting has no effect, if retry policy is set via {@link #withRetryPolicy(RetryPolicy)}. + * + * @param retryOptions the retry options for the HTTP pipeline retry policy. + * @return the configurable object itself. + */ + public Configurable withRetryOptions(RetryOptions retryOptions) { + this.retryOptions = Objects.requireNonNull(retryOptions, "'retryOptions' cannot be null."); + return this; + } + /** * Sets the default poll interval, used when service does not provide "Retry-After" header. * @@ -262,7 +291,7 @@ public EventGridManager authenticate(TokenCredential credential, AzureProfile pr .append("-") .append("com.azure.resourcemanager.eventgrid") .append("/") - .append("1.2.0-beta.1"); + .append("1.0.0-beta.1"); if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) { userAgentBuilder .append(" (") @@ -280,10 +309,15 @@ public EventGridManager authenticate(TokenCredential credential, AzureProfile pr scopes.add(profile.getEnvironment().getManagementEndpoint() + "/.default"); } if (retryPolicy == null) { - retryPolicy = new RetryPolicy("Retry-After", ChronoUnit.SECONDS); + if (retryOptions != null) { + retryPolicy = new RetryPolicy(retryOptions); + } else { + retryPolicy = new RetryPolicy("Retry-After", ChronoUnit.SECONDS); + } } List policies = new ArrayList<>(); policies.add(new UserAgentPolicy(userAgentBuilder.toString())); + policies.add(new AddHeadersFromContextPolicy()); policies.add(new RequestIdPolicy()); policies .addAll( @@ -314,7 +348,11 @@ public EventGridManager authenticate(TokenCredential credential, AzureProfile pr } } - /** @return Resource collection API of Channels. */ + /** + * Gets the resource collection API of Channels. + * + * @return Resource collection API of Channels. + */ public Channels channels() { if (this.channels == null) { this.channels = new ChannelsImpl(clientObject.getChannels(), this); @@ -322,7 +360,11 @@ public Channels channels() { return channels; } - /** @return Resource collection API of Domains. */ + /** + * Gets the resource collection API of Domains. + * + * @return Resource collection API of Domains. + */ public Domains domains() { if (this.domains == null) { this.domains = new DomainsImpl(clientObject.getDomains(), this); @@ -330,7 +372,11 @@ public Domains domains() { return domains; } - /** @return Resource collection API of DomainTopics. */ + /** + * Gets the resource collection API of DomainTopics. + * + * @return Resource collection API of DomainTopics. + */ public DomainTopics domainTopics() { if (this.domainTopics == null) { this.domainTopics = new DomainTopicsImpl(clientObject.getDomainTopics(), this); @@ -338,7 +384,11 @@ public DomainTopics domainTopics() { return domainTopics; } - /** @return Resource collection API of EventChannels. */ + /** + * Gets the resource collection API of EventChannels. + * + * @return Resource collection API of EventChannels. + */ public EventChannels eventChannels() { if (this.eventChannels == null) { this.eventChannels = new EventChannelsImpl(clientObject.getEventChannels(), this); @@ -346,7 +396,11 @@ public EventChannels eventChannels() { return eventChannels; } - /** @return Resource collection API of EventSubscriptions. */ + /** + * Gets the resource collection API of EventSubscriptions. + * + * @return Resource collection API of EventSubscriptions. + */ public EventSubscriptions eventSubscriptions() { if (this.eventSubscriptions == null) { this.eventSubscriptions = new EventSubscriptionsImpl(clientObject.getEventSubscriptions(), this); @@ -354,7 +408,11 @@ public EventSubscriptions eventSubscriptions() { return eventSubscriptions; } - /** @return Resource collection API of DomainTopicEventSubscriptions. */ + /** + * Gets the resource collection API of DomainTopicEventSubscriptions. + * + * @return Resource collection API of DomainTopicEventSubscriptions. + */ public DomainTopicEventSubscriptions domainTopicEventSubscriptions() { if (this.domainTopicEventSubscriptions == null) { this.domainTopicEventSubscriptions = @@ -363,7 +421,11 @@ public DomainTopicEventSubscriptions domainTopicEventSubscriptions() { return domainTopicEventSubscriptions; } - /** @return Resource collection API of TopicEventSubscriptions. */ + /** + * Gets the resource collection API of TopicEventSubscriptions. + * + * @return Resource collection API of TopicEventSubscriptions. + */ public TopicEventSubscriptions topicEventSubscriptions() { if (this.topicEventSubscriptions == null) { this.topicEventSubscriptions = @@ -372,7 +434,11 @@ public TopicEventSubscriptions topicEventSubscriptions() { return topicEventSubscriptions; } - /** @return Resource collection API of DomainEventSubscriptions. */ + /** + * Gets the resource collection API of DomainEventSubscriptions. + * + * @return Resource collection API of DomainEventSubscriptions. + */ public DomainEventSubscriptions domainEventSubscriptions() { if (this.domainEventSubscriptions == null) { this.domainEventSubscriptions = @@ -381,7 +447,11 @@ public DomainEventSubscriptions domainEventSubscriptions() { return domainEventSubscriptions; } - /** @return Resource collection API of SystemTopicEventSubscriptions. */ + /** + * Gets the resource collection API of SystemTopicEventSubscriptions. + * + * @return Resource collection API of SystemTopicEventSubscriptions. + */ public SystemTopicEventSubscriptions systemTopicEventSubscriptions() { if (this.systemTopicEventSubscriptions == null) { this.systemTopicEventSubscriptions = @@ -390,7 +460,11 @@ public SystemTopicEventSubscriptions systemTopicEventSubscriptions() { return systemTopicEventSubscriptions; } - /** @return Resource collection API of PartnerTopicEventSubscriptions. */ + /** + * Gets the resource collection API of PartnerTopicEventSubscriptions. + * + * @return Resource collection API of PartnerTopicEventSubscriptions. + */ public PartnerTopicEventSubscriptions partnerTopicEventSubscriptions() { if (this.partnerTopicEventSubscriptions == null) { this.partnerTopicEventSubscriptions = @@ -399,7 +473,11 @@ public PartnerTopicEventSubscriptions partnerTopicEventSubscriptions() { return partnerTopicEventSubscriptions; } - /** @return Resource collection API of Operations. */ + /** + * Gets the resource collection API of Operations. + * + * @return Resource collection API of Operations. + */ public Operations operations() { if (this.operations == null) { this.operations = new OperationsImpl(clientObject.getOperations(), this); @@ -407,7 +485,11 @@ public Operations operations() { return operations; } - /** @return Resource collection API of PartnerConfigurations. */ + /** + * Gets the resource collection API of PartnerConfigurations. + * + * @return Resource collection API of PartnerConfigurations. + */ public PartnerConfigurations partnerConfigurations() { if (this.partnerConfigurations == null) { this.partnerConfigurations = new PartnerConfigurationsImpl(clientObject.getPartnerConfigurations(), this); @@ -415,7 +497,11 @@ public PartnerConfigurations partnerConfigurations() { return partnerConfigurations; } - /** @return Resource collection API of PartnerDestinations. */ + /** + * Gets the resource collection API of PartnerDestinations. + * + * @return Resource collection API of PartnerDestinations. + */ public PartnerDestinations partnerDestinations() { if (this.partnerDestinations == null) { this.partnerDestinations = new PartnerDestinationsImpl(clientObject.getPartnerDestinations(), this); @@ -423,7 +509,11 @@ public PartnerDestinations partnerDestinations() { return partnerDestinations; } - /** @return Resource collection API of PartnerNamespaces. */ + /** + * Gets the resource collection API of PartnerNamespaces. + * + * @return Resource collection API of PartnerNamespaces. + */ public PartnerNamespaces partnerNamespaces() { if (this.partnerNamespaces == null) { this.partnerNamespaces = new PartnerNamespacesImpl(clientObject.getPartnerNamespaces(), this); @@ -431,7 +521,11 @@ public PartnerNamespaces partnerNamespaces() { return partnerNamespaces; } - /** @return Resource collection API of PartnerRegistrations. */ + /** + * Gets the resource collection API of PartnerRegistrations. + * + * @return Resource collection API of PartnerRegistrations. + */ public PartnerRegistrations partnerRegistrations() { if (this.partnerRegistrations == null) { this.partnerRegistrations = new PartnerRegistrationsImpl(clientObject.getPartnerRegistrations(), this); @@ -439,7 +533,11 @@ public PartnerRegistrations partnerRegistrations() { return partnerRegistrations; } - /** @return Resource collection API of PartnerTopics. */ + /** + * Gets the resource collection API of PartnerTopics. + * + * @return Resource collection API of PartnerTopics. + */ public PartnerTopics partnerTopics() { if (this.partnerTopics == null) { this.partnerTopics = new PartnerTopicsImpl(clientObject.getPartnerTopics(), this); @@ -447,7 +545,11 @@ public PartnerTopics partnerTopics() { return partnerTopics; } - /** @return Resource collection API of PrivateEndpointConnections. */ + /** + * Gets the resource collection API of PrivateEndpointConnections. + * + * @return Resource collection API of PrivateEndpointConnections. + */ public PrivateEndpointConnections privateEndpointConnections() { if (this.privateEndpointConnections == null) { this.privateEndpointConnections = @@ -456,7 +558,11 @@ public PrivateEndpointConnections privateEndpointConnections() { return privateEndpointConnections; } - /** @return Resource collection API of PrivateLinkResources. */ + /** + * Gets the resource collection API of PrivateLinkResources. + * + * @return Resource collection API of PrivateLinkResources. + */ public PrivateLinkResources privateLinkResources() { if (this.privateLinkResources == null) { this.privateLinkResources = new PrivateLinkResourcesImpl(clientObject.getPrivateLinkResources(), this); @@ -464,7 +570,11 @@ public PrivateLinkResources privateLinkResources() { return privateLinkResources; } - /** @return Resource collection API of SystemTopics. */ + /** + * Gets the resource collection API of SystemTopics. + * + * @return Resource collection API of SystemTopics. + */ public SystemTopics systemTopics() { if (this.systemTopics == null) { this.systemTopics = new SystemTopicsImpl(clientObject.getSystemTopics(), this); @@ -472,7 +582,11 @@ public SystemTopics systemTopics() { return systemTopics; } - /** @return Resource collection API of Topics. */ + /** + * Gets the resource collection API of Topics. + * + * @return Resource collection API of Topics. + */ public Topics topics() { if (this.topics == null) { this.topics = new TopicsImpl(clientObject.getTopics(), this); @@ -480,7 +594,11 @@ public Topics topics() { return topics; } - /** @return Resource collection API of ExtensionTopics. */ + /** + * Gets the resource collection API of ExtensionTopics. + * + * @return Resource collection API of ExtensionTopics. + */ public ExtensionTopics extensionTopics() { if (this.extensionTopics == null) { this.extensionTopics = new ExtensionTopicsImpl(clientObject.getExtensionTopics(), this); @@ -488,7 +606,11 @@ public ExtensionTopics extensionTopics() { return extensionTopics; } - /** @return Resource collection API of TopicTypes. */ + /** + * Gets the resource collection API of TopicTypes. + * + * @return Resource collection API of TopicTypes. + */ public TopicTypes topicTypes() { if (this.topicTypes == null) { this.topicTypes = new TopicTypesImpl(clientObject.getTopicTypes(), this); @@ -496,7 +618,11 @@ public TopicTypes topicTypes() { return topicTypes; } - /** @return Resource collection API of VerifiedPartners. */ + /** + * Gets the resource collection API of VerifiedPartners. + * + * @return Resource collection API of VerifiedPartners. + */ public VerifiedPartners verifiedPartners() { if (this.verifiedPartners == null) { this.verifiedPartners = new VerifiedPartnersImpl(clientObject.getVerifiedPartners(), this); diff --git a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/implementation/EventGridManagementClientBuilder.java b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/implementation/EventGridManagementClientBuilder.java index 835ce3414e968..6168736725f64 100644 --- a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/implementation/EventGridManagementClientBuilder.java +++ b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/implementation/EventGridManagementClientBuilder.java @@ -7,7 +7,6 @@ import com.azure.core.annotation.ServiceClientBuilder; import com.azure.core.http.HttpPipeline; import com.azure.core.http.HttpPipelineBuilder; -import com.azure.core.http.policy.CookiePolicy; import com.azure.core.http.policy.RetryPolicy; import com.azure.core.http.policy.UserAgentPolicy; import com.azure.core.management.AzureEnvironment; @@ -70,34 +69,34 @@ public EventGridManagementClientBuilder environment(AzureEnvironment environment } /* - * The default poll interval for long-running operation + * The HTTP pipeline to send requests through */ - private Duration defaultPollInterval; + private HttpPipeline pipeline; /** - * Sets The default poll interval for long-running operation. + * Sets The HTTP pipeline to send requests through. * - * @param defaultPollInterval the defaultPollInterval value. + * @param pipeline the pipeline value. * @return the EventGridManagementClientBuilder. */ - public EventGridManagementClientBuilder defaultPollInterval(Duration defaultPollInterval) { - this.defaultPollInterval = defaultPollInterval; + public EventGridManagementClientBuilder pipeline(HttpPipeline pipeline) { + this.pipeline = pipeline; return this; } /* - * The HTTP pipeline to send requests through + * The default poll interval for long-running operation */ - private HttpPipeline pipeline; + private Duration defaultPollInterval; /** - * Sets The HTTP pipeline to send requests through. + * Sets The default poll interval for long-running operation. * - * @param pipeline the pipeline value. + * @param defaultPollInterval the defaultPollInterval value. * @return the EventGridManagementClientBuilder. */ - public EventGridManagementClientBuilder pipeline(HttpPipeline pipeline) { - this.pipeline = pipeline; + public EventGridManagementClientBuilder defaultPollInterval(Duration defaultPollInterval) { + this.defaultPollInterval = defaultPollInterval; return this; } @@ -129,15 +128,12 @@ public EventGridManagementClientImpl buildClient() { if (environment == null) { this.environment = AzureEnvironment.AZURE; } + if (pipeline == null) { + this.pipeline = new HttpPipelineBuilder().policies(new UserAgentPolicy(), new RetryPolicy()).build(); + } if (defaultPollInterval == null) { this.defaultPollInterval = Duration.ofSeconds(30); } - if (pipeline == null) { - this.pipeline = - new HttpPipelineBuilder() - .policies(new UserAgentPolicy(), new RetryPolicy(), new CookiePolicy()) - .build(); - } if (serializerAdapter == null) { this.serializerAdapter = SerializerFactory.createDefaultManagementSerializerAdapter(); } diff --git a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/AdvancedFilterOperatorType.java b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/AdvancedFilterOperatorType.java index 5dabf8c45fac5..529f7a86db769 100644 --- a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/AdvancedFilterOperatorType.java +++ b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/AdvancedFilterOperatorType.java @@ -79,7 +79,11 @@ public static AdvancedFilterOperatorType fromString(String name) { return fromString(name, AdvancedFilterOperatorType.class); } - /** @return known AdvancedFilterOperatorType values. */ + /** + * Gets known AdvancedFilterOperatorType values. + * + * @return known AdvancedFilterOperatorType values. + */ public static Collection values() { return values(AdvancedFilterOperatorType.class); } diff --git a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/ChannelProvisioningState.java b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/ChannelProvisioningState.java index 49205952fbb33..58d9eb87827ba 100644 --- a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/ChannelProvisioningState.java +++ b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/ChannelProvisioningState.java @@ -39,7 +39,11 @@ public static ChannelProvisioningState fromString(String name) { return fromString(name, ChannelProvisioningState.class); } - /** @return known ChannelProvisioningState values. */ + /** + * Gets known ChannelProvisioningState values. + * + * @return known ChannelProvisioningState values. + */ public static Collection values() { return values(ChannelProvisioningState.class); } diff --git a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/ChannelType.java b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/ChannelType.java index 3d600a086b1b7..ca3f7aacbae14 100644 --- a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/ChannelType.java +++ b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/ChannelType.java @@ -27,7 +27,11 @@ public static ChannelType fromString(String name) { return fromString(name, ChannelType.class); } - /** @return known ChannelType values. */ + /** + * Gets known ChannelType values. + * + * @return known ChannelType values. + */ public static Collection values() { return values(ChannelType.class); } diff --git a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/DataResidencyBoundary.java b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/DataResidencyBoundary.java index fceeaeb110bf6..b2bf043a701d6 100644 --- a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/DataResidencyBoundary.java +++ b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/DataResidencyBoundary.java @@ -27,7 +27,11 @@ public static DataResidencyBoundary fromString(String name) { return fromString(name, DataResidencyBoundary.class); } - /** @return known DataResidencyBoundary values. */ + /** + * Gets known DataResidencyBoundary values. + * + * @return known DataResidencyBoundary values. + */ public static Collection values() { return values(DataResidencyBoundary.class); } diff --git a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/DeadLetterEndPointType.java b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/DeadLetterEndPointType.java index 50bc530262c39..0c0f8c87d26cb 100644 --- a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/DeadLetterEndPointType.java +++ b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/DeadLetterEndPointType.java @@ -24,7 +24,11 @@ public static DeadLetterEndPointType fromString(String name) { return fromString(name, DeadLetterEndPointType.class); } - /** @return known DeadLetterEndPointType values. */ + /** + * Gets known DeadLetterEndPointType values. + * + * @return known DeadLetterEndPointType values. + */ public static Collection values() { return values(DeadLetterEndPointType.class); } diff --git a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/DeliveryAttributeMappingType.java b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/DeliveryAttributeMappingType.java index c4e3bc68960fc..1416952ba26e0 100644 --- a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/DeliveryAttributeMappingType.java +++ b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/DeliveryAttributeMappingType.java @@ -27,7 +27,11 @@ public static DeliveryAttributeMappingType fromString(String name) { return fromString(name, DeliveryAttributeMappingType.class); } - /** @return known DeliveryAttributeMappingType values. */ + /** + * Gets known DeliveryAttributeMappingType values. + * + * @return known DeliveryAttributeMappingType values. + */ public static Collection values() { return values(DeliveryAttributeMappingType.class); } diff --git a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/DomainProvisioningState.java b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/DomainProvisioningState.java index eafcfbf280943..212b0449ea85c 100644 --- a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/DomainProvisioningState.java +++ b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/DomainProvisioningState.java @@ -39,7 +39,11 @@ public static DomainProvisioningState fromString(String name) { return fromString(name, DomainProvisioningState.class); } - /** @return known DomainProvisioningState values. */ + /** + * Gets known DomainProvisioningState values. + * + * @return known DomainProvisioningState values. + */ public static Collection values() { return values(DomainProvisioningState.class); } diff --git a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/DomainTopicProvisioningState.java b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/DomainTopicProvisioningState.java index 429a0c75e2987..1b691f4a40fa7 100644 --- a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/DomainTopicProvisioningState.java +++ b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/DomainTopicProvisioningState.java @@ -39,7 +39,11 @@ public static DomainTopicProvisioningState fromString(String name) { return fromString(name, DomainTopicProvisioningState.class); } - /** @return known DomainTopicProvisioningState values. */ + /** + * Gets known DomainTopicProvisioningState values. + * + * @return known DomainTopicProvisioningState values. + */ public static Collection values() { return values(DomainTopicProvisioningState.class); } diff --git a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/EndpointType.java b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/EndpointType.java index 70e407c9b6ed4..3974eb8077434 100644 --- a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/EndpointType.java +++ b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/EndpointType.java @@ -45,7 +45,11 @@ public static EndpointType fromString(String name) { return fromString(name, EndpointType.class); } - /** @return known EndpointType values. */ + /** + * Gets known EndpointType values. + * + * @return known EndpointType values. + */ public static Collection values() { return values(EndpointType.class); } diff --git a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/EventChannelProvisioningState.java b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/EventChannelProvisioningState.java index d82b71a475281..eeda950f4d088 100644 --- a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/EventChannelProvisioningState.java +++ b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/EventChannelProvisioningState.java @@ -39,7 +39,11 @@ public static EventChannelProvisioningState fromString(String name) { return fromString(name, EventChannelProvisioningState.class); } - /** @return known EventChannelProvisioningState values. */ + /** + * Gets known EventChannelProvisioningState values. + * + * @return known EventChannelProvisioningState values. + */ public static Collection values() { return values(EventChannelProvisioningState.class); } diff --git a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/EventDefinitionKind.java b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/EventDefinitionKind.java index d95b425f0d7c7..8d7fec095d826 100644 --- a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/EventDefinitionKind.java +++ b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/EventDefinitionKind.java @@ -24,7 +24,11 @@ public static EventDefinitionKind fromString(String name) { return fromString(name, EventDefinitionKind.class); } - /** @return known EventDefinitionKind values. */ + /** + * Gets known EventDefinitionKind values. + * + * @return known EventDefinitionKind values. + */ public static Collection values() { return values(EventDefinitionKind.class); } diff --git a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/EventDeliverySchema.java b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/EventDeliverySchema.java index 7d65357c49c94..fda4bd90184e3 100644 --- a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/EventDeliverySchema.java +++ b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/EventDeliverySchema.java @@ -30,7 +30,11 @@ public static EventDeliverySchema fromString(String name) { return fromString(name, EventDeliverySchema.class); } - /** @return known EventDeliverySchema values. */ + /** + * Gets known EventDeliverySchema values. + * + * @return known EventDeliverySchema values. + */ public static Collection values() { return values(EventDeliverySchema.class); } diff --git a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/EventSubscriptionIdentityType.java b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/EventSubscriptionIdentityType.java index 1ee3b47e8d2ce..e2857f5780251 100644 --- a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/EventSubscriptionIdentityType.java +++ b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/EventSubscriptionIdentityType.java @@ -27,7 +27,11 @@ public static EventSubscriptionIdentityType fromString(String name) { return fromString(name, EventSubscriptionIdentityType.class); } - /** @return known EventSubscriptionIdentityType values. */ + /** + * Gets known EventSubscriptionIdentityType values. + * + * @return known EventSubscriptionIdentityType values. + */ public static Collection values() { return values(EventSubscriptionIdentityType.class); } diff --git a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/EventSubscriptionProvisioningState.java b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/EventSubscriptionProvisioningState.java index 2aae1ac199c55..88104419a15b7 100644 --- a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/EventSubscriptionProvisioningState.java +++ b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/EventSubscriptionProvisioningState.java @@ -42,7 +42,11 @@ public static EventSubscriptionProvisioningState fromString(String name) { return fromString(name, EventSubscriptionProvisioningState.class); } - /** @return known EventSubscriptionProvisioningState values. */ + /** + * Gets known EventSubscriptionProvisioningState values. + * + * @return known EventSubscriptionProvisioningState values. + */ public static Collection values() { return values(EventSubscriptionProvisioningState.class); } diff --git a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/IdentityType.java b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/IdentityType.java index 14520a490821d..ba8beba02f431 100644 --- a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/IdentityType.java +++ b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/IdentityType.java @@ -33,7 +33,11 @@ public static IdentityType fromString(String name) { return fromString(name, IdentityType.class); } - /** @return known IdentityType values. */ + /** + * Gets known IdentityType values. + * + * @return known IdentityType values. + */ public static Collection values() { return values(IdentityType.class); } diff --git a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/InputSchema.java b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/InputSchema.java index 73b33a2b77215..7401357e42c52 100644 --- a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/InputSchema.java +++ b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/InputSchema.java @@ -30,7 +30,11 @@ public static InputSchema fromString(String name) { return fromString(name, InputSchema.class); } - /** @return known InputSchema values. */ + /** + * Gets known InputSchema values. + * + * @return known InputSchema values. + */ public static Collection values() { return values(InputSchema.class); } diff --git a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/InputSchemaMappingType.java b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/InputSchemaMappingType.java index 32013179ce1dd..0020c7a9cd9bd 100644 --- a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/InputSchemaMappingType.java +++ b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/InputSchemaMappingType.java @@ -24,7 +24,11 @@ public static InputSchemaMappingType fromString(String name) { return fromString(name, InputSchemaMappingType.class); } - /** @return known InputSchemaMappingType values. */ + /** + * Gets known InputSchemaMappingType values. + * + * @return known InputSchemaMappingType values. + */ public static Collection values() { return values(InputSchemaMappingType.class); } diff --git a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/IpActionType.java b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/IpActionType.java index 7951fcd24d979..261c315cccd2a 100644 --- a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/IpActionType.java +++ b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/IpActionType.java @@ -24,7 +24,11 @@ public static IpActionType fromString(String name) { return fromString(name, IpActionType.class); } - /** @return known IpActionType values. */ + /** + * Gets known IpActionType values. + * + * @return known IpActionType values. + */ public static Collection values() { return values(IpActionType.class); } diff --git a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/ParentType.java b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/ParentType.java index 6e50fa4eb07a4..4eb0144af4416 100644 --- a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/ParentType.java +++ b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/ParentType.java @@ -30,7 +30,11 @@ public static ParentType fromString(String name) { return fromString(name, ParentType.class); } - /** @return known ParentType values. */ + /** + * Gets known ParentType values. + * + * @return known ParentType values. + */ public static Collection values() { return values(ParentType.class); } diff --git a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/PartnerClientAuthenticationType.java b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/PartnerClientAuthenticationType.java index f3468d5f7d87d..ddfe915c31e56 100644 --- a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/PartnerClientAuthenticationType.java +++ b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/PartnerClientAuthenticationType.java @@ -24,7 +24,11 @@ public static PartnerClientAuthenticationType fromString(String name) { return fromString(name, PartnerClientAuthenticationType.class); } - /** @return known PartnerClientAuthenticationType values. */ + /** + * Gets known PartnerClientAuthenticationType values. + * + * @return known PartnerClientAuthenticationType values. + */ public static Collection values() { return values(PartnerClientAuthenticationType.class); } diff --git a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/PartnerConfigurationProvisioningState.java b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/PartnerConfigurationProvisioningState.java index 66183334e0f0e..fe3e305dce313 100644 --- a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/PartnerConfigurationProvisioningState.java +++ b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/PartnerConfigurationProvisioningState.java @@ -40,7 +40,11 @@ public static PartnerConfigurationProvisioningState fromString(String name) { return fromString(name, PartnerConfigurationProvisioningState.class); } - /** @return known PartnerConfigurationProvisioningState values. */ + /** + * Gets known PartnerConfigurationProvisioningState values. + * + * @return known PartnerConfigurationProvisioningState values. + */ public static Collection values() { return values(PartnerConfigurationProvisioningState.class); } diff --git a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/PartnerDestinationActivationState.java b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/PartnerDestinationActivationState.java index e98a89ba86cea..243444ec15182 100644 --- a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/PartnerDestinationActivationState.java +++ b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/PartnerDestinationActivationState.java @@ -27,7 +27,11 @@ public static PartnerDestinationActivationState fromString(String name) { return fromString(name, PartnerDestinationActivationState.class); } - /** @return known PartnerDestinationActivationState values. */ + /** + * Gets known PartnerDestinationActivationState values. + * + * @return known PartnerDestinationActivationState values. + */ public static Collection values() { return values(PartnerDestinationActivationState.class); } diff --git a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/PartnerDestinationProvisioningState.java b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/PartnerDestinationProvisioningState.java index 2434918118c45..3481f63bc8995 100644 --- a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/PartnerDestinationProvisioningState.java +++ b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/PartnerDestinationProvisioningState.java @@ -40,7 +40,11 @@ public static PartnerDestinationProvisioningState fromString(String name) { return fromString(name, PartnerDestinationProvisioningState.class); } - /** @return known PartnerDestinationProvisioningState values. */ + /** + * Gets known PartnerDestinationProvisioningState values. + * + * @return known PartnerDestinationProvisioningState values. + */ public static Collection values() { return values(PartnerDestinationProvisioningState.class); } diff --git a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/PartnerEndpointType.java b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/PartnerEndpointType.java index 09c8896a592d2..5dffd3424a1e4 100644 --- a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/PartnerEndpointType.java +++ b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/PartnerEndpointType.java @@ -24,7 +24,11 @@ public static PartnerEndpointType fromString(String name) { return fromString(name, PartnerEndpointType.class); } - /** @return known PartnerEndpointType values. */ + /** + * Gets known PartnerEndpointType values. + * + * @return known PartnerEndpointType values. + */ public static Collection values() { return values(PartnerEndpointType.class); } diff --git a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/PartnerNamespaceProvisioningState.java b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/PartnerNamespaceProvisioningState.java index 86d18e75ae2ae..5e30f143ee9a8 100644 --- a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/PartnerNamespaceProvisioningState.java +++ b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/PartnerNamespaceProvisioningState.java @@ -39,7 +39,11 @@ public static PartnerNamespaceProvisioningState fromString(String name) { return fromString(name, PartnerNamespaceProvisioningState.class); } - /** @return known PartnerNamespaceProvisioningState values. */ + /** + * Gets known PartnerNamespaceProvisioningState values. + * + * @return known PartnerNamespaceProvisioningState values. + */ public static Collection values() { return values(PartnerNamespaceProvisioningState.class); } diff --git a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/PartnerRegistrationProvisioningState.java b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/PartnerRegistrationProvisioningState.java index 2399e246721d1..d50d185e74754 100644 --- a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/PartnerRegistrationProvisioningState.java +++ b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/PartnerRegistrationProvisioningState.java @@ -40,7 +40,11 @@ public static PartnerRegistrationProvisioningState fromString(String name) { return fromString(name, PartnerRegistrationProvisioningState.class); } - /** @return known PartnerRegistrationProvisioningState values. */ + /** + * Gets known PartnerRegistrationProvisioningState values. + * + * @return known PartnerRegistrationProvisioningState values. + */ public static Collection values() { return values(PartnerRegistrationProvisioningState.class); } diff --git a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/PartnerRegistrationVisibilityState.java b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/PartnerRegistrationVisibilityState.java index 39f93c354fbca..35569864c9272 100644 --- a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/PartnerRegistrationVisibilityState.java +++ b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/PartnerRegistrationVisibilityState.java @@ -30,7 +30,11 @@ public static PartnerRegistrationVisibilityState fromString(String name) { return fromString(name, PartnerRegistrationVisibilityState.class); } - /** @return known PartnerRegistrationVisibilityState values. */ + /** + * Gets known PartnerRegistrationVisibilityState values. + * + * @return known PartnerRegistrationVisibilityState values. + */ public static Collection values() { return values(PartnerRegistrationVisibilityState.class); } diff --git a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/PartnerTopicActivationState.java b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/PartnerTopicActivationState.java index 2c016bfc2dc03..5fee0d0f59a26 100644 --- a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/PartnerTopicActivationState.java +++ b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/PartnerTopicActivationState.java @@ -30,7 +30,11 @@ public static PartnerTopicActivationState fromString(String name) { return fromString(name, PartnerTopicActivationState.class); } - /** @return known PartnerTopicActivationState values. */ + /** + * Gets known PartnerTopicActivationState values. + * + * @return known PartnerTopicActivationState values. + */ public static Collection values() { return values(PartnerTopicActivationState.class); } diff --git a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/PartnerTopicProvisioningState.java b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/PartnerTopicProvisioningState.java index 7afe064aefdda..08f838d638255 100644 --- a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/PartnerTopicProvisioningState.java +++ b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/PartnerTopicProvisioningState.java @@ -39,7 +39,11 @@ public static PartnerTopicProvisioningState fromString(String name) { return fromString(name, PartnerTopicProvisioningState.class); } - /** @return known PartnerTopicProvisioningState values. */ + /** + * Gets known PartnerTopicProvisioningState values. + * + * @return known PartnerTopicProvisioningState values. + */ public static Collection values() { return values(PartnerTopicProvisioningState.class); } diff --git a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/PartnerTopicReadinessState.java b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/PartnerTopicReadinessState.java index 019f4d6285b16..4bbf3d394459b 100644 --- a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/PartnerTopicReadinessState.java +++ b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/PartnerTopicReadinessState.java @@ -33,7 +33,11 @@ public static PartnerTopicReadinessState fromString(String name) { return fromString(name, PartnerTopicReadinessState.class); } - /** @return known PartnerTopicReadinessState values. */ + /** + * Gets known PartnerTopicReadinessState values. + * + * @return known PartnerTopicReadinessState values. + */ public static Collection values() { return values(PartnerTopicReadinessState.class); } diff --git a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/PartnerTopicRoutingMode.java b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/PartnerTopicRoutingMode.java index 96c552933d69a..5548bf051bf1f 100644 --- a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/PartnerTopicRoutingMode.java +++ b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/PartnerTopicRoutingMode.java @@ -27,7 +27,11 @@ public static PartnerTopicRoutingMode fromString(String name) { return fromString(name, PartnerTopicRoutingMode.class); } - /** @return known PartnerTopicRoutingMode values. */ + /** + * Gets known PartnerTopicRoutingMode values. + * + * @return known PartnerTopicRoutingMode values. + */ public static Collection values() { return values(PartnerTopicRoutingMode.class); } diff --git a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/PersistedConnectionStatus.java b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/PersistedConnectionStatus.java index c0c19e152a53f..d0ac0f674af12 100644 --- a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/PersistedConnectionStatus.java +++ b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/PersistedConnectionStatus.java @@ -33,7 +33,11 @@ public static PersistedConnectionStatus fromString(String name) { return fromString(name, PersistedConnectionStatus.class); } - /** @return known PersistedConnectionStatus values. */ + /** + * Gets known PersistedConnectionStatus values. + * + * @return known PersistedConnectionStatus values. + */ public static Collection values() { return values(PersistedConnectionStatus.class); } diff --git a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/PublicNetworkAccess.java b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/PublicNetworkAccess.java index 615fbcc9b0154..f788007a04031 100644 --- a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/PublicNetworkAccess.java +++ b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/PublicNetworkAccess.java @@ -27,7 +27,11 @@ public static PublicNetworkAccess fromString(String name) { return fromString(name, PublicNetworkAccess.class); } - /** @return known PublicNetworkAccess values. */ + /** + * Gets known PublicNetworkAccess values. + * + * @return known PublicNetworkAccess values. + */ public static Collection values() { return values(PublicNetworkAccess.class); } diff --git a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/ReadinessState.java b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/ReadinessState.java index c76e9717e4af1..2becb750ef70f 100644 --- a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/ReadinessState.java +++ b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/ReadinessState.java @@ -27,7 +27,11 @@ public static ReadinessState fromString(String name) { return fromString(name, ReadinessState.class); } - /** @return known ReadinessState values. */ + /** + * Gets known ReadinessState values. + * + * @return known ReadinessState values. + */ public static Collection values() { return values(ReadinessState.class); } diff --git a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/ResourceKind.java b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/ResourceKind.java index bcfda097fd9e9..a985b6cfc7646 100644 --- a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/ResourceKind.java +++ b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/ResourceKind.java @@ -27,7 +27,11 @@ public static ResourceKind fromString(String name) { return fromString(name, ResourceKind.class); } - /** @return known ResourceKind values. */ + /** + * Gets known ResourceKind values. + * + * @return known ResourceKind values. + */ public static Collection values() { return values(ResourceKind.class); } diff --git a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/ResourceProvisioningState.java b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/ResourceProvisioningState.java index d1e9304a6febc..52d6f422b1bc3 100644 --- a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/ResourceProvisioningState.java +++ b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/ResourceProvisioningState.java @@ -39,7 +39,11 @@ public static ResourceProvisioningState fromString(String name) { return fromString(name, ResourceProvisioningState.class); } - /** @return known ResourceProvisioningState values. */ + /** + * Gets known ResourceProvisioningState values. + * + * @return known ResourceProvisioningState values. + */ public static Collection values() { return values(ResourceProvisioningState.class); } diff --git a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/ResourceRegionType.java b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/ResourceRegionType.java index 3726d02fdad1d..d18e046cc0bd3 100644 --- a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/ResourceRegionType.java +++ b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/ResourceRegionType.java @@ -27,7 +27,11 @@ public static ResourceRegionType fromString(String name) { return fromString(name, ResourceRegionType.class); } - /** @return known ResourceRegionType values. */ + /** + * Gets known ResourceRegionType values. + * + * @return known ResourceRegionType values. + */ public static Collection values() { return values(ResourceRegionType.class); } diff --git a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/Sku.java b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/Sku.java index 5940bab1d2165..62aff4267b472 100644 --- a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/Sku.java +++ b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/Sku.java @@ -27,7 +27,11 @@ public static Sku fromString(String name) { return fromString(name, Sku.class); } - /** @return known Sku values. */ + /** + * Gets known Sku values. + * + * @return known Sku values. + */ public static Collection values() { return values(Sku.class); } diff --git a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/TopicProvisioningState.java b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/TopicProvisioningState.java index 5573d00763d05..912bdf60f06cb 100644 --- a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/TopicProvisioningState.java +++ b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/TopicProvisioningState.java @@ -39,7 +39,11 @@ public static TopicProvisioningState fromString(String name) { return fromString(name, TopicProvisioningState.class); } - /** @return known TopicProvisioningState values. */ + /** + * Gets known TopicProvisioningState values. + * + * @return known TopicProvisioningState values. + */ public static Collection values() { return values(TopicProvisioningState.class); } diff --git a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/TopicTypePropertiesSupportedScopesForSourceItem.java b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/TopicTypePropertiesSupportedScopesForSourceItem.java index 9efe524fc8faa..66bd139e622e5 100644 --- a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/TopicTypePropertiesSupportedScopesForSourceItem.java +++ b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/TopicTypePropertiesSupportedScopesForSourceItem.java @@ -36,7 +36,11 @@ public static TopicTypePropertiesSupportedScopesForSourceItem fromString(String return fromString(name, TopicTypePropertiesSupportedScopesForSourceItem.class); } - /** @return known TopicTypePropertiesSupportedScopesForSourceItem values. */ + /** + * Gets known TopicTypePropertiesSupportedScopesForSourceItem values. + * + * @return known TopicTypePropertiesSupportedScopesForSourceItem values. + */ public static Collection values() { return values(TopicTypePropertiesSupportedScopesForSourceItem.class); } diff --git a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/TopicTypeProvisioningState.java b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/TopicTypeProvisioningState.java index 3b88918cce21c..ae406c5b1571f 100644 --- a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/TopicTypeProvisioningState.java +++ b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/TopicTypeProvisioningState.java @@ -39,7 +39,11 @@ public static TopicTypeProvisioningState fromString(String name) { return fromString(name, TopicTypeProvisioningState.class); } - /** @return known TopicTypeProvisioningState values. */ + /** + * Gets known TopicTypeProvisioningState values. + * + * @return known TopicTypeProvisioningState values. + */ public static Collection values() { return values(TopicTypeProvisioningState.class); } diff --git a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/VerifiedPartnerProvisioningState.java b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/VerifiedPartnerProvisioningState.java index 043925e6cdc03..64d48f03fcc97 100644 --- a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/VerifiedPartnerProvisioningState.java +++ b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/models/VerifiedPartnerProvisioningState.java @@ -39,7 +39,11 @@ public static VerifiedPartnerProvisioningState fromString(String name) { return fromString(name, VerifiedPartnerProvisioningState.class); } - /** @return known VerifiedPartnerProvisioningState values. */ + /** + * Gets known VerifiedPartnerProvisioningState values. + * + * @return known VerifiedPartnerProvisioningState values. + */ public static Collection values() { return values(VerifiedPartnerProvisioningState.class); }