net.bytebuddy
byte-buddy
diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/AvsManager.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/AvsManager.java
index 2ddd22520551f..bd688e7689dee 100644
--- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/AvsManager.java
+++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/AvsManager.java
@@ -32,6 +32,7 @@
import com.azure.resourcemanager.avs.implementation.DatastoresImpl;
import com.azure.resourcemanager.avs.implementation.GlobalReachConnectionsImpl;
import com.azure.resourcemanager.avs.implementation.HcxEnterpriseSitesImpl;
+import com.azure.resourcemanager.avs.implementation.IscsiPathsImpl;
import com.azure.resourcemanager.avs.implementation.LocationsImpl;
import com.azure.resourcemanager.avs.implementation.OperationsImpl;
import com.azure.resourcemanager.avs.implementation.PlacementPoliciesImpl;
@@ -48,6 +49,7 @@
import com.azure.resourcemanager.avs.models.Datastores;
import com.azure.resourcemanager.avs.models.GlobalReachConnections;
import com.azure.resourcemanager.avs.models.HcxEnterpriseSites;
+import com.azure.resourcemanager.avs.models.IscsiPaths;
import com.azure.resourcemanager.avs.models.Locations;
import com.azure.resourcemanager.avs.models.Operations;
import com.azure.resourcemanager.avs.models.PlacementPolicies;
@@ -64,7 +66,10 @@
import java.util.Objects;
import java.util.stream.Collectors;
-/** Entry point to AvsManager. Azure VMware Solution API. */
+/**
+ * Entry point to AvsManager.
+ * Azure VMware Solution API.
+ */
public final class AvsManager {
private Operations operations;
@@ -72,49 +77,47 @@ public final class AvsManager {
private PrivateClouds privateClouds;
+ private Addons addons;
+
+ private Authorizations authorizations;
+
+ private CloudLinks cloudLinks;
+
private Clusters clusters;
private Datastores datastores;
- private HcxEnterpriseSites hcxEnterpriseSites;
+ private PlacementPolicies placementPolicies;
- private Authorizations authorizations;
+ private VirtualMachines virtualMachines;
private GlobalReachConnections globalReachConnections;
- private WorkloadNetworks workloadNetworks;
-
- private CloudLinks cloudLinks;
-
- private Addons addons;
+ private HcxEnterpriseSites hcxEnterpriseSites;
- private VirtualMachines virtualMachines;
+ private IscsiPaths iscsiPaths;
- private PlacementPolicies placementPolicies;
+ private ScriptExecutions scriptExecutions;
private ScriptPackages scriptPackages;
private ScriptCmdlets scriptCmdlets;
- private ScriptExecutions scriptExecutions;
+ private WorkloadNetworks workloadNetworks;
private final AvsClient clientObject;
private AvsManager(HttpPipeline httpPipeline, AzureProfile profile, Duration defaultPollInterval) {
Objects.requireNonNull(httpPipeline, "'httpPipeline' cannot be null.");
Objects.requireNonNull(profile, "'profile' cannot be null.");
- this.clientObject =
- new AvsClientBuilder()
- .pipeline(httpPipeline)
- .endpoint(profile.getEnvironment().getResourceManagerEndpoint())
- .subscriptionId(profile.getSubscriptionId())
- .defaultPollInterval(defaultPollInterval)
- .buildClient();
+ this.clientObject = new AvsClientBuilder().pipeline(httpPipeline)
+ .endpoint(profile.getEnvironment().getResourceManagerEndpoint()).subscriptionId(profile.getSubscriptionId())
+ .defaultPollInterval(defaultPollInterval).buildClient();
}
/**
* Creates an instance of Avs service API entry point.
- *
+ *
* @param credential the credential to use.
* @param profile the Azure profile for client.
* @return the Avs service API instance.
@@ -127,7 +130,7 @@ public static AvsManager authenticate(TokenCredential credential, AzureProfile p
/**
* Creates an instance of Avs service API entry point.
- *
+ *
* @param httpPipeline the {@link HttpPipeline} configured with Azure authentication credential.
* @param profile the Azure profile for client.
* @return the Avs service API instance.
@@ -140,14 +143,16 @@ public static AvsManager authenticate(HttpPipeline httpPipeline, AzureProfile pr
/**
* Gets a Configurable instance that can be used to create AvsManager with optional configuration.
- *
+ *
* @return the Configurable instance allowing configurations.
*/
public static Configurable configure() {
return new AvsManager.Configurable();
}
- /** The Configurable allowing configurations to be set. */
+ /**
+ * The Configurable allowing configurations to be set.
+ */
public static final class Configurable {
private static final ClientLogger LOGGER = new ClientLogger(Configurable.class);
@@ -219,8 +224,8 @@ public Configurable withRetryPolicy(RetryPolicy retryPolicy) {
/**
* Sets the retry options for the HTTP pipeline retry policy.
- *
- * This setting has no effect, if retry policy is set via {@link #withRetryPolicy(RetryPolicy)}.
+ *
+ * This setting has no effect, if retry policy is set via {@link #withRetryPolicy(RetryPolicy)}.
*
* @param retryOptions the retry options for the HTTP pipeline retry policy.
* @return the configurable object itself.
@@ -237,8 +242,8 @@ public Configurable withRetryOptions(RetryOptions retryOptions) {
* @return the configurable object itself.
*/
public Configurable withDefaultPollInterval(Duration defaultPollInterval) {
- this.defaultPollInterval =
- Objects.requireNonNull(defaultPollInterval, "'defaultPollInterval' cannot be null.");
+ this.defaultPollInterval
+ = Objects.requireNonNull(defaultPollInterval, "'defaultPollInterval' cannot be null.");
if (this.defaultPollInterval.isNegative()) {
throw LOGGER
.logExceptionAsError(new IllegalArgumentException("'defaultPollInterval' cannot be negative"));
@@ -258,21 +263,12 @@ public AvsManager authenticate(TokenCredential credential, AzureProfile profile)
Objects.requireNonNull(profile, "'profile' cannot be null.");
StringBuilder userAgentBuilder = new StringBuilder();
- userAgentBuilder
- .append("azsdk-java")
- .append("-")
- .append("com.azure.resourcemanager.avs")
- .append("/")
- .append("1.1.0");
+ userAgentBuilder.append("azsdk-java").append("-").append("com.azure.resourcemanager.avs").append("/")
+ .append("1.0.0-beta.1");
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
- userAgentBuilder
- .append(" (")
- .append(Configuration.getGlobalConfiguration().get("java.version"))
- .append("; ")
- .append(Configuration.getGlobalConfiguration().get("os.name"))
- .append("; ")
- .append(Configuration.getGlobalConfiguration().get("os.version"))
- .append("; auto-generated)");
+ userAgentBuilder.append(" (").append(Configuration.getGlobalConfiguration().get("java.version"))
+ .append("; ").append(Configuration.getGlobalConfiguration().get("os.name")).append("; ")
+ .append(Configuration.getGlobalConfiguration().get("os.version")).append("; auto-generated)");
} else {
userAgentBuilder.append(" (auto-generated)");
}
@@ -291,38 +287,25 @@ public AvsManager authenticate(TokenCredential credential, AzureProfile profile)
policies.add(new UserAgentPolicy(userAgentBuilder.toString()));
policies.add(new AddHeadersFromContextPolicy());
policies.add(new RequestIdPolicy());
- policies
- .addAll(
- this
- .policies
- .stream()
- .filter(p -> p.getPipelinePosition() == HttpPipelinePosition.PER_CALL)
- .collect(Collectors.toList()));
+ policies.addAll(this.policies.stream().filter(p -> p.getPipelinePosition() == HttpPipelinePosition.PER_CALL)
+ .collect(Collectors.toList()));
HttpPolicyProviders.addBeforeRetryPolicies(policies);
policies.add(retryPolicy);
policies.add(new AddDatePolicy());
policies.add(new ArmChallengeAuthenticationPolicy(credential, scopes.toArray(new String[0])));
- policies
- .addAll(
- this
- .policies
- .stream()
- .filter(p -> p.getPipelinePosition() == HttpPipelinePosition.PER_RETRY)
- .collect(Collectors.toList()));
+ policies.addAll(this.policies.stream()
+ .filter(p -> p.getPipelinePosition() == HttpPipelinePosition.PER_RETRY).collect(Collectors.toList()));
HttpPolicyProviders.addAfterRetryPolicies(policies);
policies.add(new HttpLoggingPolicy(httpLogOptions));
- HttpPipeline httpPipeline =
- new HttpPipelineBuilder()
- .httpClient(httpClient)
- .policies(policies.toArray(new HttpPipelinePolicy[0]))
- .build();
+ HttpPipeline httpPipeline = new HttpPipelineBuilder().httpClient(httpClient)
+ .policies(policies.toArray(new HttpPipelinePolicy[0])).build();
return new AvsManager(httpPipeline, profile, defaultPollInterval);
}
}
/**
* Gets the resource collection API of Operations.
- *
+ *
* @return Resource collection API of Operations.
*/
public Operations operations() {
@@ -334,7 +317,7 @@ public Operations operations() {
/**
* Gets the resource collection API of Locations.
- *
+ *
* @return Resource collection API of Locations.
*/
public Locations locations() {
@@ -346,7 +329,7 @@ public Locations locations() {
/**
* Gets the resource collection API of PrivateClouds. It manages PrivateCloud.
- *
+ *
* @return Resource collection API of PrivateClouds.
*/
public PrivateClouds privateClouds() {
@@ -356,9 +339,45 @@ public PrivateClouds privateClouds() {
return privateClouds;
}
+ /**
+ * Gets the resource collection API of Addons. It manages Addon.
+ *
+ * @return Resource collection API of Addons.
+ */
+ public Addons addons() {
+ if (this.addons == null) {
+ this.addons = new AddonsImpl(clientObject.getAddons(), this);
+ }
+ return addons;
+ }
+
+ /**
+ * Gets the resource collection API of Authorizations. It manages ExpressRouteAuthorization.
+ *
+ * @return Resource collection API of Authorizations.
+ */
+ public Authorizations authorizations() {
+ if (this.authorizations == null) {
+ this.authorizations = new AuthorizationsImpl(clientObject.getAuthorizations(), this);
+ }
+ return authorizations;
+ }
+
+ /**
+ * Gets the resource collection API of CloudLinks. It manages CloudLink.
+ *
+ * @return Resource collection API of CloudLinks.
+ */
+ public CloudLinks cloudLinks() {
+ if (this.cloudLinks == null) {
+ this.cloudLinks = new CloudLinksImpl(clientObject.getCloudLinks(), this);
+ }
+ return cloudLinks;
+ }
+
/**
* Gets the resource collection API of Clusters. It manages Cluster.
- *
+ *
* @return Resource collection API of Clusters.
*/
public Clusters clusters() {
@@ -370,7 +389,7 @@ public Clusters clusters() {
/**
* Gets the resource collection API of Datastores. It manages Datastore.
- *
+ *
* @return Resource collection API of Datastores.
*/
public Datastores datastores() {
@@ -381,107 +400,81 @@ public Datastores datastores() {
}
/**
- * Gets the resource collection API of HcxEnterpriseSites. It manages HcxEnterpriseSite.
- *
- * @return Resource collection API of HcxEnterpriseSites.
+ * Gets the resource collection API of PlacementPolicies. It manages PlacementPolicy.
+ *
+ * @return Resource collection API of PlacementPolicies.
*/
- public HcxEnterpriseSites hcxEnterpriseSites() {
- if (this.hcxEnterpriseSites == null) {
- this.hcxEnterpriseSites = new HcxEnterpriseSitesImpl(clientObject.getHcxEnterpriseSites(), this);
+ public PlacementPolicies placementPolicies() {
+ if (this.placementPolicies == null) {
+ this.placementPolicies = new PlacementPoliciesImpl(clientObject.getPlacementPolicies(), this);
}
- return hcxEnterpriseSites;
+ return placementPolicies;
}
/**
- * Gets the resource collection API of Authorizations. It manages ExpressRouteAuthorization.
- *
- * @return Resource collection API of Authorizations.
+ * Gets the resource collection API of VirtualMachines.
+ *
+ * @return Resource collection API of VirtualMachines.
*/
- public Authorizations authorizations() {
- if (this.authorizations == null) {
- this.authorizations = new AuthorizationsImpl(clientObject.getAuthorizations(), this);
+ public VirtualMachines virtualMachines() {
+ if (this.virtualMachines == null) {
+ this.virtualMachines = new VirtualMachinesImpl(clientObject.getVirtualMachines(), this);
}
- return authorizations;
+ return virtualMachines;
}
/**
* Gets the resource collection API of GlobalReachConnections. It manages GlobalReachConnection.
- *
+ *
* @return Resource collection API of GlobalReachConnections.
*/
public GlobalReachConnections globalReachConnections() {
if (this.globalReachConnections == null) {
- this.globalReachConnections =
- new GlobalReachConnectionsImpl(clientObject.getGlobalReachConnections(), this);
+ this.globalReachConnections
+ = new GlobalReachConnectionsImpl(clientObject.getGlobalReachConnections(), this);
}
return globalReachConnections;
}
/**
- * Gets the resource collection API of WorkloadNetworks. It manages WorkloadNetworkSegment, WorkloadNetworkDhcp,
- * WorkloadNetworkPortMirroring, WorkloadNetworkVMGroup, WorkloadNetworkDnsService, WorkloadNetworkDnsZone,
- * WorkloadNetworkPublicIp.
- *
- * @return Resource collection API of WorkloadNetworks.
- */
- public WorkloadNetworks workloadNetworks() {
- if (this.workloadNetworks == null) {
- this.workloadNetworks = new WorkloadNetworksImpl(clientObject.getWorkloadNetworks(), this);
- }
- return workloadNetworks;
- }
-
- /**
- * Gets the resource collection API of CloudLinks. It manages CloudLink.
- *
- * @return Resource collection API of CloudLinks.
- */
- public CloudLinks cloudLinks() {
- if (this.cloudLinks == null) {
- this.cloudLinks = new CloudLinksImpl(clientObject.getCloudLinks(), this);
- }
- return cloudLinks;
- }
-
- /**
- * Gets the resource collection API of Addons. It manages Addon.
- *
- * @return Resource collection API of Addons.
+ * Gets the resource collection API of HcxEnterpriseSites. It manages HcxEnterpriseSite.
+ *
+ * @return Resource collection API of HcxEnterpriseSites.
*/
- public Addons addons() {
- if (this.addons == null) {
- this.addons = new AddonsImpl(clientObject.getAddons(), this);
+ public HcxEnterpriseSites hcxEnterpriseSites() {
+ if (this.hcxEnterpriseSites == null) {
+ this.hcxEnterpriseSites = new HcxEnterpriseSitesImpl(clientObject.getHcxEnterpriseSites(), this);
}
- return addons;
+ return hcxEnterpriseSites;
}
/**
- * Gets the resource collection API of VirtualMachines.
- *
- * @return Resource collection API of VirtualMachines.
+ * Gets the resource collection API of IscsiPaths.
+ *
+ * @return Resource collection API of IscsiPaths.
*/
- public VirtualMachines virtualMachines() {
- if (this.virtualMachines == null) {
- this.virtualMachines = new VirtualMachinesImpl(clientObject.getVirtualMachines(), this);
+ public IscsiPaths iscsiPaths() {
+ if (this.iscsiPaths == null) {
+ this.iscsiPaths = new IscsiPathsImpl(clientObject.getIscsiPaths(), this);
}
- return virtualMachines;
+ return iscsiPaths;
}
/**
- * Gets the resource collection API of PlacementPolicies. It manages PlacementPolicy.
- *
- * @return Resource collection API of PlacementPolicies.
+ * Gets the resource collection API of ScriptExecutions. It manages ScriptExecution.
+ *
+ * @return Resource collection API of ScriptExecutions.
*/
- public PlacementPolicies placementPolicies() {
- if (this.placementPolicies == null) {
- this.placementPolicies = new PlacementPoliciesImpl(clientObject.getPlacementPolicies(), this);
+ public ScriptExecutions scriptExecutions() {
+ if (this.scriptExecutions == null) {
+ this.scriptExecutions = new ScriptExecutionsImpl(clientObject.getScriptExecutions(), this);
}
- return placementPolicies;
+ return scriptExecutions;
}
/**
* Gets the resource collection API of ScriptPackages.
- *
+ *
* @return Resource collection API of ScriptPackages.
*/
public ScriptPackages scriptPackages() {
@@ -493,7 +486,7 @@ public ScriptPackages scriptPackages() {
/**
* Gets the resource collection API of ScriptCmdlets.
- *
+ *
* @return Resource collection API of ScriptCmdlets.
*/
public ScriptCmdlets scriptCmdlets() {
@@ -504,21 +497,23 @@ public ScriptCmdlets scriptCmdlets() {
}
/**
- * Gets the resource collection API of ScriptExecutions. It manages ScriptExecution.
- *
- * @return Resource collection API of ScriptExecutions.
+ * Gets the resource collection API of WorkloadNetworks. It manages WorkloadNetworkDhcp, WorkloadNetworkDnsService,
+ * WorkloadNetworkDnsZone, WorkloadNetworkPortMirroring, WorkloadNetworkPublicIp, WorkloadNetworkSegment,
+ * WorkloadNetworkVMGroup.
+ *
+ * @return Resource collection API of WorkloadNetworks.
*/
- public ScriptExecutions scriptExecutions() {
- if (this.scriptExecutions == null) {
- this.scriptExecutions = new ScriptExecutionsImpl(clientObject.getScriptExecutions(), this);
+ public WorkloadNetworks workloadNetworks() {
+ if (this.workloadNetworks == null) {
+ this.workloadNetworks = new WorkloadNetworksImpl(clientObject.getWorkloadNetworks(), this);
}
- return scriptExecutions;
+ return workloadNetworks;
}
/**
* Gets wrapped service client AvsClient providing direct access to the underlying auto-generated API
* implementation, based on Azure REST API.
- *
+ *
* @return Wrapped service client AvsClient.
*/
public AvsClient serviceClient() {
diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/AddonsClient.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/AddonsClient.java
index 56fcc5e42d491..afdf1f6ba3edd 100644
--- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/AddonsClient.java
+++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/AddonsClient.java
@@ -13,88 +13,90 @@
import com.azure.core.util.polling.SyncPoller;
import com.azure.resourcemanager.avs.fluent.models.AddonInner;
-/** An instance of this class provides access to all the operations defined in AddonsClient. */
+/**
+ * An instance of this class provides access to all the operations defined in AddonsClient.
+ */
public interface AddonsClient {
/**
- * List addons in a private cloud.
- *
+ * List Addon resources by PrivateCloud.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a paged list of addons as paginated response with {@link PagedIterable}.
+ * @return the response of a Addon list operation as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list(String resourceGroupName, String privateCloudName);
/**
- * List addons in a private cloud.
- *
+ * List Addon resources by PrivateCloud.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a paged list of addons as paginated response with {@link PagedIterable}.
+ * @return the response of a Addon list operation as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list(String resourceGroupName, String privateCloudName, Context context);
/**
- * Get an addon by name in a private cloud.
- *
+ * Get a Addon.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param addonName Name of the addon for the private cloud.
+ * @param addonName Name of the addon.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an addon by name in a private cloud along with {@link Response}.
+ * @return a Addon along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceGroupName, String privateCloudName, String addonName, Context context);
+ Response getWithResponse(String resourceGroupName, String privateCloudName, String addonName,
+ Context context);
/**
- * Get an addon by name in a private cloud.
- *
+ * Get a Addon.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param addonName Name of the addon for the private cloud.
+ * @param addonName Name of the addon.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an addon by name in a private cloud.
+ * @return a Addon.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
AddonInner get(String resourceGroupName, String privateCloudName, String addonName);
/**
- * Create or update a addon in a private cloud.
- *
+ * Create a Addon.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param privateCloudName The name of the private cloud.
- * @param addonName Name of the addon for the private cloud.
- * @param addon A addon in the private cloud.
+ * @param privateCloudName Name of the private cloud.
+ * @param addonName Name of the addon.
+ * @param addon Resource create parameters.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the {@link SyncPoller} for polling of an addon resource.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, AddonInner> beginCreateOrUpdate(
- String resourceGroupName, String privateCloudName, String addonName, AddonInner addon);
+ SyncPoller, AddonInner> beginCreateOrUpdate(String resourceGroupName,
+ String privateCloudName, String addonName, AddonInner addon);
/**
- * Create or update a addon in a private cloud.
- *
+ * Create a Addon.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param privateCloudName The name of the private cloud.
- * @param addonName Name of the addon for the private cloud.
- * @param addon A addon in the private cloud.
+ * @param privateCloudName Name of the private cloud.
+ * @param addonName Name of the addon.
+ * @param addon Resource create parameters.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -102,16 +104,16 @@ SyncPoller, AddonInner> beginCreateOrUpdate(
* @return the {@link SyncPoller} for polling of an addon resource.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, AddonInner> beginCreateOrUpdate(
- String resourceGroupName, String privateCloudName, String addonName, AddonInner addon, Context context);
+ SyncPoller, AddonInner> beginCreateOrUpdate(String resourceGroupName,
+ String privateCloudName, String addonName, AddonInner addon, Context context);
/**
- * Create or update a addon in a private cloud.
- *
+ * Create a Addon.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param privateCloudName The name of the private cloud.
- * @param addonName Name of the addon for the private cloud.
- * @param addon A addon in the private cloud.
+ * @param privateCloudName Name of the private cloud.
+ * @param addonName Name of the addon.
+ * @param addon Resource create parameters.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -121,12 +123,12 @@ SyncPoller, AddonInner> beginCreateOrUpdate(
AddonInner createOrUpdate(String resourceGroupName, String privateCloudName, String addonName, AddonInner addon);
/**
- * Create or update a addon in a private cloud.
- *
+ * Create a Addon.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param privateCloudName The name of the private cloud.
- * @param addonName Name of the addon for the private cloud.
- * @param addon A addon in the private cloud.
+ * @param privateCloudName Name of the private cloud.
+ * @param addonName Name of the addon.
+ * @param addon Resource create parameters.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -134,15 +136,15 @@ SyncPoller, AddonInner> beginCreateOrUpdate(
* @return an addon resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- AddonInner createOrUpdate(
- String resourceGroupName, String privateCloudName, String addonName, AddonInner addon, Context context);
+ AddonInner createOrUpdate(String resourceGroupName, String privateCloudName, String addonName, AddonInner addon,
+ Context context);
/**
- * Delete a addon in a private cloud.
- *
+ * Delete a Addon.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param addonName Name of the addon for the private cloud.
+ * @param addonName Name of the addon.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -152,11 +154,11 @@ AddonInner createOrUpdate(
SyncPoller, Void> beginDelete(String resourceGroupName, String privateCloudName, String addonName);
/**
- * Delete a addon in a private cloud.
- *
+ * Delete a Addon.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param addonName Name of the addon for the private cloud.
+ * @param addonName Name of the addon.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -164,15 +166,15 @@ AddonInner createOrUpdate(
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(
- String resourceGroupName, String privateCloudName, String addonName, Context context);
+ SyncPoller, Void> beginDelete(String resourceGroupName, String privateCloudName, String addonName,
+ Context context);
/**
- * Delete a addon in a private cloud.
- *
+ * Delete a Addon.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param addonName Name of the addon for the private cloud.
+ * @param addonName Name of the addon.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -181,11 +183,11 @@ SyncPoller, Void> beginDelete(
void delete(String resourceGroupName, String privateCloudName, String addonName);
/**
- * Delete a addon in a private cloud.
- *
+ * Delete a Addon.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param addonName Name of the addon for the private cloud.
+ * @param addonName Name of the addon.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/AuthorizationsClient.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/AuthorizationsClient.java
index 9e2932349aa10..a7e16f2f83b97 100644
--- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/AuthorizationsClient.java
+++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/AuthorizationsClient.java
@@ -13,73 +13,77 @@
import com.azure.core.util.polling.SyncPoller;
import com.azure.resourcemanager.avs.fluent.models.ExpressRouteAuthorizationInner;
-/** An instance of this class provides access to all the operations defined in AuthorizationsClient. */
+/**
+ * An instance of this class provides access to all the operations defined in AuthorizationsClient.
+ */
public interface AuthorizationsClient {
/**
- * List ExpressRoute Circuit Authorizations in a private cloud.
- *
+ * List ExpressRouteAuthorization resources by PrivateCloud.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a paged list of ExpressRoute Circuit Authorizations as paginated response with {@link PagedIterable}.
+ * @return the response of a ExpressRouteAuthorization list operation as paginated response with
+ * {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list(String resourceGroupName, String privateCloudName);
/**
- * List ExpressRoute Circuit Authorizations in a private cloud.
- *
+ * List ExpressRouteAuthorization resources by PrivateCloud.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a paged list of ExpressRoute Circuit Authorizations as paginated response with {@link PagedIterable}.
+ * @return the response of a ExpressRouteAuthorization list operation as paginated response with
+ * {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(
- String resourceGroupName, String privateCloudName, Context context);
+ PagedIterable list(String resourceGroupName, String privateCloudName,
+ Context context);
/**
- * Get an ExpressRoute Circuit Authorization by name in a private cloud.
- *
+ * Get a ExpressRouteAuthorization.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param authorizationName Name of the ExpressRoute Circuit Authorization in the private cloud.
+ * @param authorizationName Name of the ExpressRoute Circuit Authorization.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an ExpressRoute Circuit Authorization by name in a private cloud along with {@link Response}.
+ * @return a ExpressRouteAuthorization along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceGroupName, String privateCloudName, String authorizationName, Context context);
+ Response getWithResponse(String resourceGroupName, String privateCloudName,
+ String authorizationName, Context context);
/**
- * Get an ExpressRoute Circuit Authorization by name in a private cloud.
- *
+ * Get a ExpressRouteAuthorization.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param authorizationName Name of the ExpressRoute Circuit Authorization in the private cloud.
+ * @param authorizationName Name of the ExpressRoute Circuit Authorization.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an ExpressRoute Circuit Authorization by name in a private cloud.
+ * @return a ExpressRouteAuthorization.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
ExpressRouteAuthorizationInner get(String resourceGroupName, String privateCloudName, String authorizationName);
/**
- * Create or update an ExpressRoute Circuit Authorization in a private cloud.
- *
+ * Create a ExpressRouteAuthorization.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param privateCloudName The name of the private cloud.
- * @param authorizationName Name of the ExpressRoute Circuit Authorization in the private cloud.
- * @param authorization An ExpressRoute Circuit Authorization.
+ * @param privateCloudName Name of the private cloud.
+ * @param authorizationName Name of the ExpressRoute Circuit Authorization.
+ * @param authorization Resource create parameters.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -87,18 +91,16 @@ Response getWithResponse(
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, ExpressRouteAuthorizationInner> beginCreateOrUpdate(
- String resourceGroupName,
- String privateCloudName,
- String authorizationName,
+ String resourceGroupName, String privateCloudName, String authorizationName,
ExpressRouteAuthorizationInner authorization);
/**
- * Create or update an ExpressRoute Circuit Authorization in a private cloud.
- *
+ * Create a ExpressRouteAuthorization.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param privateCloudName The name of the private cloud.
- * @param authorizationName Name of the ExpressRoute Circuit Authorization in the private cloud.
- * @param authorization An ExpressRoute Circuit Authorization.
+ * @param privateCloudName Name of the private cloud.
+ * @param authorizationName Name of the ExpressRoute Circuit Authorization.
+ * @param authorization Resource create parameters.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -107,38 +109,32 @@ SyncPoller, ExpressRouteAuthorization
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, ExpressRouteAuthorizationInner> beginCreateOrUpdate(
- String resourceGroupName,
- String privateCloudName,
- String authorizationName,
- ExpressRouteAuthorizationInner authorization,
- Context context);
+ String resourceGroupName, String privateCloudName, String authorizationName,
+ ExpressRouteAuthorizationInner authorization, Context context);
/**
- * Create or update an ExpressRoute Circuit Authorization in a private cloud.
- *
+ * Create a ExpressRouteAuthorization.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param privateCloudName The name of the private cloud.
- * @param authorizationName Name of the ExpressRoute Circuit Authorization in the private cloud.
- * @param authorization An ExpressRoute Circuit Authorization.
+ * @param privateCloudName Name of the private cloud.
+ * @param authorizationName Name of the ExpressRoute Circuit Authorization.
+ * @param authorization Resource create parameters.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return expressRoute Circuit Authorization.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- ExpressRouteAuthorizationInner createOrUpdate(
- String resourceGroupName,
- String privateCloudName,
- String authorizationName,
- ExpressRouteAuthorizationInner authorization);
+ ExpressRouteAuthorizationInner createOrUpdate(String resourceGroupName, String privateCloudName,
+ String authorizationName, ExpressRouteAuthorizationInner authorization);
/**
- * Create or update an ExpressRoute Circuit Authorization in a private cloud.
- *
+ * Create a ExpressRouteAuthorization.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param privateCloudName The name of the private cloud.
- * @param authorizationName Name of the ExpressRoute Circuit Authorization in the private cloud.
- * @param authorization An ExpressRoute Circuit Authorization.
+ * @param privateCloudName Name of the private cloud.
+ * @param authorizationName Name of the ExpressRoute Circuit Authorization.
+ * @param authorization Resource create parameters.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -146,34 +142,30 @@ ExpressRouteAuthorizationInner createOrUpdate(
* @return expressRoute Circuit Authorization.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- ExpressRouteAuthorizationInner createOrUpdate(
- String resourceGroupName,
- String privateCloudName,
- String authorizationName,
- ExpressRouteAuthorizationInner authorization,
- Context context);
+ ExpressRouteAuthorizationInner createOrUpdate(String resourceGroupName, String privateCloudName,
+ String authorizationName, ExpressRouteAuthorizationInner authorization, Context context);
/**
- * Delete an ExpressRoute Circuit Authorization in a private cloud.
- *
+ * Delete a ExpressRouteAuthorization.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param authorizationName Name of the ExpressRoute Circuit Authorization in the private cloud.
+ * @param authorizationName Name of the ExpressRoute Circuit Authorization.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(
- String resourceGroupName, String privateCloudName, String authorizationName);
+ SyncPoller, Void> beginDelete(String resourceGroupName, String privateCloudName,
+ String authorizationName);
/**
- * Delete an ExpressRoute Circuit Authorization in a private cloud.
- *
+ * Delete a ExpressRouteAuthorization.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param authorizationName Name of the ExpressRoute Circuit Authorization in the private cloud.
+ * @param authorizationName Name of the ExpressRoute Circuit Authorization.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -181,15 +173,15 @@ SyncPoller, Void> beginDelete(
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(
- String resourceGroupName, String privateCloudName, String authorizationName, Context context);
+ SyncPoller, Void> beginDelete(String resourceGroupName, String privateCloudName,
+ String authorizationName, Context context);
/**
- * Delete an ExpressRoute Circuit Authorization in a private cloud.
- *
+ * Delete a ExpressRouteAuthorization.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param authorizationName Name of the ExpressRoute Circuit Authorization in the private cloud.
+ * @param authorizationName Name of the ExpressRoute Circuit Authorization.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -198,11 +190,11 @@ SyncPoller, Void> beginDelete(
void delete(String resourceGroupName, String privateCloudName, String authorizationName);
/**
- * Delete an ExpressRoute Circuit Authorization in a private cloud.
- *
+ * Delete a ExpressRouteAuthorization.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param authorizationName Name of the ExpressRoute Circuit Authorization in the private cloud.
+ * @param authorizationName Name of the ExpressRoute Circuit Authorization.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/AvsClient.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/AvsClient.java
index ebb59f7de436d..c21c292eb9e4f 100644
--- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/AvsClient.java
+++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/AvsClient.java
@@ -7,152 +7,161 @@
import com.azure.core.http.HttpPipeline;
import java.time.Duration;
-/** The interface for AvsClient class. */
+/**
+ * The interface for AvsClient class.
+ */
public interface AvsClient {
/**
- * Gets The ID of the target subscription.
- *
+ * Gets The ID of the target subscription. The value must be an UUID.
+ *
* @return the subscriptionId value.
*/
String getSubscriptionId();
/**
* Gets server parameter.
- *
+ *
* @return the endpoint value.
*/
String getEndpoint();
/**
* Gets Api Version.
- *
+ *
* @return the apiVersion value.
*/
String getApiVersion();
/**
* Gets The HTTP pipeline to send requests through.
- *
+ *
* @return the httpPipeline value.
*/
HttpPipeline getHttpPipeline();
/**
* Gets The default poll interval for long-running operation.
- *
+ *
* @return the defaultPollInterval value.
*/
Duration getDefaultPollInterval();
/**
* Gets the OperationsClient object to access its operations.
- *
+ *
* @return the OperationsClient object.
*/
OperationsClient getOperations();
/**
* Gets the LocationsClient object to access its operations.
- *
+ *
* @return the LocationsClient object.
*/
LocationsClient getLocations();
/**
* Gets the PrivateCloudsClient object to access its operations.
- *
+ *
* @return the PrivateCloudsClient object.
*/
PrivateCloudsClient getPrivateClouds();
+ /**
+ * Gets the AddonsClient object to access its operations.
+ *
+ * @return the AddonsClient object.
+ */
+ AddonsClient getAddons();
+
+ /**
+ * Gets the AuthorizationsClient object to access its operations.
+ *
+ * @return the AuthorizationsClient object.
+ */
+ AuthorizationsClient getAuthorizations();
+
+ /**
+ * Gets the CloudLinksClient object to access its operations.
+ *
+ * @return the CloudLinksClient object.
+ */
+ CloudLinksClient getCloudLinks();
+
/**
* Gets the ClustersClient object to access its operations.
- *
+ *
* @return the ClustersClient object.
*/
ClustersClient getClusters();
/**
* Gets the DatastoresClient object to access its operations.
- *
+ *
* @return the DatastoresClient object.
*/
DatastoresClient getDatastores();
/**
- * Gets the HcxEnterpriseSitesClient object to access its operations.
- *
- * @return the HcxEnterpriseSitesClient object.
+ * Gets the PlacementPoliciesClient object to access its operations.
+ *
+ * @return the PlacementPoliciesClient object.
*/
- HcxEnterpriseSitesClient getHcxEnterpriseSites();
+ PlacementPoliciesClient getPlacementPolicies();
/**
- * Gets the AuthorizationsClient object to access its operations.
- *
- * @return the AuthorizationsClient object.
+ * Gets the VirtualMachinesClient object to access its operations.
+ *
+ * @return the VirtualMachinesClient object.
*/
- AuthorizationsClient getAuthorizations();
+ VirtualMachinesClient getVirtualMachines();
/**
* Gets the GlobalReachConnectionsClient object to access its operations.
- *
+ *
* @return the GlobalReachConnectionsClient object.
*/
GlobalReachConnectionsClient getGlobalReachConnections();
/**
- * Gets the WorkloadNetworksClient object to access its operations.
- *
- * @return the WorkloadNetworksClient object.
- */
- WorkloadNetworksClient getWorkloadNetworks();
-
- /**
- * Gets the CloudLinksClient object to access its operations.
- *
- * @return the CloudLinksClient object.
+ * Gets the HcxEnterpriseSitesClient object to access its operations.
+ *
+ * @return the HcxEnterpriseSitesClient object.
*/
- CloudLinksClient getCloudLinks();
+ HcxEnterpriseSitesClient getHcxEnterpriseSites();
/**
- * Gets the AddonsClient object to access its operations.
- *
- * @return the AddonsClient object.
+ * Gets the IscsiPathsClient object to access its operations.
+ *
+ * @return the IscsiPathsClient object.
*/
- AddonsClient getAddons();
+ IscsiPathsClient getIscsiPaths();
/**
- * Gets the VirtualMachinesClient object to access its operations.
- *
- * @return the VirtualMachinesClient object.
- */
- VirtualMachinesClient getVirtualMachines();
-
- /**
- * Gets the PlacementPoliciesClient object to access its operations.
- *
- * @return the PlacementPoliciesClient object.
+ * Gets the ScriptExecutionsClient object to access its operations.
+ *
+ * @return the ScriptExecutionsClient object.
*/
- PlacementPoliciesClient getPlacementPolicies();
+ ScriptExecutionsClient getScriptExecutions();
/**
* Gets the ScriptPackagesClient object to access its operations.
- *
+ *
* @return the ScriptPackagesClient object.
*/
ScriptPackagesClient getScriptPackages();
/**
* Gets the ScriptCmdletsClient object to access its operations.
- *
+ *
* @return the ScriptCmdletsClient object.
*/
ScriptCmdletsClient getScriptCmdlets();
/**
- * Gets the ScriptExecutionsClient object to access its operations.
- *
- * @return the ScriptExecutionsClient object.
+ * Gets the WorkloadNetworksClient object to access its operations.
+ *
+ * @return the WorkloadNetworksClient object.
*/
- ScriptExecutionsClient getScriptExecutions();
+ WorkloadNetworksClient getWorkloadNetworks();
}
diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/CloudLinksClient.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/CloudLinksClient.java
index 026c015c4d458..b8cb20adc8e11 100644
--- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/CloudLinksClient.java
+++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/CloudLinksClient.java
@@ -13,88 +13,90 @@
import com.azure.core.util.polling.SyncPoller;
import com.azure.resourcemanager.avs.fluent.models.CloudLinkInner;
-/** An instance of this class provides access to all the operations defined in CloudLinksClient. */
+/**
+ * An instance of this class provides access to all the operations defined in CloudLinksClient.
+ */
public interface CloudLinksClient {
/**
- * List cloud link in a private cloud.
- *
+ * List CloudLink resources by PrivateCloud.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a paged list of cloud links as paginated response with {@link PagedIterable}.
+ * @return the response of a CloudLink list operation as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list(String resourceGroupName, String privateCloudName);
/**
- * List cloud link in a private cloud.
- *
+ * List CloudLink resources by PrivateCloud.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a paged list of cloud links as paginated response with {@link PagedIterable}.
+ * @return the response of a CloudLink list operation as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list(String resourceGroupName, String privateCloudName, Context context);
/**
- * Get an cloud link by name in a private cloud.
- *
+ * Get a CloudLink.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param cloudLinkName Name of the cloud link resource.
+ * @param cloudLinkName Name of the cloud link.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an cloud link by name in a private cloud along with {@link Response}.
+ * @return a CloudLink along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceGroupName, String privateCloudName, String cloudLinkName, Context context);
+ Response getWithResponse(String resourceGroupName, String privateCloudName, String cloudLinkName,
+ Context context);
/**
- * Get an cloud link by name in a private cloud.
- *
+ * Get a CloudLink.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param cloudLinkName Name of the cloud link resource.
+ * @param cloudLinkName Name of the cloud link.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an cloud link by name in a private cloud.
+ * @return a CloudLink.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
CloudLinkInner get(String resourceGroupName, String privateCloudName, String cloudLinkName);
/**
- * Create or update a cloud link in a private cloud.
- *
+ * Create a CloudLink.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param privateCloudName The name of the private cloud.
- * @param cloudLinkName Name of the cloud link resource.
- * @param cloudLink A cloud link in the private cloud.
+ * @param privateCloudName Name of the private cloud.
+ * @param cloudLinkName Name of the cloud link.
+ * @param cloudLink Resource create parameters.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the {@link SyncPoller} for polling of a cloud link resource.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, CloudLinkInner> beginCreateOrUpdate(
- String resourceGroupName, String privateCloudName, String cloudLinkName, CloudLinkInner cloudLink);
+ SyncPoller, CloudLinkInner> beginCreateOrUpdate(String resourceGroupName,
+ String privateCloudName, String cloudLinkName, CloudLinkInner cloudLink);
/**
- * Create or update a cloud link in a private cloud.
- *
+ * Create a CloudLink.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param privateCloudName The name of the private cloud.
- * @param cloudLinkName Name of the cloud link resource.
- * @param cloudLink A cloud link in the private cloud.
+ * @param privateCloudName Name of the private cloud.
+ * @param cloudLinkName Name of the cloud link.
+ * @param cloudLink Resource create parameters.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -102,36 +104,32 @@ SyncPoller, CloudLinkInner> beginCreateOrUpdate(
* @return the {@link SyncPoller} for polling of a cloud link resource.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, CloudLinkInner> beginCreateOrUpdate(
- String resourceGroupName,
- String privateCloudName,
- String cloudLinkName,
- CloudLinkInner cloudLink,
- Context context);
+ SyncPoller, CloudLinkInner> beginCreateOrUpdate(String resourceGroupName,
+ String privateCloudName, String cloudLinkName, CloudLinkInner cloudLink, Context context);
/**
- * Create or update a cloud link in a private cloud.
- *
+ * Create a CloudLink.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param privateCloudName The name of the private cloud.
- * @param cloudLinkName Name of the cloud link resource.
- * @param cloudLink A cloud link in the private cloud.
+ * @param privateCloudName Name of the private cloud.
+ * @param cloudLinkName Name of the cloud link.
+ * @param cloudLink Resource create parameters.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return a cloud link resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- CloudLinkInner createOrUpdate(
- String resourceGroupName, String privateCloudName, String cloudLinkName, CloudLinkInner cloudLink);
+ CloudLinkInner createOrUpdate(String resourceGroupName, String privateCloudName, String cloudLinkName,
+ CloudLinkInner cloudLink);
/**
- * Create or update a cloud link in a private cloud.
- *
+ * Create a CloudLink.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param privateCloudName The name of the private cloud.
- * @param cloudLinkName Name of the cloud link resource.
- * @param cloudLink A cloud link in the private cloud.
+ * @param privateCloudName Name of the private cloud.
+ * @param cloudLinkName Name of the cloud link.
+ * @param cloudLink Resource create parameters.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -139,34 +137,30 @@ CloudLinkInner createOrUpdate(
* @return a cloud link resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- CloudLinkInner createOrUpdate(
- String resourceGroupName,
- String privateCloudName,
- String cloudLinkName,
- CloudLinkInner cloudLink,
- Context context);
+ CloudLinkInner createOrUpdate(String resourceGroupName, String privateCloudName, String cloudLinkName,
+ CloudLinkInner cloudLink, Context context);
/**
- * Delete a cloud link in a private cloud.
- *
+ * Delete a CloudLink.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param cloudLinkName Name of the cloud link resource.
+ * @param cloudLinkName Name of the cloud link.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(
- String resourceGroupName, String privateCloudName, String cloudLinkName);
+ SyncPoller, Void> beginDelete(String resourceGroupName, String privateCloudName,
+ String cloudLinkName);
/**
- * Delete a cloud link in a private cloud.
- *
+ * Delete a CloudLink.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param cloudLinkName Name of the cloud link resource.
+ * @param cloudLinkName Name of the cloud link.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -174,15 +168,15 @@ SyncPoller, Void> beginDelete(
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(
- String resourceGroupName, String privateCloudName, String cloudLinkName, Context context);
+ SyncPoller, Void> beginDelete(String resourceGroupName, String privateCloudName,
+ String cloudLinkName, Context context);
/**
- * Delete a cloud link in a private cloud.
- *
+ * Delete a CloudLink.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param cloudLinkName Name of the cloud link resource.
+ * @param cloudLinkName Name of the cloud link.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -191,11 +185,11 @@ SyncPoller, Void> beginDelete(
void delete(String resourceGroupName, String privateCloudName, String cloudLinkName);
/**
- * Delete a cloud link in a private cloud.
- *
+ * Delete a CloudLink.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param cloudLinkName Name of the cloud link resource.
+ * @param cloudLinkName Name of the cloud link.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/ClustersClient.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/ClustersClient.java
index 83152c1de1ef6..4dcbd4af4e200 100644
--- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/ClustersClient.java
+++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/ClustersClient.java
@@ -15,88 +15,90 @@
import com.azure.resourcemanager.avs.fluent.models.ClusterZoneListInner;
import com.azure.resourcemanager.avs.models.ClusterUpdate;
-/** An instance of this class provides access to all the operations defined in ClustersClient. */
+/**
+ * An instance of this class provides access to all the operations defined in ClustersClient.
+ */
public interface ClustersClient {
/**
- * List clusters in a private cloud.
- *
+ * List Cluster resources by PrivateCloud.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a paged list of clusters as paginated response with {@link PagedIterable}.
+ * @return the response of a Cluster list operation as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list(String resourceGroupName, String privateCloudName);
/**
- * List clusters in a private cloud.
- *
+ * List Cluster resources by PrivateCloud.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a paged list of clusters as paginated response with {@link PagedIterable}.
+ * @return the response of a Cluster list operation as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list(String resourceGroupName, String privateCloudName, Context context);
/**
- * Get a cluster by name in a private cloud.
- *
+ * Get a Cluster.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param clusterName Name of the cluster in the private cloud.
+ * @param clusterName Name of the cluster.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a cluster by name in a private cloud along with {@link Response}.
+ * @return a Cluster along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceGroupName, String privateCloudName, String clusterName, Context context);
+ Response getWithResponse(String resourceGroupName, String privateCloudName, String clusterName,
+ Context context);
/**
- * Get a cluster by name in a private cloud.
- *
+ * Get a Cluster.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param clusterName Name of the cluster in the private cloud.
+ * @param clusterName Name of the cluster.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a cluster by name in a private cloud.
+ * @return a Cluster.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
ClusterInner get(String resourceGroupName, String privateCloudName, String clusterName);
/**
- * Create or update a cluster in a private cloud.
- *
+ * Create a Cluster.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param privateCloudName The name of the private cloud.
- * @param clusterName Name of the cluster in the private cloud.
- * @param cluster A cluster in the private cloud.
+ * @param privateCloudName Name of the private cloud.
+ * @param clusterName Name of the cluster.
+ * @param cluster Resource create parameters.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the {@link SyncPoller} for polling of a cluster resource.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, ClusterInner> beginCreateOrUpdate(
- String resourceGroupName, String privateCloudName, String clusterName, ClusterInner cluster);
+ SyncPoller, ClusterInner> beginCreateOrUpdate(String resourceGroupName,
+ String privateCloudName, String clusterName, ClusterInner cluster);
/**
- * Create or update a cluster in a private cloud.
- *
+ * Create a Cluster.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param privateCloudName The name of the private cloud.
- * @param clusterName Name of the cluster in the private cloud.
- * @param cluster A cluster in the private cloud.
+ * @param privateCloudName Name of the private cloud.
+ * @param clusterName Name of the cluster.
+ * @param cluster Resource create parameters.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -104,32 +106,32 @@ SyncPoller, ClusterInner> beginCreateOrUpdate(
* @return the {@link SyncPoller} for polling of a cluster resource.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, ClusterInner> beginCreateOrUpdate(
- String resourceGroupName, String privateCloudName, String clusterName, ClusterInner cluster, Context context);
+ SyncPoller, ClusterInner> beginCreateOrUpdate(String resourceGroupName,
+ String privateCloudName, String clusterName, ClusterInner cluster, Context context);
/**
- * Create or update a cluster in a private cloud.
- *
+ * Create a Cluster.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param privateCloudName The name of the private cloud.
- * @param clusterName Name of the cluster in the private cloud.
- * @param cluster A cluster in the private cloud.
+ * @param privateCloudName Name of the private cloud.
+ * @param clusterName Name of the cluster.
+ * @param cluster Resource create parameters.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return a cluster resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- ClusterInner createOrUpdate(
- String resourceGroupName, String privateCloudName, String clusterName, ClusterInner cluster);
+ ClusterInner createOrUpdate(String resourceGroupName, String privateCloudName, String clusterName,
+ ClusterInner cluster);
/**
- * Create or update a cluster in a private cloud.
- *
+ * Create a Cluster.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param privateCloudName The name of the private cloud.
- * @param clusterName Name of the cluster in the private cloud.
- * @param cluster A cluster in the private cloud.
+ * @param privateCloudName Name of the private cloud.
+ * @param clusterName Name of the cluster.
+ * @param cluster Resource create parameters.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -137,15 +139,15 @@ ClusterInner createOrUpdate(
* @return a cluster resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- ClusterInner createOrUpdate(
- String resourceGroupName, String privateCloudName, String clusterName, ClusterInner cluster, Context context);
+ ClusterInner createOrUpdate(String resourceGroupName, String privateCloudName, String clusterName,
+ ClusterInner cluster, Context context);
/**
- * Update a cluster in a private cloud.
- *
+ * Update a Cluster.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param clusterName Name of the cluster in the private cloud.
+ * @param clusterName Name of the cluster.
* @param clusterUpdate The cluster properties to be updated.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -153,15 +155,15 @@ ClusterInner createOrUpdate(
* @return the {@link SyncPoller} for polling of a cluster resource.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, ClusterInner> beginUpdate(
- String resourceGroupName, String privateCloudName, String clusterName, ClusterUpdate clusterUpdate);
+ SyncPoller, ClusterInner> beginUpdate(String resourceGroupName, String privateCloudName,
+ String clusterName, ClusterUpdate clusterUpdate);
/**
- * Update a cluster in a private cloud.
- *
+ * Update a Cluster.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param clusterName Name of the cluster in the private cloud.
+ * @param clusterName Name of the cluster.
* @param clusterUpdate The cluster properties to be updated.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -170,19 +172,15 @@ SyncPoller, ClusterInner> beginUpdate(
* @return the {@link SyncPoller} for polling of a cluster resource.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, ClusterInner> beginUpdate(
- String resourceGroupName,
- String privateCloudName,
- String clusterName,
- ClusterUpdate clusterUpdate,
- Context context);
+ SyncPoller, ClusterInner> beginUpdate(String resourceGroupName, String privateCloudName,
+ String clusterName, ClusterUpdate clusterUpdate, Context context);
/**
- * Update a cluster in a private cloud.
- *
+ * Update a Cluster.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param clusterName Name of the cluster in the private cloud.
+ * @param clusterName Name of the cluster.
* @param clusterUpdate The cluster properties to be updated.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -190,15 +188,15 @@ SyncPoller, ClusterInner> beginUpdate(
* @return a cluster resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- ClusterInner update(
- String resourceGroupName, String privateCloudName, String clusterName, ClusterUpdate clusterUpdate);
+ ClusterInner update(String resourceGroupName, String privateCloudName, String clusterName,
+ ClusterUpdate clusterUpdate);
/**
- * Update a cluster in a private cloud.
- *
+ * Update a Cluster.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param clusterName Name of the cluster in the private cloud.
+ * @param clusterName Name of the cluster.
* @param clusterUpdate The cluster properties to be updated.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -207,34 +205,30 @@ ClusterInner update(
* @return a cluster resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- ClusterInner update(
- String resourceGroupName,
- String privateCloudName,
- String clusterName,
- ClusterUpdate clusterUpdate,
- Context context);
+ ClusterInner update(String resourceGroupName, String privateCloudName, String clusterName,
+ ClusterUpdate clusterUpdate, Context context);
/**
- * Delete a cluster in a private cloud.
- *
+ * Delete a Cluster.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param clusterName Name of the cluster in the private cloud.
+ * @param clusterName Name of the cluster.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(
- String resourceGroupName, String privateCloudName, String clusterName);
+ SyncPoller, Void> beginDelete(String resourceGroupName, String privateCloudName,
+ String clusterName);
/**
- * Delete a cluster in a private cloud.
- *
+ * Delete a Cluster.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param clusterName Name of the cluster in the private cloud.
+ * @param clusterName Name of the cluster.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -242,15 +236,15 @@ SyncPoller, Void> beginDelete(
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(
- String resourceGroupName, String privateCloudName, String clusterName, Context context);
+ SyncPoller, Void> beginDelete(String resourceGroupName, String privateCloudName,
+ String clusterName, Context context);
/**
- * Delete a cluster in a private cloud.
- *
+ * Delete a Cluster.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param clusterName Name of the cluster in the private cloud.
+ * @param clusterName Name of the cluster.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -259,11 +253,11 @@ SyncPoller, Void> beginDelete(
void delete(String resourceGroupName, String privateCloudName, String clusterName);
/**
- * Delete a cluster in a private cloud.
- *
+ * Delete a Cluster.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param clusterName Name of the cluster in the private cloud.
+ * @param clusterName Name of the cluster.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -274,10 +268,10 @@ SyncPoller, Void> beginDelete(
/**
* List hosts by zone in a cluster.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param clusterName Name of the cluster in the private cloud.
+ * @param clusterName Name of the cluster.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -285,15 +279,15 @@ SyncPoller, Void> beginDelete(
* @return list of all zones and associated hosts for a cluster along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response listZonesWithResponse(
- String resourceGroupName, String privateCloudName, String clusterName, Context context);
+ Response listZonesWithResponse(String resourceGroupName, String privateCloudName,
+ String clusterName, Context context);
/**
* List hosts by zone in a cluster.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param clusterName Name of the cluster in the private cloud.
+ * @param clusterName Name of the cluster.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/DatastoresClient.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/DatastoresClient.java
index e295cc467074b..327061fc2d0c9 100644
--- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/DatastoresClient.java
+++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/DatastoresClient.java
@@ -13,99 +13,97 @@
import com.azure.core.util.polling.SyncPoller;
import com.azure.resourcemanager.avs.fluent.models.DatastoreInner;
-/** An instance of this class provides access to all the operations defined in DatastoresClient. */
+/**
+ * An instance of this class provides access to all the operations defined in DatastoresClient.
+ */
public interface DatastoresClient {
/**
- * List datastores in a private cloud cluster.
- *
+ * List Datastore resources by Cluster.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param clusterName Name of the cluster in the private cloud.
+ * @param clusterName Name of the cluster.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a paged list of datastores as paginated response with {@link PagedIterable}.
+ * @return the response of a Datastore list operation as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list(String resourceGroupName, String privateCloudName, String clusterName);
/**
- * List datastores in a private cloud cluster.
- *
+ * List Datastore resources by Cluster.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param clusterName Name of the cluster in the private cloud.
+ * @param clusterName Name of the cluster.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a paged list of datastores as paginated response with {@link PagedIterable}.
+ * @return the response of a Datastore list operation as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(
- String resourceGroupName, String privateCloudName, String clusterName, Context context);
+ PagedIterable list(String resourceGroupName, String privateCloudName, String clusterName,
+ Context context);
/**
- * Get a datastore in a private cloud cluster.
- *
+ * Get a Datastore.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param clusterName Name of the cluster in the private cloud.
- * @param datastoreName Name of the datastore in the private cloud cluster.
+ * @param clusterName Name of the cluster.
+ * @param datastoreName Name of the datastore.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a datastore in a private cloud cluster along with {@link Response}.
+ * @return a Datastore along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceGroupName, String privateCloudName, String clusterName, String datastoreName, Context context);
+ Response getWithResponse(String resourceGroupName, String privateCloudName, String clusterName,
+ String datastoreName, Context context);
/**
- * Get a datastore in a private cloud cluster.
- *
+ * Get a Datastore.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param clusterName Name of the cluster in the private cloud.
- * @param datastoreName Name of the datastore in the private cloud cluster.
+ * @param clusterName Name of the cluster.
+ * @param datastoreName Name of the datastore.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a datastore in a private cloud cluster.
+ * @return a Datastore.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
DatastoreInner get(String resourceGroupName, String privateCloudName, String clusterName, String datastoreName);
/**
- * Create or update a datastore in a private cloud cluster.
- *
+ * Create a Datastore.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param clusterName Name of the cluster in the private cloud.
- * @param datastoreName Name of the datastore in the private cloud cluster.
- * @param datastore A datastore in a private cloud cluster.
+ * @param clusterName Name of the cluster.
+ * @param datastoreName Name of the datastore.
+ * @param datastore Resource create parameters.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the {@link SyncPoller} for polling of a datastore resource.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, DatastoreInner> beginCreateOrUpdate(
- String resourceGroupName,
- String privateCloudName,
- String clusterName,
- String datastoreName,
- DatastoreInner datastore);
+ SyncPoller, DatastoreInner> beginCreateOrUpdate(String resourceGroupName,
+ String privateCloudName, String clusterName, String datastoreName, DatastoreInner datastore);
/**
- * Create or update a datastore in a private cloud cluster.
- *
+ * Create a Datastore.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param clusterName Name of the cluster in the private cloud.
- * @param datastoreName Name of the datastore in the private cloud cluster.
- * @param datastore A datastore in a private cloud cluster.
+ * @param clusterName Name of the cluster.
+ * @param datastoreName Name of the datastore.
+ * @param datastore Resource create parameters.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -113,43 +111,34 @@ SyncPoller, DatastoreInner> beginCreateOrUpdate(
* @return the {@link SyncPoller} for polling of a datastore resource.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, DatastoreInner> beginCreateOrUpdate(
- String resourceGroupName,
- String privateCloudName,
- String clusterName,
- String datastoreName,
- DatastoreInner datastore,
- Context context);
+ SyncPoller, DatastoreInner> beginCreateOrUpdate(String resourceGroupName,
+ String privateCloudName, String clusterName, String datastoreName, DatastoreInner datastore, Context context);
/**
- * Create or update a datastore in a private cloud cluster.
- *
+ * Create a Datastore.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param clusterName Name of the cluster in the private cloud.
- * @param datastoreName Name of the datastore in the private cloud cluster.
- * @param datastore A datastore in a private cloud cluster.
+ * @param clusterName Name of the cluster.
+ * @param datastoreName Name of the datastore.
+ * @param datastore Resource create parameters.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return a datastore resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- DatastoreInner createOrUpdate(
- String resourceGroupName,
- String privateCloudName,
- String clusterName,
- String datastoreName,
- DatastoreInner datastore);
+ DatastoreInner createOrUpdate(String resourceGroupName, String privateCloudName, String clusterName,
+ String datastoreName, DatastoreInner datastore);
/**
- * Create or update a datastore in a private cloud cluster.
- *
+ * Create a Datastore.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param clusterName Name of the cluster in the private cloud.
- * @param datastoreName Name of the datastore in the private cloud cluster.
- * @param datastore A datastore in a private cloud cluster.
+ * @param clusterName Name of the cluster.
+ * @param datastoreName Name of the datastore.
+ * @param datastore Resource create parameters.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -157,37 +146,32 @@ DatastoreInner createOrUpdate(
* @return a datastore resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- DatastoreInner createOrUpdate(
- String resourceGroupName,
- String privateCloudName,
- String clusterName,
- String datastoreName,
- DatastoreInner datastore,
- Context context);
+ DatastoreInner createOrUpdate(String resourceGroupName, String privateCloudName, String clusterName,
+ String datastoreName, DatastoreInner datastore, Context context);
/**
- * Delete a datastore in a private cloud cluster.
- *
+ * Delete a Datastore.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param clusterName Name of the cluster in the private cloud.
- * @param datastoreName Name of the datastore in the private cloud cluster.
+ * @param clusterName Name of the cluster.
+ * @param datastoreName Name of the datastore.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(
- String resourceGroupName, String privateCloudName, String clusterName, String datastoreName);
+ SyncPoller, Void> beginDelete(String resourceGroupName, String privateCloudName,
+ String clusterName, String datastoreName);
/**
- * Delete a datastore in a private cloud cluster.
- *
+ * Delete a Datastore.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param clusterName Name of the cluster in the private cloud.
- * @param datastoreName Name of the datastore in the private cloud cluster.
+ * @param clusterName Name of the cluster.
+ * @param datastoreName Name of the datastore.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -195,16 +179,16 @@ SyncPoller, Void> beginDelete(
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(
- String resourceGroupName, String privateCloudName, String clusterName, String datastoreName, Context context);
+ SyncPoller, Void> beginDelete(String resourceGroupName, String privateCloudName,
+ String clusterName, String datastoreName, Context context);
/**
- * Delete a datastore in a private cloud cluster.
- *
+ * Delete a Datastore.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param clusterName Name of the cluster in the private cloud.
- * @param datastoreName Name of the datastore in the private cloud cluster.
+ * @param clusterName Name of the cluster.
+ * @param datastoreName Name of the datastore.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -213,18 +197,18 @@ SyncPoller, Void> beginDelete(
void delete(String resourceGroupName, String privateCloudName, String clusterName, String datastoreName);
/**
- * Delete a datastore in a private cloud cluster.
- *
+ * Delete a Datastore.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param clusterName Name of the cluster in the private cloud.
- * @param datastoreName Name of the datastore in the private cloud cluster.
+ * @param clusterName Name of the cluster.
+ * @param datastoreName Name of the datastore.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void delete(
- String resourceGroupName, String privateCloudName, String clusterName, String datastoreName, Context context);
+ void delete(String resourceGroupName, String privateCloudName, String clusterName, String datastoreName,
+ Context context);
}
diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/GlobalReachConnectionsClient.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/GlobalReachConnectionsClient.java
index 96c635ed10c7a..ce9a7351d72bc 100644
--- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/GlobalReachConnectionsClient.java
+++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/GlobalReachConnectionsClient.java
@@ -13,72 +13,74 @@
import com.azure.core.util.polling.SyncPoller;
import com.azure.resourcemanager.avs.fluent.models.GlobalReachConnectionInner;
-/** An instance of this class provides access to all the operations defined in GlobalReachConnectionsClient. */
+/**
+ * An instance of this class provides access to all the operations defined in GlobalReachConnectionsClient.
+ */
public interface GlobalReachConnectionsClient {
/**
- * List global reach connections in a private cloud.
- *
+ * List GlobalReachConnection resources by PrivateCloud.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a paged list of global reach connections as paginated response with {@link PagedIterable}.
+ * @return the response of a GlobalReachConnection list operation as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list(String resourceGroupName, String privateCloudName);
/**
- * List global reach connections in a private cloud.
- *
+ * List GlobalReachConnection resources by PrivateCloud.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a paged list of global reach connections as paginated response with {@link PagedIterable}.
+ * @return the response of a GlobalReachConnection list operation as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list(String resourceGroupName, String privateCloudName, Context context);
/**
- * Get a global reach connection by name in a private cloud.
- *
+ * Get a GlobalReachConnection.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param globalReachConnectionName Name of the global reach connection in the private cloud.
+ * @param globalReachConnectionName Name of the global reach connection.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a global reach connection by name in a private cloud along with {@link Response}.
+ * @return a GlobalReachConnection along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceGroupName, String privateCloudName, String globalReachConnectionName, Context context);
+ Response getWithResponse(String resourceGroupName, String privateCloudName,
+ String globalReachConnectionName, Context context);
/**
- * Get a global reach connection by name in a private cloud.
- *
+ * Get a GlobalReachConnection.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param globalReachConnectionName Name of the global reach connection in the private cloud.
+ * @param globalReachConnectionName Name of the global reach connection.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a global reach connection by name in a private cloud.
+ * @return a GlobalReachConnection.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
GlobalReachConnectionInner get(String resourceGroupName, String privateCloudName, String globalReachConnectionName);
/**
- * Create or update a global reach connection in a private cloud.
- *
+ * Create a GlobalReachConnection.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param privateCloudName The name of the private cloud.
- * @param globalReachConnectionName Name of the global reach connection in the private cloud.
- * @param globalReachConnection A global reach connection in the private cloud.
+ * @param privateCloudName Name of the private cloud.
+ * @param globalReachConnectionName Name of the global reach connection.
+ * @param globalReachConnection Resource create parameters.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -86,18 +88,16 @@ Response getWithResponse(
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, GlobalReachConnectionInner> beginCreateOrUpdate(
- String resourceGroupName,
- String privateCloudName,
- String globalReachConnectionName,
+ String resourceGroupName, String privateCloudName, String globalReachConnectionName,
GlobalReachConnectionInner globalReachConnection);
/**
- * Create or update a global reach connection in a private cloud.
- *
+ * Create a GlobalReachConnection.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param privateCloudName The name of the private cloud.
- * @param globalReachConnectionName Name of the global reach connection in the private cloud.
- * @param globalReachConnection A global reach connection in the private cloud.
+ * @param privateCloudName Name of the private cloud.
+ * @param globalReachConnectionName Name of the global reach connection.
+ * @param globalReachConnection Resource create parameters.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -106,38 +106,32 @@ SyncPoller, GlobalReachConnectionInner> b
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, GlobalReachConnectionInner> beginCreateOrUpdate(
- String resourceGroupName,
- String privateCloudName,
- String globalReachConnectionName,
- GlobalReachConnectionInner globalReachConnection,
- Context context);
+ String resourceGroupName, String privateCloudName, String globalReachConnectionName,
+ GlobalReachConnectionInner globalReachConnection, Context context);
/**
- * Create or update a global reach connection in a private cloud.
- *
+ * Create a GlobalReachConnection.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param privateCloudName The name of the private cloud.
- * @param globalReachConnectionName Name of the global reach connection in the private cloud.
- * @param globalReachConnection A global reach connection in the private cloud.
+ * @param privateCloudName Name of the private cloud.
+ * @param globalReachConnectionName Name of the global reach connection.
+ * @param globalReachConnection Resource create parameters.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return a global reach connection resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- GlobalReachConnectionInner createOrUpdate(
- String resourceGroupName,
- String privateCloudName,
- String globalReachConnectionName,
- GlobalReachConnectionInner globalReachConnection);
+ GlobalReachConnectionInner createOrUpdate(String resourceGroupName, String privateCloudName,
+ String globalReachConnectionName, GlobalReachConnectionInner globalReachConnection);
/**
- * Create or update a global reach connection in a private cloud.
- *
+ * Create a GlobalReachConnection.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param privateCloudName The name of the private cloud.
- * @param globalReachConnectionName Name of the global reach connection in the private cloud.
- * @param globalReachConnection A global reach connection in the private cloud.
+ * @param privateCloudName Name of the private cloud.
+ * @param globalReachConnectionName Name of the global reach connection.
+ * @param globalReachConnection Resource create parameters.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -145,34 +139,30 @@ GlobalReachConnectionInner createOrUpdate(
* @return a global reach connection resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- GlobalReachConnectionInner createOrUpdate(
- String resourceGroupName,
- String privateCloudName,
- String globalReachConnectionName,
- GlobalReachConnectionInner globalReachConnection,
- Context context);
+ GlobalReachConnectionInner createOrUpdate(String resourceGroupName, String privateCloudName,
+ String globalReachConnectionName, GlobalReachConnectionInner globalReachConnection, Context context);
/**
- * Delete a global reach connection in a private cloud.
- *
+ * Delete a GlobalReachConnection.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param globalReachConnectionName Name of the global reach connection in the private cloud.
+ * @param globalReachConnectionName Name of the global reach connection.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(
- String resourceGroupName, String privateCloudName, String globalReachConnectionName);
+ SyncPoller, Void> beginDelete(String resourceGroupName, String privateCloudName,
+ String globalReachConnectionName);
/**
- * Delete a global reach connection in a private cloud.
- *
+ * Delete a GlobalReachConnection.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param globalReachConnectionName Name of the global reach connection in the private cloud.
+ * @param globalReachConnectionName Name of the global reach connection.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -180,15 +170,15 @@ SyncPoller, Void> beginDelete(
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(
- String resourceGroupName, String privateCloudName, String globalReachConnectionName, Context context);
+ SyncPoller, Void> beginDelete(String resourceGroupName, String privateCloudName,
+ String globalReachConnectionName, Context context);
/**
- * Delete a global reach connection in a private cloud.
- *
+ * Delete a GlobalReachConnection.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param globalReachConnectionName Name of the global reach connection in the private cloud.
+ * @param globalReachConnectionName Name of the global reach connection.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -197,11 +187,11 @@ SyncPoller, Void> beginDelete(
void delete(String resourceGroupName, String privateCloudName, String globalReachConnectionName);
/**
- * Delete a global reach connection in a private cloud.
- *
+ * Delete a GlobalReachConnection.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param globalReachConnectionName Name of the global reach connection in the private cloud.
+ * @param globalReachConnectionName Name of the global reach connection.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/HcxEnterpriseSitesClient.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/HcxEnterpriseSitesClient.java
index c5259dc758d7e..63409fe329fd7 100644
--- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/HcxEnterpriseSitesClient.java
+++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/HcxEnterpriseSitesClient.java
@@ -11,72 +11,74 @@
import com.azure.core.util.Context;
import com.azure.resourcemanager.avs.fluent.models.HcxEnterpriseSiteInner;
-/** An instance of this class provides access to all the operations defined in HcxEnterpriseSitesClient. */
+/**
+ * An instance of this class provides access to all the operations defined in HcxEnterpriseSitesClient.
+ */
public interface HcxEnterpriseSitesClient {
/**
- * List HCX on-premises key in a private cloud.
- *
+ * List HcxEnterpriseSite resources by PrivateCloud.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a paged list of HCX Enterprise Sites as paginated response with {@link PagedIterable}.
+ * @return the response of a HcxEnterpriseSite list operation as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list(String resourceGroupName, String privateCloudName);
/**
- * List HCX on-premises key in a private cloud.
- *
+ * List HcxEnterpriseSite resources by PrivateCloud.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a paged list of HCX Enterprise Sites as paginated response with {@link PagedIterable}.
+ * @return the response of a HcxEnterpriseSite list operation as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list(String resourceGroupName, String privateCloudName, Context context);
/**
- * Get an HCX on-premises key by name in a private cloud.
- *
+ * Get a HcxEnterpriseSite.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param hcxEnterpriseSiteName Name of the HCX Enterprise Site in the private cloud.
+ * @param hcxEnterpriseSiteName Name of the HCX Enterprise Site.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an HCX on-premises key by name in a private cloud along with {@link Response}.
+ * @return a HcxEnterpriseSite along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceGroupName, String privateCloudName, String hcxEnterpriseSiteName, Context context);
+ Response getWithResponse(String resourceGroupName, String privateCloudName,
+ String hcxEnterpriseSiteName, Context context);
/**
- * Get an HCX on-premises key by name in a private cloud.
- *
+ * Get a HcxEnterpriseSite.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param hcxEnterpriseSiteName Name of the HCX Enterprise Site in the private cloud.
+ * @param hcxEnterpriseSiteName Name of the HCX Enterprise Site.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an HCX on-premises key by name in a private cloud.
+ * @return a HcxEnterpriseSite.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
HcxEnterpriseSiteInner get(String resourceGroupName, String privateCloudName, String hcxEnterpriseSiteName);
/**
- * Create or update an activation key for on-premises HCX site.
- *
+ * Create a HcxEnterpriseSite.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param privateCloudName The name of the private cloud.
- * @param hcxEnterpriseSiteName Name of the HCX Enterprise Site in the private cloud.
- * @param hcxEnterpriseSite The HCX Enterprise Site.
+ * @param privateCloudName Name of the private cloud.
+ * @param hcxEnterpriseSiteName Name of the HCX Enterprise Site.
+ * @param hcxEnterpriseSite Resource create parameters.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -84,38 +86,31 @@ Response getWithResponse(
* @return an HCX Enterprise Site resource along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response createOrUpdateWithResponse(
- String resourceGroupName,
- String privateCloudName,
- String hcxEnterpriseSiteName,
- HcxEnterpriseSiteInner hcxEnterpriseSite,
- Context context);
+ Response createOrUpdateWithResponse(String resourceGroupName, String privateCloudName,
+ String hcxEnterpriseSiteName, HcxEnterpriseSiteInner hcxEnterpriseSite, Context context);
/**
- * Create or update an activation key for on-premises HCX site.
- *
+ * Create a HcxEnterpriseSite.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param privateCloudName The name of the private cloud.
- * @param hcxEnterpriseSiteName Name of the HCX Enterprise Site in the private cloud.
- * @param hcxEnterpriseSite The HCX Enterprise Site.
+ * @param privateCloudName Name of the private cloud.
+ * @param hcxEnterpriseSiteName Name of the HCX Enterprise Site.
+ * @param hcxEnterpriseSite Resource create parameters.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return an HCX Enterprise Site resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- HcxEnterpriseSiteInner createOrUpdate(
- String resourceGroupName,
- String privateCloudName,
- String hcxEnterpriseSiteName,
- HcxEnterpriseSiteInner hcxEnterpriseSite);
+ HcxEnterpriseSiteInner createOrUpdate(String resourceGroupName, String privateCloudName,
+ String hcxEnterpriseSiteName, HcxEnterpriseSiteInner hcxEnterpriseSite);
/**
- * Delete HCX on-premises key in a private cloud.
- *
+ * Delete a HcxEnterpriseSite.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param hcxEnterpriseSiteName Name of the HCX Enterprise Site in the private cloud.
+ * @param hcxEnterpriseSiteName Name of the HCX Enterprise Site.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -123,15 +118,15 @@ HcxEnterpriseSiteInner createOrUpdate(
* @return the {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response deleteWithResponse(
- String resourceGroupName, String privateCloudName, String hcxEnterpriseSiteName, Context context);
+ Response deleteWithResponse(String resourceGroupName, String privateCloudName, String hcxEnterpriseSiteName,
+ Context context);
/**
- * Delete HCX on-premises key in a private cloud.
- *
+ * Delete a HcxEnterpriseSite.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param hcxEnterpriseSiteName Name of the HCX Enterprise Site in the private cloud.
+ * @param hcxEnterpriseSiteName Name of the HCX Enterprise Site.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/IscsiPathsClient.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/IscsiPathsClient.java
new file mode 100644
index 0000000000000..43d5ec7ade272
--- /dev/null
+++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/IscsiPathsClient.java
@@ -0,0 +1,187 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.avs.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.management.polling.PollResult;
+import com.azure.core.util.Context;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.avs.fluent.models.IscsiPathInner;
+
+/**
+ * An instance of this class provides access to all the operations defined in IscsiPathsClient.
+ */
+public interface IscsiPathsClient {
+ /**
+ * List IscsiPath resources by PrivateCloud.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param privateCloudName Name of the private cloud.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a IscsiPath list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByPrivateCloud(String resourceGroupName, String privateCloudName);
+
+ /**
+ * List IscsiPath resources by PrivateCloud.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param privateCloudName Name of the private cloud.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a IscsiPath list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByPrivateCloud(String resourceGroupName, String privateCloudName,
+ Context context);
+
+ /**
+ * Get a IscsiPath.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param privateCloudName Name of the private cloud.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a IscsiPath along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String resourceGroupName, String privateCloudName, Context context);
+
+ /**
+ * Get a IscsiPath.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param privateCloudName Name of the private cloud.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a IscsiPath.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ IscsiPathInner get(String resourceGroupName, String privateCloudName);
+
+ /**
+ * Create a IscsiPath.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param privateCloudName Name of the private cloud.
+ * @param resource Resource create parameters.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of an iSCSI path resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, IscsiPathInner> beginCreateOrUpdate(String resourceGroupName,
+ String privateCloudName, IscsiPathInner resource);
+
+ /**
+ * Create a IscsiPath.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param privateCloudName Name of the private cloud.
+ * @param resource Resource create parameters.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of an iSCSI path resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, IscsiPathInner> beginCreateOrUpdate(String resourceGroupName,
+ String privateCloudName, IscsiPathInner resource, Context context);
+
+ /**
+ * Create a IscsiPath.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param privateCloudName Name of the private cloud.
+ * @param resource Resource create parameters.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an iSCSI path resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ IscsiPathInner createOrUpdate(String resourceGroupName, String privateCloudName, IscsiPathInner resource);
+
+ /**
+ * Create a IscsiPath.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param privateCloudName Name of the private cloud.
+ * @param resource Resource create parameters.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an iSCSI path resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ IscsiPathInner createOrUpdate(String resourceGroupName, String privateCloudName, IscsiPathInner resource,
+ Context context);
+
+ /**
+ * Delete a IscsiPath.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param privateCloudName Name of the private cloud.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String privateCloudName);
+
+ /**
+ * Delete a IscsiPath.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param privateCloudName Name of the private cloud.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String privateCloudName, Context context);
+
+ /**
+ * Delete a IscsiPath.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param privateCloudName Name of the private cloud.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String privateCloudName);
+
+ /**
+ * Delete a IscsiPath.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param privateCloudName Name of the private cloud.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String privateCloudName, Context context);
+}
diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/LocationsClient.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/LocationsClient.java
index 949b1697d0c74..387314e8244c9 100644
--- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/LocationsClient.java
+++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/LocationsClient.java
@@ -12,56 +12,58 @@
import com.azure.resourcemanager.avs.fluent.models.TrialInner;
import com.azure.resourcemanager.avs.models.Sku;
-/** An instance of this class provides access to all the operations defined in LocationsClient. */
+/**
+ * An instance of this class provides access to all the operations defined in LocationsClient.
+ */
public interface LocationsClient {
/**
- * Return trial status for subscription by region.
- *
- * @param location Azure region.
- * @param sku The sku to check for trial availability.
+ * Return quota for subscription by region.
+ *
+ * @param location The name of the Azure region.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return subscription trial availability along with {@link Response}.
+ * @return subscription quotas along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response checkTrialAvailabilityWithResponse(String location, Sku sku, Context context);
+ Response checkQuotaAvailabilityWithResponse(String location, Context context);
/**
- * Return trial status for subscription by region.
- *
- * @param location Azure region.
+ * Return quota for subscription by region.
+ *
+ * @param location The name of the Azure region.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return subscription trial availability.
+ * @return subscription quotas.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- TrialInner checkTrialAvailability(String location);
+ QuotaInner checkQuotaAvailability(String location);
/**
- * Return quota for subscription by region.
- *
- * @param location Azure region.
+ * Return trial status for subscription by region.
+ *
+ * @param location The name of the Azure region.
+ * @param sku Optionally, check for a specific SKU.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return subscription quotas along with {@link Response}.
+ * @return subscription trial availability along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response checkQuotaAvailabilityWithResponse(String location, Context context);
+ Response checkTrialAvailabilityWithResponse(String location, Sku sku, Context context);
/**
- * Return quota for subscription by region.
- *
- * @param location Azure region.
+ * Return trial status for subscription by region.
+ *
+ * @param location The name of the Azure region.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return subscription quotas.
+ * @return subscription trial availability.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- QuotaInner checkQuotaAvailability(String location);
+ TrialInner checkTrialAvailability(String location);
}
diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/OperationsClient.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/OperationsClient.java
index 9161726093afc..5cdf6176912ba 100644
--- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/OperationsClient.java
+++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/OperationsClient.java
@@ -10,26 +10,30 @@
import com.azure.core.util.Context;
import com.azure.resourcemanager.avs.fluent.models.OperationInner;
-/** An instance of this class provides access to all the operations defined in OperationsClient. */
+/**
+ * An instance of this class provides access to all the operations defined in OperationsClient.
+ */
public interface OperationsClient {
/**
- * Lists all of the available operations.
- *
+ * List the operations for the provider.
+ *
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return pageable list of operations as paginated response with {@link PagedIterable}.
+ * @return a list of REST API operations supported by an Azure Resource Provider as paginated response with
+ * {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list();
/**
- * Lists all of the available operations.
- *
+ * List the operations for the provider.
+ *
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return pageable list of operations as paginated response with {@link PagedIterable}.
+ * @return a list of REST API operations supported by an Azure Resource Provider as paginated response with
+ * {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list(Context context);
diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/PlacementPoliciesClient.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/PlacementPoliciesClient.java
index 906606c62608a..1053a2e7d306f 100644
--- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/PlacementPoliciesClient.java
+++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/PlacementPoliciesClient.java
@@ -14,104 +14,98 @@
import com.azure.resourcemanager.avs.fluent.models.PlacementPolicyInner;
import com.azure.resourcemanager.avs.models.PlacementPolicyUpdate;
-/** An instance of this class provides access to all the operations defined in PlacementPoliciesClient. */
+/**
+ * An instance of this class provides access to all the operations defined in PlacementPoliciesClient.
+ */
public interface PlacementPoliciesClient {
/**
- * List placement policies in a private cloud cluster.
- *
+ * List PlacementPolicy resources by Cluster.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param clusterName Name of the cluster in the private cloud.
+ * @param clusterName Name of the cluster.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return represents list of placement policies as paginated response with {@link PagedIterable}.
+ * @return the response of a PlacementPolicy list operation as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list(String resourceGroupName, String privateCloudName, String clusterName);
/**
- * List placement policies in a private cloud cluster.
- *
+ * List PlacementPolicy resources by Cluster.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param clusterName Name of the cluster in the private cloud.
+ * @param clusterName Name of the cluster.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return represents list of placement policies as paginated response with {@link PagedIterable}.
+ * @return the response of a PlacementPolicy list operation as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(
- String resourceGroupName, String privateCloudName, String clusterName, Context context);
+ PagedIterable list(String resourceGroupName, String privateCloudName, String clusterName,
+ Context context);
/**
- * Get a placement policy by name in a private cloud cluster.
- *
+ * Get a PlacementPolicy.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param clusterName Name of the cluster in the private cloud.
- * @param placementPolicyName Name of the VMware vSphere Distributed Resource Scheduler (DRS) placement policy.
+ * @param clusterName Name of the cluster.
+ * @param placementPolicyName Name of the placement policy.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a placement policy by name in a private cloud cluster along with {@link Response}.
+ * @return a PlacementPolicy along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceGroupName,
- String privateCloudName,
- String clusterName,
- String placementPolicyName,
- Context context);
+ Response getWithResponse(String resourceGroupName, String privateCloudName,
+ String clusterName, String placementPolicyName, Context context);
/**
- * Get a placement policy by name in a private cloud cluster.
- *
+ * Get a PlacementPolicy.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param clusterName Name of the cluster in the private cloud.
- * @param placementPolicyName Name of the VMware vSphere Distributed Resource Scheduler (DRS) placement policy.
+ * @param clusterName Name of the cluster.
+ * @param placementPolicyName Name of the placement policy.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a placement policy by name in a private cloud cluster.
+ * @return a PlacementPolicy.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- PlacementPolicyInner get(
- String resourceGroupName, String privateCloudName, String clusterName, String placementPolicyName);
+ PlacementPolicyInner get(String resourceGroupName, String privateCloudName, String clusterName,
+ String placementPolicyName);
/**
- * Create or update a placement policy in a private cloud cluster.
- *
+ * Create a PlacementPolicy.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param clusterName Name of the cluster in the private cloud.
- * @param placementPolicyName Name of the VMware vSphere Distributed Resource Scheduler (DRS) placement policy.
- * @param placementPolicy A placement policy in the private cloud cluster.
+ * @param clusterName Name of the cluster.
+ * @param placementPolicyName Name of the placement policy.
+ * @param placementPolicy Resource create parameters.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the {@link SyncPoller} for polling of a vSphere Distributed Resource Scheduler (DRS) placement policy.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, PlacementPolicyInner> beginCreateOrUpdate(
- String resourceGroupName,
- String privateCloudName,
- String clusterName,
- String placementPolicyName,
- PlacementPolicyInner placementPolicy);
+ SyncPoller, PlacementPolicyInner> beginCreateOrUpdate(String resourceGroupName,
+ String privateCloudName, String clusterName, String placementPolicyName, PlacementPolicyInner placementPolicy);
/**
- * Create or update a placement policy in a private cloud cluster.
- *
+ * Create a PlacementPolicy.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param clusterName Name of the cluster in the private cloud.
- * @param placementPolicyName Name of the VMware vSphere Distributed Resource Scheduler (DRS) placement policy.
- * @param placementPolicy A placement policy in the private cloud cluster.
+ * @param clusterName Name of the cluster.
+ * @param placementPolicyName Name of the placement policy.
+ * @param placementPolicy Resource create parameters.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -119,43 +113,35 @@ SyncPoller, PlacementPolicyInner> beginCreateOr
* @return the {@link SyncPoller} for polling of a vSphere Distributed Resource Scheduler (DRS) placement policy.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, PlacementPolicyInner> beginCreateOrUpdate(
- String resourceGroupName,
- String privateCloudName,
- String clusterName,
- String placementPolicyName,
- PlacementPolicyInner placementPolicy,
+ SyncPoller, PlacementPolicyInner> beginCreateOrUpdate(String resourceGroupName,
+ String privateCloudName, String clusterName, String placementPolicyName, PlacementPolicyInner placementPolicy,
Context context);
/**
- * Create or update a placement policy in a private cloud cluster.
- *
+ * Create a PlacementPolicy.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param clusterName Name of the cluster in the private cloud.
- * @param placementPolicyName Name of the VMware vSphere Distributed Resource Scheduler (DRS) placement policy.
- * @param placementPolicy A placement policy in the private cloud cluster.
+ * @param clusterName Name of the cluster.
+ * @param placementPolicyName Name of the placement policy.
+ * @param placementPolicy Resource create parameters.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return a vSphere Distributed Resource Scheduler (DRS) placement policy.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- PlacementPolicyInner createOrUpdate(
- String resourceGroupName,
- String privateCloudName,
- String clusterName,
- String placementPolicyName,
- PlacementPolicyInner placementPolicy);
+ PlacementPolicyInner createOrUpdate(String resourceGroupName, String privateCloudName, String clusterName,
+ String placementPolicyName, PlacementPolicyInner placementPolicy);
/**
- * Create or update a placement policy in a private cloud cluster.
- *
+ * Create a PlacementPolicy.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param clusterName Name of the cluster in the private cloud.
- * @param placementPolicyName Name of the VMware vSphere Distributed Resource Scheduler (DRS) placement policy.
- * @param placementPolicy A placement policy in the private cloud cluster.
+ * @param clusterName Name of the cluster.
+ * @param placementPolicyName Name of the placement policy.
+ * @param placementPolicy Resource create parameters.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -163,43 +149,35 @@ PlacementPolicyInner createOrUpdate(
* @return a vSphere Distributed Resource Scheduler (DRS) placement policy.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- PlacementPolicyInner createOrUpdate(
- String resourceGroupName,
- String privateCloudName,
- String clusterName,
- String placementPolicyName,
- PlacementPolicyInner placementPolicy,
- Context context);
+ PlacementPolicyInner createOrUpdate(String resourceGroupName, String privateCloudName, String clusterName,
+ String placementPolicyName, PlacementPolicyInner placementPolicy, Context context);
/**
- * Update a placement policy in a private cloud cluster.
- *
+ * Update a PlacementPolicy.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param clusterName Name of the cluster in the private cloud.
- * @param placementPolicyName Name of the VMware vSphere Distributed Resource Scheduler (DRS) placement policy.
- * @param placementPolicyUpdate The placement policy properties that may be updated.
+ * @param clusterName Name of the cluster.
+ * @param placementPolicyName Name of the placement policy.
+ * @param placementPolicyUpdate The placement policy properties to be updated.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the {@link SyncPoller} for polling of a vSphere Distributed Resource Scheduler (DRS) placement policy.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, PlacementPolicyInner> beginUpdate(
- String resourceGroupName,
- String privateCloudName,
- String clusterName,
- String placementPolicyName,
+ SyncPoller, PlacementPolicyInner> beginUpdate(String resourceGroupName,
+ String privateCloudName, String clusterName, String placementPolicyName,
PlacementPolicyUpdate placementPolicyUpdate);
/**
- * Update a placement policy in a private cloud cluster.
- *
+ * Update a PlacementPolicy.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param clusterName Name of the cluster in the private cloud.
- * @param placementPolicyName Name of the VMware vSphere Distributed Resource Scheduler (DRS) placement policy.
- * @param placementPolicyUpdate The placement policy properties that may be updated.
+ * @param clusterName Name of the cluster.
+ * @param placementPolicyName Name of the placement policy.
+ * @param placementPolicyUpdate The placement policy properties to be updated.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -207,43 +185,35 @@ SyncPoller, PlacementPolicyInner> beginUpdate(
* @return the {@link SyncPoller} for polling of a vSphere Distributed Resource Scheduler (DRS) placement policy.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, PlacementPolicyInner> beginUpdate(
- String resourceGroupName,
- String privateCloudName,
- String clusterName,
- String placementPolicyName,
- PlacementPolicyUpdate placementPolicyUpdate,
- Context context);
+ SyncPoller, PlacementPolicyInner> beginUpdate(String resourceGroupName,
+ String privateCloudName, String clusterName, String placementPolicyName,
+ PlacementPolicyUpdate placementPolicyUpdate, Context context);
/**
- * Update a placement policy in a private cloud cluster.
- *
+ * Update a PlacementPolicy.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param clusterName Name of the cluster in the private cloud.
- * @param placementPolicyName Name of the VMware vSphere Distributed Resource Scheduler (DRS) placement policy.
- * @param placementPolicyUpdate The placement policy properties that may be updated.
+ * @param clusterName Name of the cluster.
+ * @param placementPolicyName Name of the placement policy.
+ * @param placementPolicyUpdate The placement policy properties to be updated.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return a vSphere Distributed Resource Scheduler (DRS) placement policy.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- PlacementPolicyInner update(
- String resourceGroupName,
- String privateCloudName,
- String clusterName,
- String placementPolicyName,
- PlacementPolicyUpdate placementPolicyUpdate);
+ PlacementPolicyInner update(String resourceGroupName, String privateCloudName, String clusterName,
+ String placementPolicyName, PlacementPolicyUpdate placementPolicyUpdate);
/**
- * Update a placement policy in a private cloud cluster.
- *
+ * Update a PlacementPolicy.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param clusterName Name of the cluster in the private cloud.
- * @param placementPolicyName Name of the VMware vSphere Distributed Resource Scheduler (DRS) placement policy.
- * @param placementPolicyUpdate The placement policy properties that may be updated.
+ * @param clusterName Name of the cluster.
+ * @param placementPolicyName Name of the placement policy.
+ * @param placementPolicyUpdate The placement policy properties to be updated.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -251,37 +221,32 @@ PlacementPolicyInner update(
* @return a vSphere Distributed Resource Scheduler (DRS) placement policy.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- PlacementPolicyInner update(
- String resourceGroupName,
- String privateCloudName,
- String clusterName,
- String placementPolicyName,
- PlacementPolicyUpdate placementPolicyUpdate,
- Context context);
+ PlacementPolicyInner update(String resourceGroupName, String privateCloudName, String clusterName,
+ String placementPolicyName, PlacementPolicyUpdate placementPolicyUpdate, Context context);
/**
- * Delete a placement policy in a private cloud cluster.
- *
+ * Delete a PlacementPolicy.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param clusterName Name of the cluster in the private cloud.
- * @param placementPolicyName Name of the VMware vSphere Distributed Resource Scheduler (DRS) placement policy.
+ * @param clusterName Name of the cluster.
+ * @param placementPolicyName Name of the placement policy.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(
- String resourceGroupName, String privateCloudName, String clusterName, String placementPolicyName);
+ SyncPoller, Void> beginDelete(String resourceGroupName, String privateCloudName,
+ String clusterName, String placementPolicyName);
/**
- * Delete a placement policy in a private cloud cluster.
- *
+ * Delete a PlacementPolicy.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param clusterName Name of the cluster in the private cloud.
- * @param placementPolicyName Name of the VMware vSphere Distributed Resource Scheduler (DRS) placement policy.
+ * @param clusterName Name of the cluster.
+ * @param placementPolicyName Name of the placement policy.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -289,20 +254,16 @@ SyncPoller, Void> beginDelete(
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(
- String resourceGroupName,
- String privateCloudName,
- String clusterName,
- String placementPolicyName,
- Context context);
+ SyncPoller, Void> beginDelete(String resourceGroupName, String privateCloudName,
+ String clusterName, String placementPolicyName, Context context);
/**
- * Delete a placement policy in a private cloud cluster.
- *
+ * Delete a PlacementPolicy.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param clusterName Name of the cluster in the private cloud.
- * @param placementPolicyName Name of the VMware vSphere Distributed Resource Scheduler (DRS) placement policy.
+ * @param clusterName Name of the cluster.
+ * @param placementPolicyName Name of the placement policy.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -311,22 +272,18 @@ SyncPoller, Void> beginDelete(
void delete(String resourceGroupName, String privateCloudName, String clusterName, String placementPolicyName);
/**
- * Delete a placement policy in a private cloud cluster.
- *
+ * Delete a PlacementPolicy.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param clusterName Name of the cluster in the private cloud.
- * @param placementPolicyName Name of the VMware vSphere Distributed Resource Scheduler (DRS) placement policy.
+ * @param clusterName Name of the cluster.
+ * @param placementPolicyName Name of the placement policy.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void delete(
- String resourceGroupName,
- String privateCloudName,
- String clusterName,
- String placementPolicyName,
+ void delete(String resourceGroupName, String privateCloudName, String clusterName, String placementPolicyName,
Context context);
}
diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/PrivateCloudsClient.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/PrivateCloudsClient.java
index 35bb4483977c2..749f3460f4f54 100644
--- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/PrivateCloudsClient.java
+++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/PrivateCloudsClient.java
@@ -15,104 +15,106 @@
import com.azure.resourcemanager.avs.fluent.models.PrivateCloudInner;
import com.azure.resourcemanager.avs.models.PrivateCloudUpdate;
-/** An instance of this class provides access to all the operations defined in PrivateCloudsClient. */
+/**
+ * An instance of this class provides access to all the operations defined in PrivateCloudsClient.
+ */
public interface PrivateCloudsClient {
/**
- * List private clouds in a resource group.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * List PrivateCloud resources by subscription ID.
+ *
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a paged list of private clouds as paginated response with {@link PagedIterable}.
+ * @return the response of a PrivateCloud list operation as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByResourceGroup(String resourceGroupName);
+ PagedIterable list();
/**
- * List private clouds in a resource group.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * List PrivateCloud resources by subscription ID.
+ *
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a paged list of private clouds as paginated response with {@link PagedIterable}.
+ * @return the response of a PrivateCloud list operation as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByResourceGroup(String resourceGroupName, Context context);
+ PagedIterable list(Context context);
/**
- * List private clouds in a subscription.
- *
+ * List PrivateCloud resources by resource group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a paged list of private clouds as paginated response with {@link PagedIterable}.
+ * @return the response of a PrivateCloud list operation as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list();
+ PagedIterable listByResourceGroup(String resourceGroupName);
/**
- * List private clouds in a subscription.
- *
+ * List PrivateCloud resources by resource group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a paged list of private clouds as paginated response with {@link PagedIterable}.
+ * @return the response of a PrivateCloud list operation as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(Context context);
+ PagedIterable listByResourceGroup(String resourceGroupName, Context context);
/**
- * Get a private cloud.
- *
+ * Get a PrivateCloud.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a private cloud along with {@link Response}.
+ * @return a PrivateCloud along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getByResourceGroupWithResponse(
- String resourceGroupName, String privateCloudName, Context context);
+ Response getByResourceGroupWithResponse(String resourceGroupName, String privateCloudName,
+ Context context);
/**
- * Get a private cloud.
- *
+ * Get a PrivateCloud.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a private cloud.
+ * @return a PrivateCloud.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
PrivateCloudInner getByResourceGroup(String resourceGroupName, String privateCloudName);
/**
- * Create or update a private cloud.
- *
+ * Create a PrivateCloud.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param privateCloud The private cloud.
+ * @param privateCloud Resource create parameters.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the {@link SyncPoller} for polling of a private cloud resource.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, PrivateCloudInner> beginCreateOrUpdate(
- String resourceGroupName, String privateCloudName, PrivateCloudInner privateCloud);
+ SyncPoller, PrivateCloudInner> beginCreateOrUpdate(String resourceGroupName,
+ String privateCloudName, PrivateCloudInner privateCloud);
/**
- * Create or update a private cloud.
- *
+ * Create a PrivateCloud.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param privateCloud The private cloud.
+ * @param privateCloud Resource create parameters.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -120,15 +122,15 @@ SyncPoller, PrivateCloudInner> beginCreateOrUpdate
* @return the {@link SyncPoller} for polling of a private cloud resource.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, PrivateCloudInner> beginCreateOrUpdate(
- String resourceGroupName, String privateCloudName, PrivateCloudInner privateCloud, Context context);
+ SyncPoller, PrivateCloudInner> beginCreateOrUpdate(String resourceGroupName,
+ String privateCloudName, PrivateCloudInner privateCloud, Context context);
/**
- * Create or update a private cloud.
- *
+ * Create a PrivateCloud.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param privateCloud The private cloud.
+ * @param privateCloud Resource create parameters.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -138,11 +140,11 @@ SyncPoller, PrivateCloudInner> beginCreateOrUpdate
PrivateCloudInner createOrUpdate(String resourceGroupName, String privateCloudName, PrivateCloudInner privateCloud);
/**
- * Create or update a private cloud.
- *
+ * Create a PrivateCloud.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param privateCloud The private cloud.
+ * @param privateCloud Resource create parameters.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -150,12 +152,12 @@ SyncPoller, PrivateCloudInner> beginCreateOrUpdate
* @return a private cloud resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- PrivateCloudInner createOrUpdate(
- String resourceGroupName, String privateCloudName, PrivateCloudInner privateCloud, Context context);
+ PrivateCloudInner createOrUpdate(String resourceGroupName, String privateCloudName, PrivateCloudInner privateCloud,
+ Context context);
/**
- * Update a private cloud.
- *
+ * Update a PrivateCloud.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
* @param privateCloudUpdate The private cloud properties to be updated.
@@ -165,12 +167,12 @@ PrivateCloudInner createOrUpdate(
* @return the {@link SyncPoller} for polling of a private cloud resource.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, PrivateCloudInner> beginUpdate(
- String resourceGroupName, String privateCloudName, PrivateCloudUpdate privateCloudUpdate);
+ SyncPoller, PrivateCloudInner> beginUpdate(String resourceGroupName,
+ String privateCloudName, PrivateCloudUpdate privateCloudUpdate);
/**
- * Update a private cloud.
- *
+ * Update a PrivateCloud.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
* @param privateCloudUpdate The private cloud properties to be updated.
@@ -181,12 +183,12 @@ SyncPoller, PrivateCloudInner> beginUpdate(
* @return the {@link SyncPoller} for polling of a private cloud resource.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, PrivateCloudInner> beginUpdate(
- String resourceGroupName, String privateCloudName, PrivateCloudUpdate privateCloudUpdate, Context context);
+ SyncPoller, PrivateCloudInner> beginUpdate(String resourceGroupName,
+ String privateCloudName, PrivateCloudUpdate privateCloudUpdate, Context context);
/**
- * Update a private cloud.
- *
+ * Update a PrivateCloud.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
* @param privateCloudUpdate The private cloud properties to be updated.
@@ -199,8 +201,8 @@ SyncPoller, PrivateCloudInner> beginUpdate(
PrivateCloudInner update(String resourceGroupName, String privateCloudName, PrivateCloudUpdate privateCloudUpdate);
/**
- * Update a private cloud.
- *
+ * Update a PrivateCloud.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
* @param privateCloudUpdate The private cloud properties to be updated.
@@ -211,12 +213,12 @@ SyncPoller, PrivateCloudInner> beginUpdate(
* @return a private cloud resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- PrivateCloudInner update(
- String resourceGroupName, String privateCloudName, PrivateCloudUpdate privateCloudUpdate, Context context);
+ PrivateCloudInner update(String resourceGroupName, String privateCloudName, PrivateCloudUpdate privateCloudUpdate,
+ Context context);
/**
- * Delete a private cloud.
- *
+ * Delete a PrivateCloud.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -228,8 +230,8 @@ PrivateCloudInner update(
SyncPoller, Void> beginDelete(String resourceGroupName, String privateCloudName);
/**
- * Delete a private cloud.
- *
+ * Delete a PrivateCloud.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
* @param context The context to associate with this operation.
@@ -242,8 +244,8 @@ PrivateCloudInner update(
SyncPoller, Void> beginDelete(String resourceGroupName, String privateCloudName, Context context);
/**
- * Delete a private cloud.
- *
+ * Delete a PrivateCloud.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -254,8 +256,8 @@ PrivateCloudInner update(
void delete(String resourceGroupName, String privateCloudName);
/**
- * Delete a private cloud.
- *
+ * Delete a PrivateCloud.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
* @param context The context to associate with this operation.
@@ -267,136 +269,136 @@ PrivateCloudInner update(
void delete(String resourceGroupName, String privateCloudName, Context context);
/**
- * Rotate the vCenter password.
- *
+ * List the admin credentials for the private cloud.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of long-running operation.
+ * @return administrative credentials for accessing vCenter and NSX-T along with {@link Response}.
*/
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginRotateVcenterPassword(String resourceGroupName, String privateCloudName);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response listAdminCredentialsWithResponse(String resourceGroupName, String privateCloudName,
+ Context context);
/**
- * Rotate the vCenter password.
- *
+ * List the admin credentials for the private cloud.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of long-running operation.
+ * @return administrative credentials for accessing vCenter and NSX-T.
*/
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginRotateVcenterPassword(
- String resourceGroupName, String privateCloudName, Context context);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ AdminCredentialsInner listAdminCredentials(String resourceGroupName, String privateCloudName);
/**
- * Rotate the vCenter password.
- *
+ * Rotate the NSX-T Manager password.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- void rotateVcenterPassword(String resourceGroupName, String privateCloudName);
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginRotateNsxtPassword(String resourceGroupName, String privateCloudName);
/**
- * Rotate the vCenter password.
- *
+ * Rotate the NSX-T Manager password.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- void rotateVcenterPassword(String resourceGroupName, String privateCloudName, Context context);
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginRotateNsxtPassword(String resourceGroupName, String privateCloudName,
+ Context context);
/**
* Rotate the NSX-T Manager password.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of long-running operation.
*/
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginRotateNsxtPassword(String resourceGroupName, String privateCloudName);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void rotateNsxtPassword(String resourceGroupName, String privateCloudName);
/**
* Rotate the NSX-T Manager password.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of long-running operation.
*/
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginRotateNsxtPassword(
- String resourceGroupName, String privateCloudName, Context context);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void rotateNsxtPassword(String resourceGroupName, String privateCloudName, Context context);
/**
- * Rotate the NSX-T Manager password.
- *
+ * Rotate the vCenter password.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- void rotateNsxtPassword(String resourceGroupName, String privateCloudName);
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginRotateVcenterPassword(String resourceGroupName, String privateCloudName);
/**
- * Rotate the NSX-T Manager password.
- *
+ * Rotate the vCenter password.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- void rotateNsxtPassword(String resourceGroupName, String privateCloudName, Context context);
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginRotateVcenterPassword(String resourceGroupName, String privateCloudName,
+ Context context);
/**
- * List the admin credentials for the private cloud.
- *
+ * Rotate the vCenter password.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return administrative credentials for accessing vCenter and NSX-T along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response listAdminCredentialsWithResponse(
- String resourceGroupName, String privateCloudName, Context context);
+ void rotateVcenterPassword(String resourceGroupName, String privateCloudName);
/**
- * List the admin credentials for the private cloud.
- *
+ * Rotate the vCenter password.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return administrative credentials for accessing vCenter and NSX-T.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- AdminCredentialsInner listAdminCredentials(String resourceGroupName, String privateCloudName);
+ void rotateVcenterPassword(String resourceGroupName, String privateCloudName, Context context);
}
diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/ScriptCmdletsClient.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/ScriptCmdletsClient.java
index dcd10a29ff642..1cd9ca32de8db 100644
--- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/ScriptCmdletsClient.java
+++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/ScriptCmdletsClient.java
@@ -11,74 +11,70 @@
import com.azure.core.util.Context;
import com.azure.resourcemanager.avs.fluent.models.ScriptCmdletInner;
-/** An instance of this class provides access to all the operations defined in ScriptCmdletsClient. */
+/**
+ * An instance of this class provides access to all the operations defined in ScriptCmdletsClient.
+ */
public interface ScriptCmdletsClient {
/**
- * List script cmdlet resources available for a private cloud to create a script execution resource on a private
- * cloud.
- *
+ * List ScriptCmdlet resources by ScriptPackage.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param scriptPackageName Name of the script package in the private cloud.
+ * @param scriptPackageName Name of the script package.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return pageable list of scripts/cmdlets as paginated response with {@link PagedIterable}.
+ * @return the response of a ScriptCmdlet list operation as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list(String resourceGroupName, String privateCloudName, String scriptPackageName);
/**
- * List script cmdlet resources available for a private cloud to create a script execution resource on a private
- * cloud.
- *
+ * List ScriptCmdlet resources by ScriptPackage.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param scriptPackageName Name of the script package in the private cloud.
+ * @param scriptPackageName Name of the script package.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return pageable list of scripts/cmdlets as paginated response with {@link PagedIterable}.
+ * @return the response of a ScriptCmdlet list operation as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(
- String resourceGroupName, String privateCloudName, String scriptPackageName, Context context);
+ PagedIterable list(String resourceGroupName, String privateCloudName, String scriptPackageName,
+ Context context);
/**
- * Return information about a script cmdlet resource in a specific package on a private cloud.
- *
+ * Get a ScriptCmdlet.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param scriptPackageName Name of the script package in the private cloud.
- * @param scriptCmdletName Name of the script cmdlet resource in the script package in the private cloud.
+ * @param scriptPackageName Name of the script package.
+ * @param scriptCmdletName Name of the script cmdlet.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a cmdlet available for script execution along with {@link Response}.
+ * @return a ScriptCmdlet along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceGroupName,
- String privateCloudName,
- String scriptPackageName,
- String scriptCmdletName,
- Context context);
+ Response getWithResponse(String resourceGroupName, String privateCloudName,
+ String scriptPackageName, String scriptCmdletName, Context context);
/**
- * Return information about a script cmdlet resource in a specific package on a private cloud.
- *
+ * Get a ScriptCmdlet.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param scriptPackageName Name of the script package in the private cloud.
- * @param scriptCmdletName Name of the script cmdlet resource in the script package in the private cloud.
+ * @param scriptPackageName Name of the script package.
+ * @param scriptCmdletName Name of the script cmdlet.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a cmdlet available for script execution.
+ * @return a ScriptCmdlet.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- ScriptCmdletInner get(
- String resourceGroupName, String privateCloudName, String scriptPackageName, String scriptCmdletName);
+ ScriptCmdletInner get(String resourceGroupName, String privateCloudName, String scriptPackageName,
+ String scriptCmdletName);
}
diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/ScriptExecutionsClient.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/ScriptExecutionsClient.java
index 3771d9787c94f..f4776b2d7f700 100644
--- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/ScriptExecutionsClient.java
+++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/ScriptExecutionsClient.java
@@ -15,91 +15,90 @@
import com.azure.resourcemanager.avs.models.ScriptOutputStreamType;
import java.util.List;
-/** An instance of this class provides access to all the operations defined in ScriptExecutionsClient. */
+/**
+ * An instance of this class provides access to all the operations defined in ScriptExecutionsClient.
+ */
public interface ScriptExecutionsClient {
/**
- * List script executions in a private cloud.
- *
+ * List ScriptExecution resources by PrivateCloud.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return pageable list of script executions as paginated response with {@link PagedIterable}.
+ * @return the response of a ScriptExecution list operation as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list(String resourceGroupName, String privateCloudName);
/**
- * List script executions in a private cloud.
- *
+ * List ScriptExecution resources by PrivateCloud.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return pageable list of script executions as paginated response with {@link PagedIterable}.
+ * @return the response of a ScriptExecution list operation as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list(String resourceGroupName, String privateCloudName, Context context);
/**
- * Get an script execution by name in a private cloud.
- *
+ * Get a ScriptExecution.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param scriptExecutionName Name of the user-invoked script execution resource.
+ * @param scriptExecutionName Name of the script cmdlet.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an script execution by name in a private cloud along with {@link Response}.
+ * @return a ScriptExecution along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceGroupName, String privateCloudName, String scriptExecutionName, Context context);
+ Response getWithResponse(String resourceGroupName, String privateCloudName,
+ String scriptExecutionName, Context context);
/**
- * Get an script execution by name in a private cloud.
- *
+ * Get a ScriptExecution.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param scriptExecutionName Name of the user-invoked script execution resource.
+ * @param scriptExecutionName Name of the script cmdlet.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an script execution by name in a private cloud.
+ * @return a ScriptExecution.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
ScriptExecutionInner get(String resourceGroupName, String privateCloudName, String scriptExecutionName);
/**
- * Create or update a script execution in a private cloud.
- *
+ * Create a ScriptExecution.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param privateCloudName The name of the private cloud.
- * @param scriptExecutionName Name of the user-invoked script execution resource.
- * @param scriptExecution A script running in the private cloud.
+ * @param privateCloudName Name of the private cloud.
+ * @param scriptExecutionName Name of the script cmdlet.
+ * @param scriptExecution Resource create parameters.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the {@link SyncPoller} for polling of an instance of a script executed by a user - custom or AVS.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, ScriptExecutionInner> beginCreateOrUpdate(
- String resourceGroupName,
- String privateCloudName,
- String scriptExecutionName,
- ScriptExecutionInner scriptExecution);
+ SyncPoller, ScriptExecutionInner> beginCreateOrUpdate(String resourceGroupName,
+ String privateCloudName, String scriptExecutionName, ScriptExecutionInner scriptExecution);
/**
- * Create or update a script execution in a private cloud.
- *
+ * Create a ScriptExecution.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param privateCloudName The name of the private cloud.
- * @param scriptExecutionName Name of the user-invoked script execution resource.
- * @param scriptExecution A script running in the private cloud.
+ * @param privateCloudName Name of the private cloud.
+ * @param scriptExecutionName Name of the script cmdlet.
+ * @param scriptExecution Resource create parameters.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -107,39 +106,32 @@ SyncPoller, ScriptExecutionInner> beginCreateOr
* @return the {@link SyncPoller} for polling of an instance of a script executed by a user - custom or AVS.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, ScriptExecutionInner> beginCreateOrUpdate(
- String resourceGroupName,
- String privateCloudName,
- String scriptExecutionName,
- ScriptExecutionInner scriptExecution,
- Context context);
+ SyncPoller, ScriptExecutionInner> beginCreateOrUpdate(String resourceGroupName,
+ String privateCloudName, String scriptExecutionName, ScriptExecutionInner scriptExecution, Context context);
/**
- * Create or update a script execution in a private cloud.
- *
+ * Create a ScriptExecution.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param privateCloudName The name of the private cloud.
- * @param scriptExecutionName Name of the user-invoked script execution resource.
- * @param scriptExecution A script running in the private cloud.
+ * @param privateCloudName Name of the private cloud.
+ * @param scriptExecutionName Name of the script cmdlet.
+ * @param scriptExecution Resource create parameters.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return an instance of a script executed by a user - custom or AVS.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- ScriptExecutionInner createOrUpdate(
- String resourceGroupName,
- String privateCloudName,
- String scriptExecutionName,
+ ScriptExecutionInner createOrUpdate(String resourceGroupName, String privateCloudName, String scriptExecutionName,
ScriptExecutionInner scriptExecution);
/**
- * Create or update a script execution in a private cloud.
- *
+ * Create a ScriptExecution.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param privateCloudName The name of the private cloud.
- * @param scriptExecutionName Name of the user-invoked script execution resource.
- * @param scriptExecution A script running in the private cloud.
+ * @param privateCloudName Name of the private cloud.
+ * @param scriptExecutionName Name of the script cmdlet.
+ * @param scriptExecution Resource create parameters.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -147,34 +139,30 @@ ScriptExecutionInner createOrUpdate(
* @return an instance of a script executed by a user - custom or AVS.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- ScriptExecutionInner createOrUpdate(
- String resourceGroupName,
- String privateCloudName,
- String scriptExecutionName,
- ScriptExecutionInner scriptExecution,
- Context context);
+ ScriptExecutionInner createOrUpdate(String resourceGroupName, String privateCloudName, String scriptExecutionName,
+ ScriptExecutionInner scriptExecution, Context context);
/**
- * Cancel a ScriptExecution in a private cloud.
- *
+ * Delete a ScriptExecution.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param scriptExecutionName Name of the user-invoked script execution resource.
+ * @param scriptExecutionName Name of the script cmdlet.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(
- String resourceGroupName, String privateCloudName, String scriptExecutionName);
+ SyncPoller, Void> beginDelete(String resourceGroupName, String privateCloudName,
+ String scriptExecutionName);
/**
- * Cancel a ScriptExecution in a private cloud.
- *
+ * Delete a ScriptExecution.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param scriptExecutionName Name of the user-invoked script execution resource.
+ * @param scriptExecutionName Name of the script cmdlet.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -182,15 +170,15 @@ SyncPoller, Void> beginDelete(
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(
- String resourceGroupName, String privateCloudName, String scriptExecutionName, Context context);
+ SyncPoller, Void> beginDelete(String resourceGroupName, String privateCloudName,
+ String scriptExecutionName, Context context);
/**
- * Cancel a ScriptExecution in a private cloud.
- *
+ * Delete a ScriptExecution.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param scriptExecutionName Name of the user-invoked script execution resource.
+ * @param scriptExecutionName Name of the script cmdlet.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -199,11 +187,11 @@ SyncPoller, Void> beginDelete(
void delete(String resourceGroupName, String privateCloudName, String scriptExecutionName);
/**
- * Cancel a ScriptExecution in a private cloud.
- *
+ * Delete a ScriptExecution.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param scriptExecutionName Name of the user-invoked script execution resource.
+ * @param scriptExecutionName Name of the script cmdlet.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -214,12 +202,12 @@ SyncPoller, Void> beginDelete(
/**
* Return the logs for a script execution resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param scriptExecutionName Name of the user-invoked script execution resource.
+ * @param scriptExecutionName Name of the script cmdlet.
* @param scriptOutputStreamType Name of the desired output stream to return. If not provided, will return all. An
- * empty array will return nothing.
+ * empty array will return nothing.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -227,25 +215,21 @@ SyncPoller, Void> beginDelete(
* @return an instance of a script executed by a user - custom or AVS along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getExecutionLogsWithResponse(
- String resourceGroupName,
- String privateCloudName,
- String scriptExecutionName,
- List scriptOutputStreamType,
- Context context);
+ Response getExecutionLogsWithResponse(String resourceGroupName, String privateCloudName,
+ String scriptExecutionName, List scriptOutputStreamType, Context context);
/**
* Return the logs for a script execution resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param scriptExecutionName Name of the user-invoked script execution resource.
+ * @param scriptExecutionName Name of the script cmdlet.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return an instance of a script executed by a user - custom or AVS.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- ScriptExecutionInner getExecutionLogs(
- String resourceGroupName, String privateCloudName, String scriptExecutionName);
+ ScriptExecutionInner getExecutionLogs(String resourceGroupName, String privateCloudName,
+ String scriptExecutionName);
}
diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/ScriptPackagesClient.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/ScriptPackagesClient.java
index fc101fbe0aee8..b5b2ef561f8e3 100644
--- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/ScriptPackagesClient.java
+++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/ScriptPackagesClient.java
@@ -11,61 +11,63 @@
import com.azure.core.util.Context;
import com.azure.resourcemanager.avs.fluent.models.ScriptPackageInner;
-/** An instance of this class provides access to all the operations defined in ScriptPackagesClient. */
+/**
+ * An instance of this class provides access to all the operations defined in ScriptPackagesClient.
+ */
public interface ScriptPackagesClient {
/**
- * List script packages available to run on the private cloud.
- *
+ * List ScriptPackage resources by PrivateCloud.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a list of the available script packages as paginated response with {@link PagedIterable}.
+ * @return the response of a ScriptPackage list operation as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list(String resourceGroupName, String privateCloudName);
/**
- * List script packages available to run on the private cloud.
- *
+ * List ScriptPackage resources by PrivateCloud.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a list of the available script packages as paginated response with {@link PagedIterable}.
+ * @return the response of a ScriptPackage list operation as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list(String resourceGroupName, String privateCloudName, Context context);
/**
- * Get a script package available to run on a private cloud.
- *
+ * Get a ScriptPackage.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param scriptPackageName Name of the script package in the private cloud.
+ * @param scriptPackageName Name of the script package.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a script package available to run on a private cloud along with {@link Response}.
+ * @return a ScriptPackage along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceGroupName, String privateCloudName, String scriptPackageName, Context context);
+ Response getWithResponse(String resourceGroupName, String privateCloudName,
+ String scriptPackageName, Context context);
/**
- * Get a script package available to run on a private cloud.
- *
+ * Get a ScriptPackage.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param scriptPackageName Name of the script package in the private cloud.
+ * @param scriptPackageName Name of the script package.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a script package available to run on a private cloud.
+ * @return a ScriptPackage.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
ScriptPackageInner get(String resourceGroupName, String privateCloudName, String scriptPackageName);
diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/VirtualMachinesClient.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/VirtualMachinesClient.java
index fc52260fdceed..3b7548a5c8ec4 100644
--- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/VirtualMachinesClient.java
+++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/VirtualMachinesClient.java
@@ -14,104 +14,98 @@
import com.azure.resourcemanager.avs.fluent.models.VirtualMachineInner;
import com.azure.resourcemanager.avs.models.VirtualMachineRestrictMovement;
-/** An instance of this class provides access to all the operations defined in VirtualMachinesClient. */
+/**
+ * An instance of this class provides access to all the operations defined in VirtualMachinesClient.
+ */
public interface VirtualMachinesClient {
/**
- * List of virtual machines in a private cloud cluster.
- *
+ * List VirtualMachine resources by Cluster.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param clusterName Name of the cluster in the private cloud.
+ * @param clusterName Name of the cluster.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a list of Virtual Machines as paginated response with {@link PagedIterable}.
+ * @return the response of a VirtualMachine list operation as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list(String resourceGroupName, String privateCloudName, String clusterName);
/**
- * List of virtual machines in a private cloud cluster.
- *
+ * List VirtualMachine resources by Cluster.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param clusterName Name of the cluster in the private cloud.
+ * @param clusterName Name of the cluster.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a list of Virtual Machines as paginated response with {@link PagedIterable}.
+ * @return the response of a VirtualMachine list operation as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(
- String resourceGroupName, String privateCloudName, String clusterName, Context context);
+ PagedIterable list(String resourceGroupName, String privateCloudName, String clusterName,
+ Context context);
/**
- * Get a virtual machine by id in a private cloud cluster.
- *
+ * Get a VirtualMachine.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param clusterName Name of the cluster in the private cloud.
- * @param virtualMachineId Virtual Machine identifier.
+ * @param clusterName Name of the cluster.
+ * @param virtualMachineId ID of the virtual machine.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a virtual machine by id in a private cloud cluster along with {@link Response}.
+ * @return a VirtualMachine along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceGroupName,
- String privateCloudName,
- String clusterName,
- String virtualMachineId,
- Context context);
+ Response getWithResponse(String resourceGroupName, String privateCloudName, String clusterName,
+ String virtualMachineId, Context context);
/**
- * Get a virtual machine by id in a private cloud cluster.
- *
+ * Get a VirtualMachine.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param clusterName Name of the cluster in the private cloud.
- * @param virtualMachineId Virtual Machine identifier.
+ * @param clusterName Name of the cluster.
+ * @param virtualMachineId ID of the virtual machine.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a virtual machine by id in a private cloud cluster.
+ * @return a VirtualMachine.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- VirtualMachineInner get(
- String resourceGroupName, String privateCloudName, String clusterName, String virtualMachineId);
+ VirtualMachineInner get(String resourceGroupName, String privateCloudName, String clusterName,
+ String virtualMachineId);
/**
* Enable or disable DRS-driven VM movement restriction.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param clusterName Name of the cluster in the private cloud.
- * @param virtualMachineId Virtual Machine identifier.
- * @param restrictMovement Whether VM DRS-driven movement is restricted (Enabled) or not (Disabled).
+ * @param clusterName Name of the cluster.
+ * @param virtualMachineId ID of the virtual machine.
+ * @param restrictMovement The body type of the operation request.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginRestrictMovement(
- String resourceGroupName,
- String privateCloudName,
- String clusterName,
- String virtualMachineId,
- VirtualMachineRestrictMovement restrictMovement);
+ SyncPoller, Void> beginRestrictMovement(String resourceGroupName, String privateCloudName,
+ String clusterName, String virtualMachineId, VirtualMachineRestrictMovement restrictMovement);
/**
* Enable or disable DRS-driven VM movement restriction.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param clusterName Name of the cluster in the private cloud.
- * @param virtualMachineId Virtual Machine identifier.
- * @param restrictMovement Whether VM DRS-driven movement is restricted (Enabled) or not (Disabled).
+ * @param clusterName Name of the cluster.
+ * @param virtualMachineId ID of the virtual machine.
+ * @param restrictMovement The body type of the operation request.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -119,53 +113,39 @@ SyncPoller, Void> beginRestrictMovement(
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginRestrictMovement(
- String resourceGroupName,
- String privateCloudName,
- String clusterName,
- String virtualMachineId,
- VirtualMachineRestrictMovement restrictMovement,
- Context context);
+ SyncPoller, Void> beginRestrictMovement(String resourceGroupName, String privateCloudName,
+ String clusterName, String virtualMachineId, VirtualMachineRestrictMovement restrictMovement, Context context);
/**
* Enable or disable DRS-driven VM movement restriction.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param clusterName Name of the cluster in the private cloud.
- * @param virtualMachineId Virtual Machine identifier.
- * @param restrictMovement Whether VM DRS-driven movement is restricted (Enabled) or not (Disabled).
+ * @param clusterName Name of the cluster.
+ * @param virtualMachineId ID of the virtual machine.
+ * @param restrictMovement The body type of the operation request.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void restrictMovement(
- String resourceGroupName,
- String privateCloudName,
- String clusterName,
- String virtualMachineId,
- VirtualMachineRestrictMovement restrictMovement);
+ void restrictMovement(String resourceGroupName, String privateCloudName, String clusterName,
+ String virtualMachineId, VirtualMachineRestrictMovement restrictMovement);
/**
* Enable or disable DRS-driven VM movement restriction.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param clusterName Name of the cluster in the private cloud.
- * @param virtualMachineId Virtual Machine identifier.
- * @param restrictMovement Whether VM DRS-driven movement is restricted (Enabled) or not (Disabled).
+ * @param clusterName Name of the cluster.
+ * @param virtualMachineId ID of the virtual machine.
+ * @param restrictMovement The body type of the operation request.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void restrictMovement(
- String resourceGroupName,
- String privateCloudName,
- String clusterName,
- String virtualMachineId,
- VirtualMachineRestrictMovement restrictMovement,
- Context context);
+ void restrictMovement(String resourceGroupName, String privateCloudName, String clusterName,
+ String virtualMachineId, VirtualMachineRestrictMovement restrictMovement, Context context);
}
diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/WorkloadNetworksClient.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/WorkloadNetworksClient.java
index 51ede42b52bc2..35a855e113ddb 100644
--- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/WorkloadNetworksClient.java
+++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/WorkloadNetworksClient.java
@@ -21,307 +21,282 @@
import com.azure.resourcemanager.avs.fluent.models.WorkloadNetworkSegmentInner;
import com.azure.resourcemanager.avs.fluent.models.WorkloadNetworkVMGroupInner;
import com.azure.resourcemanager.avs.fluent.models.WorkloadNetworkVirtualMachineInner;
-import com.azure.resourcemanager.avs.models.WorkloadNetworkName;
-
-/** An instance of this class provides access to all the operations defined in WorkloadNetworksClient. */
+import com.azure.resourcemanager.avs.models.WorkloadNetworkDhcpUpdate;
+import com.azure.resourcemanager.avs.models.WorkloadNetworkDnsServiceUpdate;
+import com.azure.resourcemanager.avs.models.WorkloadNetworkDnsZoneUpdate;
+import com.azure.resourcemanager.avs.models.WorkloadNetworkPortMirroringUpdate;
+import com.azure.resourcemanager.avs.models.WorkloadNetworkSegmentUpdate;
+import com.azure.resourcemanager.avs.models.WorkloadNetworkVMGroupUpdate;
+
+/**
+ * An instance of this class provides access to all the operations defined in WorkloadNetworksClient.
+ */
public interface WorkloadNetworksClient {
/**
- * Get a private cloud workload network.
- *
+ * List WorkloadNetwork resources by PrivateCloud.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param workloadNetworkName Name for the workload network in the private cloud.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a private cloud workload network along with {@link Response}.
+ * @return the response of a WorkloadNetwork list operation as paginated response with {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceGroupName, String privateCloudName, WorkloadNetworkName workloadNetworkName, Context context);
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String privateCloudName);
/**
- * Get a private cloud workload network.
- *
+ * List WorkloadNetwork resources by PrivateCloud.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param workloadNetworkName Name for the workload network in the private cloud.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a private cloud workload network.
+ * @return the response of a WorkloadNetwork list operation as paginated response with {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- WorkloadNetworkInner get(
- String resourceGroupName, String privateCloudName, WorkloadNetworkName workloadNetworkName);
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String privateCloudName, Context context);
/**
- * List of workload networks in a private cloud.
- *
+ * Get a WorkloadNetwork.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a list of workload networks as paginated response with {@link PagedIterable}.
+ * @return a WorkloadNetwork along with {@link Response}.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String privateCloudName);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String resourceGroupName, String privateCloudName, Context context);
/**
- * List of workload networks in a private cloud.
- *
+ * Get a WorkloadNetwork.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a list of workload networks as paginated response with {@link PagedIterable}.
+ * @return a WorkloadNetwork.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String privateCloudName, Context context);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ WorkloadNetworkInner get(String resourceGroupName, String privateCloudName);
/**
- * List of segments in a private cloud workload network.
- *
+ * List WorkloadNetworkDhcp resources by WorkloadNetwork.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a list of NSX Segments as paginated response with {@link PagedIterable}.
+ * @return the response of a WorkloadNetworkDhcp list operation as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listSegments(String resourceGroupName, String privateCloudName);
+ PagedIterable listDhcp(String resourceGroupName, String privateCloudName);
/**
- * List of segments in a private cloud workload network.
- *
+ * List WorkloadNetworkDhcp resources by WorkloadNetwork.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a list of NSX Segments as paginated response with {@link PagedIterable}.
+ * @return the response of a WorkloadNetworkDhcp list operation as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listSegments(
- String resourceGroupName, String privateCloudName, Context context);
+ PagedIterable listDhcp(String resourceGroupName, String privateCloudName,
+ Context context);
/**
- * Get a segment by id in a private cloud workload network.
- *
+ * Get a WorkloadNetworkDhcp.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param dhcpId The ID of the DHCP configuration.
* @param privateCloudName Name of the private cloud.
- * @param segmentId NSX Segment identifier. Generally the same as the Segment's display name.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a segment by id in a private cloud workload network along with {@link Response}.
+ * @return a WorkloadNetworkDhcp along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getSegmentWithResponse(
- String resourceGroupName, String privateCloudName, String segmentId, Context context);
+ Response getDhcpWithResponse(String resourceGroupName, String dhcpId,
+ String privateCloudName, Context context);
/**
- * Get a segment by id in a private cloud workload network.
- *
+ * Get a WorkloadNetworkDhcp.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param dhcpId The ID of the DHCP configuration.
* @param privateCloudName Name of the private cloud.
- * @param segmentId NSX Segment identifier. Generally the same as the Segment's display name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a segment by id in a private cloud workload network.
+ * @return a WorkloadNetworkDhcp.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- WorkloadNetworkSegmentInner getSegment(String resourceGroupName, String privateCloudName, String segmentId);
+ WorkloadNetworkDhcpInner getDhcp(String resourceGroupName, String dhcpId, String privateCloudName);
/**
- * Create a segment by id in a private cloud workload network.
- *
+ * Create a WorkloadNetworkDhcp.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param segmentId NSX Segment identifier. Generally the same as the Segment's display name.
- * @param workloadNetworkSegment NSX Segment.
+ * @param dhcpId The ID of the DHCP configuration.
+ * @param workloadNetworkDhcp Resource create parameters.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of nSX Segment.
+ * @return the {@link SyncPoller} for polling of nSX DHCP.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, WorkloadNetworkSegmentInner> beginCreateSegments(
- String resourceGroupName,
- String privateCloudName,
- String segmentId,
- WorkloadNetworkSegmentInner workloadNetworkSegment);
+ SyncPoller, WorkloadNetworkDhcpInner> beginCreateDhcp(String resourceGroupName,
+ String privateCloudName, String dhcpId, WorkloadNetworkDhcpInner workloadNetworkDhcp);
/**
- * Create a segment by id in a private cloud workload network.
- *
+ * Create a WorkloadNetworkDhcp.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param segmentId NSX Segment identifier. Generally the same as the Segment's display name.
- * @param workloadNetworkSegment NSX Segment.
+ * @param dhcpId The ID of the DHCP configuration.
+ * @param workloadNetworkDhcp Resource create parameters.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of nSX Segment.
+ * @return the {@link SyncPoller} for polling of nSX DHCP.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, WorkloadNetworkSegmentInner> beginCreateSegments(
- String resourceGroupName,
- String privateCloudName,
- String segmentId,
- WorkloadNetworkSegmentInner workloadNetworkSegment,
- Context context);
+ SyncPoller, WorkloadNetworkDhcpInner> beginCreateDhcp(String resourceGroupName,
+ String privateCloudName, String dhcpId, WorkloadNetworkDhcpInner workloadNetworkDhcp, Context context);
/**
- * Create a segment by id in a private cloud workload network.
- *
+ * Create a WorkloadNetworkDhcp.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param segmentId NSX Segment identifier. Generally the same as the Segment's display name.
- * @param workloadNetworkSegment NSX Segment.
+ * @param dhcpId The ID of the DHCP configuration.
+ * @param workloadNetworkDhcp Resource create parameters.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return nSX Segment.
+ * @return nSX DHCP.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- WorkloadNetworkSegmentInner createSegments(
- String resourceGroupName,
- String privateCloudName,
- String segmentId,
- WorkloadNetworkSegmentInner workloadNetworkSegment);
+ WorkloadNetworkDhcpInner createDhcp(String resourceGroupName, String privateCloudName, String dhcpId,
+ WorkloadNetworkDhcpInner workloadNetworkDhcp);
/**
- * Create a segment by id in a private cloud workload network.
- *
+ * Create a WorkloadNetworkDhcp.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param segmentId NSX Segment identifier. Generally the same as the Segment's display name.
- * @param workloadNetworkSegment NSX Segment.
+ * @param dhcpId The ID of the DHCP configuration.
+ * @param workloadNetworkDhcp Resource create parameters.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return nSX Segment.
+ * @return nSX DHCP.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- WorkloadNetworkSegmentInner createSegments(
- String resourceGroupName,
- String privateCloudName,
- String segmentId,
- WorkloadNetworkSegmentInner workloadNetworkSegment,
- Context context);
+ WorkloadNetworkDhcpInner createDhcp(String resourceGroupName, String privateCloudName, String dhcpId,
+ WorkloadNetworkDhcpInner workloadNetworkDhcp, Context context);
/**
- * Create or update a segment by id in a private cloud workload network.
- *
+ * Update a WorkloadNetworkDhcp.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param segmentId NSX Segment identifier. Generally the same as the Segment's display name.
- * @param workloadNetworkSegment NSX Segment.
+ * @param dhcpId The ID of the DHCP configuration.
+ * @param workloadNetworkDhcp The resource properties to be updated.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of nSX Segment.
+ * @return the {@link SyncPoller} for polling of nSX DHCP.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, WorkloadNetworkSegmentInner> beginUpdateSegments(
- String resourceGroupName,
- String privateCloudName,
- String segmentId,
- WorkloadNetworkSegmentInner workloadNetworkSegment);
+ SyncPoller, WorkloadNetworkDhcpInner> beginUpdateDhcp(String resourceGroupName,
+ String privateCloudName, String dhcpId, WorkloadNetworkDhcpUpdate workloadNetworkDhcp);
/**
- * Create or update a segment by id in a private cloud workload network.
- *
+ * Update a WorkloadNetworkDhcp.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param segmentId NSX Segment identifier. Generally the same as the Segment's display name.
- * @param workloadNetworkSegment NSX Segment.
+ * @param dhcpId The ID of the DHCP configuration.
+ * @param workloadNetworkDhcp The resource properties to be updated.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of nSX Segment.
+ * @return the {@link SyncPoller} for polling of nSX DHCP.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, WorkloadNetworkSegmentInner> beginUpdateSegments(
- String resourceGroupName,
- String privateCloudName,
- String segmentId,
- WorkloadNetworkSegmentInner workloadNetworkSegment,
- Context context);
+ SyncPoller, WorkloadNetworkDhcpInner> beginUpdateDhcp(String resourceGroupName,
+ String privateCloudName, String dhcpId, WorkloadNetworkDhcpUpdate workloadNetworkDhcp, Context context);
/**
- * Create or update a segment by id in a private cloud workload network.
- *
+ * Update a WorkloadNetworkDhcp.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param segmentId NSX Segment identifier. Generally the same as the Segment's display name.
- * @param workloadNetworkSegment NSX Segment.
+ * @param dhcpId The ID of the DHCP configuration.
+ * @param workloadNetworkDhcp The resource properties to be updated.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return nSX Segment.
+ * @return nSX DHCP.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- WorkloadNetworkSegmentInner updateSegments(
- String resourceGroupName,
- String privateCloudName,
- String segmentId,
- WorkloadNetworkSegmentInner workloadNetworkSegment);
+ WorkloadNetworkDhcpInner updateDhcp(String resourceGroupName, String privateCloudName, String dhcpId,
+ WorkloadNetworkDhcpUpdate workloadNetworkDhcp);
/**
- * Create or update a segment by id in a private cloud workload network.
- *
+ * Update a WorkloadNetworkDhcp.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param segmentId NSX Segment identifier. Generally the same as the Segment's display name.
- * @param workloadNetworkSegment NSX Segment.
+ * @param dhcpId The ID of the DHCP configuration.
+ * @param workloadNetworkDhcp The resource properties to be updated.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return nSX Segment.
+ * @return nSX DHCP.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- WorkloadNetworkSegmentInner updateSegments(
- String resourceGroupName,
- String privateCloudName,
- String segmentId,
- WorkloadNetworkSegmentInner workloadNetworkSegment,
- Context context);
+ WorkloadNetworkDhcpInner updateDhcp(String resourceGroupName, String privateCloudName, String dhcpId,
+ WorkloadNetworkDhcpUpdate workloadNetworkDhcp, Context context);
/**
- * Delete a segment by id in a private cloud workload network.
- *
+ * Delete a WorkloadNetworkDhcp.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param segmentId NSX Segment identifier. Generally the same as the Segment's display name.
+ * @param dhcpId The ID of the DHCP configuration.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDeleteSegment(
- String resourceGroupName, String privateCloudName, String segmentId);
+ SyncPoller, Void> beginDeleteDhcp(String resourceGroupName, String privateCloudName,
+ String dhcpId);
/**
- * Delete a segment by id in a private cloud workload network.
- *
+ * Delete a WorkloadNetworkDhcp.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param segmentId NSX Segment identifier. Generally the same as the Segment's display name.
+ * @param dhcpId The ID of the DHCP configuration.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -329,263 +304,254 @@ SyncPoller, Void> beginDeleteSegment(
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDeleteSegment(
- String resourceGroupName, String privateCloudName, String segmentId, Context context);
+ SyncPoller, Void> beginDeleteDhcp(String resourceGroupName, String privateCloudName, String dhcpId,
+ Context context);
/**
- * Delete a segment by id in a private cloud workload network.
- *
+ * Delete a WorkloadNetworkDhcp.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param segmentId NSX Segment identifier. Generally the same as the Segment's display name.
+ * @param dhcpId The ID of the DHCP configuration.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void deleteSegment(String resourceGroupName, String privateCloudName, String segmentId);
+ void deleteDhcp(String resourceGroupName, String privateCloudName, String dhcpId);
/**
- * Delete a segment by id in a private cloud workload network.
- *
+ * Delete a WorkloadNetworkDhcp.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param segmentId NSX Segment identifier. Generally the same as the Segment's display name.
+ * @param dhcpId The ID of the DHCP configuration.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void deleteSegment(String resourceGroupName, String privateCloudName, String segmentId, Context context);
+ void deleteDhcp(String resourceGroupName, String privateCloudName, String dhcpId, Context context);
/**
- * List dhcp in a private cloud workload network.
- *
+ * List WorkloadNetworkDnsService resources by WorkloadNetwork.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a list of NSX dhcp entities as paginated response with {@link PagedIterable}.
+ * @return the response of a WorkloadNetworkDnsService list operation as paginated response with
+ * {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listDhcp(String resourceGroupName, String privateCloudName);
+ PagedIterable listDnsServices(String resourceGroupName, String privateCloudName);
/**
- * List dhcp in a private cloud workload network.
- *
+ * List WorkloadNetworkDnsService resources by WorkloadNetwork.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a list of NSX dhcp entities as paginated response with {@link PagedIterable}.
+ * @return the response of a WorkloadNetworkDnsService list operation as paginated response with
+ * {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listDhcp(
- String resourceGroupName, String privateCloudName, Context context);
+ PagedIterable listDnsServices(String resourceGroupName, String privateCloudName,
+ Context context);
/**
- * Get dhcp by id in a private cloud workload network.
- *
+ * Get a WorkloadNetworkDnsService.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param dhcpId NSX DHCP identifier. Generally the same as the DHCP display name.
* @param privateCloudName Name of the private cloud.
+ * @param dnsServiceId ID of the DNS service.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return dhcp by id in a private cloud workload network along with {@link Response}.
+ * @return a WorkloadNetworkDnsService along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getDhcpWithResponse(
- String resourceGroupName, String dhcpId, String privateCloudName, Context context);
+ Response getDnsServiceWithResponse(String resourceGroupName,
+ String privateCloudName, String dnsServiceId, Context context);
/**
- * Get dhcp by id in a private cloud workload network.
- *
+ * Get a WorkloadNetworkDnsService.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param dhcpId NSX DHCP identifier. Generally the same as the DHCP display name.
* @param privateCloudName Name of the private cloud.
+ * @param dnsServiceId ID of the DNS service.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return dhcp by id in a private cloud workload network.
+ * @return a WorkloadNetworkDnsService.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- WorkloadNetworkDhcpInner getDhcp(String resourceGroupName, String dhcpId, String privateCloudName);
+ WorkloadNetworkDnsServiceInner getDnsService(String resourceGroupName, String privateCloudName,
+ String dnsServiceId);
/**
- * Create dhcp by id in a private cloud workload network.
- *
+ * Create a WorkloadNetworkDnsService.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
- * @param dhcpId NSX DHCP identifier. Generally the same as the DHCP display name.
- * @param workloadNetworkDhcp NSX DHCP.
+ * @param dnsServiceId ID of the DNS service.
+ * @param workloadNetworkDnsService Resource create parameters.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of nSX DHCP.
+ * @return the {@link SyncPoller} for polling of nSX DNS Service.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, WorkloadNetworkDhcpInner> beginCreateDhcp(
- String resourceGroupName, String privateCloudName, String dhcpId, WorkloadNetworkDhcpInner workloadNetworkDhcp);
+ SyncPoller