From e948b620ede30af2aa5fb23b7d0e5508ea22e5db Mon Sep 17 00:00:00 2001 From: "Hong Li(MSFT)" <74638143+v-hongli1@users.noreply.github.com> Date: Thu, 9 Jan 2025 12:10:18 +0800 Subject: [PATCH] Update Javadoc of premium SDK for azure-resourcemanager-network (#43610) --- .../azure-resourcemanager-network/pom.xml | 1 - .../network/NetworkManager.java | 120 ++++++++++--- .../network/models/ApplicationGateway.java | 157 +++++++++++++++--- ...ationGatewayAuthenticationCertificate.java | 6 +- .../models/ApplicationGatewayBackend.java | 6 +- .../ApplicationGatewayBackendHealth.java | 12 +- ...ApplicationGatewayBackendHealthStatus.java | 15 +- ...cationGatewayBackendHttpConfiguration.java | 52 +++++- ...GatewayBackendHttpConfigurationHealth.java | 9 +- ...ApplicationGatewayBackendServerHealth.java | 12 +- .../models/ApplicationGatewayFrontend.java | 18 +- .../ApplicationGatewayIpConfiguration.java | 14 +- .../models/ApplicationGatewayListener.java | 18 +- .../models/ApplicationGatewayPathRule.java | 32 +++- .../models/ApplicationGatewayProbe.java | 30 +++- ...plicationGatewayRedirectConfiguration.java | 36 +++- .../ApplicationGatewayRequestRoutingRule.java | 57 +++++-- .../ApplicationGatewaySslCertificate.java | 6 +- .../models/ApplicationGatewayUrlPathMap.java | 24 ++- .../models/ApplicationSecurityGroup.java | 8 +- .../network/models/AvailableProviders.java | 18 +- .../models/AzureReachabilityReport.java | 38 ++++- .../network/models/ConnectionMonitor.java | 64 ++++++- .../models/ConnectionMonitorQueryResult.java | 12 +- .../network/models/ConnectivityCheck.java | 54 +++++- .../network/models/DdosProtectionPlan.java | 10 +- .../network/models/ExpressRouteCircuit.java | 48 +++++- .../models/ExpressRouteCircuitPeering.java | 82 +++++++-- .../models/ExpressRouteCircuitSkuType.java | 12 +- .../models/ExpressRouteCircuitStats.java | 24 ++- .../models/ExpressRouteCrossConnection.java | 66 ++++++-- .../ExpressRouteCrossConnectionPeering.java | 96 +++++++++-- .../network/models/FlowLogSettings.java | 30 +++- .../network/models/HasAssociatedSubnets.java | 6 +- .../network/models/HasBackendNics.java | 2 + .../network/models/HasBackendPort.java | 6 +- .../models/HasCookieBasedAffinity.java | 6 +- .../network/models/HasFloatingIP.java | 6 +- .../network/models/HasFrontend.java | 6 +- .../network/models/HasFrontendPort.java | 6 +- .../network/models/HasHostname.java | 8 +- .../network/models/HasLoadBalancingRules.java | 6 +- .../network/models/HasNetworkInterfaces.java | 12 +- .../network/models/HasPort.java | 6 +- .../network/models/HasPrivateIpAddress.java | 12 +- .../network/models/HasProtocol.java | 6 +- .../network/models/HasPublicIpAddress.java | 18 +- .../models/HasServerNameIndication.java | 6 +- .../network/models/HasSslCertificate.java | 6 +- .../network/models/Ipv6PeeringConfig.java | 46 ++++- ...wnWebApplicationGatewayManagedRuleSet.java | 12 +- .../network/models/LoadBalancer.java | 72 ++++++-- .../network/models/LoadBalancerBackend.java | 6 +- .../network/models/LoadBalancerFrontend.java | 24 ++- .../network/models/LoadBalancerHttpProbe.java | 6 +- .../models/LoadBalancerInboundNatPool.java | 12 +- .../models/LoadBalancerInboundNatRule.java | 18 +- .../models/LoadBalancerOutboundRule.java | 65 ++++++-- .../models/LoadBalancerPrivateFrontend.java | 8 +- .../network/models/LoadBalancerProbe.java | 12 +- .../network/models/LoadBalancerSkuType.java | 12 +- .../network/models/LoadBalancingRule.java | 18 +- .../network/models/LocalNetworkGateway.java | 24 ++- .../network/models/Network.java | 30 +++- .../network/models/NetworkInterface.java | 12 +- .../network/models/NetworkInterfaceBase.java | 56 ++++++- .../network/models/NetworkPeering.java | 52 +++++- .../network/models/NetworkSecurityGroup.java | 18 +- .../network/models/NetworkSecurityRule.java | 71 ++++++-- .../network/models/NetworkUsage.java | 24 ++- .../network/models/NetworkWatcher.java | 12 +- .../network/models/NextHop.java | 30 +++- .../models/NicIpConfigurationBase.java | 40 ++++- .../network/models/PCFilter.java | 22 ++- .../network/models/PacketCapture.java | 36 +++- .../network/models/PacketCaptureStatus.java | 30 +++- .../network/models/PrivateDnsZoneGroup.java | 4 + .../network/models/PrivateEndpoint.java | 24 +++ .../models/PrivateLinkSubResourceName.java | 15 +- .../network/models/PublicIPSkuType.java | 12 +- .../network/models/PublicIpAddress.java | 84 ++++++++-- .../network/models/PublicIpPrefix.java | 60 +++++-- .../resourcemanager/network/models/Route.java | 18 +- .../network/models/RouteFilter.java | 18 +- .../network/models/RouteFilterRule.java | 48 +++++- .../network/models/RouteTable.java | 12 +- .../network/models/SecurityGroupView.java | 12 +- .../network/models/ServiceEndpointType.java | 15 +- .../network/models/Subnet.java | 42 ++++- .../network/models/Topology.java | 30 +++- .../network/models/Troubleshooting.java | 36 +++- ...irtualMachineScaleSetNetworkInterface.java | 12 +- .../network/models/VirtualNetworkGateway.java | 59 ++++++- .../VirtualNetworkGatewayConnection.java | 76 +++++++-- .../VirtualNetworkGatewayIpConfiguration.java | 30 +++- .../models/WebApplicationFirewallPolicy.java | 36 +++- 96 files changed, 2303 insertions(+), 413 deletions(-) diff --git a/sdk/resourcemanager/azure-resourcemanager-network/pom.xml b/sdk/resourcemanager/azure-resourcemanager-network/pom.xml index 7b46d9cec150..9fd1e1e13eb6 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/pom.xml +++ b/sdk/resourcemanager/azure-resourcemanager-network/pom.xml @@ -51,7 +51,6 @@ --add-opens com.azure.resourcemanager.resources/com.azure.resourcemanager.resources.fluentcore.arm=ALL-UNNAMED --add-opens com.azure.core/com.azure.core.implementation.util=ALL-UNNAMED - - diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/NetworkManager.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/NetworkManager.java index ea2aebee3143..10930619d359 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/NetworkManager.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/NetworkManager.java @@ -142,7 +142,11 @@ private NetworkManager(HttpPipeline httpPipeline, AzureProfile profile) { .buildClient()); } - /** @return entry point to route table management */ + /** + * Gets entry point to route table management. + * + * @return entry point to route table management + */ public RouteTables routeTables() { if (this.routeTables == null) { this.routeTables = new RouteTablesImpl(this); @@ -150,7 +154,11 @@ public RouteTables routeTables() { return this.routeTables; } - /** @return entry point to virtual network management */ + /** + * Gets entry point to virtual network management. + * + * @return entry point to virtual network management + */ public Networks networks() { if (this.networks == null) { this.networks = new NetworksImpl(this); @@ -158,7 +166,11 @@ public Networks networks() { return this.networks; } - /** @return entry point to network security group management */ + /** + * Gets entry point to network security group management. + * + * @return entry point to network security group management + */ public NetworkSecurityGroups networkSecurityGroups() { if (this.networkSecurityGroups == null) { this.networkSecurityGroups = new NetworkSecurityGroupsImpl(this); @@ -166,7 +178,11 @@ public NetworkSecurityGroups networkSecurityGroups() { return this.networkSecurityGroups; } - /** @return entry point to public IP address management */ + /** + * Gets entry point to public IP address management. + * + * @return entry point to public IP address management + */ public PublicIpAddresses publicIpAddresses() { if (this.publicIPAddresses == null) { this.publicIPAddresses = new PublicIpAddressesImpl(this); @@ -174,7 +190,11 @@ public PublicIpAddresses publicIpAddresses() { return this.publicIPAddresses; } - /** @return entry point to public IP prefix management */ + /** + * Gets entry point to public IP prefix management. + * + * @return entry point to public IP prefix management + */ public PublicIpPrefixes publicIpPrefixes() { if (this.publicIpPrefixes == null) { this.publicIpPrefixes = new PublicIpPrefixesImpl(this); @@ -182,7 +202,11 @@ public PublicIpPrefixes publicIpPrefixes() { return this.publicIpPrefixes; } - /** @return entry point to network interface management */ + /** + * Gets entry point to network interface management. + * + * @return entry point to network interface management + */ public NetworkInterfaces networkInterfaces() { if (networkInterfaces == null) { this.networkInterfaces = new NetworkInterfacesImpl(this); @@ -190,7 +214,11 @@ public NetworkInterfaces networkInterfaces() { return this.networkInterfaces; } - /** @return entry point to application gateway management */ + /** + * Gets entry point to application gateway management. + * + * @return entry point to application gateway management + */ public ApplicationGateways applicationGateways() { if (this.applicationGateways == null) { this.applicationGateways = new ApplicationGatewaysImpl(this); @@ -198,7 +226,11 @@ public ApplicationGateways applicationGateways() { return this.applicationGateways; } - /** @return entry point to load balancer management */ + /** + * Gets entry point to load balancer management. + * + * @return entry point to load balancer management + */ public LoadBalancers loadBalancers() { if (this.loadBalancers == null) { this.loadBalancers = new LoadBalancersImpl(this); @@ -206,7 +238,11 @@ public LoadBalancers loadBalancers() { return this.loadBalancers; } - /** @return entry point to network resource usage management API entry point */ + /** + * Gets API entry point to network resource usage management. + * + * @return entry point to network resource usage management API entry point + */ public NetworkUsages usages() { if (this.networkUsages == null) { this.networkUsages = new NetworkUsagesImpl(this.serviceClient()); @@ -214,7 +250,11 @@ public NetworkUsages usages() { return this.networkUsages; } - /** @return entry point to network watchers management API entry point */ + /** + * Gets API entry point to network watchers management. + * + * @return entry point to network watchers management API entry point + */ public NetworkWatchers networkWatchers() { if (this.networkWatchers == null) { this.networkWatchers = new NetworkWatchersImpl(this); @@ -222,7 +262,11 @@ public NetworkWatchers networkWatchers() { return this.networkWatchers; } - /** @return entry point to virtual network gateways management */ + /** + * Gets entry point to virtual network gateways management. + * + * @return entry point to virtual network gateways management + */ public VirtualNetworkGateways virtualNetworkGateways() { if (this.virtualNetworkGateways == null) { this.virtualNetworkGateways = new VirtualNetworkGatewaysImpl(this); @@ -230,7 +274,11 @@ public VirtualNetworkGateways virtualNetworkGateways() { return this.virtualNetworkGateways; } - /** @return entry point to local network gateway management */ + /** + * Gets entry point to local network gateway management. + * + * @return entry point to local network gateway management + */ public LocalNetworkGateways localNetworkGateways() { if (this.localNetworkGateways == null) { this.localNetworkGateways = new LocalNetworkGatewaysImpl(this); @@ -238,7 +286,11 @@ public LocalNetworkGateways localNetworkGateways() { return this.localNetworkGateways; } - /** @return entry point to express route circuit management */ + /** + * Gets entry point to express route circuit management. + * + * @return entry point to express route circuit management + */ public ExpressRouteCircuits expressRouteCircuits() { if (this.expressRouteCircuits == null) { this.expressRouteCircuits = new ExpressRouteCircuitsImpl(this); @@ -246,7 +298,11 @@ public ExpressRouteCircuits expressRouteCircuits() { return this.expressRouteCircuits; } - /** @return entry point to application security groups management */ + /** + * Gets entry point to application security groups management. + * + * @return entry point to application security groups management + */ public ApplicationSecurityGroups applicationSecurityGroups() { if (this.applicationSecurityGroups == null) { this.applicationSecurityGroups = new ApplicationSecurityGroupsImpl(this); @@ -254,7 +310,11 @@ public ApplicationSecurityGroups applicationSecurityGroups() { return this.applicationSecurityGroups; } - /** @return entry point to application security groups management */ + /** + * Gets entry point to application security groups management. + * + * @return entry point to application security groups management + */ public RouteFilters routeFilters() { if (this.routeFilters == null) { this.routeFilters = new RouteFiltersImpl(this); @@ -262,7 +322,11 @@ public RouteFilters routeFilters() { return this.routeFilters; } - /** @return entry point to DDoS protection plans management */ + /** + * Gets entry point to DDoS protection plans management. + * + * @return entry point to DDoS protection plans management + */ public DdosProtectionPlans ddosProtectionPlans() { if (this.ddosProtectionPlans == null) { this.ddosProtectionPlans = new DdosProtectionPlansImpl(this); @@ -270,7 +334,11 @@ public DdosProtectionPlans ddosProtectionPlans() { return this.ddosProtectionPlans; } - /** @return entry point to express route cross connections management */ + /** + * Gets entry point to express route cross connections management. + * + * @return entry point to express route cross connections management + */ public ExpressRouteCrossConnections expressRouteCrossConnections() { if (this.expressRouteCrossConnections == null) { this.expressRouteCrossConnections = new ExpressRouteCrossConnectionsImpl(this); @@ -278,7 +346,11 @@ public ExpressRouteCrossConnections expressRouteCrossConnections() { return this.expressRouteCrossConnections; } - /** @return entry point to private endpoints management */ + /** + * Gets entry point to private endpoints management. + * + * @return entry point to private endpoints management + */ public PrivateEndpoints privateEndpoints() { if (this.privateEndpoints == null) { this.privateEndpoints = new PrivateEndpointsImpl(this); @@ -286,7 +358,11 @@ public PrivateEndpoints privateEndpoints() { return this.privateEndpoints; } - /** @return entry point to network profiles management */ + /** + * Gets entry point to network profiles management. + * + * @return entry point to network profiles management + */ public NetworkProfiles networkProfiles() { if (this.networkProfiles == null) { this.networkProfiles = new NetworkProfilesImpl(this); @@ -294,7 +370,11 @@ public NetworkProfiles networkProfiles() { return this.networkProfiles; } - /** @return entry point to web application firewall policies management */ + /** + * Gets entry point to web application firewall policies management. + * + * @return entry point to web application firewall policies management + */ public WebApplicationFirewallPolicies webApplicationFirewallPolicies() { if (this.webApplicationFirewallPolicies == null) { this.webApplicationFirewallPolicies = new WebApplicationFirewallPoliciesImpl(this); diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGateway.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGateway.java index 736dc87cb84b..00dff6fe67e0 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGateway.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGateway.java @@ -73,93 +73,196 @@ public interface ApplicationGateway Collection disabledSslProtocols(); /** + * Checks whether the application gateway has at least one internally load balanced frontend accessible within the + * virtual network. + * * @return true if the application gateway has at least one internally load balanced frontend accessible within the * virtual network */ boolean isPrivate(); - /** @return true if the application gateway has at least one Internet-facing frontend */ + /** + * Checks whether the application gateway has at least one Internet-facing frontend. + * + * @return true if the application gateway has at least one Internet-facing frontend + */ boolean isPublic(); /** + * Gets the frontend IP configuration associated with a public IP address. + * * @return the frontend IP configuration associated with a public IP address, if any, that frontend listeners and * request routing rules can reference implicitly */ ApplicationGatewayFrontend defaultPublicFrontend(); /** + * Gets the frontend IP configuration associated with a private IP address. + * * @return the frontend IP configuration associated with a private IP address, if any, that frontend listeners and * request routing rules can reference implicitly */ ApplicationGatewayFrontend defaultPrivateFrontend(); - /** @return the SKU of this application gateway */ + /** + * Gets the SKU of this application gateway. + * + * @return the SKU of this application gateway + */ ApplicationGatewaySku sku(); - /** @return number of instances */ + /** + * Gets number of instances. + * + * @return number of instances + */ int instanceCount(); - /** @return the size of the application gateway */ + /** + * Gets the size of the application gateway. + * + * @return the size of the application gateway + */ ApplicationGatewaySkuName size(); - /** @return the tier of the application gateway */ + /** + * Gets the tier of the application gateway. + * + * @return the tier of the application gateway + */ ApplicationGatewayTier tier(); - /** @return the autoscaleConfiguration value. */ + /** + * Gets the autoscaleConfiguration value. + * + * @return the autoscaleConfiguration value. + */ ApplicationGatewayAutoscaleConfiguration autoscaleConfiguration(); - /** @return the webApplicationFirewallConfiguration value. */ + /** + * Gets the webApplicationFirewallConfiguration value. + * + * @return the webApplicationFirewallConfiguration value. + */ ApplicationGatewayWebApplicationFirewallConfiguration webApplicationFirewallConfiguration(); - /** @return the operational state of the application gateway */ + /** + * Gets the operational state of the application gateway. + * + * @return the operational state of the application gateway + */ ApplicationGatewayOperationalState operationalState(); - /** @return IP configurations of this application gateway, indexed by name */ + /** + * Gets IP configurations of this application gateway. + * + * @return IP configurations of this application gateway, indexed by name + */ Map ipConfigurations(); - /** @return backend address pools of this application gateway, indexed by name */ + /** + * Gets backend address pools of this application gateway. + * + * @return backend address pools of this application gateway, indexed by name + */ Map backends(); - /** @return probes of this application gateway, indexed by name */ + /** + * Gets probes of this application gateway. + * + * @return probes of this application gateway, indexed by name + */ Map probes(); - /** @return the existing IP configurations if only one exists, else null */ + /** + * Gets the existing IP configurations. + * + * @return the existing IP configurations if only one exists, else null + */ ApplicationGatewayIpConfiguration defaultIPConfiguration(); - /** @return frontend IP configurations, indexed by name */ + /** + * Gets frontend IP configurations. + * + * @return frontend IP configurations, indexed by name + */ Map frontends(); - /** @return frontend IP configurations with a public IP address, indexed by name */ + /** + * Gets frontend IP configurations with a public IP address. + * + * @return frontend IP configurations with a public IP address, indexed by name + */ Map publicFrontends(); - /** @return frontend IP configurations with a private IP address within a subnet, indexed by name */ + /** + * Gets frontend IP configurations with a private IP address within a subnet. + * + * @return frontend IP configurations with a private IP address within a subnet, indexed by name + */ Map privateFrontends(); - /** @return named frontend ports of this application gateway, indexed by name */ + /** + * Gets named frontend ports of this application gateway. + * + * @return named frontend ports of this application gateway, indexed by name + */ Map frontendPorts(); - /** @return backend HTTP configurations of this application gateway, indexed by name */ + /** + * Gets backend HTTP configurations of this application gateway. + * + * @return backend HTTP configurations of this application gateway, indexed by name + */ Map backendHttpConfigurations(); - /** @return SSL certificates, indexed by name */ + /** + * Gets SSL certificates. + * + * @return SSL certificates, indexed by name + */ Map sslCertificates(); - /** @return frontend listeners, indexed by name */ + /** + * Gets frontend listeners. + * + * @return frontend listeners, indexed by name + */ Map listeners(); - /** @return redirect configurations, indexed by name */ + /** + * Gets redirect configurations. + * + * @return redirect configurations, indexed by name + */ Map redirectConfigurations(); - /** @return URL path maps, indexed by name (case sensitive) */ + /** + * Gets URL path maps. + * + * @return URL path maps, indexed by name (case sensitive) + */ Map urlPathMaps(); - /** @return request routing rules, indexed by name */ + /** + * Gets request routing rules. + * + * @return request routing rules, indexed by name + */ Map requestRoutingRules(); - /** @return authentication certificates */ + /** + * Gets authentication certificates. + * + * @return authentication certificates + */ Map authenticationCertificates(); - /** @return whether HTTP2 enabled for the application gateway */ + /** + * Checks whether HTTP2 is enabled for the application gateway. + * + * @return whether HTTP2 enabled for the application gateway + */ boolean isHttp2Enabled(); /** @@ -188,7 +291,11 @@ public interface ApplicationGateway */ ApplicationGatewayListener listenerByPortNumber(int portNumber); - /** @return resource id of the Web Application Firewall Policy (if any) associated with the application gateway */ + /** + * Gets resource ID of the Web Application Firewall Policy (if any) associated with the application gateway. + * + * @return resource ID of the Web Application Firewall Policy (if any) associated with the application gateway + */ String getWebApplicationFirewallPolicyId(); /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayAuthenticationCertificate.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayAuthenticationCertificate.java index 0ade61e5be3f..8e2c210240dd 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayAuthenticationCertificate.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayAuthenticationCertificate.java @@ -16,7 +16,11 @@ public interface ApplicationGatewayAuthenticationCertificate extends HasInnerModel, ChildResource { - /** @return base-64 encoded bytes of the X.509 certificate */ + /** + * Gets base-64 encoded bytes of the X.509 certificate. + * + * @return base-64 encoded bytes of the X.509 certificate + */ String data(); /** Grouping of application gateway authentication certificate stages. */ diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackend.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackend.java index 8cd1e922140c..8f92e53b3466 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackend.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackend.java @@ -14,7 +14,11 @@ public interface ApplicationGatewayBackend extends HasInnerModel, ChildResource, HasBackendNics { - /** @return addresses on the backend of the application gateway */ + /** + * Gets addresses on the backend of the application gateway. + * + * @return addresses on the backend of the application gateway + */ Collection addresses(); /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealth.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealth.java index 2542d63835d1..fd57652fdb88 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealth.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealth.java @@ -13,9 +13,17 @@ public interface ApplicationGatewayBackendHealth extends HasInnerModel, HasName, HasParent { - /** @return the application gateway backend address pool that is health information pertains to */ + /** + * Gets the application gateway backend address pool that is health information pertains to. + * + * @return the application gateway backend address pool that is health information pertains to + */ ApplicationGatewayBackend backend(); - /** @return the health information about each associated backend HTTP settings configuration, indexed by its name */ + /** + * Gets the health information about each associated backend HTTP settings configuration. + * + * @return the health information about each associated backend HTTP settings configuration, indexed by its name + */ Map httpConfigurationHealths(); } diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealthStatus.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealthStatus.java index 05a29ef76adf..63f76fcfa08b 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealthStatus.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealthStatus.java @@ -27,6 +27,15 @@ public class ApplicationGatewayBackendHealthStatus extends ExpandableStringEnum< public static final ApplicationGatewayBackendHealthStatus DRAINING = fromString(ApplicationGatewayBackendHealthServerHealth.DRAINING.toString()); + /** + * Creates a new instance of ApplicationGatewayBackendHealthStatus value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Deprecated + public ApplicationGatewayBackendHealthStatus() { + } + /** The server is unhealthy. */ public static final ApplicationGatewayBackendHealthStatus UNHEALTHY = fromString("Unhealthy"); @@ -40,7 +49,11 @@ public static ApplicationGatewayBackendHealthStatus fromString(String name) { return fromString(name, ApplicationGatewayBackendHealthStatus.class); } - /** @return known application gateway backend health statuses */ + /** + * Gets known application gateway backend health statuses. + * + * @return known application gateway backend health statuses + */ public static Collection values() { return values(ApplicationGatewayBackendHealthStatus.class); } diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHttpConfiguration.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHttpConfiguration.java index 36479ecd4ca5..4805dd5e27c0 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHttpConfiguration.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHttpConfiguration.java @@ -16,39 +16,75 @@ public interface ApplicationGatewayBackendHttpConfiguration extends HasInnerModel, ChildResource, HasProtocol, HasPort { - /** @return authentication certificates associated with this backend HTTPS configuration */ + /** + * Gets authentication certificates associated with this backend HTTPS configuration. + * + * @return authentication certificates associated with this backend HTTPS configuration + */ Map authenticationCertificates(); - /** @return true if cookie based affinity (sticky sessions) is enabled, else false */ + /** + * Checks whether cookie based affinity (sticky sessions) is enabled. + * + * @return true if cookie based affinity (sticky sessions) is enabled, else false + */ boolean cookieBasedAffinity(); /** + * Gets HTTP request timeout in seconds. + * * @return HTTP request timeout in seconds. Requests will fail if no response is received within the specified time. */ int requestTimeout(); - /** @return the probe associated with this backend */ + /** + * Gets the probe associated with this backend. + * + * @return the probe associated with this backend + */ ApplicationGatewayProbe probe(); - /** @return host header to be sent to the backend servers */ + /** + * Gets host header to be sent to the backend servers. + * + * @return host header to be sent to the backend servers + */ String hostHeader(); - /** @return whether the host header should come from the host name of the backend server */ + /** + * Checks whether the host header should come from the host name of the backend server. + * + * @return whether the host header should come from the host name of the backend server + */ boolean isHostHeaderFromBackend(); - /** @return true if the probe is enabled */ + /** + * Checks whether the probe is enabled. + * + * @return true if the probe is enabled + */ boolean isProbeEnabled(); /** + * Gets the number of seconds when connection draining is active. + * * @return if 0 then connection draining is not enabled, otherwise if between 1 and 3600, then the number of seconds * when connection draining is active */ int connectionDrainingTimeoutInSeconds(); - /** @return name used for the affinity cookie */ + /** + * Gets name used for the affinity cookie. + * + * @return name used for the affinity cookie + */ String affinityCookieName(); - /** @return the path, if any, used as a prefix for all HTTP requests */ + /** + * Gets the path used as a prefix for all HTTP requests. + * + * @return the path, if any, used as a prefix for all HTTP requests + */ String path(); /** Grouping of application gateway backend HTTPS configuration stages. */ diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHttpConfigurationHealth.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHttpConfigurationHealth.java index 8fd418e02451..e7dcc80317ed 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHttpConfigurationHealth.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHttpConfigurationHealth.java @@ -16,11 +16,18 @@ public interface ApplicationGatewayBackendHttpConfigurationHealth extends HasInnerModel, HasParent, HasName { /** + * Gets the associated application gateway backend HTTP configuration settings this health information pertains + * to. + * * @return the associated application gateway backend HTTP configuration settings this health information pertains * to */ ApplicationGatewayBackendHttpConfiguration backendHttpConfiguration(); - /** @return information about the health of each backend server, indexed by the server's IP address */ + /** + * Gets information about the health of each backend server. + * + * @return information about the health of each backend server, indexed by the server's IP address + */ Map serverHealths(); } diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendServerHealth.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendServerHealth.java index 7b3b4fcfeec1..4ff53d3034c6 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendServerHealth.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendServerHealth.java @@ -13,7 +13,11 @@ public interface ApplicationGatewayBackendServerHealth extends HasInnerModel, HasParent { - /** @return IP address of the server this health information pertains to */ + /** + * Gets IP address of the server this health information pertains to. + * + * @return IP address of the server this health information pertains to + */ String ipAddress(); /** @@ -23,6 +27,10 @@ public interface ApplicationGatewayBackendServerHealth */ NicIpConfiguration getNetworkInterfaceIPConfiguration(); - /** @return the health status of the server */ + /** + * Gets the health status of the server. + * + * @return the health status of the server + */ ApplicationGatewayBackendHealthStatus status(); } diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFrontend.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFrontend.java index 8f78da38ad37..030e6a13e239 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFrontend.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFrontend.java @@ -14,13 +14,25 @@ public interface ApplicationGatewayFrontend extends HasInnerModel, ChildResource, HasPrivateIpAddress, HasSubnet, HasPublicIpAddress { - /** @return true if the frontend is accessible via a public IP address, else false */ + /** + * Checks whether the frontend is accessible via a public IP address. + * + * @return true if the frontend is accessible via a public IP address, else false + */ boolean isPublic(); - /** @return true is the frontend is accessible via an private IP address */ + /** + * Checks whether the frontend is accessible via an private IP address. + * + * @return true is the frontend is accessible via an private IP address + */ boolean isPrivate(); - /** @return the associated subnet */ + /** + * Gets the associated subnet. + * + * @return the associated subnet + */ Subnet getSubnet(); /** Grouping of application gateway frontend definition stages. */ diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayIpConfiguration.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayIpConfiguration.java index fdd4d5e55b33..813217f86bdc 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayIpConfiguration.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayIpConfiguration.java @@ -15,13 +15,23 @@ public interface ApplicationGatewayIpConfiguration extends HasInnerModel, ChildResource { - /** @return the resource ID of the virtual network the application gateway is in */ + /** + * Gets the resource ID of the virtual network the application gateway is in. + * + * @return the resource ID of the virtual network the application gateway is in + */ String networkId(); - /** @return the name of the subnet the application gateway is in */ + /** + * Gets the name of the subnet the application gateway is in. + * + * @return the name of the subnet the application gateway is in + */ String subnetName(); /** + * Gets the subnet the application gateway is in. + * * @return the subnet the application gateway is in *

Note, this results in a separate call to Azure. */ diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayListener.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayListener.java index ea6701e69258..d1f7a6988deb 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayListener.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayListener.java @@ -15,13 +15,25 @@ public interface ApplicationGatewayListener extends HasInnerModel, HasSslCertificate, HasPublicIpAddress, HasProtocol, HasHostname, HasServerNameIndication, HasSubnet { - /** @return the frontend IP configuration this listener is associated with. */ + /** + * Gets the frontend IP configuration this listener is associated with. + * + * @return the frontend IP configuration this listener is associated with. + */ ApplicationGatewayFrontend frontend(); - /** @return the number of the frontend port the listener is listening on */ + /** + * Gets the number of the frontend port the listener is listening on. + * + * @return the number of the frontend port the listener is listening on + */ int frontendPortNumber(); - /** @return the name of the frontend port the listener is listening on */ + /** + * Gets the name of the frontend port the listener is listening on. + * + * @return the name of the frontend port the listener is listening on + */ String frontendPortName(); /** Grouping of application gateway HTTP listener configuration stages. */ diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayPathRule.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayPathRule.java index 5174e8674dfd..c9c806b2b156 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayPathRule.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayPathRule.java @@ -15,16 +15,32 @@ public interface ApplicationGatewayPathRule extends HasInnerModel, ChildResource { - /** @return backend address pool resource of URL path map path rule */ + /** + * Gets backend address pool resource of URL path map path rule. + * + * @return backend address pool resource of URL path map path rule + */ ApplicationGatewayBackend backend(); - /** @return backend http settings resource of URL path map path rule */ + /** + * Gets backend http settings resource of URL path map path rule. + * + * @return backend http settings resource of URL path map path rule + */ ApplicationGatewayBackendHttpConfiguration backendHttpConfiguration(); - /** @return redirect configuration resource of URL path map path rule */ + /** + * Gets redirect configuration resource of URL path map path rule. + * + * @return redirect configuration resource of URL path map path rule + */ ApplicationGatewayRedirectConfiguration redirectConfiguration(); - /** @return paths for URL path map rule. */ + /** + * Gets paths for URL path map rule. + * + * @return paths for URL path map rule. + */ List paths(); /** Grouping of application gateway URL path map definition stages. */ @@ -47,12 +63,16 @@ interface Blank extends WithBackendHttpConfiguration { */ interface WithPath { /** + * Specifies path for the path rule. + * * @param path for the path rule * @return the next stage of the definition */ WithAttach withPath(String path); /** + * Specifies path for the path rule. + * * @param paths for the path rule * @return the next stage of the definition */ @@ -200,12 +220,16 @@ interface WithBackend { */ interface WithPath { /** + * Specifies path for the path rule. + * * @param path for the path rule * @return the next stage of the definition */ WithAttach withPath(String path); /** + * Specifies path for the path rule. + * * @param paths for the path rule * @return the next stage of the definition */ diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayProbe.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayProbe.java index 6cd2cb63ae1f..7992997d3ebf 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayProbe.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayProbe.java @@ -15,41 +15,63 @@ public interface ApplicationGatewayProbe extends HasInnerModel, ChildResource, HasProtocol { - /** @return the number of seconds between probe retries */ + /** + * Gets the number of seconds between probe retries. + * + * @return the number of seconds between probe retries + */ int timeBetweenProbesInSeconds(); /** + * Gets HTTP response code ranges in the format ###-### returned by the backend which the probe considers + * healthy. + * * @return HTTP response code ranges in the format ###-### returned by the backend which the probe considers * healthy. */ Set healthyHttpResponseStatusCodeRanges(); /** + * Gets the body contents of an HTTP response to a probe to check for to determine backend health, or null if + * none specified + * * @return the body contents of an HTTP response to a probe to check for to determine backend health, or null if * none specified */ String healthyHttpResponseBodyContents(); - /** @return the relative path to be called by the probe */ + /** + * Gets the relative path to be called by the probe. + * + * @return the relative path to be called by the probe + */ String path(); /** + * Gets the number of seconds waiting for a response after which the probe times out and it is marked as failed. + * * @return the number of seconds waiting for a response after which the probe times out and it is marked as failed *

Acceptable values are from 1 to 86400 seconds. */ int timeoutInSeconds(); /** + * Gets the number of failed retry probes before the backend server is marked as being down. + * * @return the number of failed retry probes before the backend server is marked as being down *

Acceptable values are from 1 second to 20. */ int retriesBeforeUnhealthy(); - /** @return host name to send the probe to */ + /** + * Gets host name to send the probe to. + * + * @return host name to send the probe to + */ String host(); /** - * Whether probe uses the host name from the HTTP settings to which this probe is associated. + * Checks whether probe uses the host name from the HTTP settings to which this probe is associated. * * @return Whether probe uses the host name from the HTTP settings. */ diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRedirectConfiguration.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRedirectConfiguration.java index f34009c97316..612a38e086c1 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRedirectConfiguration.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRedirectConfiguration.java @@ -15,22 +15,46 @@ public interface ApplicationGatewayRedirectConfiguration extends HasInnerModel, ChildResource { - /** @return the type of redirection. */ + /** + * Gets the type of redirection. + * + * @return the type of redirection. + */ ApplicationGatewayRedirectType type(); - /** @return the target listener on this application network traffic is redirected to */ + /** + * Gets the target listener on this application network traffic is redirected to. + * + * @return the target listener on this application network traffic is redirected to + */ ApplicationGatewayListener targetListener(); - /** @return the target URL network traffic is redirected to */ + /** + * Gets the target URL network traffic is redirected to. + * + * @return the target URL network traffic is redirected to + */ String targetUrl(); - /** @return request routing rules on this application referencing this redirect configuration, indexed by name */ + /** + * Gets request routing rules on this application referencing this redirect configuration. + * + * @return request routing rules on this application referencing this redirect configuration, indexed by name + */ Map requestRoutingRules(); - /** @return true if the path is included in the redirected URL, otherwise false */ + /** + * Checks whether the path is included in the redirected URL. + * + * @return true if the path is included in the redirected URL, otherwise false + */ boolean isPathIncluded(); - /** @return true if the query string is included in the redirected URL, otherwise false */ + /** + * Checks whether the query string is included in the redirected URL. + * + * @return true if the query string is included in the redirected URL, otherwise false + */ boolean isQueryStringIncluded(); /** Grouping of application gateway redirect configuration configuration stages. */ diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRequestRoutingRule.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRequestRoutingRule.java index 8bd55ae6510d..1ee6dda13917 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRequestRoutingRule.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRequestRoutingRule.java @@ -17,32 +17,69 @@ public interface ApplicationGatewayRequestRoutingRule extends HasInnerModel, HasPublicIpAddress, HasSslCertificate, HasFrontendPort, HasBackendPort, HasHostname, HasCookieBasedAffinity, HasServerNameIndication { - /** @return the redirect configuration associated with this request routing rule, if any */ + /** + * Gets the redirect configuration associated with this request routing rule. + * + * @return the redirect configuration associated with this request routing rule, if any + */ ApplicationGatewayRedirectConfiguration redirectConfiguration(); - /** @return the frontend protocol */ + /** + * Gets the frontend protocol. + * + * @return the frontend protocol + */ ApplicationGatewayProtocol frontendProtocol(); - /** @return rule type */ + /** + * Gets rule type. + * + * @return rule type + */ ApplicationGatewayRequestRoutingRuleType ruleType(); - /** @return the associated backend address pool */ + /** + * Gets the associated backend address pool. + * + * @return the associated backend address pool + */ ApplicationGatewayBackend backend(); - /** @return the associated backend HTTP settings configuration */ + /** + * Gets the associated backend HTTP settings configuration. + * + * @return the associated backend HTTP settings configuration + */ ApplicationGatewayBackendHttpConfiguration backendHttpConfiguration(); - /** @return the associated frontend HTTP listener */ + /** + * Gets the associated frontend HTTP listener. + * + * @return the associated frontend HTTP listener + */ ApplicationGatewayListener listener(); - /** @return the addresses assigned to the associated backend */ + /** + * Gets the addresses assigned to the associated backend. + * + * @return the addresses assigned to the associated backend + */ Collection backendAddresses(); - /** @return the associated URL path map */ + /** + * Gets the associated URL path map. + * + * @return the associated URL path map + */ ApplicationGatewayUrlPathMap urlPathMap(); - /** @return the priority of the rule - only available for {@link ApplicationGatewaySkuName#STANDARD_V2} and {@link ApplicationGatewaySkuName#WAF_V2} */ + /** + * Gets the priority of the rule + * only available for {@link ApplicationGatewaySkuName#STANDARD_V2} and {@link ApplicationGatewaySkuName#WAF_V2} + * + * @return the priority of the rule + only available for {@link ApplicationGatewaySkuName#STANDARD_V2} and {@link ApplicationGatewaySkuName#WAF_V2} + */ Integer priority(); /** Grouping of application gateway request routing rule definition stages. */ diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslCertificate.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslCertificate.java index 0c4075a34ca4..79cfe6c0143a 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslCertificate.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslCertificate.java @@ -16,7 +16,11 @@ public interface ApplicationGatewaySslCertificate extends HasInnerModel, ChildResource { - /** @return the public data of the certificate */ + /** + * Gets the public data of the certificate. + * + * @return the public data of the certificate + */ String publicData(); /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayUrlPathMap.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayUrlPathMap.java index f59fe7dead95..ebf4ce8492f4 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayUrlPathMap.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayUrlPathMap.java @@ -15,16 +15,32 @@ public interface ApplicationGatewayUrlPathMap extends HasInnerModel, ChildResource { - /** @return default backend address pool */ + /** + * Gets default backend address pool. + * + * @return default backend address pool + */ ApplicationGatewayBackend defaultBackend(); - /** @return default backend HTTP settings configuration */ + /** + * Gets default backend HTTP settings configuration. + * + * @return default backend HTTP settings configuration + */ ApplicationGatewayBackendHttpConfiguration defaultBackendHttpConfiguration(); - /** @return default redirect configuration */ + /** + * Gets default redirect configuration. + * + * @return default redirect configuration + */ ApplicationGatewayRedirectConfiguration defaultRedirectConfiguration(); - /** @return path rules of URL path map resource */ + /** + * Gets path rules of URL path map resource. + * + * @return path rules of URL path map resource + */ Map pathRules(); /** Grouping of application gateway URL path map definition stages. */ diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationSecurityGroup.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationSecurityGroup.java index 63686b1fb423..7b9bc2f6b1ce 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationSecurityGroup.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationSecurityGroup.java @@ -17,12 +17,18 @@ public interface ApplicationSecurityGroup extends GroupableResource, Refreshable, Updatable { /** + * Gets the resource GUID property of the application security group resource. + * * @return the resource GUID property of the application security group resource. It uniquely identifies a resource, * even if the user changes its name or migrate the resource across subscriptions or resource groups. */ String resourceGuid(); - /** @return the provisioning state of the application security group resource */ + /** + * Gets the provisioning state of the application security group resource. + * + * @return the provisioning state of the application security group resource + */ String provisioningState(); // Fluent interfaces for creating Application Security Groups diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AvailableProviders.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AvailableProviders.java index 3a4565fc3354..6bb94e847222 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AvailableProviders.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AvailableProviders.java @@ -13,10 +13,18 @@ @Fluent public interface AvailableProviders extends Executable, HasInnerModel, HasParent { - /** @return parameters used to query available internet providers */ + /** + * Gets parameters used to query available internet providers. + * + * @return parameters used to query available internet providers + */ AvailableProvidersListParameters availableProvidersParameters(); - /** @return read-only map of available internet providers, indexed by country */ + /** + * Gets read-only map of available internet providers. + * + * @return read-only map of available internet providers, indexed by country + */ Map providersByCountry(); /** The entirety of available providers parameters definition. */ @@ -55,6 +63,8 @@ interface WithExecute extends Executable, DefinitionStages.W /** The stage of the definition which allows to specify country or execute the query. */ interface WithExecuteAndCountry extends WithExecute { /** + * Specifies the country for available providers list. + * * @param country the country for available providers list * @return the next stage of the definition */ @@ -64,6 +74,8 @@ interface WithExecuteAndCountry extends WithExecute { /** The stage of the definition which allows to specify state or execute the query. */ interface WithExecuteAndState extends WithExecute { /** + * Specifies the state for available providers list. + * * @param state the state for available providers list * @return the next stage of the definition */ @@ -73,6 +85,8 @@ interface WithExecuteAndState extends WithExecute { /** The stage of the definition which allows to specify city or execute the query. */ interface WithExecuteAndCity extends WithExecute { /** + * Specifies the city or town for available providers list. + * * @param city the city or town for available providers list * @return the next stage of the definition */ diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReport.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReport.java index dbe6b9bf30af..6e2e0f1d6813 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReport.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReport.java @@ -14,16 +14,32 @@ @Fluent public interface AzureReachabilityReport extends Executable, HasInnerModel, HasParent { - /** @return the aggregation level of Azure reachability report. Can be Country, State or City. */ + /** + * Gets the aggregation level of Azure reachability report. + * + * @return the aggregation level of Azure reachability report. Can be Country, State or City. + */ String aggregationLevel(); - /** @return the providerLocation property */ + /** + * Gets the providerLocation property. + * + * @return the providerLocation property + */ AzureReachabilityReportLocation providerLocation(); - /** @return list of Azure reachability report items. */ + /** + * Gets list of Azure reachability report items. + * + * @return list of Azure reachability report items. + */ List reachabilityReport(); - /** @return parameters used to query available internet providers */ + /** + * Gets parameters used to query available internet providers. + * + * @return parameters used to query available internet providers + */ AzureReachabilityReportParameters azureReachabilityReportParameters(); /** The entirety of Azure reachability report parameters definition. */ @@ -36,12 +52,16 @@ interface DefinitionStages { /** The first stage of Azure reachability report parameters definition. */ interface WithProviderLocation { /** + * Specifies the name of the country. + * * @param country the name of the country * @return the AzureReachabilityReport object itself */ WithStartTime withProviderLocation(String country); /** + * Specifies the name of the country. + * * @param country the name of the country * @param state the name of the state * @return the AzureReachabilityReport object itself @@ -49,6 +69,8 @@ interface WithProviderLocation { WithStartTime withProviderLocation(String country, String state); /** + * Specifies the name of the country. + * * @param country the name of the country * @param state the name of the state * @param city the name of the city @@ -60,6 +82,8 @@ interface WithProviderLocation { /** Sets the start time for the Azure reachability report. */ interface WithStartTime { /** + * Specifies the start time for the Azure reachability report. + * * @param startTime the start time for the Azure reachability report * @return the next stage of the definition */ @@ -69,6 +93,8 @@ interface WithStartTime { /** Sets the end time for the Azure reachability report. */ interface WithEndTime { /** + * Specifies the start time for the Azure reachability report. + * * @param endTime the start time for the Azure reachability report * @return the next stage of the definition */ @@ -81,6 +107,8 @@ interface WithEndTime { */ interface WithAzureLocations { /** + * Specifies the Azure locations for the Azure reachability report. + * * @param azureLocations the Azure locations for the Azure reachability report * @return the next stage of the definition */ @@ -93,6 +121,8 @@ interface WithAzureLocations { */ interface WithProviders { /** + * Specifies the list of Internet service providers. + * * @param providers the list of Internet service providers * @return the next stage of the definition */ diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitor.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitor.java index 4e7de8b72ea3..91263e91d6ef 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitor.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitor.java @@ -16,16 +16,32 @@ /** Client-side representation of Connection Monitor object, associated with Network Watcher. */ @Fluent public interface ConnectionMonitor extends HasInnerModel, HasName, HasId, Indexable { - /** @return connection monitor location */ + /** + * Gets connection monitor location. + * + * @return connection monitor location + */ String location(); - /** @return connection monitor tags */ + /** + * Gets connection monitor tags. + * + * @return connection monitor tags + */ Map tags(); - /** @return the source property */ + /** + * Gets the source property. + * + * @return the source property + */ ConnectionMonitorSource source(); - /** @return the destination property */ + /** + * Gets the destination property. + * + * @return the destination property + */ ConnectionMonitorDestination destination(); /** @@ -35,16 +51,32 @@ public interface ConnectionMonitor extends HasInnerModel { - /** @return status of connection monitor source */ + /** + * Gets status of connection monitor source. + * + * @return status of connection monitor source + */ ConnectionMonitorSourceStatus sourceStatus(); - /** @return information about connection states */ + /** + * Gets information about connection states. + * + * @return information about connection states + */ List states(); } diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectivityCheck.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectivityCheck.java index 7795b546e998..b9c7f8e3f88c 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectivityCheck.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectivityCheck.java @@ -13,25 +13,53 @@ */ @Fluent public interface ConnectivityCheck extends Executable, HasParent { - /** @return list of hops between the source and the destination */ + /** + * Gets list of hops between the source and the destination. + * + * @return list of hops between the source and the destination + */ List hops(); - /** @return the connection status */ + /** + * Gets the connection status. + * + * @return the connection status + */ ConnectionStatus connectionStatus(); - /** @return average latency in milliseconds */ + /** + * Gets average latency in milliseconds. + * + * @return average latency in milliseconds + */ int avgLatencyInMs(); - /** @return minimum latency in milliseconds */ + /** + * Gets minimum latency in milliseconds. + * + * @return minimum latency in milliseconds + */ int minLatencyInMs(); - /** @return maximum latency in milliseconds */ + /** + * Gets maximum latency in milliseconds. + * + * @return maximum latency in milliseconds + */ int maxLatencyInMs(); - /** @return total number of probes sent */ + /** + * Gets total number of probes sent. + * + * @return total number of probes sent + */ int probesSent(); - /** @return number of failed probes */ + /** + * Gets number of failed probes. + * + * @return number of failed probes + */ int probesFailed(); /** The entirety of connectivity check parameters definition. */ @@ -44,12 +72,16 @@ interface DefinitionStages { /** Sets the source property. */ interface FromSourceVirtualMachine { /** + * Specifies the ID of the virtual machine from which a connectivity check will be initiated. + * * @param resourceId the ID of the virtual machine from which a connectivity check will be initiated * @return next definition stage */ WithExecute fromSourceVirtualMachine(String resourceId); /** + * Specifies virtual machine from which a connectivity check will be initiated. + * * @param vm virtual machine from which a connectivity check will be initiated * @return next definition stage */ @@ -59,12 +91,16 @@ interface FromSourceVirtualMachine { /** Sets the destination property. */ interface ToDestination { /** + * Specifies the ID of the resource to which a connection attempt will be made. + * * @param resourceId the ID of the resource to which a connection attempt will be made * @return next definition stage */ ToDestinationPort toDestinationResourceId(String resourceId); /** + * Specifies the IP address or URI the resource to which a connection attempt will be made. + * * @param address the IP address or URI the resource to which a connection attempt will be made * @return next definition stage */ @@ -74,6 +110,8 @@ interface ToDestination { /** Sets the destination port on which check connectivity will be performed. */ interface ToDestinationPort { /** + * Specifies destination port. + * * @param port destination port * @return next definition stage */ @@ -83,6 +121,8 @@ interface ToDestinationPort { /** Sets the source port from which a connectivity check will be performed. */ interface FromSourcePort { /** + * Specifies source port. + * * @param port source port * @return next definition stage */ diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DdosProtectionPlan.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DdosProtectionPlan.java index 46e563770ccf..96d552f9aa41 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DdosProtectionPlan.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DdosProtectionPlan.java @@ -19,15 +19,23 @@ public interface DdosProtectionPlan extends GroupableResource, Refreshable, Updatable { /** + * Gets the resource GUID property of the DDoS protection plan resource. + * * @return the resource GUID property of the DDoS protection plan resource. It uniquely identifies a resource, even * if the user changes its name or migrate the resource across subscriptions or resource groups. */ String resourceGuid(); - /** @return the provisioning state of the DDoS protection plan resource */ + /** + * Gets the provisioning state of the DDoS protection plan resource. + * + * @return the provisioning state of the DDoS protection plan resource + */ String provisioningState(); /** + * Gets the list of virtual networks associated with the DDoS protection plan resource. + * * @return the list of virtual networks associated with the DDoS protection plan resource. This list is read-only. */ List virtualNetworks(); diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuit.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuit.java index 2fc3decccd29..c2cb45d97cf5 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuit.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuit.java @@ -20,18 +20,34 @@ public interface ExpressRouteCircuit extends GroupableResource peeringsMap(); - /** @return the ServiceKey */ + /** + * gets the service key. + * + * @return the ServiceKey + */ String serviceKey(); - /** @return the ServiceProviderNotes */ + /** + * Gets the service provider notes. + * + * @return the ServiceProviderNotes + */ String serviceProviderNotes(); - /** @return the ServiceProviderProperties */ + /** + * Gets the service provider properties. + * + * @return the ServiceProviderProperties + */ ExpressRouteCircuitServiceProviderProperties serviceProviderProperties(); /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeering.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeering.java index 8302f1df0684..c4c6bf60a0d4 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeering.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeering.java @@ -20,7 +20,11 @@ public interface ExpressRouteCircuitPeering // Getters - /** @return peering type */ + /** + * Gets peering type. + * + * @return peering type + */ ExpressRoutePeeringType peeringType(); /** @@ -30,34 +34,74 @@ public interface ExpressRouteCircuitPeering */ ExpressRoutePeeringState state(); - /** @return the Azure ASN */ + /** + * Gets the Azure ASN. + * + * @return the Azure ASN + */ int azureAsn(); - /** @return the peer ASN */ + /** + * Gets the peer ASN. + * + * @return the peer ASN + */ long peerAsn(); - /** @return the primary address prefix */ + /** + * Gets the primary address prefix. + * + * @return the primary address prefix + */ String primaryPeerAddressPrefix(); - /** @return the secondary address prefix. */ + /** + * Gets the secondary address prefix. + * + * @return the secondary address prefix. + */ String secondaryPeerAddressPrefix(); - /** @return the primary port */ + /** + * Gets the primary port. + * + * @return the primary port + */ String primaryAzurePort(); - /** @return the secondary port */ + /** + * Gets the secondary port. + * + * @return the secondary port + */ String secondaryAzurePort(); - /** @return the shared key */ + /** + * Gets the shared key. + * + * @return the shared key + */ String sharedKey(); - /** @return the VLAN ID */ + /** + * GEts the VLAN ID. + * + * @return the VLAN ID + */ int vlanId(); - /** @return The Microsoft peering configuration. */ + /** + * Gets the Microsoft peering configuration. + * + * @return The Microsoft peering configuration. + */ ExpressRouteCircuitPeeringConfig microsoftPeeringConfig(); - /** @return peering stats */ + /** + * Gets peering stats. + * + * @return peering stats + */ ExpressRouteCircuitStats stats(); /** @@ -67,10 +111,18 @@ public interface ExpressRouteCircuitPeering */ String provisioningState(); - /** @return whether the provider or the customer last modified the peering */ + /** + * Gets the provider or the customer last modified the peering. + * + * @return whether the provider or the customer last modified the peering + */ String lastModifiedBy(); - /** @return the IPv6 peering configuration */ + /** + * Gets the IPv6 peering configuration. + * + * @return the IPv6 peering configuration + */ Ipv6ExpressRouteCircuitPeeringConfig ipv6PeeringConfig(); /** The entirety of the express route circuit peering definition. */ @@ -125,6 +177,8 @@ interface WithSecondaryPeerAddressPrefix { /** The stage of Express Route Circuit Peering definition allowing to specify VLAN ID. */ interface WithVlanId { /** + * Specifies a valid VLAN ID to establish this peering on. + * * @param vlanId a valid VLAN ID to establish this peering on. No other peering in the circuit can use the * same VLAN ID * @return next stage of definition @@ -135,6 +189,8 @@ interface WithVlanId { /** The stage of Express Route Circuit Peering definition allowing to specify AS number for peering. */ interface WithPeerAsn { /** + * Specifies as number for peering + * * @param peerAsn AS number for peering. Both 2-byte and 4-byte AS numbers can be used * @return next stage of definition */ diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitSkuType.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitSkuType.java index b9ba3594f3d7..163cebc15fa6 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitSkuType.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitSkuType.java @@ -30,7 +30,11 @@ public class ExpressRouteCircuitSkuType { /** The string value of the SKU. */ private final String value; - /** @return predefined Express Route circuit SKU types */ + /** + * Gets predefined Express Route circuit SKU types. + * + * @return predefined Express Route circuit SKU types + */ public static ExpressRouteCircuitSkuType[] values() { Collection valuesCollection = VALUES_BY_NAME.values(); return valuesCollection.toArray(new ExpressRouteCircuitSkuType[valuesCollection.size()]); @@ -87,7 +91,11 @@ public static ExpressRouteCircuitSkuType fromSku(ExpressRouteCircuitSku sku) { } } - /** @return the SKU */ + /** + * Gets the SKU. + * + * @return the SKU + */ public ExpressRouteCircuitSku sku() { // Return copy of sku to guard ExpressRouteCircuitSkuType from ending up with invalid // sku in case consumer changes the returned Sku instance. diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitStats.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitStats.java index a246de940d47..a7eedbf3f11e 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitStats.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitStats.java @@ -9,15 +9,31 @@ /** Contains stats associated with the peering. */ @Fluent public interface ExpressRouteCircuitStats extends HasInnerModel { - /** @return inbound bytes through primary channel of the peering */ + /** + * Gets inbound bytes through primary channel of the peering. + * + * @return inbound bytes through primary channel of the peering + */ long primaryBytesIn(); - /** @return outbound bytes through primary channel of the peering */ + /** + * Gets outbound bytes through primary channel of the peering. + * + * @return outbound bytes through primary channel of the peering + */ long primaryBytesOut(); - /** @return inbound bytes through secondary channel of the peering */ + /** + * Gets inbound bytes through secondary channel of the peering. + * + * @return inbound bytes through secondary channel of the peering + */ long secondaryBytesIn(); - /** @return outbound bytes through secondary channel of the peering */ + /** + * Gets outbound bytes through secondary channel of the peering. + * + * @return outbound bytes through secondary channel of the peering + */ long secondaryBytesOut(); } diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCrossConnection.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCrossConnection.java index 78046f1ea299..0f9b265184b8 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCrossConnection.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCrossConnection.java @@ -18,37 +18,81 @@ public interface ExpressRouteCrossConnection extends GroupableResource, Refreshable, Updatable, UpdatableWithTags { - /** @return entry point to manage express route peerings associated with express route circuit */ + /** + * Gets entry point to manage express route peerings associated with express route circuit. + * + * @return entry point to manage express route peerings associated with express route circuit + */ ExpressRouteCrossConnectionPeerings peerings(); - /** @return the name of the primary port */ + /** + * Gets the name of the primary port. + * + * @return the name of the primary port + */ String primaryAzurePort(); - /** @return the name of the secondary port */ + /** + * Gets the name of the secondary port. + * + * @return the name of the secondary port + */ String secondaryAzurePort(); - /** @return the identifier of the circuit traffic */ + /** + * Gets the identifier of the circuit traffic. + * + * @return the identifier of the circuit traffic + */ Integer stag(); - /** @return the peering location of the ExpressRoute circuit */ + /** + * Gets the peering location of the ExpressRoute circuit. + * + * @return the peering location of the ExpressRoute circuit + */ String peeringLocation(); - /** @return the circuit bandwidth In Mbps */ + /** + * Gets the circuit bandwidth In Mbps. + * + * @return the circuit bandwidth In Mbps + */ int bandwidthInMbps(); - /** @return the ExpressRouteCircuit */ + /** + * Gets the express route circuit. + * + * @return the ExpressRouteCircuit + */ ExpressRouteCircuitReference expressRouteCircuit(); - /** @return the provisioning state of the circuit in the connectivity provider system */ + /** + * Gets the provisioning state of the circuit in the connectivity provider system. + * + * @return the provisioning state of the circuit in the connectivity provider system + */ ServiceProviderProvisioningState serviceProviderProvisioningState(); - /** @return additional read only notes set by the connectivity provider */ + /** + * Gets additional read only notes set by the connectivity provider. + * + * @return additional read only notes set by the connectivity provider + */ String serviceProviderNotes(); - /** @return the provisioning state of the express route cross connection resource */ + /** + * Gets the provisioning state of the express route cross connection resource. + * + * @return the provisioning state of the express route cross connection resource + */ String provisioningState(); - /** @return the peerings associated with this express route cross connection, indexed by name */ + /** + * Gets the peerings associated with this express route cross connection. + * + * @return the peerings associated with this express route cross connection, indexed by name + */ Map peeringsMap(); /** Grouping of express route cross connection update stages. */ diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCrossConnectionPeering.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCrossConnectionPeering.java index 4b80aee5dcae..ce5331c1e845 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCrossConnectionPeering.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCrossConnectionPeering.java @@ -20,49 +20,109 @@ public interface ExpressRouteCrossConnectionPeering extends IndependentChild, HasInnerModel, Refreshable, Updatable { - /** @return the peering type */ + /** + * Gets the peering type. + * + * @return the peering type + */ ExpressRoutePeeringType peeringType(); - /** @return the peering state */ + /** + * Gets the peering state. + * + * @return the peering state + */ ExpressRoutePeeringState state(); - /** @return the Azure ASN */ + /** + * Gets the Azure ASN. + * + * @return the Azure ASN + */ int azureAsn(); - /** @return the peer ASN */ + /** + * Gets the peer ASN. + * + * @return the peer ASN + */ long peerAsn(); - /** @return the primary address prefix */ + /** + * Gets the primary address prefix. + * + * @return the primary address prefix + */ String primaryPeerAddressPrefix(); - /** @return the secondary address prefix */ + /** + * Gets the secondary address prefix. + * + * @return the secondary address prefix + */ String secondaryPeerAddressPrefix(); - /** @return the primary port */ + /** + * Gets the primary port. + * + * @return the primary port + */ String primaryAzurePort(); - /** @return the secondary port */ + /** + * Gets the secondary port. + * + * @return the secondary port + */ String secondaryAzurePort(); - /** @return the shared key */ + /** + * Gets the shared key. + * + * @return the shared key + */ String sharedKey(); - /** @return the VLAN ID */ + /** + * Gets the VLAN ID. + * + * @return the VLAN ID + */ int vlanId(); - /** @return the Microsoft peering configuration */ + /** + * Gets the Microsoft peering configuration. + * + * @return the Microsoft peering configuration + */ ExpressRouteCircuitPeeringConfig microsoftPeeringConfig(); - /** @return the provisioning state of the public IP resource */ + /** + * Gets the provisioning state of the public IP resource. + * + * @return the provisioning state of the public IP resource + */ String provisioningState(); - /** @return the GatewayManager Etag */ + /** + * Gets the GatewayManager Etag. + * + * @return the GatewayManager Etag + */ String gatewayManagerEtag(); - /** @return whether the provider or the customer last modified the peering */ + /** + * Gets the provider or the customer last modified the peering. + * + * @return whether the provider or the customer last modified the peering + */ String lastModifiedBy(); - /** @return the IPv6 peering configuration. */ + /** + * Gets the IPv6 peering configuration. + * + * @return the IPv6 peering configuration. + */ Ipv6ExpressRouteCircuitPeeringConfig ipv6PeeringConfig(); /** The entirety of the express route Cross Connection peering definition. */ @@ -147,6 +207,8 @@ interface WithSecondaryPeerAddressPrefix { /** The stage of Express Route Cross Connection Peering definition allowing to specify VLAN ID. */ interface WithVlanId { /** + * Specifies a valid VLAN ID to establish this peering on. + * * @param vlanId a valid VLAN ID to establish this peering on. No other peering in the circuit can use the * same VLAN ID * @return next stage of definition @@ -157,6 +219,8 @@ interface WithVlanId { /** The stage of Express Route Cross Connection Peering definition allowing to specify AS number for peering. */ interface WithPeerASN { /** + * Specifies as number for peering. + * * @param peerASN AS number for peering. Both 2-byte and 4-byte AS numbers can be used * @return next stage of definition */ @@ -272,6 +336,8 @@ interface WithPrimaryPeerAddressPrefix { /** The stage of Express Route Cross Connection Peering update allowing to specify secondary address prefix. */ interface WithSecondaryPeerAddressPrefix { /** + * Specifies secondary address prefix. + * * @param addressPrefix secondary address prefix * @return the next stage of the update */ diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FlowLogSettings.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FlowLogSettings.java index 0cfbae9b8434..01678429f2b5 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FlowLogSettings.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FlowLogSettings.java @@ -23,19 +23,39 @@ public interface FlowLogSettings extends HasParent, HasInnerMode */ String targetResourceId(); - /** @return the id of the storage account used to store the flow log */ + /** + * Gets the id of the storage account used to store the flow log. + * + * @return the id of the storage account used to store the flow log + */ String storageId(); - /** @return true if logging is enabled, false otherwise */ + /** + * Checks whether logging is enabled. + * + * @return true if logging is enabled, false otherwise + */ boolean enabled(); - /** @return true if retention policy enabled, false otherwise */ + /** + * Checks whether retention policy is enabled. + * + * @return true if retention policy enabled, false otherwise + */ boolean isRetentionEnabled(); - /** @return the number of days to retain flow log records */ + /** + * Gets the number of days to retain flow log records. + * + * @return the number of days to retain flow log records + */ int retentionDays(); - /** @return network security group id these flow log settings apply to */ + /** + * Gets network security group id these flow log settings apply to. + * + * @return network security group id these flow log settings apply to + */ String networkSecurityGroupId(); /** Grouping of flow log information update stages. */ diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HasAssociatedSubnets.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HasAssociatedSubnets.java index cccb2c98757d..e03921b889ed 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HasAssociatedSubnets.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HasAssociatedSubnets.java @@ -9,6 +9,10 @@ /** An interface representing a model's ability to reference a list of associated subnets. */ @Fluent() public interface HasAssociatedSubnets { - /** @return list of subnets associated with this resource */ + /** + * Gets list of subnets associated with this resource. + * + * @return list of subnets associated with this resource + */ List listAssociatedSubnets(); } diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HasBackendNics.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HasBackendNics.java index 3f9f2b395c55..4c3a65c4fa6a 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HasBackendNics.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HasBackendNics.java @@ -9,6 +9,8 @@ @Fluent() public interface HasBackendNics { /** + * Gets a map of names of the IP configurations of network interfaces assigned to this backend. + * * @return a map of names of the IP configurations of network interfaces assigned to this backend, indexed by their * NIC's resource id */ diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HasBackendPort.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HasBackendPort.java index 8a4453fd2234..b4af00dc5f6b 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HasBackendPort.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HasBackendPort.java @@ -7,7 +7,11 @@ /** An interface representing a model's ability to reference a backend port. */ @Fluent public interface HasBackendPort { - /** @return the backend port number the network traffic is sent to */ + /** + * Gets the backend port number the network traffic is sent to. + * + * @return the backend port number the network traffic is sent to + */ int backendPort(); /** Grouping of definition stages involving specifying a backend port. */ diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HasCookieBasedAffinity.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HasCookieBasedAffinity.java index e6e227c50333..aadd09e95c6d 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HasCookieBasedAffinity.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HasCookieBasedAffinity.java @@ -7,7 +7,11 @@ /** An interface representing a model's ability to support cookie based affinity. */ @Fluent public interface HasCookieBasedAffinity { - /** @return the backend port number the network traffic is sent to */ + /** + * Gets the backend port number the network traffic is sent to. + * + * @return the backend port number the network traffic is sent to + */ boolean cookieBasedAffinity(); /** Grouping of definition stages involving enabling cookie based affinity. */ diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HasFloatingIP.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HasFloatingIP.java index a88638dc1339..8c61870a81a4 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HasFloatingIP.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HasFloatingIP.java @@ -4,7 +4,11 @@ /** An interface representing a model's ability to have floating IP support. */ public interface HasFloatingIP { - /** @return the state of the floating IP enablement */ + /** + * Gets the state of the floating IP enablement. + * + * @return the state of the floating IP enablement + */ boolean floatingIPEnabled(); /** Grouping of definition stages involving enabling or disabling floating IP support. */ diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HasFrontend.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HasFrontend.java index 2abf8b992fea..1d3fedd753ed 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HasFrontend.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HasFrontend.java @@ -8,7 +8,11 @@ /** An interface representing a model's ability to references a frontend. */ @Fluent public interface HasFrontend { - /** @return the associated frontend */ + /** + * Gets the associated frontend. + * + * @return the associated frontend + */ LoadBalancerFrontend frontend(); /** Grouping of definition stages involving specifying the frontend. */ diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HasFrontendPort.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HasFrontendPort.java index 4f54ff25dca0..99821068d129 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HasFrontendPort.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HasFrontendPort.java @@ -7,7 +7,11 @@ /** An interface representing a model's ability to reference a frontend port. */ @Fluent public interface HasFrontendPort { - /** @return the frontend port number the inbound network traffic is received on */ + /** + * Gets the frontend port number the inbound network traffic is received on. + * + * @return the frontend port number the inbound network traffic is received on + */ int frontendPort(); /** Grouping of definition stages involving specifying a frontend port. */ diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HasHostname.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HasHostname.java index bf9ead24360c..1ee239c56514 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HasHostname.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HasHostname.java @@ -13,11 +13,17 @@ @Fluent public interface HasHostname { /** + * Gets the associated host name, or the first one if there exists multiple host names. + * * @return the associated host name, or the first one if there exists multiple host names */ String hostname(); - /** @return the associated host names */ + /** + * Gets the associated host names. + * + * @return the associated host names + */ List hostnames(); /** Grouping of definition stages involving specifying the host name. */ diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HasLoadBalancingRules.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HasLoadBalancingRules.java index 405425c359f3..61c5960d3c21 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HasLoadBalancingRules.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HasLoadBalancingRules.java @@ -9,6 +9,10 @@ /** An interface representing a model's ability to reference load balancing rules. */ @Fluent() public interface HasLoadBalancingRules { - /** @return the associated load balancing rules from this load balancer, indexed by their names */ + /** + * Gets the associated load balancing rules from this load balancer. + * + * @return the associated load balancing rules from this load balancer, indexed by their names + */ Map loadBalancingRules(); } diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HasNetworkInterfaces.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HasNetworkInterfaces.java index c3faaed43187..6d475c56cf1c 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HasNetworkInterfaces.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HasNetworkInterfaces.java @@ -27,9 +27,17 @@ public interface HasNetworkInterfaces extends HasId { */ Mono getPrimaryNetworkInterfaceAsync(); - /** @return the resource id of the primary network interface associated with this resource */ + /** + * Gets the resource ID of the primary network interface associated with this resource. + * + * @return the resource ID of the primary network interface associated with this resource + */ String primaryNetworkInterfaceId(); - /** @return the list of resource IDs of the network interfaces associated with this resource */ + /** + * Gets the list of resource IDs of the network interfaces associated with this resource. + * + * @return the list of resource IDs of the network interfaces associated with this resource + */ List networkInterfaceIds(); } diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HasPort.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HasPort.java index 04c34f89c20d..eab80fa8cdb7 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HasPort.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HasPort.java @@ -7,7 +7,11 @@ /** An interface representing a model's ability to have a port number. */ @Fluent public interface HasPort { - /** @return the port number */ + /** + * Gets the port number. + * + * @return the port number + */ int port(); /** Grouping of definition stages involving specifying a port number. */ diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HasPrivateIpAddress.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HasPrivateIpAddress.java index 98cfad493811..d39c6ba0c7a7 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HasPrivateIpAddress.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HasPrivateIpAddress.java @@ -7,10 +7,18 @@ /** An interface representing a model's ability to reference a private IP address. */ @Fluent public interface HasPrivateIpAddress { - /** @return the private IP address associated with this resource */ + /** + * Gets the private IP address associated with this resource. + * + * @return the private IP address associated with this resource + */ String privateIpAddress(); - /** @return the private IP address allocation method within the associated subnet */ + /** + * Gets the private IP address allocation method within the associated subnet. + * + * @return the private IP address allocation method within the associated subnet + */ IpAllocationMethod privateIpAllocationMethod(); /** Grouping of definition stages involving specifying the private IP address. */ diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HasProtocol.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HasProtocol.java index 700bc8985d6a..9bbcbddbc531 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HasProtocol.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HasProtocol.java @@ -11,7 +11,11 @@ */ @Fluent() public interface HasProtocol { - /** @return the protocol */ + /** + * Gets the protocol. + * + * @return the protocol + */ ProtocolT protocol(); /** Grouping of definition stages involving specifying the protocol. */ diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HasPublicIpAddress.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HasPublicIpAddress.java index cf1014f76c09..3ebdfa6cf353 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HasPublicIpAddress.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HasPublicIpAddress.java @@ -7,13 +7,25 @@ /** An interface representing a model's ability to reference a public IP address. */ public interface HasPublicIpAddress { - /** @return the resource ID of the associated public IP address */ + /** + * Gets the resource ID of the associated public IP address. + * + * @return the resource ID of the associated public IP address + */ String publicIpAddressId(); - /** @return the associated public IP address */ + /** + * Gets the associated public IP address. + * + * @return the associated public IP address + */ PublicIpAddress getPublicIpAddress(); - /** @return the associated public IP address */ + /** + * Gets the associated public IP address. + * + * @return the associated public IP address + */ Mono getPublicIpAddressAsync(); /** Grouping of definition stages involving specifying the public IP address. */ diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HasServerNameIndication.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HasServerNameIndication.java index d9d6ba58e0d0..b3d1a188b7da 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HasServerNameIndication.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HasServerNameIndication.java @@ -7,7 +7,11 @@ /** An interface representing a model's ability to require server name indication. */ @Fluent public interface HasServerNameIndication { - /** @return true if server name indication (SNI) is required, else false. */ + /** + * Checks whether server name indication (SNI) is required. + * + * @return true if server name indication (SNI) is required, else false. + */ boolean requiresServerNameIndication(); /** Grouping of definition stages involving requiring the server name indication. */ diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HasSslCertificate.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HasSslCertificate.java index 0aaf22c933d3..0f5c1035cded 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HasSslCertificate.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HasSslCertificate.java @@ -13,7 +13,11 @@ */ @Fluent public interface HasSslCertificate { - /** @return the associated SSL certificate, if any */ + /** + * Gets the associated SSL certificate. + * + * @return the associated SSL certificate, if any + */ T sslCertificate(); /** Grouping of definition stages involving specifying an SSL certificate. */ diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Ipv6PeeringConfig.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Ipv6PeeringConfig.java index 869c6f17d90d..fad66b17ef7b 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Ipv6PeeringConfig.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Ipv6PeeringConfig.java @@ -25,9 +25,13 @@ interface Blank extends WithAdvertisedPublicPrefixes { /** * The stage of Cross Connection Peering IPv6 configuration definition allowing to specify primary address * prefix. + * + * @param the stage of the parent definition to return to after attaching this definition */ interface WithPrimaryPeerAddressPrefix { /** + * Specifies primary peer address prefix. + * * @param addressPrefix primary peer address prefix * @return the next stage of the definition */ @@ -37,16 +41,24 @@ interface WithPrimaryPeerAddressPrefix { /** * The stage of Cross Connection Peering IPv6 configuration definition allowing to specify secondary address * prefix. + * + * @param the stage of the parent definition to return to after attaching this definition */ interface WithSecondaryPeerAddressPrefix { /** + * Specifies secondary peer address prefix. + * * @param addressPrefix secondary peer address prefix * @return the next stage of the definition */ WithAttach withSecondaryPeerAddressPrefix(String addressPrefix); } - /** The stage of Cross Connection Peering IPv6 configuration definition allowing to specify customer ASN. */ + /** + * The stage of Cross Connection Peering IPv6 configuration definition allowing to specify customer ASN. + * + * @param the stage of the parent definition to return to after attaching this definition + */ interface WithCustomerASN { /** * Specifies customer ASN. @@ -60,6 +72,8 @@ interface WithCustomerASN { /** * The stage of Cross Connection Peering IPv6 configuration definition allowing to specify routing registry * name. + * + * @param the stage of the parent definition to return to after attaching this definition */ interface WithRoutingRegistryName { /** @@ -74,6 +88,8 @@ interface WithRoutingRegistryName { /** * The stage of Cross Connection Peering IPv6 configuration definition allowing to specify secondary address * prefix. + * + * @param the stage of the parent definition to return to after attaching this definition */ interface WithAdvertisedPublicPrefixes { /** @@ -97,7 +113,11 @@ interface WithAdvertisedPublicPrefixes { WithCustomerASN withAdvertisedPublicPrefix(String publicPrefix); } - /** The stage of Cross Connection Peering IPv6 configuration definition allowing to specify route filter. */ + /** + * The stage of Cross Connection Peering IPv6 configuration definition allowing to specify route filter. + * + * @param the stage of the parent definition to return to after attaching this definition + */ interface WithRouteFilter { /** * Sets route filter id. @@ -168,6 +188,8 @@ interface WithAdvertisedPublicPrefixes { */ interface WithPrimaryPeerAddressPrefix { /** + * Specifies primary peer address prefix. + * * @param addressPrefix primary peer address prefix * @return the next stage of the update */ @@ -179,6 +201,8 @@ interface WithPrimaryPeerAddressPrefix { */ interface WithSecondaryPeerAddressPrefix { /** + * Specifies secondary peer address prefix. + * * @param addressPrefix secondary peer address prefix * @return the next stage of the update */ @@ -278,9 +302,13 @@ interface WithAdvertisedPublicPrefixes { /** * The stage of Cross Connection Peering IPv6 configuration definition allowing to specify primary address * prefix. + * + * @param the stage of the parent definition to return to after attaching this definition */ interface WithPrimaryPeerAddressPrefix { /** + * Specifies primary peer address prefix. + * * @param addressPrefix primary peer address prefix * @return the next stage of the definition */ @@ -290,9 +318,13 @@ interface WithPrimaryPeerAddressPrefix { /** * The stage of Cross Connection Peering IPv6 configuration definition allowing to specify secondary address * prefix. + * + * @param the stage of the parent definition to return to after attaching this definition */ interface WithSecondaryPeerAddressPrefix { /** + * Specifies secondary peer address prefix. + * * @param addressPrefix secondary peer address prefix * @return the next stage of the definition */ @@ -302,6 +334,8 @@ interface WithSecondaryPeerAddressPrefix { /** * The stage of Cross Connection Peering IPv6 configuration definition allowing to specify secondary customer * ASN. + * + * @param the stage of the parent definition to return to after attaching this definition */ interface WithCustomerASN { /** @@ -316,6 +350,8 @@ interface WithCustomerASN { /** * The stage of Cross Connection Peering IPv6 configuration definition allowing to specify routing registry * name. + * + * @param the stage of the parent definition to return to after attaching this definition */ interface WithRoutingRegistryName { /** @@ -327,7 +363,11 @@ interface WithRoutingRegistryName { WithPrimaryPeerAddressPrefix withRoutingRegistryName(String routingRegistryName); } - /** The stage of Cross Connection Peering IPv6 configuration definition allowing to specify route filter. */ + /** + * The stage of Cross Connection Peering IPv6 configuration definition allowing to specify route filter. + * + * @param the stage of the parent definition to return to after attaching this definition + */ interface WithRouteFilter { /** * Sets route filter id. diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/KnownWebApplicationGatewayManagedRuleSet.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/KnownWebApplicationGatewayManagedRuleSet.java index 0f8b587f70a2..40340834dba4 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/KnownWebApplicationGatewayManagedRuleSet.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/KnownWebApplicationGatewayManagedRuleSet.java @@ -51,12 +51,20 @@ public enum KnownWebApplicationGatewayManagedRuleSet { this.version = version; } - /** @return the type of the Managed Rule Set */ + /** + * Gets the type of the Managed Rule Set. + * + * @return the type of the Managed Rule Set + */ public String type() { return type; } - /** @return the version of the Managed Rule Set */ + /** + * Geets the version of the Managed Rule Set. + * + * @return the version of the Managed Rule Set + */ public String version() { return version; } diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancer.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancer.java index ca846769a845..3babeaf67bac 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancer.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancer.java @@ -21,28 +21,60 @@ public interface LoadBalancer extends GroupableResource publicIpAddressIds(); - /** @return TCP probes of this load balancer, indexed by the name */ + /** + * Gets TCP probes of this load balancer. + * + * @return TCP probes of this load balancer, indexed by the name + */ Map tcpProbes(); - /** @return HTTP probes of this load balancer, indexed by the name */ + /** + * Gets HTTP probes of this load balancer. + * + * @return HTTP probes of this load balancer, indexed by the name + */ Map httpProbes(); - /** @return HTTPS probes of this load balancer, indexed by the name */ + /** + * Gets HTTPS probes of this load balancer. + * + * @return HTTPS probes of this load balancer, indexed by the name + */ Map httpsProbes(); - /** @return backends for this load balancer to load balance the incoming traffic among, indexed by name */ + /** + * Gets backends for this load balancer to load balance the incoming traffic among. + * + * @return backends for this load balancer to load balance the incoming traffic among, indexed by name + */ Map backends(); - /** @return inbound NAT rules for this balancer */ + /** + * Gets inbound NAT rules for this balancer. + * + * @return inbound NAT rules for this balancer + */ Map inboundNatRules(); - /** @return frontends for this load balancer, for the incoming traffic to come from. */ + /** + * Gets frontends for this load balancer, for the incoming traffic to come from. + * + * @return frontends for this load balancer, for the incoming traffic to come from. + */ Map frontends(); - /** @return private (internal) frontends */ + /** + * Gets private (internal) frontends. + * + * @return private (internal) frontends + */ Map privateFrontends(); /** @@ -61,16 +93,32 @@ public interface LoadBalancer extends GroupableResource publicFrontends(); - /** @return inbound NAT pools, indexed by name */ + /** + * Gets inbound NAT pools. + * + * @return inbound NAT pools, indexed by name + */ Map inboundNatPools(); - /** @return load balancer sku. */ + /** + * Gets load balancer sku. + * + * @return load balancer sku. + */ LoadBalancerSkuType sku(); - /** @return outbound rules for this balancer */ + /** + * Gets outbound rules for this balancer. + * + * @return outbound rules for this balancer + */ Map outboundRules(); /** The entirety of the load balancer definition. */ diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerBackend.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerBackend.java index 5b7d81a28daa..15a0f22065cb 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerBackend.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerBackend.java @@ -16,7 +16,11 @@ public interface LoadBalancerBackend extends HasInnerModel, ChildResource, HasLoadBalancingRules, HasBackendNics { - /** @return a list of the resource IDs of the virtual machines associated with this backend */ + /** + * Gets a list of the resource IDs of the virtual machines associated with this backend. + * + * @return a list of the resource IDs of the virtual machines associated with this backend + */ Set getVirtualMachineIds(); /** Grouping of load balancer backend definition stages. */ diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerFrontend.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerFrontend.java index e4b78acec604..fa7c3367e127 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerFrontend.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerFrontend.java @@ -13,15 +13,31 @@ public interface LoadBalancerFrontend extends HasInnerModel, ChildResource, HasLoadBalancingRules { - /** @return true if the frontend is public, i.e. it has a public IP address associated with it */ + /** + * Checks whether the frontend is public. + * + * @return true if the frontend is public, i.e. it has a public IP address associated with it + */ boolean isPublic(); - /** @return the inbound NAT pools on this load balancer that use this frontend, indexed by their names */ + /** + * Gets the inbound NAT pools on this load balancer that use this frontend. + * + * @return the inbound NAT pools on this load balancer that use this frontend, indexed by their names + */ Map inboundNatPools(); - /** @return the inbound NAT rules on this load balancer that use this frontend, indexed by their names */ + /** + * Gets the inbound NAT rules on this load balancer that use this frontend. + * + * @return the inbound NAT rules on this load balancer that use this frontend, indexed by their names + */ Map inboundNatRules(); - /** @return the outbound rules on this load balancer that use this frontend, indexed by their names */ + /** + * Gets the outbound rules on this load balancer that use this frontend. + * + * @return the outbound rules on this load balancer that use this frontend, indexed by their names + */ Map outboundRules(); } diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerHttpProbe.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerHttpProbe.java index 99e9a91555ea..d2579c885dbf 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerHttpProbe.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerHttpProbe.java @@ -10,7 +10,11 @@ @Fluent() public interface LoadBalancerHttpProbe extends LoadBalancerProbe { - /** @return the HTTP request path for the HTTP probe to call to check the health status */ + /** + * Gets the HTTP request path for the HTTP probe to call to check the health status. + * + * @return the HTTP request path for the HTTP probe to call to check the health status + */ String requestPath(); /** Grouping of probe definition stages. */ diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerInboundNatPool.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerInboundNatPool.java index e717f554a152..e444cd68b07d 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerInboundNatPool.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerInboundNatPool.java @@ -13,10 +13,18 @@ public interface LoadBalancerInboundNatPool extends HasFrontend, HasBackendPort, HasProtocol, HasInnerModel, ChildResource { - /** @return the starting frontend port number */ + /** + * Gets the starting frontend port number. + * + * @return the starting frontend port number + */ int frontendPortRangeStart(); - /** @return the ending frontend port number */ + /** + * Gets the ending frontend port number. + * + * @return the ending frontend port number + */ int frontendPortRangeEnd(); /** Grouping of inbound NAT pool definition stages. */ diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerInboundNatRule.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerInboundNatRule.java index cccf0bf1edf5..7de957b71f07 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerInboundNatRule.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerInboundNatRule.java @@ -14,13 +14,25 @@ public interface LoadBalancerInboundNatRule extends HasFrontend, HasBackendPort, HasProtocol, HasFloatingIP, HasFrontendPort, HasInnerModel, ChildResource { - /** @return the name of the IP configuration within the network interface associated with this NAT rule */ + /** + * Gets the name of the IP configuration within the network interface associated with this NAT rule. + * + * @return the name of the IP configuration within the network interface associated with this NAT rule + */ String backendNicIpConfigurationName(); - /** @return the resource ID of the network interface assigned as the backend of this inbound NAT rule */ + /** + * Gets the resource ID of the network interface assigned as the backend of this inbound NAT rule. + * + * @return the resource ID of the network interface assigned as the backend of this inbound NAT rule + */ String backendNetworkInterfaceId(); - /** @return the number of minutes before an idle connection is closed */ + /** + * Gets the number of minutes before an idle connection is closed. + * + * @return the number of minutes before an idle connection is closed + */ int idleTimeoutInMinutes(); /** Grouping of inbound NAT rule definition stages. */ diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerOutboundRule.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerOutboundRule.java index a94dece7b26d..0ef220b94577 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerOutboundRule.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerOutboundRule.java @@ -16,25 +16,53 @@ public interface LoadBalancerOutboundRule extends HasInnerModel, HasProtocol, ChildResource { - /** @return the associated frontends */ + /** + * Gets the associated frontends. + * + * @return the associated frontends + */ Map frontends(); - /** @return the associated backend */ + /** + * Gets the associated backend. + * + * @return the associated backend + */ LoadBalancerBackend backend(); - /** @return the number of outbound ports to be used for NAT */ + /** + * Gets the number of outbound ports to be used for NAT. + * + * @return the number of outbound ports to be used for NAT + */ int allocatedOutboundPorts(); - /** @return the provisioning state of the outbound rule resource */ + /** + * Gets the provisioning state of the outbound rule resource. + * + * @return the provisioning state of the outbound rule resource + */ ProvisioningState provisioningState(); - /** @return the number of minutes before an idle connection is closed */ + /** + * Gets the number of minutes before an idle connection is closed. + * + * @return the number of minutes before an idle connection is closed + */ int idleTimeoutInMinutes(); - /** @return if TCP reset is enabled */ + /** + * Checks whether TCP reset is enabled. + * + * @return if TCP reset is enabled + */ boolean tcpResetEnabled(); - /** @return outbound rule protocol */ + /** + * Gets outbound rule protocol. + * + * @return outbound rule protocol + */ LoadBalancerOutboundRuleProtocol protocol(); /** Grouping of outbound rule definition stages. */ @@ -150,7 +178,11 @@ interface Definition extends LoadBalancerOutboundRule.DefinitionStages. /** Grouping of outbound rule update stages. */ interface UpdateStages { - /** The stage of an outbound rule update allowing to specify the backend pool. */ + /** + * The stage of an outbound rule update allowing to specify the backend pool. + * + * @param the stage of the parent definition to return to after attaching this definition + */ interface WithBackend { /** * Specifies the backend pool. @@ -161,7 +193,11 @@ interface WithBackend { Update fromBackend(String name); } - /** The stage of an outbound rule update allowing to specify a frontend for the rule to apply to. */ + /** + * The stage of an outbound rule update allowing to specify a frontend for the rule to apply to. + * + * @param the stage of the parent definition to return to after attaching this definition + * */ interface WithFrontend { /** * Specifies the frontend IP Address @@ -180,6 +216,8 @@ interface WithFrontend { /** * The stage of an outbound rule update allowing to specify the transport protocol for the rule to apply to. + * + * @param the stage of the parent definition to return to after attaching this definition */ interface WithProtocol extends HasProtocol.UpdateStages.WithProtocol, LoadBalancerOutboundRuleProtocol> { @@ -189,6 +227,7 @@ interface WithProtocol * The stage of an outbound rule definition allowing to update the TCP reset enablement for this outbound * rule. * + * @param the stage of the parent definition to return to after attaching this definition */ interface WithEnableTcpReset { /** @@ -203,6 +242,8 @@ interface WithEnableTcpReset { /** * The stage of an inbound NAT rule update allowing to specify the idle connection timeout for this inbound NAT * rule. + * + * @param the stage of the parent definition to return to after attaching this definition */ interface WithIdleTimeout { /** @@ -215,7 +256,11 @@ interface WithIdleTimeout { } } - /** The entirety of an inbound NAT rule update as part of a load balancer update. */ + /** + * The entirety of an inbound NAT rule update as part of a load balancer update. + * + * @param the stage of the parent definition to return to after attaching this definition + */ interface Update extends Settable, LoadBalancerOutboundRule.UpdateStages.WithProtocol, LoadBalancerOutboundRule.UpdateStages.WithBackend, LoadBalancerOutboundRule.UpdateStages.WithFrontend, diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerPrivateFrontend.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerPrivateFrontend.java index fbe9ad9a9838..8614e1bc3bfc 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerPrivateFrontend.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerPrivateFrontend.java @@ -14,12 +14,18 @@ public interface LoadBalancerPrivateFrontend extends LoadBalancerFrontend, HasPrivateIpAddress, HasSubnet { /** + * Gets associated subnet. + * * @return associated subnet *

Note this makes a separate call to Azure. */ Subnet getSubnet(); - /** @return the availability zones assigned to private frontend. */ + /** + * Gets the availability zones assigned to private frontend. + * + * @return the availability zones assigned to private frontend. + */ Set availabilityZones(); /** Grouping of private frontend definition stages. */ diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerProbe.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerProbe.java index b90ce9bff5c2..a29300447cf6 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerProbe.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerProbe.java @@ -12,9 +12,17 @@ public interface LoadBalancerProbe extends HasInnerModel, ChildResource, HasLoadBalancingRules, HasProtocol, HasPort { - /** @return number of seconds between probes */ + /** + * Gets number of seconds between probes. + * + * @return number of seconds between probes + */ int intervalInSeconds(); - /** @return number of failed probes before the node is determined to be unhealthy */ + /** + * Gets number of failed probes before the node is determined to be unhealthy. + * + * @return number of failed probes before the node is determined to be unhealthy + */ int numberOfProbes(); } diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerSkuType.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerSkuType.java index c3cbdca7f022..3f2dd8c92076 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerSkuType.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerSkuType.java @@ -22,7 +22,11 @@ public final class LoadBalancerSkuType { /** The actual serialized value for a LoadBalancerSkuType instance. */ private final LoadBalancerSkuName skuName; - /** @return predefined LoadBalancer SKU types */ + /** + * Gets predefined LoadBalancer SKU types. + * + * @return predefined LoadBalancer SKU types + */ public static LoadBalancerSkuType[] values() { Collection valuesCollection = VALUES_BY_NAME.values(); return valuesCollection.toArray(new LoadBalancerSkuType[valuesCollection.size()]); @@ -62,7 +66,11 @@ public static LoadBalancerSkuType fromSku(LoadBalancerSku lbSku) { } } - /** @return the LoadBalancerSku associated with the LoadBalancerSkuType. */ + /** + * Gets the LoadBalancerSku associated with the LoadBalancerSkuType. + * + * @return the LoadBalancerSku associated with the LoadBalancerSkuType. + */ public LoadBalancerSku sku() { return (new LoadBalancerSku()).withName(this.skuName); } diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancingRule.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancingRule.java index 25c034c18181..15b2387695db 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancingRule.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancingRule.java @@ -16,10 +16,18 @@ public interface LoadBalancingRule extends HasInnerModel, ChildResource, HasBackendPort, HasFrontend, HasFloatingIP, HasProtocol, HasFrontendPort { - /** @return the method of load distribution */ + /** + * Gets the method of load distribution. + * + * @return the method of load distribution + */ LoadDistribution loadDistribution(); - /** @return the number of minutes before an inactive connection is closed */ + /** + * Gets the number of minutes before an inactive connection is closed. + * + * @return the number of minutes before an inactive connection is closed + */ int idleTimeoutInMinutes(); /** @@ -32,7 +40,11 @@ public interface LoadBalancingRule extends HasInnerModel */ LoadBalancerBackend backend(); - /** @return the probe associated with the load balancing rule */ + /** + * Gets the probe associated with the load balancing rule. + * + * @return the probe associated with the load balancing rule + */ LoadBalancerProbe probe(); /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LocalNetworkGateway.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LocalNetworkGateway.java index de88fcbc259d..166366c45c57 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LocalNetworkGateway.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LocalNetworkGateway.java @@ -20,16 +20,32 @@ public interface LocalNetworkGateway extends GroupableResource addressSpaces(); - /** @return the provisioning state of the LocalNetworkGateway resource */ + /** + * Gets the provisioning state of the LocalNetworkGateway resource. + * + * @return the provisioning state of the LocalNetworkGateway resource + */ String provisioningState(); /** The entirety of the local network gateway definition. */ diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Network.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Network.java index 9f142e8150b5..245619dacd5c 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Network.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Network.java @@ -35,36 +35,58 @@ public interface Network extends GroupableResource addressSpaces(); - /** @return list of DNS server IP addresses associated with this virtual network */ + /** + * Gets list of DNS server IP addresses associated with this virtual network. + * + * @return list of DNS server IP addresses associated with this virtual network + */ List dnsServerIPs(); /** + * Gets subnets of this virtual network. + * * @return subnets of this virtual network as a map indexed by subnet name *

Note that when a virtual network is created with no subnets explicitly defined, a default subnet is * automatically created with the name "subnet1". */ Map subnets(); - /** @return entry point to managing virtual network peerings for this network */ + /** + * Gets entry point to managing virtual network peerings for this network. + * + * @return entry point to managing virtual network peerings for this network + */ NetworkPeerings peerings(); /** + * Checks whether DDoS protection is enabled for all the protected resources in the virtual network. + * * @return whether DDoS protection is enabled for all the protected resources in the virtual network. It requires a * DDoS protection plan associated with the resource. */ boolean isDdosProtectionEnabled(); /** + * Checks whether VM protection is enabled for all the subnets in the virtual network. + * * @return whether VM protection is enabled for all the subnets in the virtual network * @deprecated use {@link Network#isDdosProtectionEnabled()} * */ @Deprecated boolean isVmProtectionEnabled(); - /** @return the DDoS protection plan id associated with the virtual network */ + /** + * Gets the DDoS protection plan id associated with the virtual network. + * + * @return the DDoS protection plan id associated with the virtual network + */ String ddosProtectionPlanId(); /** The entirety of the virtual network definition. */ diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkInterface.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkInterface.java index 312462400f8f..a3252fcb5d05 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkInterface.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkInterface.java @@ -20,10 +20,18 @@ public interface NetworkInterface extends NetworkInterfaceBase, GroupableResource, Refreshable, Updatable, UpdatableWithTags { - /** @return the IP configurations of this network interface, indexed by their names. */ + /** + * Gets the IP configurations of this network interface. + * + * @return the IP configurations of this network interface, indexed by their names. + */ Map ipConfigurations(); - /** @return the primary IP configuration of this network interface */ + /** + * Gets the primary IP configuration of this network interface. + * + * @return the primary IP configuration of this network interface + */ NicIpConfiguration primaryIPConfiguration(); /** The entirety of the network interface definition. */ diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceBase.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceBase.java index 7b8e471f2fa3..51ba52c8ec52 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceBase.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceBase.java @@ -14,16 +14,32 @@ @Fluent public interface NetworkInterfaceBase extends HasManager, HasInnerModel { - /** @return true if accelerated networking is enabled for this network interface */ + /** + * Checks whether accelerated networking is enabled for this network interface. + * + * @return true if accelerated networking is enabled for this network interface + */ boolean isAcceleratedNetworkingEnabled(); - /** @return true if IP forwarding is enabled in this network interface */ + /** + * Checks whether IP forwarding is enabled in this network interface. + * + * @return true if IP forwarding is enabled in this network interface + */ boolean isIPForwardingEnabled(); - /** @return the MAC Address of the network interface */ + /** + * Gets the MAC Address of the network interface. + * + * @return the MAC Address of the network interface + */ String macAddress(); - /** @return the Internal DNS name assigned to this network interface */ + /** + * Gets the Internal DNS name assigned to this network interface. + * + * @return the Internal DNS name assigned to this network interface + */ String internalDnsNameLabel(); /** @@ -35,16 +51,32 @@ public interface NetworkInterfaceBase extends HasManager, HasInn */ String internalFqdn(); - /** @return the internal domain name suffix */ + /** + * Gets the internal domain name suffix. + * + * @return the internal domain name suffix + */ String internalDomainNameSuffix(); - /** @return IP addresses of this network interface's DNS servers */ + /** + * Gets IP addresses of this network interface's DNS servers. + * + * @return IP addresses of this network interface's DNS servers + */ List dnsServers(); - /** @return applied DNS servers */ + /** + * Gets applied DNS servers. + * + * @return applied DNS servers + */ List appliedDnsServers(); - /** @return the network security group resource id associated with this network interface */ + /** + * Gets the network security group resource id associated with this network interface. + * + * @return the network security group resource id associated with this network interface + */ String networkSecurityGroupId(); /** @@ -56,7 +88,11 @@ public interface NetworkInterfaceBase extends HasManager, HasInn */ NetworkSecurityGroup getNetworkSecurityGroup(); - /** @return the resource ID of the associated virtual machine, or null if none. */ + /** + * Gets the resource ID of the associated virtual machine. + * + * @return the resource ID of the associated virtual machine, or null if none. + */ String virtualMachineId(); /** @@ -69,6 +105,8 @@ public interface NetworkInterfaceBase extends HasManager, HasInn String primaryPrivateIP(); /** + * Gets the private IP allocation method (Dynamic, Static) of this network interface's primary IP configuration. + * * @return the private IP allocation method (Dynamic, Static) of this network interface's primary IP configuration. */ IpAllocationMethod primaryPrivateIpAllocationMethod(); diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkPeering.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkPeering.java index 8c813d161d3f..2a194fc04c74 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkPeering.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkPeering.java @@ -19,23 +19,41 @@ public interface NetworkPeering extends IndependentChild, HasInnerModel, Refreshable, Updatable { - /** @return the local virtual network's ID */ + /** + * Gets the local virtual network's ID. + * + * @return the local virtual network's ID + */ String networkId(); - /** @return the reference of the remote virtual network address space */ + /** + * Gets the reference of the remote virtual network address space. + * + * @return the reference of the remote virtual network address space + */ List remoteAddressSpaces(); /** + * Checks whether the peering enables IP addresses within the peered networks to be accessible from both networks. + * * @return true if the peering enables IP addresses within the peered networks to be accessible from both networks, * otherwise false *

(Note this method makes a separate call to Azure.) */ boolean checkAccessBetweenNetworks(); - /** @return the associated remote virtual network's ID */ + /** + * Gets the associated remote virtual network's ID. + * + * @return the associated remote virtual network's ID + */ String remoteNetworkId(); - /** @return the remote network if it is in the same subscription, otherwise null. */ + /** + * Gets the remote network. + * + * @return the remote network if it is in the same subscription, otherwise null. + */ Network getRemoteNetwork(); /** @@ -46,6 +64,8 @@ public interface NetworkPeering extends IndependentChild, HasInn Mono getRemoteNetworkAsync(); /** + * Gets the associated matching peering on the remote network. + * * @return the associated matching peering on the remote network if it is in the same subscription, otherwise this * future computation will evaluate to null. */ @@ -58,16 +78,32 @@ public interface NetworkPeering extends IndependentChild, HasInn */ Mono getRemotePeeringAsync(); - /** @return the state of the peering between the two networks */ + /** + * Gets the state of the peering between the two networks. + * + * @return the state of the peering between the two networks + */ VirtualNetworkPeeringState state(); - /** @return the type of gateway use enabled for this network */ + /** + * Gets the type of gateway use enabled for this network. + * + * @return the type of gateway use enabled for this network + */ NetworkPeeringGatewayUse gatewayUse(); - /** @return true if traffic forwarding from the remote network is allowed into this network */ + /** + * Checks whether traffic forwarding from the remote network is allowed into this network. + * + * @return true if traffic forwarding from the remote network is allowed into this network + */ boolean isTrafficForwardingFromRemoteNetworkAllowed(); - /** @return true if the peered networks are in the same subscription, otherwise false */ + /** + * Checks whether the peered networks are in the same subscription. + * + * @return true if the peered networks are in the same subscription, otherwise false + */ boolean isSameSubscription(); /** Grouping of all the network peering definition stages. */ diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkSecurityGroup.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkSecurityGroup.java index bd8803ffd400..44aac7799823 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkSecurityGroup.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkSecurityGroup.java @@ -23,13 +23,25 @@ public interface NetworkSecurityGroup // Getters - /** @return security rules associated with this network security group, indexed by their names */ + /** + * Gets security rules associated with this network security group. + * + * @return security rules associated with this network security group, indexed by their names + */ Map securityRules(); - /** @return default security rules associated with this network security group, indexed by their name */ + /** + * Gets default security rules associated with this network security group. + * + * @return default security rules associated with this network security group, indexed by their name + */ Map defaultSecurityRules(); - /** @return the IDs of the network interfaces associated with this network security group */ + /** + * Gets the IDs of the network interfaces associated with this network security group. + * + * @return the IDs of the network interfaces associated with this network security group + */ Set networkInterfaceIds(); // Fluent interfaces for creating NSGs diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkSecurityRule.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkSecurityRule.java index 86578ad1997d..d695833f8a13 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkSecurityRule.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkSecurityRule.java @@ -16,64 +16,115 @@ @Fluent public interface NetworkSecurityRule extends HasInnerModel, ChildResource { - /** @return the direction of the network traffic that the network security rule applies to. */ + /** + * Gets the direction of the network traffic that the network security rule applies to. + * + * @return the direction of the network traffic that the network security rule applies to. + */ SecurityRuleDirection direction(); - /** @return the network protocol the rule applies to */ + /** + * Gets the network protocol the rule applies to. + * + * @return the network protocol the rule applies to + */ SecurityRuleProtocol protocol(); - /** @return the user-defined description of the security rule */ + /** + * Gets the user-defined description of the security rule. + * + * @return the user-defined description of the security rule + */ String description(); - /** @return the type of access the rule enforces */ + /** + * Gets the type of access the rule enforces. + * + * @return the type of access the rule enforces + */ SecurityRuleAccess access(); /** + * Gets the source address prefix the rule applies to. + * * @return the source address prefix the rule applies to, expressed using the CIDR notation in the format: * "###.###.###.###/##", and "*" means "any" */ String sourceAddressPrefix(); /** + * Gets the list of source address prefixes the rule applies to. + * * @return the list of source address prefixes the rule applies to, expressed using the CIDR notation in the format: * "###.###.###.###/##", and "*" means "any", or IP addresses */ List sourceAddressPrefixes(); - /** @return the source port range that the rule applies to, in the format "##-##", where "*" means "any" */ + /** + * Gets the source port range that the rule applies to. + * + * @return the source port range that the rule applies to, in the format "##-##", where "*" means "any" + */ String sourcePortRange(); - /** @return the source port ranges that the rule applies to, in the format "##-##", where "*" means "any" */ + /** + * Gets the source port ranges that the rule applies to. + * + * @return the source port ranges that the rule applies to, in the format "##-##", where "*" means "any" + */ List sourcePortRanges(); /** + * Gets the destination address prefix the rule applies to. + * * @return the destination address prefix the rule applies to, expressed using the CIDR notation in the format: * "###.###.###.###/##", and "*" means "any" */ String destinationAddressPrefix(); /** + * Gets the list of destination address prefixes the rule applies to. + * * @return the list of destination address prefixes the rule applies to, expressed using the CIDR notation in the * format: "###.###.###.###/##", and "*" means "any", or IP addresses */ List destinationAddressPrefixes(); - /** @return the destination port range that the rule applies to, in the format "##-##", where "*" means any */ + /** + * Gets the destination port range that the rule applies to. + * + * @return the destination port range that the rule applies to, in the format "##-##", where "*" means any + */ String destinationPortRange(); - /** @return the destination port ranges that the rule applies to, in the format "##-##", where "*" means any */ + /** + * Gets the destination port ranges that the rule applies to. + * + * @return the destination port ranges that the rule applies to, in the format "##-##", where "*" means any + */ List destinationPortRanges(); /** + * Gets the priority number of this rule based on which this rule will be applied relative to the priority + * numbers of any other rules specified for this network security group. + * * @return the priority number of this rule based on which this rule will be applied relative to the priority * numbers of any other rules specified for this network security group */ int priority(); - /** @return list of application security group ids specified as source */ + /** + * Gets list of application security group ids specified as source. + * + * @return list of application security group ids specified as source + */ Set sourceApplicationSecurityGroupIds(); - /** @return list of application security group ids specified as destination */ + /** + * Gets list of application security group ids specified as destination. + * + * @return list of application security group ids specified as destination + */ Set destinationApplicationSecurityGroupIds(); /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkUsage.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkUsage.java index 2a76cd6f0e39..147a7eac23c6 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkUsage.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkUsage.java @@ -9,15 +9,31 @@ /** An immutable client-side representation of an Azure compute resource usage info object. */ @Fluent public interface NetworkUsage extends HasInnerModel { - /** @return the unit of measurement. */ + /** + * Gets the unit of measurement. + * + * @return the unit of measurement. + */ UsageUnit unit(); - /** @return the current count of the allocated resources in the subscription */ + /** + * Gets the current count of the allocated resources in the subscription. + * + * @return the current count of the allocated resources in the subscription + */ long currentValue(); - /** @return the maximum count of the resources that can be allocated in the subscription */ + /** + * Gets the maximum count of the resources that can be allocated in the subscription. + * + * @return the maximum count of the resources that can be allocated in the subscription + */ long limit(); - /** @return the name of the type of usage */ + /** + * Gets the name of the type of usage. + * + * @return the name of the type of usage + */ UsageName name(); } diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkWatcher.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkWatcher.java index 25e852acf919..877648bbf615 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkWatcher.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkWatcher.java @@ -18,10 +18,18 @@ public interface NetworkWatcher extends GroupableResource, Refreshable, Updatable, UpdatableWithTags { - /** @return entry point to manage packet captures associated with network watcher */ + /** + * Gets entry point to manage packet captures associated with network watcher. + * + * @return entry point to manage packet captures associated with network watcher + */ PacketCaptures packetCaptures(); - /** @return entry point to manage connection monitors associated with network watcher */ + /** + * Gets entry point to manage connection monitors associated with network watcher. + * + * @return entry point to manage connection monitors associated with network watcher + */ ConnectionMonitors connectionMonitors(); /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NextHop.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NextHop.java index e373a622cc55..b5711dedc375 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NextHop.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NextHop.java @@ -16,19 +16,39 @@ public interface NextHop extends Executable, HasParent */ String targetResourceId(); - /** @return the source IP address */ + /** + * Gets the source IP address. + * + * @return the source IP address + */ String sourceIpAddress(); - /** @return the destination IP address */ + /** + * Gets the destination IP address. + * + * @return the destination IP address + */ String destinationIpAddress(); - /** @return the network interface id */ + /** + * Gets the network interface id. + * + * @return the network interface id + */ String targetNetworkInterfaceId(); - /** @return the next hop type */ + /** + * Gets the next hop type. + * + * @return the next hop type + */ NextHopType nextHopType(); - /** @return the next hop IP Address */ + /** + * Gets the next hop IP Address. + * + * @return the next hop IP Address + */ String nextHopIpAddress(); /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NicIpConfigurationBase.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NicIpConfigurationBase.java index 06c0920c5e91..bb0d9e403bb3 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NicIpConfigurationBase.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NicIpConfigurationBase.java @@ -13,34 +13,62 @@ */ @Fluent public interface NicIpConfigurationBase extends HasSubnet, HasPrivateIpAddress { - /** @return true if this is the primary IP configuration */ + /** + * Checks whether this is the primary IP configuration. + * + * @return true if this is the primary IP configuration + */ boolean isPrimary(); - /** @return the virtual network associated with this IP configuration */ + /** + * Gets the virtual network associated with this IP configuration. + * + * @return the virtual network associated with this IP configuration + */ Network getNetwork(); /** + * Gets the network security group. + * * @return the network security group, if any, associated with the subnet, if any, assigned to this network * interface IP configuration *

(Note that this results in additional calls to Azure.) */ NetworkSecurityGroup getNetworkSecurityGroup(); - /** @return private IP address version */ + /** + * Gets private IP address version. + * + * @return private IP address version + */ IpVersion privateIpAddressVersion(); - /** @return the load balancer backends associated with this network interface IP configuration */ + /** + * Gets the load balancer backends associated with this network interface IP configuration. + * + * @return the load balancer backends associated with this network interface IP configuration + */ // TODO: This should be a Collection List listAssociatedLoadBalancerBackends(); - /** @return the load balancer inbound NAT rules associated with this network interface IP configuration */ + /** + * Gets the load balancer inbound NAT rules associated with this network interface IP configuration. + * + * @return the load balancer inbound NAT rules associated with this network interface IP configuration + */ // TODO: This should be a Collection List listAssociatedLoadBalancerInboundNatRules(); - /** @return the application gateway backends associated with this network IP configuration */ + /** + * Gets the application gateway backends associated with this network IP configuration. + * + * @return the application gateway backends associated with this network IP configuration + */ Collection listAssociatedApplicationGatewayBackends(); /** + * Gets the application security groups associated with this network IP configuration. + * * @return the application security groups associated with this network IP configuration */ List listAssociatedApplicationSecurityGroups(); diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PCFilter.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PCFilter.java index 698f6454ce35..a444d831f4b1 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PCFilter.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PCFilter.java @@ -12,10 +12,16 @@ /** Client-side representation of packet capture filter. */ @Fluent public interface PCFilter extends Indexable, HasParent, HasInnerModel { - /** @return protocol to be filtered on. */ + /** + * Gets protocol to be filtered on. + * + * @return protocol to be filtered on. + */ PcProtocol protocol(); /** + * Gets local IP Address to be filtered on. + * * @return local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. * "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5"? for multiple entries. Multiple ranges not currently * supported. Mixing ranges with multiple entries not currently supported. Default = null. @@ -23,6 +29,8 @@ public interface PCFilter extends Indexable, HasParent, HasInnerM String localIpAddress(); /** + * Gets remote IP Address to be filtered on. + * * @return remote IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. * "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5;" for multiple entries. Multiple ranges not currently * supported. Mixing ranges with multiple entries not currently supported. Default = null. @@ -30,6 +38,8 @@ public interface PCFilter extends Indexable, HasParent, HasInnerM String remoteIpAddress(); /** + * Gets local port to be filtered on. + * * @return local port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for * multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently * supported. Default = null. @@ -37,6 +47,8 @@ public interface PCFilter extends Indexable, HasParent, HasInnerM String localPort(); /** + * Gets remote port to be filtered on. + * * @return remote port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for * multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently * supported. Default = null. @@ -76,6 +88,8 @@ interface Blank extends * Set local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. * "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5" for multiple entries. Multiple ranges not currently * supported. Mixing ranges with multiple entries not currently supported. Default = null. + * + * @param the stage of the parent definition to return to after attaching this definition */ interface WithLocalIP { /** @@ -108,6 +122,8 @@ interface WithLocalIP { * Set remote IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. * "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5" for multiple entries. Multiple ranges not currently * supported. Mixing ranges with multiple entries not currently supported. Default = null. + * + * @param the stage of the parent definition to return to after attaching this definition */ interface WithRemoteIpAddress { /** @@ -140,6 +156,8 @@ interface WithRemoteIpAddress { * Set local port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for * multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently * supported. Default = null. + * + * @param the stage of the parent definition to return to after attaching this definition */ interface WithLocalPort { /** @@ -172,6 +190,8 @@ interface WithLocalPort { * Set local port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for * multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently * supported. Default = null. + * + * @param the stage of the parent definition to return to after attaching this definition */ interface WithRemotePort { /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PacketCapture.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PacketCapture.java index ba5704ba95b0..1f4a002d30b2 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PacketCapture.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PacketCapture.java @@ -15,22 +15,46 @@ /** Client-side representation of Packet capture object, associated with Network Watcher. */ @Fluent public interface PacketCapture extends HasInnerModel, HasName, HasId, Indexable { - /** @return the target id value */ + /** + * Gets the target ID value. + * + * @return the target ID value + */ String targetId(); - /** @return the number of bytes captured per packet, the remaining bytes are truncated. */ + /** + * Gets the number of bytes captured per packet, the remaining bytes are truncated. + * + * @return the number of bytes captured per packet, the remaining bytes are truncated. + */ long bytesToCapturePerPacket(); - /** @return the maximum size of the capture output */ + /** + * Gets the maximum size of the capture output. + * + * @return the maximum size of the capture output + */ long totalBytesPerSession(); - /** @return the maximum duration of the capture session in seconds */ + /** + * Gets the maximum duration of the capture session in seconds. + * + * @return the maximum duration of the capture session in seconds + */ int timeLimitInSeconds(); - /** @return the storageLocation value */ + /** + * Gets the storageLocation value. + * + * @return the storageLocation value + */ PacketCaptureStorageLocation storageLocation(); - /** @return the filters value */ + /** + * Gets the filters value. + * + * @return the filters value + */ List filters(); /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PacketCaptureStatus.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PacketCaptureStatus.java index 348855d3836b..c98d0a281948 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PacketCaptureStatus.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PacketCaptureStatus.java @@ -11,13 +11,25 @@ /** Status of packet capture session. */ @Fluent public interface PacketCaptureStatus extends HasInnerModel { - /** @return the name of the packet capture resource */ + /** + * Gets the name of the packet capture resource. + * + * @return the name of the packet capture resource + */ String name(); - /** @return the ID of the packet capture resource */ + /** + * Gets the ID of the packet capture resource. + * + * @return the ID of the packet capture resource + */ String id(); - /** @return the start time of the packet capture session */ + /** + * Gets the start time of the packet capture session. + * + * @return the start time of the packet capture session + */ OffsetDateTime captureStartTime(); /** @@ -27,9 +39,17 @@ public interface PacketCaptureStatus extends HasInnerModel packetCaptureErrors(); } diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PrivateDnsZoneGroup.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PrivateDnsZoneGroup.java index a746fd91a368..4f20deb73e64 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PrivateDnsZoneGroup.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PrivateDnsZoneGroup.java @@ -19,11 +19,15 @@ public interface PrivateDnsZoneGroup extends IndependentChild, H Refreshable, Updatable { /** + * Gets the provisioning state. + * * @return the provisioning state. */ ProvisioningState provisioningState(); /** + * Gets the collection of private DNS zone configurations. + * * @return the collection of private DNS zone configurations. */ List privateDnsZoneConfigures(); diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PrivateEndpoint.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PrivateEndpoint.java index a9ecf27b1310..f56abd40207b 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PrivateEndpoint.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PrivateEndpoint.java @@ -30,31 +30,43 @@ interface PrivateLinkServiceConnection ChildResource { /** + * Gets the state of the connection. + * * @return the state of the connection. */ PrivateLinkServiceConnectionState state(); /** + * Gets the resource ID that this connection connects to. + * * @return the resource ID that this connection connects to. */ String privateLinkResourceId(); /** + * Gets the collection of sub resource names. + * * @return the collection of sub resource names. */ List subResourceNames(); /** + * Gets the request message. + * * @return the request message. */ String requestMessage(); /** + * Gets the provisioning state. + * * @return the provisioning state. */ ProvisioningState provisioningState(); /** + * Checks whether connection is manual approval. + * * @return whether connection is manual approval. */ boolean isManualApproval(); @@ -182,31 +194,43 @@ interface Update } /** + * Gets the resource collection API of private DNS zone group. + * * @return the resource collection API of private DNS zone group. */ PrivateDnsZoneGroups privateDnsZoneGroups(); /** + * Gets the reference of the subnet. + * * @return the reference of the subnet. */ SubResource subnet(); /** + * Gets the collection of reference of the network interfaces. + * * @return the collection of reference of the network interfaces. */ List networkInterfaces(); /** + * Gets the provisioning state. + * * @return the provisioning state. */ ProvisioningState provisioningState(); /** + * Gets the collection of the private link service connections. + * * @return the collection of the private link service connections. */ Map privateLinkServiceConnections(); /** + * Gets the collection of custom DNS configurations. + * * @return the collection of custom DNS configurations. */ List customDnsConfigurations(); diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PrivateLinkSubResourceName.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PrivateLinkSubResourceName.java index a625749ca5ea..19ac562c3948 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PrivateLinkSubResourceName.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PrivateLinkSubResourceName.java @@ -63,6 +63,15 @@ public class PrivateLinkSubResourceName extends ExpandableStringEnum values() { return values(PrivateLinkSubResourceName.class); } diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PublicIPSkuType.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PublicIPSkuType.java index c3720081309b..37cc465919bc 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PublicIPSkuType.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PublicIPSkuType.java @@ -22,7 +22,11 @@ public final class PublicIPSkuType { /** The actual serialized value for a PublicIPSkuType instance. */ private final PublicIpAddressSkuName skuName; - /** @return predefined publicIP SKU types */ + /** + * Gets predefined publicIP SKU types. + * + * @return predefined publicIP SKU types + */ public static PublicIPSkuType[] values() { Collection valuesCollection = VALUES_BY_NAME.values(); return valuesCollection.toArray(new PublicIPSkuType[valuesCollection.size()]); @@ -61,7 +65,11 @@ public static PublicIPSkuType fromSku(PublicIpAddressSku pipSku) { } } - /** @return the PublicIpAddressSku associated with the PublicIpAddressSkuType. */ + /** + * Gets the PublicIpAddressSku associated with the PublicIpAddressSkuType. + * + * @return the PublicIpAddressSku associated with the PublicIpAddressSkuType. + */ public PublicIpAddressSku sku() { return (new PublicIpAddressSku()).withName(this.skuName); } diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PublicIpAddress.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PublicIpAddress.java index 2838638b9ed0..ea7e0295b43b 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PublicIpAddress.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PublicIpAddress.java @@ -23,46 +23,102 @@ public interface PublicIpAddress extends GroupableResource availabilityZones(); - /** @return public IP address sku. */ + /** + * Gets public IP address sku. + * + * @return public IP address sku. + */ PublicIPSkuType sku(); - /** @return read-only list of ipTags assosiated with public ip address */ + /** + * Gets read-only list of ipTags assosiated with public ip address. + * + * @return read-only list of ipTags assosiated with public ip address + */ List ipTags(); /** Container interface for all the definitions. */ diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PublicIpPrefix.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PublicIpPrefix.java index c934b12eabdf..512dea570db4 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PublicIpPrefix.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PublicIpPrefix.java @@ -19,34 +19,74 @@ /** Type representing PublicIpPrefix. */ public interface PublicIpPrefix extends GroupableResource, Refreshable, Updatable, UpdatableWithTags { - /** @return the ipPrefix value. */ + /** + * Gets the IP prefix value. + * + * @return the ipPrefix value. + */ String ipPrefix(); - /** @return the ipTags value. */ + /** + * Gets the IP tags value. + * + * @return the ipTags value. + */ List ipTags(); - /** @return the loadBalancerFrontendIpConfiguration value. */ + /** + * Gets the load balancer frontend IP configuration. + * + * @return the loadBalancerFrontendIpConfiguration value. + */ SubResource loadBalancerFrontendIpConfiguration(); - /** @return the prefixLength value. */ + /** + * Gets the prefix length. + * + * @return the prefixLength value. + */ Integer prefixLength(); - /** @return the provisioningState value. */ + /** + * Gets the provisioning state. + * + * @return the provisioningState value. + */ ProvisioningState provisioningState(); - /** @return the publicIpAddresses value. */ + /** + * Gets the public IP addresses. + * + * @return the publicIpAddresses value. + */ List publicIpAddresses(); - /** @return the publicIpAddressVersion value. */ + /** + * Gets the public IP address version. + * + * @return the publicIpAddressVersion value. + */ IpVersion publicIpAddressVersion(); - /** @return the resourceGuid value. */ + /** + * Gets the resource GUID. + * + * @return the resourceGuid value. + */ String resourceGuid(); - /** @return the sku value. */ + /** + * Gets the SKU. + * + * @return the sku value. + */ PublicIpPrefixSku sku(); - /** @return the availability zones assigned to the public Ip prefix */ + /** + * Gets the availability zones assigned to the public IP prefix. + * + * @return the availability zones assigned to the public Ip prefix + */ Set availabilityZones(); /** The entirety of the PublicIpPrefix definition. */ diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Route.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Route.java index 07a174aee4a8..988c2f082499 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Route.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Route.java @@ -13,13 +13,25 @@ @Fluent() public interface Route extends HasInnerModel, ChildResource { - /** @return the destination address prefix, expressed using the CIDR notation, to which the route applies */ + /** + * Gets the destination address prefix. + * + * @return the destination address prefix, expressed using the CIDR notation, to which the route applies + */ String destinationAddressPrefix(); - /** @return the type of the next hop */ + /** + * Gets the type of the next hop. + * + * @return the type of the next hop + */ RouteNextHopType nextHopType(); - /** @return the IP address of the next hop */ + /** + * Gets the IP address of the next hop. + * + * @return the IP address of the next hop + */ String nextHopIpAddress(); // Grouping of route definition stages diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RouteFilter.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RouteFilter.java index 05af5ee39f14..6e53c2460ec8 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RouteFilter.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RouteFilter.java @@ -17,13 +17,25 @@ @Fluent public interface RouteFilter extends GroupableResource, Refreshable, Updatable { - /** @return rules associated with this route filter, indexed by their names */ + /** + * Gets rules associated with this route filter. + * + * @return rules associated with this route filter, indexed by their names + */ Map rules(); - /** @return express route circuit peerings associated with this route filter, indexed by their names */ + /** + * Gets express route circuit peerings associated with this route filter. + * + * @return express route circuit peerings associated with this route filter, indexed by their names + */ Map peerings(); - /** @return the provisioning state of the route filter resource */ + /** + * Gets the provisioning state of the route filter resource. + * + * @return the provisioning state of the route filter resource + */ String provisioningState(); // Fluent interfaces for creating Route Filter diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RouteFilterRule.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RouteFilterRule.java index bc14e9d7b7ce..e27ff0768c98 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RouteFilterRule.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RouteFilterRule.java @@ -14,10 +14,18 @@ @Fluent public interface RouteFilterRule extends HasInnerModel, ChildResource { - /** @return the access type of the rule */ + /** + * Gets the access type of the rule. + * + * @return the access type of the rule + */ Access access(); - /** @return the rule type of the rule */ + /** + * Gets the rule type of the rule. + * + * @return the rule type of the rule + */ RouteFilterRuleType routeFilterRuleType(); /** @@ -27,10 +35,18 @@ public interface RouteFilterRule extends HasInnerModel, Ch */ List communities(); - /** @return the provisioning state of the resource */ + /** + * Gets the provisioning state of the resource. + * + * @return the provisioning state of the resource + */ String provisioningState(); - /** @return resource location */ + /** + * Gets resource location. + * + * @return resource location + */ String location(); /** @@ -52,7 +68,11 @@ interface DefinitionStages { interface Blank extends WithBgpCommunities { } - /** The stage of the route filter rule definition allowing bgp service communities to be specified. */ + /** + * The stage of the route filter rule definition allowing bgp service communities to be specified. + * + * @param the stage of the parent definition to return to after attaching this definition + */ interface WithBgpCommunities { /** * Set the collection for bgp community values to filter on. e.g. ['12076:5010','12076:5020']. @@ -79,7 +99,11 @@ interface WithBgpCommunities { Update withoutBgpCommunity(String community); } - /** The stage of the route filter rule definition allowing access type of the rule. */ + /** + * The stage of the route filter rule definition allowing access type of the rule. + * + * @param the stage of the parent definition to return to after attaching this definition + */ interface WithAccessType { /** * Set 'Allow' acces type of the rule. @@ -127,7 +151,11 @@ interface UpdateDefinitionStages { interface Blank extends UpdateDefinitionStages.WithBgpCommunities { } - /** The stage of the route filter rule definition allowing bgp service communities to be specified. */ + /** + * The stage of the route filter rule definition allowing bgp service communities to be specified. + * + * @param the stage of the parent definition to return to after attaching this definition + */ interface WithBgpCommunities { /** * Set the collection for bgp community values to filter on. e.g. ['12076:5010','12076:5020']. @@ -154,7 +182,11 @@ interface WithBgpCommunities { Update withoutBgpCommunity(String community); } - /** The stage of the route filter rule definition allowing access type of the rule. */ + /** + * The stage of the route filter rule definition allowing access type of the rule. + * + * @param the stage of the parent definition to return to after attaching this definition + */ interface WithAccessType { /** * Set 'Allow' acces type of the rule. diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RouteTable.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RouteTable.java index dc1484ee0543..6eee6aa003da 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RouteTable.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RouteTable.java @@ -18,10 +18,18 @@ public interface RouteTable extends GroupableResource, Refreshable, Updatable, UpdatableWithTags, HasAssociatedSubnets { - /** @return the routes of this route table */ + /** + * Gets the routes of this route table. + * + * @return the routes of this route table + */ Map routes(); - /** @return whether to disable the routes learned by BGP on that route table. True means disable. */ + /** + * Checks whether to disable the routes learned by BGP on that route table. + * + * @return whether to disable the routes learned by BGP on that route table. True means disable. + */ boolean isBgpRoutePropagationDisabled(); /** The entirety of a route table definition. */ diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityGroupView.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityGroupView.java index caf958e5f954..baf2180ddfee 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityGroupView.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityGroupView.java @@ -13,9 +13,17 @@ @Fluent public interface SecurityGroupView extends HasInnerModel, HasParent, Refreshable { - /** @return network interfaces on the specified VM */ + /** + * Gets network interfaces on the specified VM. + * + * @return network interfaces on the specified VM + */ Map networkInterfaces(); - /** @return virtual machine id */ + /** + * Gets virtual machine id. + * + * @return virtual machine id + */ String vmId(); } diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ServiceEndpointType.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ServiceEndpointType.java index 68c5d51fa37e..2417947f5453 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ServiceEndpointType.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ServiceEndpointType.java @@ -20,6 +20,15 @@ public final class ServiceEndpointType extends ExpandableStringEnum values() { return values(ServiceEndpointType.class); } diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Subnet.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Subnet.java index acc7105313c5..8c6622570633 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Subnet.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Subnet.java @@ -19,6 +19,8 @@ public interface Subnet extends HasInnerModel, ChildResource { /** + * Gets network interface IP configurations that are associated with this subnet. + * * @return network interface IP configurations that are associated with this subnet *

Note that this call may result in multiple calls to Azure to fetch all the referenced interfaces each time * it is invoked. @@ -35,7 +37,11 @@ public interface Subnet extends HasInnerModel, ChildResource listAvailablePrivateIPAddresses(); - /** @return number of network interface IP configurations associated with this subnet */ + /** + * Gets number of network interface IP configurations associated with this subnet. + * + * @return number of network interface IP configurations associated with this subnet + */ int networkInterfaceIPConfigurationCount(); /** @@ -57,30 +63,54 @@ public interface Subnet extends HasInnerModel, ChildResource addressPrefixes(); /** + * Gets the network security group associated with this subnet. + * * @return the network security group associated with this subnet, if any *

Note that this method will result in a call to Azure each time it is invoked. */ NetworkSecurityGroup getNetworkSecurityGroup(); - /** @return the resource ID of the network security group associated with this subnet, if any */ + /** + * Gets the resource ID of the network security group associated with this subnet. + * + * @return the resource ID of the network security group associated with this subnet, if any + */ String networkSecurityGroupId(); /** + * Gets the route table associated with this subnet. + * * @return the route table associated with this subnet, if any *

Note that this method will result in a call to Azure each time it is invoked. */ RouteTable getRouteTable(); - /** @return the resource ID of the route table associated with this subnet, if any */ + /** + * Gets the resource ID of the route table associated with this subnet. + * + * @return the resource ID of the route table associated with this subnet, if any + */ String routeTableId(); - /** @return the services that has access to the subnet. */ + /** + * Gets the services that has access to the subnet. + * + * @return the services that has access to the subnet. + */ Map> servicesWithAccess(); - /** @return the ID of the subnet. */ + /** + * Gets the ID of the subnet. + * + * @return the ID of the subnet. + */ String id(); - /** @return the resource ID of the NAT gateway associated with this subnet, if any */ + /** + * Gets the resource ID of the NAT gateway associated with this subnet. + * + * @return the resource ID of the NAT gateway associated with this subnet, if any + */ String natGatewayId(); /** Grouping of subnet definition stages. */ diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Topology.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Topology.java index 9e5517f3001b..f89c25cfc409 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Topology.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Topology.java @@ -13,19 +13,39 @@ /** An immutable client-side representation of an Azure Topology info object, associated with network watcher. */ @Fluent public interface Topology extends Executable, HasInnerModel, HasParent { - /** @return GUID representing the id */ + /** + * Gets GUID representing the id. + * + * @return GUID representing the id + */ String id(); - /** @return parameters used to query this topology */ + /** + * Gets parameters used to query this topology. + * + * @return parameters used to query this topology + */ TopologyParameters topologyParameters(); - /** @return the datetime when the topology was initially created for the resource group. */ + /** + * Gets the datetime when the topology was initially created for the resource group. + * + * @return the datetime when the topology was initially created for the resource group. + */ OffsetDateTime createdTime(); - /** @return the datetime when the topology was last modified */ + /** + * Gets the datetime when the topology was last modified. + * + * @return the datetime when the topology was last modified + */ OffsetDateTime lastModifiedTime(); - /** @return The resources in this topology */ + /** + * Gets the resources in this topology. + * + * @return The resources in this topology + */ Map resources(); /** The entirety of topology parameters definition. */ diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Troubleshooting.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Troubleshooting.java index 797febbe552e..91c70788a09b 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Troubleshooting.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Troubleshooting.java @@ -21,22 +21,46 @@ public interface Troubleshooting extends Executable, HasParent< */ String targetResourceId(); - /** @return id of the storage account where troubleshooting information was saved */ + /** + * Gets ID of the storage account where troubleshooting information was saved. + * + * @return ID of the storage account where troubleshooting information was saved + */ String storageId(); - /** @return the path to the blob to save the troubleshoot result in */ + /** + * Gets the path to the blob to save the troubleshoot result in. + * + * @return the path to the blob to save the troubleshoot result in + */ String storagePath(); - /** @return The start time of the troubleshooting */ + /** + * Gets the start time of the troubleshooting. + * + * @return The start time of the troubleshooting + */ OffsetDateTime startTime(); - /** @return the end time of the troubleshooting */ + /** + * Gets the end time of the troubleshooting. + * + * @return the end time of the troubleshooting + */ OffsetDateTime endTime(); - /** @return the result code of the troubleshooting */ + /** + * Gets the result code of the troubleshooting. + * + * @return the result code of the troubleshooting + */ String code(); - /** @return information from troubleshooting */ + /** + * Gets information from troubleshooting. + * + * @return information from troubleshooting + */ List results(); /** The entirety of troubleshooting parameters definition. */ diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualMachineScaleSetNetworkInterface.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualMachineScaleSetNetworkInterface.java index abe624822c30..1479c93bdf23 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualMachineScaleSetNetworkInterface.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualMachineScaleSetNetworkInterface.java @@ -11,9 +11,17 @@ @Fluent public interface VirtualMachineScaleSetNetworkInterface extends NetworkInterfaceBase, Resource, Refreshable { - /** @return the IP configurations of this network interface, indexed by their names */ + /** + * Gets the IP configurations of this network interface. + * + * @return the IP configurations of this network interface, indexed by their names + */ Map ipConfigurations(); - /** @return the primary IP configuration of this network interface */ + /** + * Gets the primary IP configuration of this network interface. + * + * @return the primary IP configuration of this network interface + */ VirtualMachineScaleSetNicIpConfiguration primaryIPConfiguration(); } diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGateway.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGateway.java index 434568de4aaa..595574ce2916 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGateway.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGateway.java @@ -34,7 +34,11 @@ public interface VirtualNetworkGateway */ Mono resetAsync(); - /** @return all the connections associated with this virtual network gateway */ + /** + * Gets all the connections associated with this virtual network gateway. + * + * @return all the connections associated with this virtual network gateway + */ PagedIterable listConnections(); /** @@ -61,42 +65,77 @@ public interface VirtualNetworkGateway Mono generateVpnProfileAsync(); /** + * Gets the entry point to virtual network gateway connections management API for this virtual network gateway. + * * @return the entry point to virtual network gateway connections management API for this virtual network gateway */ VirtualNetworkGatewayConnections connections(); // Getters - /** @return the gatewayType value */ + /** + * Gets the gatewayType value. + * + * @return the gatewayType value + */ VirtualNetworkGatewayType gatewayType(); - /** @return the type of this virtual network gateway */ + /** + * Gets the type of this virtual network gateway. + * + * @return the type of this virtual network gateway + */ VpnType vpnType(); - /** @return whether BGP is enabled for this virtual network gateway or not */ + /** + * Checks whether BGP is enabled for this virtual network gateway or not. + * + * @return whether BGP is enabled for this virtual network gateway or not + */ boolean isBgpEnabled(); - /** @return activeActive flag */ + /** + * Checks whether active is active for this virtual network gateway or not. + * + * @return activeActive flag + */ boolean activeActive(); /** - * @return the resource id of the LocalNetworkGateway resource which represents local network site having default + * Gets the resource ID of the LocalNetworkGateway resource which represents local network site having default + * routes + * + * @return the resource ID of the LocalNetworkGateway resource which represents local network site having default * routes */ String gatewayDefaultSiteResourceId(); - /** @return the SKU of this virtual network gateway */ + /** + * Gets the SKU of this virtual network gateway. + * + * @return the SKU of this virtual network gateway + */ VirtualNetworkGatewaySku sku(); /** + * Gets the reference of the VpnClientConfiguration resource which represents the P2S VpnClient configurations. + * * @return the reference of the VpnClientConfiguration resource which represents the P2S VpnClient configurations */ VpnClientConfiguration vpnClientConfiguration(); - /** @return virtual network gateway's BGP speaker settings */ + /** + * Gets virtual network gateway's BGP speaker settings. + * + * @return virtual network gateway's BGP speaker settings + */ BgpSettings bgpSettings(); - /** @return IP configurations for virtual network gateway */ + /** + * Gets IP configurations for virtual network gateway. + * + * @return IP configurations for virtual network gateway + */ Collection ipConfigurations(); /** The entirety of the virtual network gateway definition. */ @@ -205,6 +244,8 @@ interface WithPublicIPAddress */ interface WithBgp { /** + * Specifies the BGP speaker's ASN. + * * @param asn the BGP speaker's ASN * @param bgpPeeringAddress the BGP peering address and BGP identifier of this BGP speaker * @return the next stage of the definition diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnection.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnection.java index a1c015be3463..0ac82ccda108 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnection.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnection.java @@ -28,13 +28,25 @@ public interface VirtualNetworkGatewayConnection */ String authorizationKey(); - /** @return the reference to virtual network gateway resource */ + /** + * Gets the reference to virtual network gateway resource. + * + * @return the reference to virtual network gateway resource + */ String virtualNetworkGateway1Id(); - /** @return the reference to virtual network gateway resource. */ + /** + * Gets the reference to virtual network gateway resource. + * + * @return the reference to virtual network gateway resource. + */ String virtualNetworkGateway2Id(); - /** @return the reference to local network gateway resource */ + /** + * Gets the reference to local network gateway resource. + * + * @return the reference to local network gateway resource + */ String localNetworkGateway2Id(); /** @@ -44,10 +56,18 @@ public interface VirtualNetworkGatewayConnection */ VirtualNetworkGatewayConnectionType connectionType(); - /** @return the routing weight */ + /** + * Gets the routing weight. + * + * @return the routing weight + */ int routingWeight(); - /** @return the IPSec shared key */ + /** + * Gets the IPSec shared key. + * + * @return the IPSec shared key + */ String sharedKey(); /** @@ -64,25 +84,53 @@ public interface VirtualNetworkGatewayConnection */ Collection tunnelConnectionStatus(); - /** @return the egress bytes transferred in this connection */ + /** + * Gets the egress bytes transferred in this connection. + * + * @return the egress bytes transferred in this connection + */ long egressBytesTransferred(); - /** @return the egress bytes transferred in this connection. */ + /** + * Gets the egress bytes transferred in this connection. + * + * @return the egress bytes transferred in this connection. + */ long ingressBytesTransferred(); - /** @return the reference to peerings resource */ + /** + * Gets the reference to peerings resource. + * + * @return the reference to peerings resource + */ String peerId(); - /** @return the enableBgp flag */ + /** + * Checks whether BGP is enabled. + * + * @return the enableBgp flag + */ boolean isBgpEnabled(); - /** @return if policy-based traffic selectors enabled */ + /** + * Checks whether policy-based traffic selectors enabled. + * + * @return if policy-based traffic selectors enabled + */ boolean usePolicyBasedTrafficSelectors(); - /** @return the IPSec Policies to be considered by this connection */ + /** + * Gets the IPSec Policies to be considered by this connection. + * + * @return the IPSec Policies to be considered by this connection + */ Collection ipsecPolicies(); - /** @return the provisioning state of the VirtualNetworkGatewayConnection resource */ + /** + * Gets the provisioning state of the VirtualNetworkGatewayConnection resource. + * + * @return the provisioning state of the VirtualNetworkGatewayConnection resource + */ String provisioningState(); /** The entirety of the virtual network gateway connection definition. */ @@ -133,6 +181,8 @@ interface WithConnectionType { /** Stage of definition allowing to specify local network gateway to connect to. */ interface WithLocalNetworkGateway { /** + * Specifies local network gateway to connect to. + * * @param localNetworkGateway local network gateway to connect to * @return the next stage of the definition */ @@ -142,6 +192,8 @@ interface WithLocalNetworkGateway { /** Stage of definition allowing to specify virtual network gateway to connect to. */ interface WithSecondVirtualNetworkGateway { /** + * Specifies virtual network gateway to connect to. + * * @param virtualNetworkGateway2 virtual network gateway to connect to * @return the next stage of the definition */ diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayIpConfiguration.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayIpConfiguration.java index c23b9d646c7f..51ee923ab604 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayIpConfiguration.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayIpConfiguration.java @@ -14,19 +14,39 @@ @Fluent public interface VirtualNetworkGatewayIpConfiguration extends HasInnerModel, ChildResource { - /** @return the resource ID of the virtual network the application gateway is in */ + /** + * Gets the resource ID of the virtual network the application gateway is in. + * + * @return the resource ID of the virtual network the application gateway is in + */ String networkId(); - /** @return the resource id of associated public IP address */ + /** + * Gets the resource ID of associated public IP address. + * + * @return the resource ID of associated public IP address + */ String publicIpAddressId(); - /** @return the name of the subnet the virtual network gateway is in */ + /** + * GEts the name of the subnet the virtual network gateway is in. + * + * @return the name of the subnet the virtual network gateway is in + */ String subnetName(); - /** @return the private IP allocation method. Possible values are: 'Static' and 'Dynamic'. */ + /** + * Gets the private IP allocation method. + * + * @return the private IP allocation method. Possible values are: 'Static' and 'Dynamic'. + */ IpAllocationMethod privateIpAllocationMethod(); - /** @return the subnet the virtual network gateway is in Note, this results in a separate call to Azure. */ + /** + * Gets the subnet the virtual network gateway is in Note, this results in a separate call to Azure. + * + * @return the subnet the virtual network gateway is in Note, this results in a separate call to Azure. + */ Subnet getSubnet(); /** Grouping of virtual network gateway IP configuration definition stages. */ diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallPolicy.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallPolicy.java index 0e6b2fb85358..0f04ec03bc31 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallPolicy.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallPolicy.java @@ -20,10 +20,18 @@ public interface WebApplicationFirewallPolicy extends GroupableResource, Updatable, Refreshable { - /** @return mode of the Web Application Firewall Policy */ + /** + * Gets mode of the Web Application Firewall Policy. + * + * @return mode of the Web Application Firewall Policy + */ WebApplicationFirewallMode mode(); - /** @return whether request body inspection is enabled */ + /** + * Checks whether request body inspection is enabled. + * + * @return whether request body inspection is enabled + */ boolean isRequestBodyInspectionEnabled(); /** @@ -39,16 +47,32 @@ public interface WebApplicationFirewallPolicy */ Integer fileUploadSizeLimitInMb(); - /** @return Web Application Firewall Policy settings */ + /** + * Gets Web Application Firewall Policy settings. + * + * @return Web Application Firewall Policy settings + */ PolicySettings getPolicySettings(); - /** @return Web Application Firewall managed rules */ + /** + * Gets Web Application Firewall managed rules. + * + * @return Web Application Firewall managed rules + */ ManagedRulesDefinition getManagedRules(); - /** @return whether this policy is enabled */ + /** + * Checks whether this policy is enabled. + * + * @return whether this policy is enabled + */ boolean isEnabled(); - /** @return an immutable list of application gateway resource ids associated with this Web Application Firewall Policy */ + /** + * Gets an immutable list of application gateway resource ids associated with this Web Application Firewall Policy. + * + * @return an immutable list of application gateway resource ids associated with this Web Application Firewall Policy + */ List getAssociatedApplicationGatewayIds(); /**