@@ -82,14 +82,18 @@
5.9.3
test
+
+ org.slf4j
+ slf4j-simple
+ 1.7.36
+ test
+
org.mockito
mockito-core
4.11.0
test
-
-
net.bytebuddy
byte-buddy
@@ -102,11 +106,5 @@
1.14.12
test
-
- org.slf4j
- slf4j-simple
- 1.7.36
- test
-
diff --git a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/HybridComputeManager.java b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/HybridComputeManager.java
index ee25016ba34e..926256f97aaa 100644
--- a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/HybridComputeManager.java
+++ b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/HybridComputeManager.java
@@ -11,8 +11,8 @@
import com.azure.core.http.HttpPipelinePosition;
import com.azure.core.http.policy.AddDatePolicy;
import com.azure.core.http.policy.AddHeadersFromContextPolicy;
-import com.azure.core.http.policy.HttpLogOptions;
import com.azure.core.http.policy.HttpLoggingPolicy;
+import com.azure.core.http.policy.HttpLogOptions;
import com.azure.core.http.policy.HttpPipelinePolicy;
import com.azure.core.http.policy.HttpPolicyProviders;
import com.azure.core.http.policy.RequestIdPolicy;
@@ -24,13 +24,10 @@
import com.azure.core.util.Configuration;
import com.azure.core.util.logging.ClientLogger;
import com.azure.resourcemanager.hybridcompute.fluent.HybridComputeManagementClient;
-import com.azure.resourcemanager.hybridcompute.implementation.AgentVersionsImpl;
import com.azure.resourcemanager.hybridcompute.implementation.ExtensionMetadatasImpl;
import com.azure.resourcemanager.hybridcompute.implementation.HybridComputeManagementClientBuilder;
-import com.azure.resourcemanager.hybridcompute.implementation.HybridIdentityMetadatasImpl;
-import com.azure.resourcemanager.hybridcompute.implementation.LicenseProfilesImpl;
-import com.azure.resourcemanager.hybridcompute.implementation.LicensesImpl;
import com.azure.resourcemanager.hybridcompute.implementation.MachineExtensionsImpl;
+import com.azure.resourcemanager.hybridcompute.implementation.MachineRunCommandsImpl;
import com.azure.resourcemanager.hybridcompute.implementation.MachinesImpl;
import com.azure.resourcemanager.hybridcompute.implementation.NetworkProfilesImpl;
import com.azure.resourcemanager.hybridcompute.implementation.OperationsImpl;
@@ -38,12 +35,9 @@
import com.azure.resourcemanager.hybridcompute.implementation.PrivateLinkResourcesImpl;
import com.azure.resourcemanager.hybridcompute.implementation.PrivateLinkScopesImpl;
import com.azure.resourcemanager.hybridcompute.implementation.ResourceProvidersImpl;
-import com.azure.resourcemanager.hybridcompute.models.AgentVersions;
import com.azure.resourcemanager.hybridcompute.models.ExtensionMetadatas;
-import com.azure.resourcemanager.hybridcompute.models.HybridIdentityMetadatas;
-import com.azure.resourcemanager.hybridcompute.models.LicenseProfiles;
-import com.azure.resourcemanager.hybridcompute.models.Licenses;
import com.azure.resourcemanager.hybridcompute.models.MachineExtensions;
+import com.azure.resourcemanager.hybridcompute.models.MachineRunCommands;
import com.azure.resourcemanager.hybridcompute.models.Machines;
import com.azure.resourcemanager.hybridcompute.models.NetworkProfiles;
import com.azure.resourcemanager.hybridcompute.models.Operations;
@@ -58,14 +52,13 @@
import java.util.Objects;
import java.util.stream.Collectors;
-/** Entry point to HybridComputeManager. The Hybrid Compute Management Client. */
+/**
+ * Entry point to HybridComputeManager.
+ * The Hybrid Compute Management Client.
+ */
public final class HybridComputeManager {
- private Licenses licenses;
-
private Machines machines;
- private LicenseProfiles licenseProfiles;
-
private MachineExtensions machineExtensions;
private ResourceProviders resourceProviders;
@@ -76,9 +69,7 @@ public final class HybridComputeManager {
private NetworkProfiles networkProfiles;
- private HybridIdentityMetadatas hybridIdentityMetadatas;
-
- private AgentVersions agentVersions;
+ private MachineRunCommands machineRunCommands;
private PrivateLinkScopes privateLinkScopes;
@@ -91,18 +82,16 @@ public final class HybridComputeManager {
private HybridComputeManager(HttpPipeline httpPipeline, AzureProfile profile, Duration defaultPollInterval) {
Objects.requireNonNull(httpPipeline, "'httpPipeline' cannot be null.");
Objects.requireNonNull(profile, "'profile' cannot be null.");
- this.clientObject =
- new HybridComputeManagementClientBuilder()
- .pipeline(httpPipeline)
- .endpoint(profile.getEnvironment().getResourceManagerEndpoint())
- .subscriptionId(profile.getSubscriptionId())
- .defaultPollInterval(defaultPollInterval)
- .buildClient();
+ this.clientObject = new HybridComputeManagementClientBuilder().pipeline(httpPipeline)
+ .endpoint(profile.getEnvironment().getResourceManagerEndpoint())
+ .subscriptionId(profile.getSubscriptionId())
+ .defaultPollInterval(defaultPollInterval)
+ .buildClient();
}
/**
* Creates an instance of HybridCompute service API entry point.
- *
+ *
* @param credential the credential to use.
* @param profile the Azure profile for client.
* @return the HybridCompute service API instance.
@@ -115,7 +104,7 @@ public static HybridComputeManager authenticate(TokenCredential credential, Azur
/**
* Creates an instance of HybridCompute service API entry point.
- *
+ *
* @param httpPipeline the {@link HttpPipeline} configured with Azure authentication credential.
* @param profile the Azure profile for client.
* @return the HybridCompute service API instance.
@@ -128,14 +117,16 @@ public static HybridComputeManager authenticate(HttpPipeline httpPipeline, Azure
/**
* Gets a Configurable instance that can be used to create HybridComputeManager with optional configuration.
- *
+ *
* @return the Configurable instance allowing configurations.
*/
public static Configurable configure() {
return new HybridComputeManager.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);
@@ -207,8 +198,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.
@@ -225,8 +216,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"));
@@ -246,15 +237,13 @@ public HybridComputeManager authenticate(TokenCredential credential, AzureProfil
Objects.requireNonNull(profile, "'profile' cannot be null.");
StringBuilder userAgentBuilder = new StringBuilder();
- userAgentBuilder
- .append("azsdk-java")
+ userAgentBuilder.append("azsdk-java")
.append("-")
.append("com.azure.resourcemanager.hybridcompute")
.append("/")
- .append("1.0.0-beta.3");
+ .append("1.0.0-beta.4");
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
- userAgentBuilder
- .append(" (")
+ userAgentBuilder.append(" (")
.append(Configuration.getGlobalConfiguration().get("java.version"))
.append("; ")
.append(Configuration.getGlobalConfiguration().get("os.name"))
@@ -279,50 +268,28 @@ public HybridComputeManager authenticate(TokenCredential credential, AzureProfil
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 HybridComputeManager(httpPipeline, profile, defaultPollInterval);
}
}
- /**
- * Gets the resource collection API of Licenses. It manages License.
- *
- * @return Resource collection API of Licenses.
- */
- public Licenses licenses() {
- if (this.licenses == null) {
- this.licenses = new LicensesImpl(clientObject.getLicenses(), this);
- }
- return licenses;
- }
-
/**
* Gets the resource collection API of Machines.
- *
+ *
* @return Resource collection API of Machines.
*/
public Machines machines() {
@@ -332,21 +299,9 @@ public Machines machines() {
return machines;
}
- /**
- * Gets the resource collection API of LicenseProfiles. It manages LicenseProfile.
- *
- * @return Resource collection API of LicenseProfiles.
- */
- public LicenseProfiles licenseProfiles() {
- if (this.licenseProfiles == null) {
- this.licenseProfiles = new LicenseProfilesImpl(clientObject.getLicenseProfiles(), this);
- }
- return licenseProfiles;
- }
-
/**
* Gets the resource collection API of MachineExtensions. It manages MachineExtension.
- *
+ *
* @return Resource collection API of MachineExtensions.
*/
public MachineExtensions machineExtensions() {
@@ -358,7 +313,7 @@ public MachineExtensions machineExtensions() {
/**
* Gets the resource collection API of ResourceProviders.
- *
+ *
* @return Resource collection API of ResourceProviders.
*/
public ResourceProviders resourceProviders() {
@@ -370,7 +325,7 @@ public ResourceProviders resourceProviders() {
/**
* Gets the resource collection API of ExtensionMetadatas.
- *
+ *
* @return Resource collection API of ExtensionMetadatas.
*/
public ExtensionMetadatas extensionMetadatas() {
@@ -382,7 +337,7 @@ public ExtensionMetadatas extensionMetadatas() {
/**
* Gets the resource collection API of Operations.
- *
+ *
* @return Resource collection API of Operations.
*/
public Operations operations() {
@@ -394,7 +349,7 @@ public Operations operations() {
/**
* Gets the resource collection API of NetworkProfiles.
- *
+ *
* @return Resource collection API of NetworkProfiles.
*/
public NetworkProfiles networkProfiles() {
@@ -405,33 +360,20 @@ public NetworkProfiles networkProfiles() {
}
/**
- * Gets the resource collection API of HybridIdentityMetadatas.
- *
- * @return Resource collection API of HybridIdentityMetadatas.
- */
- public HybridIdentityMetadatas hybridIdentityMetadatas() {
- if (this.hybridIdentityMetadatas == null) {
- this.hybridIdentityMetadatas =
- new HybridIdentityMetadatasImpl(clientObject.getHybridIdentityMetadatas(), this);
- }
- return hybridIdentityMetadatas;
- }
-
- /**
- * Gets the resource collection API of AgentVersions.
- *
- * @return Resource collection API of AgentVersions.
+ * Gets the resource collection API of MachineRunCommands. It manages MachineRunCommand.
+ *
+ * @return Resource collection API of MachineRunCommands.
*/
- public AgentVersions agentVersions() {
- if (this.agentVersions == null) {
- this.agentVersions = new AgentVersionsImpl(clientObject.getAgentVersions(), this);
+ public MachineRunCommands machineRunCommands() {
+ if (this.machineRunCommands == null) {
+ this.machineRunCommands = new MachineRunCommandsImpl(clientObject.getMachineRunCommands(), this);
}
- return agentVersions;
+ return machineRunCommands;
}
/**
* Gets the resource collection API of PrivateLinkScopes. It manages HybridComputePrivateLinkScope.
- *
+ *
* @return Resource collection API of PrivateLinkScopes.
*/
public PrivateLinkScopes privateLinkScopes() {
@@ -443,7 +385,7 @@ public PrivateLinkScopes privateLinkScopes() {
/**
* Gets the resource collection API of PrivateLinkResources.
- *
+ *
* @return Resource collection API of PrivateLinkResources.
*/
public PrivateLinkResources privateLinkResources() {
@@ -455,13 +397,13 @@ public PrivateLinkResources privateLinkResources() {
/**
* Gets the resource collection API of PrivateEndpointConnections. It manages PrivateEndpointConnection.
- *
+ *
* @return Resource collection API of PrivateEndpointConnections.
*/
public PrivateEndpointConnections privateEndpointConnections() {
if (this.privateEndpointConnections == null) {
- this.privateEndpointConnections =
- new PrivateEndpointConnectionsImpl(clientObject.getPrivateEndpointConnections(), this);
+ this.privateEndpointConnections
+ = new PrivateEndpointConnectionsImpl(clientObject.getPrivateEndpointConnections(), this);
}
return privateEndpointConnections;
}
@@ -469,7 +411,7 @@ public PrivateEndpointConnections privateEndpointConnections() {
/**
* Gets wrapped service client HybridComputeManagementClient providing direct access to the underlying
* auto-generated API implementation, based on Azure REST API.
- *
+ *
* @return Wrapped service client HybridComputeManagementClient.
*/
public HybridComputeManagementClient serviceClient() {
diff --git a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/AgentVersionsClient.java b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/AgentVersionsClient.java
deleted file mode 100644
index 3b652cc831d9..000000000000
--- a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/AgentVersionsClient.java
+++ /dev/null
@@ -1,67 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.hybridcompute.fluent;
-
-import com.azure.core.annotation.ReturnType;
-import com.azure.core.annotation.ServiceMethod;
-import com.azure.core.http.rest.Response;
-import com.azure.core.util.Context;
-import com.azure.resourcemanager.hybridcompute.fluent.models.AgentVersionInner;
-import com.azure.resourcemanager.hybridcompute.fluent.models.AgentVersionsListInner;
-
-/** An instance of this class provides access to all the operations defined in AgentVersionsClient. */
-public interface AgentVersionsClient {
- /**
- * Gets all Agent Versions along with the download link currently present.
- *
- * @param osType Defines the os type.
- * @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 all Agent Versions along with the download link currently present along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response listWithResponse(String osType, Context context);
-
- /**
- * Gets all Agent Versions along with the download link currently present.
- *
- * @param osType Defines the os type.
- * @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 all Agent Versions along with the download link currently present.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- AgentVersionsListInner list(String osType);
-
- /**
- * Gets an Agent Version along with the download link currently present.
- *
- * @param osType Defines the os type.
- * @param version Defines the agent version. To get latest, use latest or else a specific agent version.
- * @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 Agent Version along with the download link currently present along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String osType, String version, Context context);
-
- /**
- * Gets an Agent Version along with the download link currently present.
- *
- * @param osType Defines the os type.
- * @param version Defines the agent version. To get latest, use latest or else a specific agent version.
- * @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 Agent Version along with the download link currently present.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- AgentVersionInner get(String osType, String version);
-}
diff --git a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/ExtensionMetadatasClient.java b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/ExtensionMetadatasClient.java
index 0c4503ecb66e..8f195cf6e387 100644
--- a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/ExtensionMetadatasClient.java
+++ b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/ExtensionMetadatasClient.java
@@ -11,11 +11,13 @@
import com.azure.core.util.Context;
import com.azure.resourcemanager.hybridcompute.fluent.models.ExtensionValueInner;
-/** An instance of this class provides access to all the operations defined in ExtensionMetadatasClient. */
+/**
+ * An instance of this class provides access to all the operations defined in ExtensionMetadatasClient.
+ */
public interface ExtensionMetadatasClient {
/**
* Gets an Extension Metadata based on location, publisher, extensionType and version.
- *
+ *
* @param location The location of the Extension being received.
* @param publisher The publisher of the Extension being received.
* @param extensionType The extensionType of the Extension being received.
@@ -24,16 +26,16 @@ public interface ExtensionMetadatasClient {
* @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 Extension Metadata based on location, publisher, extensionType and version along with {@link
- * Response}.
+ * @return an Extension Metadata based on location, publisher, extensionType and version along with
+ * {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String location, String publisher, String extensionType, String version, Context context);
+ Response getWithResponse(String location, String publisher, String extensionType,
+ String version, Context context);
/**
* Gets an Extension Metadata based on location, publisher, extensionType and version.
- *
+ *
* @param location The location of the Extension being received.
* @param publisher The publisher of the Extension being received.
* @param extensionType The extensionType of the Extension being received.
@@ -48,22 +50,22 @@ Response getWithResponse(
/**
* Gets all Extension versions based on location, publisher, extensionType.
- *
+ *
* @param location The location of the Extension being received.
* @param publisher The publisher of the Extension being received.
* @param extensionType The extensionType of the Extension being received.
* @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 all Extension versions based on location, publisher, extensionType as paginated response with {@link
- * PagedIterable}.
+ * @return all Extension versions based on location, publisher, extensionType as paginated response with
+ * {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list(String location, String publisher, String extensionType);
/**
* Gets all Extension versions based on location, publisher, extensionType.
- *
+ *
* @param location The location of the Extension being received.
* @param publisher The publisher of the Extension being received.
* @param extensionType The extensionType of the Extension being received.
@@ -71,8 +73,8 @@ Response getWithResponse(
* @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 all Extension versions based on location, publisher, extensionType as paginated response with {@link
- * PagedIterable}.
+ * @return all Extension versions based on location, publisher, extensionType as paginated response with
+ * {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list(String location, String publisher, String extensionType, Context context);
diff --git a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/HybridComputeManagementClient.java b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/HybridComputeManagementClient.java
index 97d2a4b7bdec..e94022bc5e15 100644
--- a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/HybridComputeManagementClient.java
+++ b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/HybridComputeManagementClient.java
@@ -7,130 +7,111 @@
import com.azure.core.http.HttpPipeline;
import java.time.Duration;
-/** The interface for HybridComputeManagementClient class. */
+/**
+ * The interface for HybridComputeManagementClient class.
+ */
public interface HybridComputeManagementClient {
/**
* Gets The ID of the target subscription.
- *
+ *
* @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 LicensesClient object to access its operations.
- *
- * @return the LicensesClient object.
- */
- LicensesClient getLicenses();
-
/**
* Gets the MachinesClient object to access its operations.
- *
+ *
* @return the MachinesClient object.
*/
MachinesClient getMachines();
- /**
- * Gets the LicenseProfilesClient object to access its operations.
- *
- * @return the LicenseProfilesClient object.
- */
- LicenseProfilesClient getLicenseProfiles();
-
/**
* Gets the MachineExtensionsClient object to access its operations.
- *
+ *
* @return the MachineExtensionsClient object.
*/
MachineExtensionsClient getMachineExtensions();
/**
* Gets the ResourceProvidersClient object to access its operations.
- *
+ *
* @return the ResourceProvidersClient object.
*/
ResourceProvidersClient getResourceProviders();
/**
* Gets the ExtensionMetadatasClient object to access its operations.
- *
+ *
* @return the ExtensionMetadatasClient object.
*/
ExtensionMetadatasClient getExtensionMetadatas();
/**
* Gets the OperationsClient object to access its operations.
- *
+ *
* @return the OperationsClient object.
*/
OperationsClient getOperations();
/**
* Gets the NetworkProfilesClient object to access its operations.
- *
+ *
* @return the NetworkProfilesClient object.
*/
NetworkProfilesClient getNetworkProfiles();
/**
- * Gets the HybridIdentityMetadatasClient object to access its operations.
- *
- * @return the HybridIdentityMetadatasClient object.
- */
- HybridIdentityMetadatasClient getHybridIdentityMetadatas();
-
- /**
- * Gets the AgentVersionsClient object to access its operations.
- *
- * @return the AgentVersionsClient object.
+ * Gets the MachineRunCommandsClient object to access its operations.
+ *
+ * @return the MachineRunCommandsClient object.
*/
- AgentVersionsClient getAgentVersions();
+ MachineRunCommandsClient getMachineRunCommands();
/**
* Gets the PrivateLinkScopesClient object to access its operations.
- *
+ *
* @return the PrivateLinkScopesClient object.
*/
PrivateLinkScopesClient getPrivateLinkScopes();
/**
* Gets the PrivateLinkResourcesClient object to access its operations.
- *
+ *
* @return the PrivateLinkResourcesClient object.
*/
PrivateLinkResourcesClient getPrivateLinkResources();
/**
* Gets the PrivateEndpointConnectionsClient object to access its operations.
- *
+ *
* @return the PrivateEndpointConnectionsClient object.
*/
PrivateEndpointConnectionsClient getPrivateEndpointConnections();
diff --git a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/HybridIdentityMetadatasClient.java b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/HybridIdentityMetadatasClient.java
deleted file mode 100644
index f973654b8502..000000000000
--- a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/HybridIdentityMetadatasClient.java
+++ /dev/null
@@ -1,81 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.hybridcompute.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.util.Context;
-import com.azure.resourcemanager.hybridcompute.fluent.models.HybridIdentityMetadataInner;
-
-/** An instance of this class provides access to all the operations defined in HybridIdentityMetadatasClient. */
-public interface HybridIdentityMetadatasClient {
- /**
- * Gets HybridIdentityMetadata.
- *
- * Implements HybridIdentityMetadata GET method.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param machineName The name of the hybrid machine.
- * @param metadataName Name of the HybridIdentityMetadata.
- * @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 defines the HybridIdentityMetadata along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceGroupName, String machineName, String metadataName, Context context);
-
- /**
- * Gets HybridIdentityMetadata.
- *
- * Implements HybridIdentityMetadata GET method.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param machineName The name of the hybrid machine.
- * @param metadataName Name of the HybridIdentityMetadata.
- * @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 defines the HybridIdentityMetadata.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- HybridIdentityMetadataInner get(String resourceGroupName, String machineName, String metadataName);
-
- /**
- * Implements GET HybridIdentityMetadata in a machine.
- *
- *
Returns the list of HybridIdentityMetadata of the given machine.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param machineName The name of the hybrid 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 list of HybridIdentityMetadata as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByMachines(String resourceGroupName, String machineName);
-
- /**
- * Implements GET HybridIdentityMetadata in a machine.
- *
- * Returns the list of HybridIdentityMetadata of the given machine.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param machineName The name of the hybrid 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 list of HybridIdentityMetadata as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByMachines(
- String resourceGroupName, String machineName, Context context);
-}
diff --git a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/LicensesClient.java b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/LicensesClient.java
deleted file mode 100644
index 7a901c6cb157..000000000000
--- a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/LicensesClient.java
+++ /dev/null
@@ -1,315 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.hybridcompute.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.hybridcompute.fluent.models.LicenseInner;
-import com.azure.resourcemanager.hybridcompute.models.LicenseUpdate;
-
-/** An instance of this class provides access to all the operations defined in LicensesClient. */
-public interface LicensesClient {
- /**
- * The operation to validate a license.
- *
- * @param parameters Parameters supplied to the license validation 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 describes a license in a hybrid machine.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, LicenseInner> beginValidateLicense(LicenseInner parameters);
-
- /**
- * The operation to validate a license.
- *
- * @param parameters Parameters supplied to the license validation operation.
- * @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 describes a license in a hybrid machine.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, LicenseInner> beginValidateLicense(LicenseInner parameters, Context context);
-
- /**
- * The operation to validate a license.
- *
- * @param parameters Parameters supplied to the license validation 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 describes a license in a hybrid machine.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- LicenseInner validateLicense(LicenseInner parameters);
-
- /**
- * The operation to validate a license.
- *
- * @param parameters Parameters supplied to the license validation operation.
- * @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 describes a license in a hybrid machine.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- LicenseInner validateLicense(LicenseInner parameters, Context context);
-
- /**
- * The operation to create or update a license.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param licenseName The name of the license.
- * @param parameters Parameters supplied to the Create license 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 describes a license in a hybrid machine.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, LicenseInner> beginCreateOrUpdate(
- String resourceGroupName, String licenseName, LicenseInner parameters);
-
- /**
- * The operation to create or update a license.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param licenseName The name of the license.
- * @param parameters Parameters supplied to the Create license operation.
- * @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 describes a license in a hybrid machine.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, LicenseInner> beginCreateOrUpdate(
- String resourceGroupName, String licenseName, LicenseInner parameters, Context context);
-
- /**
- * The operation to create or update a license.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param licenseName The name of the license.
- * @param parameters Parameters supplied to the Create license 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 describes a license in a hybrid machine.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- LicenseInner createOrUpdate(String resourceGroupName, String licenseName, LicenseInner parameters);
-
- /**
- * The operation to create or update a license.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param licenseName The name of the license.
- * @param parameters Parameters supplied to the Create license operation.
- * @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 describes a license in a hybrid machine.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- LicenseInner createOrUpdate(String resourceGroupName, String licenseName, LicenseInner parameters, Context context);
-
- /**
- * The operation to update a license.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param licenseName The name of the license.
- * @param parameters Parameters supplied to the Update license 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 describes a license in a hybrid machine.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, LicenseInner> beginUpdate(
- String resourceGroupName, String licenseName, LicenseUpdate parameters);
-
- /**
- * The operation to update a license.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param licenseName The name of the license.
- * @param parameters Parameters supplied to the Update license operation.
- * @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 describes a license in a hybrid machine.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, LicenseInner> beginUpdate(
- String resourceGroupName, String licenseName, LicenseUpdate parameters, Context context);
-
- /**
- * The operation to update a license.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param licenseName The name of the license.
- * @param parameters Parameters supplied to the Update license 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 describes a license in a hybrid machine.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- LicenseInner update(String resourceGroupName, String licenseName, LicenseUpdate parameters);
-
- /**
- * The operation to update a license.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param licenseName The name of the license.
- * @param parameters Parameters supplied to the Update license operation.
- * @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 describes a license in a hybrid machine.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- LicenseInner update(String resourceGroupName, String licenseName, LicenseUpdate parameters, Context context);
-
- /**
- * Retrieves information about the view of a license.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param licenseName The name of the license.
- * @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 describes a license in a hybrid machine along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getByResourceGroupWithResponse(
- String resourceGroupName, String licenseName, Context context);
-
- /**
- * Retrieves information about the view of a license.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param licenseName The name of the license.
- * @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 describes a license in a hybrid machine.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- LicenseInner getByResourceGroup(String resourceGroupName, String licenseName);
-
- /**
- * The operation to delete a license.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param licenseName The name of the license.
- * @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 licenseName);
-
- /**
- * The operation to delete a license.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param licenseName The name of the license.
- * @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 licenseName, Context context);
-
- /**
- * The operation to delete a license.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param licenseName The name of the license.
- * @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 licenseName);
-
- /**
- * The operation to delete a license.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param licenseName The name of the license.
- * @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 licenseName, Context context);
-
- /**
- * The operation to get all licenses of a non-Azure machine.
- *
- * @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 the List license operation response as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByResourceGroup(String resourceGroupName);
-
- /**
- * The operation to get all licenses of a non-Azure machine.
- *
- * @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 the List license operation response as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByResourceGroup(String resourceGroupName, Context context);
-
- /**
- * The operation to get all licenses of a non-Azure machine.
- *
- * @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 List license operation response as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list();
-
- /**
- * The operation to get all licenses of a non-Azure 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 the List license operation response as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(Context context);
-}
diff --git a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/MachineExtensionsClient.java b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/MachineExtensionsClient.java
index 14455916ca88..a2cfd8312a9c 100644
--- a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/MachineExtensionsClient.java
+++ b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/MachineExtensionsClient.java
@@ -14,11 +14,13 @@
import com.azure.resourcemanager.hybridcompute.fluent.models.MachineExtensionInner;
import com.azure.resourcemanager.hybridcompute.models.MachineExtensionUpdate;
-/** An instance of this class provides access to all the operations defined in MachineExtensionsClient. */
+/**
+ * An instance of this class provides access to all the operations defined in MachineExtensionsClient.
+ */
public interface MachineExtensionsClient {
/**
* The operation to create or update the extension.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param machineName The name of the machine where the extension should be created or updated.
* @param extensionName The name of the machine extension.
@@ -29,12 +31,12 @@ public interface MachineExtensionsClient {
* @return the {@link SyncPoller} for polling of describes a Machine Extension.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, MachineExtensionInner> beginCreateOrUpdate(
- String resourceGroupName, String machineName, String extensionName, MachineExtensionInner extensionParameters);
+ SyncPoller, MachineExtensionInner> beginCreateOrUpdate(String resourceGroupName,
+ String machineName, String extensionName, MachineExtensionInner extensionParameters);
/**
* The operation to create or update the extension.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param machineName The name of the machine where the extension should be created or updated.
* @param extensionName The name of the machine extension.
@@ -46,16 +48,12 @@ SyncPoller, MachineExtensionInner> beginCreate
* @return the {@link SyncPoller} for polling of describes a Machine Extension.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, MachineExtensionInner> beginCreateOrUpdate(
- String resourceGroupName,
- String machineName,
- String extensionName,
- MachineExtensionInner extensionParameters,
- Context context);
+ SyncPoller, MachineExtensionInner> beginCreateOrUpdate(String resourceGroupName,
+ String machineName, String extensionName, MachineExtensionInner extensionParameters, Context context);
/**
* The operation to create or update the extension.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param machineName The name of the machine where the extension should be created or updated.
* @param extensionName The name of the machine extension.
@@ -66,12 +64,12 @@ SyncPoller, MachineExtensionInner> beginCreate
* @return describes a Machine Extension.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- MachineExtensionInner createOrUpdate(
- String resourceGroupName, String machineName, String extensionName, MachineExtensionInner extensionParameters);
+ MachineExtensionInner createOrUpdate(String resourceGroupName, String machineName, String extensionName,
+ MachineExtensionInner extensionParameters);
/**
* The operation to create or update the extension.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param machineName The name of the machine where the extension should be created or updated.
* @param extensionName The name of the machine extension.
@@ -83,16 +81,12 @@ MachineExtensionInner createOrUpdate(
* @return describes a Machine Extension.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- MachineExtensionInner createOrUpdate(
- String resourceGroupName,
- String machineName,
- String extensionName,
- MachineExtensionInner extensionParameters,
- Context context);
+ MachineExtensionInner createOrUpdate(String resourceGroupName, String machineName, String extensionName,
+ MachineExtensionInner extensionParameters, Context context);
/**
* The operation to create or update the extension.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param machineName The name of the machine where the extension should be created or updated.
* @param extensionName The name of the machine extension.
@@ -103,12 +97,12 @@ MachineExtensionInner createOrUpdate(
* @return the {@link SyncPoller} for polling of describes a Machine Extension.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, MachineExtensionInner> beginUpdate(
- String resourceGroupName, String machineName, String extensionName, MachineExtensionUpdate extensionParameters);
+ SyncPoller, MachineExtensionInner> beginUpdate(String resourceGroupName,
+ String machineName, String extensionName, MachineExtensionUpdate extensionParameters);
/**
* The operation to create or update the extension.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param machineName The name of the machine where the extension should be created or updated.
* @param extensionName The name of the machine extension.
@@ -120,16 +114,12 @@ SyncPoller, MachineExtensionInner> beginUpdate
* @return the {@link SyncPoller} for polling of describes a Machine Extension.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, MachineExtensionInner> beginUpdate(
- String resourceGroupName,
- String machineName,
- String extensionName,
- MachineExtensionUpdate extensionParameters,
- Context context);
+ SyncPoller, MachineExtensionInner> beginUpdate(String resourceGroupName,
+ String machineName, String extensionName, MachineExtensionUpdate extensionParameters, Context context);
/**
* The operation to create or update the extension.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param machineName The name of the machine where the extension should be created or updated.
* @param extensionName The name of the machine extension.
@@ -140,12 +130,12 @@ SyncPoller, MachineExtensionInner> beginUpdate
* @return describes a Machine Extension.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- MachineExtensionInner update(
- String resourceGroupName, String machineName, String extensionName, MachineExtensionUpdate extensionParameters);
+ MachineExtensionInner update(String resourceGroupName, String machineName, String extensionName,
+ MachineExtensionUpdate extensionParameters);
/**
* The operation to create or update the extension.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param machineName The name of the machine where the extension should be created or updated.
* @param extensionName The name of the machine extension.
@@ -157,16 +147,12 @@ MachineExtensionInner update(
* @return describes a Machine Extension.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- MachineExtensionInner update(
- String resourceGroupName,
- String machineName,
- String extensionName,
- MachineExtensionUpdate extensionParameters,
- Context context);
+ MachineExtensionInner update(String resourceGroupName, String machineName, String extensionName,
+ MachineExtensionUpdate extensionParameters, Context context);
/**
* The operation to delete the extension.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param machineName The name of the machine where the extension should be deleted.
* @param extensionName The name of the machine extension.
@@ -180,7 +166,7 @@ MachineExtensionInner update(
/**
* The operation to delete the extension.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param machineName The name of the machine where the extension should be deleted.
* @param extensionName The name of the machine extension.
@@ -191,12 +177,12 @@ MachineExtensionInner update(
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(
- String resourceGroupName, String machineName, String extensionName, Context context);
+ SyncPoller, Void> beginDelete(String resourceGroupName, String machineName, String extensionName,
+ Context context);
/**
* The operation to delete the extension.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param machineName The name of the machine where the extension should be deleted.
* @param extensionName The name of the machine extension.
@@ -209,7 +195,7 @@ SyncPoller, Void> beginDelete(
/**
* The operation to delete the extension.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param machineName The name of the machine where the extension should be deleted.
* @param extensionName The name of the machine extension.
@@ -223,7 +209,7 @@ SyncPoller, Void> beginDelete(
/**
* The operation to get the extension.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param machineName The name of the machine containing the extension.
* @param extensionName The name of the machine extension.
@@ -234,12 +220,12 @@ SyncPoller, Void> beginDelete(
* @return describes a Machine Extension along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceGroupName, String machineName, String extensionName, Context context);
+ Response getWithResponse(String resourceGroupName, String machineName, String extensionName,
+ Context context);
/**
* The operation to get the extension.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param machineName The name of the machine containing the extension.
* @param extensionName The name of the machine extension.
@@ -253,7 +239,7 @@ Response getWithResponse(
/**
* The operation to get all extensions of a non-Azure machine.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param machineName The name of the machine containing the extension.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -266,7 +252,7 @@ Response getWithResponse(
/**
* The operation to get all extensions of a non-Azure machine.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param machineName The name of the machine containing the extension.
* @param expand The expand expression to apply on the operation.
@@ -277,6 +263,6 @@ Response getWithResponse(
* @return describes the Machine Extensions List Result as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(
- String resourceGroupName, String machineName, String expand, Context context);
+ PagedIterable list(String resourceGroupName, String machineName, String expand,
+ Context context);
}
diff --git a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/LicenseProfilesClient.java b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/MachineRunCommandsClient.java
similarity index 52%
rename from sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/LicenseProfilesClient.java
rename to sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/MachineRunCommandsClient.java
index ba1ba3de2a91..67f1c56883fd 100644
--- a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/LicenseProfilesClient.java
+++ b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/MachineRunCommandsClient.java
@@ -11,238 +11,191 @@
import com.azure.core.management.polling.PollResult;
import com.azure.core.util.Context;
import com.azure.core.util.polling.SyncPoller;
-import com.azure.resourcemanager.hybridcompute.fluent.models.LicenseProfileInner;
-import com.azure.resourcemanager.hybridcompute.models.LicenseProfileUpdate;
+import com.azure.resourcemanager.hybridcompute.fluent.models.MachineRunCommandInner;
-/** An instance of this class provides access to all the operations defined in LicenseProfilesClient. */
-public interface LicenseProfilesClient {
+/**
+ * An instance of this class provides access to all the operations defined in MachineRunCommandsClient.
+ */
+public interface MachineRunCommandsClient {
/**
- * The operation to create or update a license profile.
- *
+ * The operation to create or update a run command.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param machineName The name of the hybrid machine.
- * @param parameters Parameters supplied to the Create license profile operation.
+ * @param runCommandName The name of the run command.
+ * @param runCommandProperties Parameters supplied to the Create Run Command.
* @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 describes a license profile in a hybrid machine.
+ * @return the {@link SyncPoller} for polling of describes a Run Command.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, LicenseProfileInner> beginCreateOrUpdate(
- String resourceGroupName, String machineName, LicenseProfileInner parameters);
+ SyncPoller, MachineRunCommandInner> beginCreateOrUpdate(String resourceGroupName,
+ String machineName, String runCommandName, MachineRunCommandInner runCommandProperties);
/**
- * The operation to create or update a license profile.
- *
+ * The operation to create or update a run command.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param machineName The name of the hybrid machine.
- * @param parameters Parameters supplied to the Create license profile operation.
+ * @param runCommandName The name of the run command.
+ * @param runCommandProperties Parameters supplied to the Create Run Command.
* @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 describes a license profile in a hybrid machine.
+ * @return the {@link SyncPoller} for polling of describes a Run Command.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, LicenseProfileInner> beginCreateOrUpdate(
- String resourceGroupName, String machineName, LicenseProfileInner parameters, Context context);
+ SyncPoller, MachineRunCommandInner> beginCreateOrUpdate(String resourceGroupName,
+ String machineName, String runCommandName, MachineRunCommandInner runCommandProperties, Context context);
/**
- * The operation to create or update a license profile.
- *
+ * The operation to create or update a run command.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param machineName The name of the hybrid machine.
- * @param parameters Parameters supplied to the Create license profile operation.
+ * @param runCommandName The name of the run command.
+ * @param runCommandProperties Parameters supplied to the Create Run Command.
* @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 describes a license profile in a hybrid machine.
+ * @return describes a Run Command.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- LicenseProfileInner createOrUpdate(String resourceGroupName, String machineName, LicenseProfileInner parameters);
+ MachineRunCommandInner createOrUpdate(String resourceGroupName, String machineName, String runCommandName,
+ MachineRunCommandInner runCommandProperties);
/**
- * The operation to create or update a license profile.
- *
+ * The operation to create or update a run command.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param machineName The name of the hybrid machine.
- * @param parameters Parameters supplied to the Create license profile operation.
+ * @param runCommandName The name of the run command.
+ * @param runCommandProperties Parameters supplied to the Create Run Command.
* @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 describes a license profile in a hybrid machine.
+ * @return describes a Run Command.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- LicenseProfileInner createOrUpdate(
- String resourceGroupName, String machineName, LicenseProfileInner parameters, Context context);
+ MachineRunCommandInner createOrUpdate(String resourceGroupName, String machineName, String runCommandName,
+ MachineRunCommandInner runCommandProperties, Context context);
/**
- * The operation to update a license profile.
- *
+ * The operation to delete a run command.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param machineName The name of the hybrid machine.
- * @param parameters Parameters supplied to the Update license profile operation.
+ * @param runCommandName The name of the run command.
* @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 describes a license profile in a hybrid machine.
+ * @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, LicenseProfileInner> beginUpdate(
- String resourceGroupName, String machineName, LicenseProfileUpdate parameters);
+ SyncPoller, Void> beginDelete(String resourceGroupName, String machineName, String runCommandName);
/**
- * The operation to update a license profile.
- *
+ * The operation to delete a run command.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param machineName The name of the hybrid machine.
- * @param parameters Parameters supplied to the Update license profile operation.
+ * @param runCommandName The name of the run command.
* @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 describes a license profile in a hybrid machine.
+ * @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, LicenseProfileInner> beginUpdate(
- String resourceGroupName, String machineName, LicenseProfileUpdate parameters, Context context);
+ SyncPoller, Void> beginDelete(String resourceGroupName, String machineName, String runCommandName,
+ Context context);
/**
- * The operation to update a license profile.
- *
+ * The operation to delete a run command.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param machineName The name of the hybrid machine.
- * @param parameters Parameters supplied to the Update license profile operation.
+ * @param runCommandName The name of the run command.
* @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 describes a license profile in a hybrid machine.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- LicenseProfileInner update(String resourceGroupName, String machineName, LicenseProfileUpdate parameters);
+ void delete(String resourceGroupName, String machineName, String runCommandName);
/**
- * The operation to update a license profile.
- *
+ * The operation to delete a run command.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param machineName The name of the hybrid machine.
- * @param parameters Parameters supplied to the Update license profile operation.
+ * @param runCommandName The name of the run command.
* @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 describes a license profile in a hybrid machine.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- LicenseProfileInner update(
- String resourceGroupName, String machineName, LicenseProfileUpdate parameters, Context context);
+ void delete(String resourceGroupName, String machineName, String runCommandName, Context context);
/**
- * Retrieves information about the view of a license profile.
- *
+ * The operation to get a run command.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param machineName The name of the hybrid machine.
+ * @param runCommandName The name of the run command.
* @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 describes a license profile in a hybrid machine along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String resourceGroupName, String machineName, Context context);
-
- /**
- * Retrieves information about the view of a license profile.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param machineName The name of the hybrid 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 describes a license profile in a hybrid machine.
+ * @return describes a Run Command along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- LicenseProfileInner get(String resourceGroupName, String machineName);
-
- /**
- * The operation to delete a license profile.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param machineName The name of the hybrid 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 the {@link SyncPoller} for polling of long-running operation.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(String resourceGroupName, String machineName);
+ Response getWithResponse(String resourceGroupName, String machineName,
+ String runCommandName, Context context);
/**
- * The operation to delete a license profile.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param machineName The name of the hybrid 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 the {@link SyncPoller} for polling of long-running operation.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(String resourceGroupName, String machineName, Context context);
-
- /**
- * The operation to delete a license profile.
- *
+ * The operation to get a run command.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param machineName The name of the hybrid machine.
+ * @param runCommandName The name of the run command.
* @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 describes a Run Command.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String machineName);
+ MachineRunCommandInner get(String resourceGroupName, String machineName, String runCommandName);
/**
- * The operation to delete a license profile.
- *
+ * The operation to get all the run commands of a non-Azure machine.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param machineName The name of the hybrid 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.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String machineName, Context context);
-
- /**
- * The operation to get all license profiles of a non-Azure machine.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param machineName The name of the 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 the List hybrid machine license profile operation response as paginated response with {@link
- * PagedIterable}.
+ * @return describes the Run Commands List Result as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String machineName);
+ PagedIterable list(String resourceGroupName, String machineName);
/**
- * The operation to get all license profiles of a non-Azure machine.
- *
+ * The operation to get all the run commands of a non-Azure machine.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param machineName The name of the machine.
+ * @param machineName The name of the hybrid machine.
+ * @param expand The expand expression to apply on the operation.
* @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 List hybrid machine license profile operation response as paginated response with {@link
- * PagedIterable}.
+ * @return describes the Run Commands List Result as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String machineName, Context context);
+ PagedIterable list(String resourceGroupName, String machineName, String expand,
+ Context context);
}
diff --git a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/MachinesClient.java b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/MachinesClient.java
index 08574840b036..d87de96c5595 100644
--- a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/MachinesClient.java
+++ b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/MachinesClient.java
@@ -14,14 +14,15 @@
import com.azure.resourcemanager.hybridcompute.fluent.models.MachineAssessPatchesResultInner;
import com.azure.resourcemanager.hybridcompute.fluent.models.MachineInner;
import com.azure.resourcemanager.hybridcompute.fluent.models.MachineInstallPatchesResultInner;
-import com.azure.resourcemanager.hybridcompute.models.InstanceViewTypes;
import com.azure.resourcemanager.hybridcompute.models.MachineInstallPatchesParameters;
-/** An instance of this class provides access to all the operations defined in MachinesClient. */
+/**
+ * An instance of this class provides access to all the operations defined in MachinesClient.
+ */
public interface MachinesClient {
/**
* The operation to delete a hybrid machine.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param machineName The name of the hybrid machine.
* @param context The context to associate with this operation.
@@ -35,7 +36,7 @@ public interface MachinesClient {
/**
* The operation to delete a hybrid machine.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param machineName The name of the hybrid machine.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -47,7 +48,7 @@ public interface MachinesClient {
/**
* Retrieves information about the model view or the instance view of a hybrid machine.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param machineName The name of the hybrid machine.
* @param expand The expand expression to apply on the operation.
@@ -58,12 +59,12 @@ public interface MachinesClient {
* @return describes a hybrid machine along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getByResourceGroupWithResponse(
- String resourceGroupName, String machineName, InstanceViewTypes expand, Context context);
+ Response getByResourceGroupWithResponse(String resourceGroupName, String machineName, String expand,
+ Context context);
/**
* Retrieves information about the model view or the instance view of a hybrid machine.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param machineName The name of the hybrid machine.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -76,7 +77,7 @@ Response getByResourceGroupWithResponse(
/**
* The operation to assess patches on a hybrid machine identity in Azure.
- *
+ *
* @param resourceGroupName The name of the resource group.
* @param name The name of the hybrid machine.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -85,12 +86,12 @@ Response getByResourceGroupWithResponse(
* @return the {@link SyncPoller} for polling of describes the properties of an AssessPatches result.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, MachineAssessPatchesResultInner> beginAssessPatches(
- String resourceGroupName, String name);
+ SyncPoller, MachineAssessPatchesResultInner>
+ beginAssessPatches(String resourceGroupName, String name);
/**
* The operation to assess patches on a hybrid machine identity in Azure.
- *
+ *
* @param resourceGroupName The name of the resource group.
* @param name The name of the hybrid machine.
* @param context The context to associate with this operation.
@@ -100,12 +101,12 @@ SyncPoller, MachineAssessPatchesResu
* @return the {@link SyncPoller} for polling of describes the properties of an AssessPatches result.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, MachineAssessPatchesResultInner> beginAssessPatches(
- String resourceGroupName, String name, Context context);
+ SyncPoller, MachineAssessPatchesResultInner>
+ beginAssessPatches(String resourceGroupName, String name, Context context);
/**
* The operation to assess patches on a hybrid machine identity in Azure.
- *
+ *
* @param resourceGroupName The name of the resource group.
* @param name The name of the hybrid machine.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -118,7 +119,7 @@ SyncPoller, MachineAssessPatchesResu
/**
* The operation to assess patches on a hybrid machine identity in Azure.
- *
+ *
* @param resourceGroupName The name of the resource group.
* @param name The name of the hybrid machine.
* @param context The context to associate with this operation.
@@ -132,7 +133,7 @@ SyncPoller, MachineAssessPatchesResu
/**
* The operation to install patches on a hybrid machine identity in Azure.
- *
+ *
* @param resourceGroupName The name of the resource group.
* @param name The name of the hybrid machine.
* @param installPatchesInput Input for InstallPatches as directly received by the API.
@@ -142,12 +143,12 @@ SyncPoller, MachineAssessPatchesResu
* @return the {@link SyncPoller} for polling of the result summary of an installation operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, MachineInstallPatchesResultInner> beginInstallPatches(
- String resourceGroupName, String name, MachineInstallPatchesParameters installPatchesInput);
+ SyncPoller, MachineInstallPatchesResultInner>
+ beginInstallPatches(String resourceGroupName, String name, MachineInstallPatchesParameters installPatchesInput);
/**
* The operation to install patches on a hybrid machine identity in Azure.
- *
+ *
* @param resourceGroupName The name of the resource group.
* @param name The name of the hybrid machine.
* @param installPatchesInput Input for InstallPatches as directly received by the API.
@@ -163,7 +164,7 @@ SyncPoller, MachineInstallPatchesRe
/**
* The operation to install patches on a hybrid machine identity in Azure.
- *
+ *
* @param resourceGroupName The name of the resource group.
* @param name The name of the hybrid machine.
* @param installPatchesInput Input for InstallPatches as directly received by the API.
@@ -173,12 +174,12 @@ SyncPoller, MachineInstallPatchesRe
* @return the result summary of an installation operation.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- MachineInstallPatchesResultInner installPatches(
- String resourceGroupName, String name, MachineInstallPatchesParameters installPatchesInput);
+ MachineInstallPatchesResultInner installPatches(String resourceGroupName, String name,
+ MachineInstallPatchesParameters installPatchesInput);
/**
* The operation to install patches on a hybrid machine identity in Azure.
- *
+ *
* @param resourceGroupName The name of the resource group.
* @param name The name of the hybrid machine.
* @param installPatchesInput Input for InstallPatches as directly received by the API.
@@ -189,13 +190,13 @@ MachineInstallPatchesResultInner installPatches(
* @return the result summary of an installation operation.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- MachineInstallPatchesResultInner installPatches(
- String resourceGroupName, String name, MachineInstallPatchesParameters installPatchesInput, Context context);
+ MachineInstallPatchesResultInner installPatches(String resourceGroupName, String name,
+ MachineInstallPatchesParameters installPatchesInput, Context context);
/**
* Lists all the hybrid machines in the specified resource group. Use the nextLink property in the response to get
* the next page of hybrid machines.
- *
+ *
* @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.
@@ -208,7 +209,7 @@ MachineInstallPatchesResultInner installPatches(
/**
* Lists all the hybrid machines in the specified resource group. Use the nextLink property in the response to get
* the next page of hybrid machines.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param expand Expands referenced resources.
* @param context The context to associate with this operation.
@@ -223,7 +224,7 @@ MachineInstallPatchesResultInner installPatches(
/**
* Lists all the hybrid machines in the specified subscription. Use the nextLink property in the response to get the
* next page of hybrid machines.
- *
+ *
* @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 List hybrid machine operation response as paginated response with {@link PagedIterable}.
@@ -234,7 +235,7 @@ MachineInstallPatchesResultInner installPatches(
/**
* Lists all the hybrid machines in the specified subscription. Use the nextLink property in the response to get the
* next page of hybrid machines.
- *
+ *
* @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/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/NetworkProfilesClient.java b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/NetworkProfilesClient.java
index 12bad427e256..648876e4d161 100644
--- a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/NetworkProfilesClient.java
+++ b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/NetworkProfilesClient.java
@@ -10,11 +10,13 @@
import com.azure.core.util.Context;
import com.azure.resourcemanager.hybridcompute.fluent.models.NetworkProfileInner;
-/** An instance of this class provides access to all the operations defined in NetworkProfilesClient. */
+/**
+ * An instance of this class provides access to all the operations defined in NetworkProfilesClient.
+ */
public interface NetworkProfilesClient {
/**
* The operation to get network information of hybrid machine.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param machineName The name of the hybrid machine.
* @param context The context to associate with this operation.
@@ -28,7 +30,7 @@ public interface NetworkProfilesClient {
/**
* The operation to get network information of hybrid machine.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param machineName The name of the hybrid machine.
* @throws IllegalArgumentException thrown if parameters fail the validation.
diff --git a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/OperationsClient.java b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/OperationsClient.java
index 1e9ec54cd726..a87f074eaa4c 100644
--- a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/OperationsClient.java
+++ b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/OperationsClient.java
@@ -10,11 +10,13 @@
import com.azure.core.util.Context;
import com.azure.resourcemanager.hybridcompute.fluent.models.OperationValueInner;
-/** 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 {
/**
* Gets a list of hybrid compute operations.
- *
+ *
* @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 hybrid compute operations as paginated response with {@link PagedIterable}.
@@ -24,7 +26,7 @@ public interface OperationsClient {
/**
* Gets a list of hybrid compute operations.
- *
+ *
* @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/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/PrivateEndpointConnectionsClient.java b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/PrivateEndpointConnectionsClient.java
index 2bf9cede4846..d2dc347d7aca 100644
--- a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/PrivateEndpointConnectionsClient.java
+++ b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/PrivateEndpointConnectionsClient.java
@@ -13,11 +13,13 @@
import com.azure.core.util.polling.SyncPoller;
import com.azure.resourcemanager.hybridcompute.fluent.models.PrivateEndpointConnectionInner;
-/** An instance of this class provides access to all the operations defined in PrivateEndpointConnectionsClient. */
+/**
+ * An instance of this class provides access to all the operations defined in PrivateEndpointConnectionsClient.
+ */
public interface PrivateEndpointConnectionsClient {
/**
* Gets a private endpoint connection.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param scopeName The name of the Azure Arc PrivateLinkScope resource.
* @param privateEndpointConnectionName The name of the private endpoint connection.
@@ -28,12 +30,12 @@ public interface PrivateEndpointConnectionsClient {
* @return a private endpoint connection along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceGroupName, String scopeName, String privateEndpointConnectionName, Context context);
+ Response getWithResponse(String resourceGroupName, String scopeName,
+ String privateEndpointConnectionName, Context context);
/**
* Gets a private endpoint connection.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param scopeName The name of the Azure Arc PrivateLinkScope resource.
* @param privateEndpointConnectionName The name of the private endpoint connection.
@@ -43,12 +45,12 @@ Response getWithResponse(
* @return a private endpoint connection.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- PrivateEndpointConnectionInner get(
- String resourceGroupName, String scopeName, String privateEndpointConnectionName);
+ PrivateEndpointConnectionInner get(String resourceGroupName, String scopeName,
+ String privateEndpointConnectionName);
/**
* Approve or reject a private endpoint connection with a given name.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param scopeName The name of the Azure Arc PrivateLinkScope resource.
* @param privateEndpointConnectionName The name of the private endpoint connection.
@@ -60,14 +62,12 @@ PrivateEndpointConnectionInner get(
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, PrivateEndpointConnectionInner> beginCreateOrUpdate(
- String resourceGroupName,
- String scopeName,
- String privateEndpointConnectionName,
+ String resourceGroupName, String scopeName, String privateEndpointConnectionName,
PrivateEndpointConnectionInner parameters);
/**
* Approve or reject a private endpoint connection with a given name.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param scopeName The name of the Azure Arc PrivateLinkScope resource.
* @param privateEndpointConnectionName The name of the private endpoint connection.
@@ -80,15 +80,12 @@ SyncPoller, PrivateEndpointConnection
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, PrivateEndpointConnectionInner> beginCreateOrUpdate(
- String resourceGroupName,
- String scopeName,
- String privateEndpointConnectionName,
- PrivateEndpointConnectionInner parameters,
- Context context);
+ String resourceGroupName, String scopeName, String privateEndpointConnectionName,
+ PrivateEndpointConnectionInner parameters, Context context);
/**
* Approve or reject a private endpoint connection with a given name.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param scopeName The name of the Azure Arc PrivateLinkScope resource.
* @param privateEndpointConnectionName The name of the private endpoint connection.
@@ -99,15 +96,12 @@ SyncPoller, PrivateEndpointConnection
* @return a private endpoint connection.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- PrivateEndpointConnectionInner createOrUpdate(
- String resourceGroupName,
- String scopeName,
- String privateEndpointConnectionName,
- PrivateEndpointConnectionInner parameters);
+ PrivateEndpointConnectionInner createOrUpdate(String resourceGroupName, String scopeName,
+ String privateEndpointConnectionName, PrivateEndpointConnectionInner parameters);
/**
* Approve or reject a private endpoint connection with a given name.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param scopeName The name of the Azure Arc PrivateLinkScope resource.
* @param privateEndpointConnectionName The name of the private endpoint connection.
@@ -119,16 +113,12 @@ PrivateEndpointConnectionInner createOrUpdate(
* @return a private endpoint connection.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- PrivateEndpointConnectionInner createOrUpdate(
- String resourceGroupName,
- String scopeName,
- String privateEndpointConnectionName,
- PrivateEndpointConnectionInner parameters,
- Context context);
+ PrivateEndpointConnectionInner createOrUpdate(String resourceGroupName, String scopeName,
+ String privateEndpointConnectionName, PrivateEndpointConnectionInner parameters, Context context);
/**
* Deletes a private endpoint connection with a given name.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param scopeName The name of the Azure Arc PrivateLinkScope resource.
* @param privateEndpointConnectionName The name of the private endpoint connection.
@@ -138,12 +128,12 @@ PrivateEndpointConnectionInner createOrUpdate(
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(
- String resourceGroupName, String scopeName, String privateEndpointConnectionName);
+ SyncPoller, Void> beginDelete(String resourceGroupName, String scopeName,
+ String privateEndpointConnectionName);
/**
* Deletes a private endpoint connection with a given name.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param scopeName The name of the Azure Arc PrivateLinkScope resource.
* @param privateEndpointConnectionName The name of the private endpoint connection.
@@ -154,12 +144,12 @@ 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 scopeName, String privateEndpointConnectionName, Context context);
+ SyncPoller, Void> beginDelete(String resourceGroupName, String scopeName,
+ String privateEndpointConnectionName, Context context);
/**
* Deletes a private endpoint connection with a given name.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param scopeName The name of the Azure Arc PrivateLinkScope resource.
* @param privateEndpointConnectionName The name of the private endpoint connection.
@@ -172,7 +162,7 @@ SyncPoller, Void> beginDelete(
/**
* Deletes a private endpoint connection with a given name.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param scopeName The name of the Azure Arc PrivateLinkScope resource.
* @param privateEndpointConnectionName The name of the private endpoint connection.
@@ -186,31 +176,31 @@ SyncPoller, Void> beginDelete(
/**
* Gets all private endpoint connections on a private link scope.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param scopeName The name of the Azure Arc PrivateLinkScope resource.
* @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 all private endpoint connections on a private link scope as paginated response with {@link
- * PagedIterable}.
+ * @return all private endpoint connections on a private link scope as paginated response with
+ * {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable listByPrivateLinkScope(String resourceGroupName, String scopeName);
/**
* Gets all private endpoint connections on a private link scope.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param scopeName The name of the Azure Arc PrivateLinkScope resource.
* @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 all private endpoint connections on a private link scope as paginated response with {@link
- * PagedIterable}.
+ * @return all private endpoint connections on a private link scope as paginated response with
+ * {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByPrivateLinkScope(
- String resourceGroupName, String scopeName, Context context);
+ PagedIterable listByPrivateLinkScope(String resourceGroupName, String scopeName,
+ Context context);
}
diff --git a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/PrivateLinkResourcesClient.java b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/PrivateLinkResourcesClient.java
index e590c144e5db..cd8b7c055cc0 100644
--- a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/PrivateLinkResourcesClient.java
+++ b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/PrivateLinkResourcesClient.java
@@ -11,25 +11,27 @@
import com.azure.core.util.Context;
import com.azure.resourcemanager.hybridcompute.fluent.models.PrivateLinkResourceInner;
-/** An instance of this class provides access to all the operations defined in PrivateLinkResourcesClient. */
+/**
+ * An instance of this class provides access to all the operations defined in PrivateLinkResourcesClient.
+ */
public interface PrivateLinkResourcesClient {
/**
* Gets the private link resources that need to be created for a Azure Monitor PrivateLinkScope.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param scopeName The name of the Azure Arc PrivateLinkScope resource.
* @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 private link resources that need to be created for a Azure Monitor PrivateLinkScope as paginated
- * response with {@link PagedIterable}.
+ * response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable listByPrivateLinkScope(String resourceGroupName, String scopeName);
/**
* Gets the private link resources that need to be created for a Azure Monitor PrivateLinkScope.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param scopeName The name of the Azure Arc PrivateLinkScope resource.
* @param context The context to associate with this operation.
@@ -37,15 +39,15 @@ public interface PrivateLinkResourcesClient {
* @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 private link resources that need to be created for a Azure Monitor PrivateLinkScope as paginated
- * response with {@link PagedIterable}.
+ * response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByPrivateLinkScope(
- String resourceGroupName, String scopeName, Context context);
+ PagedIterable listByPrivateLinkScope(String resourceGroupName, String scopeName,
+ Context context);
/**
* Gets the private link resources that need to be created for a Azure Monitor PrivateLinkScope.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param scopeName The name of the Azure Arc PrivateLinkScope resource.
* @param groupName The name of the private link resource.
@@ -53,16 +55,16 @@ PagedIterable listByPrivateLinkScope(
* @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 private link resources that need to be created for a Azure Monitor PrivateLinkScope along with {@link
- * Response}.
+ * @return the private link resources that need to be created for a Azure Monitor PrivateLinkScope along with
+ * {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceGroupName, String scopeName, String groupName, Context context);
+ Response getWithResponse(String resourceGroupName, String scopeName, String groupName,
+ Context context);
/**
* Gets the private link resources that need to be created for a Azure Monitor PrivateLinkScope.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param scopeName The name of the Azure Arc PrivateLinkScope resource.
* @param groupName The name of the private link resource.
diff --git a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/PrivateLinkScopesClient.java b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/PrivateLinkScopesClient.java
index f334ae205a65..e09ba79bb901 100644
--- a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/PrivateLinkScopesClient.java
+++ b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/PrivateLinkScopesClient.java
@@ -15,62 +15,64 @@
import com.azure.resourcemanager.hybridcompute.fluent.models.PrivateLinkScopeValidationDetailsInner;
import com.azure.resourcemanager.hybridcompute.models.TagsResource;
-/** An instance of this class provides access to all the operations defined in PrivateLinkScopesClient. */
+/**
+ * An instance of this class provides access to all the operations defined in PrivateLinkScopesClient.
+ */
public interface PrivateLinkScopesClient {
/**
* Gets a list of all Azure Arc PrivateLinkScopes within a subscription.
- *
+ *
* @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 all Azure Arc PrivateLinkScopes within a subscription as paginated response with {@link
- * PagedIterable}.
+ * @return a list of all Azure Arc PrivateLinkScopes within a subscription as paginated response with
+ * {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list();
/**
* Gets a list of all Azure Arc PrivateLinkScopes within a subscription.
- *
+ *
* @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 all Azure Arc PrivateLinkScopes within a subscription as paginated response with {@link
- * PagedIterable}.
+ * @return a list of all Azure Arc PrivateLinkScopes within a subscription as paginated response with
+ * {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list(Context context);
/**
* Gets a list of Azure Arc PrivateLinkScopes within a 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 list of Azure Arc PrivateLinkScopes within a resource group as paginated response with {@link
- * PagedIterable}.
+ * @return a list of Azure Arc PrivateLinkScopes within a resource group as paginated response with
+ * {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable listByResourceGroup(String resourceGroupName);
/**
* Gets a list of Azure Arc PrivateLinkScopes within a 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 list of Azure Arc PrivateLinkScopes within a resource group as paginated response with {@link
- * PagedIterable}.
+ * @return a list of Azure Arc PrivateLinkScopes within a resource group as paginated response with
+ * {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable listByResourceGroup(String resourceGroupName, Context context);
/**
* Deletes a Azure Arc PrivateLinkScope.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param scopeName The name of the Azure Arc PrivateLinkScope resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -83,7 +85,7 @@ public interface PrivateLinkScopesClient {
/**
* Deletes a Azure Arc PrivateLinkScope.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param scopeName The name of the Azure Arc PrivateLinkScope resource.
* @param context The context to associate with this operation.
@@ -97,7 +99,7 @@ public interface PrivateLinkScopesClient {
/**
* Deletes a Azure Arc PrivateLinkScope.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param scopeName The name of the Azure Arc PrivateLinkScope resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -109,7 +111,7 @@ public interface PrivateLinkScopesClient {
/**
* Deletes a Azure Arc PrivateLinkScope.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param scopeName The name of the Azure Arc PrivateLinkScope resource.
* @param context The context to associate with this operation.
@@ -122,7 +124,7 @@ public interface PrivateLinkScopesClient {
/**
* Returns a Azure Arc PrivateLinkScope.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param scopeName The name of the Azure Arc PrivateLinkScope resource.
* @param context The context to associate with this operation.
@@ -132,12 +134,12 @@ public interface PrivateLinkScopesClient {
* @return an Azure Arc PrivateLinkScope definition along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getByResourceGroupWithResponse(
- String resourceGroupName, String scopeName, Context context);
+ Response getByResourceGroupWithResponse(String resourceGroupName,
+ String scopeName, Context context);
/**
* Returns a Azure Arc PrivateLinkScope.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param scopeName The name of the Azure Arc PrivateLinkScope resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -151,11 +153,11 @@ Response getByResourceGroupWithResponse(
/**
* Creates (or updates) a Azure Arc PrivateLinkScope. Note: You cannot specify a different value for
* InstrumentationKey nor AppId in the Put operation.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param scopeName The name of the Azure Arc PrivateLinkScope resource.
* @param parameters Properties that need to be specified to create or update a Azure Arc for Servers and Clusters
- * PrivateLinkScope.
+ * PrivateLinkScope.
* @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,29 +165,29 @@ Response getByResourceGroupWithResponse(
* @return an Azure Arc PrivateLinkScope definition along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response createOrUpdateWithResponse(
- String resourceGroupName, String scopeName, HybridComputePrivateLinkScopeInner parameters, Context context);
+ Response createOrUpdateWithResponse(String resourceGroupName, String scopeName,
+ HybridComputePrivateLinkScopeInner parameters, Context context);
/**
* Creates (or updates) a Azure Arc PrivateLinkScope. Note: You cannot specify a different value for
* InstrumentationKey nor AppId in the Put operation.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param scopeName The name of the Azure Arc PrivateLinkScope resource.
* @param parameters Properties that need to be specified to create or update a Azure Arc for Servers and Clusters
- * PrivateLinkScope.
+ * PrivateLinkScope.
* @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 Azure Arc PrivateLinkScope definition.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- HybridComputePrivateLinkScopeInner createOrUpdate(
- String resourceGroupName, String scopeName, HybridComputePrivateLinkScopeInner parameters);
+ HybridComputePrivateLinkScopeInner createOrUpdate(String resourceGroupName, String scopeName,
+ HybridComputePrivateLinkScopeInner parameters);
/**
* Updates an existing PrivateLinkScope's tags. To update other fields use the CreateOrUpdate method.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param scopeName The name of the Azure Arc PrivateLinkScope resource.
* @param privateLinkScopeTags Updated tag information to set into the PrivateLinkScope instance.
@@ -196,12 +198,12 @@ HybridComputePrivateLinkScopeInner createOrUpdate(
* @return an Azure Arc PrivateLinkScope definition along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response updateTagsWithResponse(
- String resourceGroupName, String scopeName, TagsResource privateLinkScopeTags, Context context);
+ Response updateTagsWithResponse(String resourceGroupName, String scopeName,
+ TagsResource privateLinkScopeTags, Context context);
/**
* Updates an existing PrivateLinkScope's tags. To update other fields use the CreateOrUpdate method.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param scopeName The name of the Azure Arc PrivateLinkScope resource.
* @param privateLinkScopeTags Updated tag information to set into the PrivateLinkScope instance.
@@ -211,12 +213,12 @@ Response updateTagsWithResponse(
* @return an Azure Arc PrivateLinkScope definition.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- HybridComputePrivateLinkScopeInner updateTags(
- String resourceGroupName, String scopeName, TagsResource privateLinkScopeTags);
+ HybridComputePrivateLinkScopeInner updateTags(String resourceGroupName, String scopeName,
+ TagsResource privateLinkScopeTags);
/**
* Returns a Azure Arc PrivateLinkScope's validation details.
- *
+ *
* @param location The location of the target resource.
* @param privateLinkScopeId The id (Guid) of the Azure Arc PrivateLinkScope resource.
* @param context The context to associate with this operation.
@@ -226,12 +228,12 @@ HybridComputePrivateLinkScopeInner updateTags(
* @return the response body along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getValidationDetailsWithResponse(
- String location, String privateLinkScopeId, Context context);
+ Response getValidationDetailsWithResponse(String location,
+ String privateLinkScopeId, Context context);
/**
* Returns a Azure Arc PrivateLinkScope's validation details.
- *
+ *
* @param location The location of the target resource.
* @param privateLinkScopeId The id (Guid) of the Azure Arc PrivateLinkScope resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -244,7 +246,7 @@ Response getValidationDetailsWithRespons
/**
* Returns a Azure Arc PrivateLinkScope's validation details for a given machine.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param machineName The name of the target machine to get the private link scope validation details for.
* @param context The context to associate with this operation.
@@ -254,12 +256,12 @@ Response getValidationDetailsWithRespons
* @return the response body along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getValidationDetailsForMachineWithResponse(
- String resourceGroupName, String machineName, Context context);
+ Response
+ getValidationDetailsForMachineWithResponse(String resourceGroupName, String machineName, Context context);
/**
* Returns a Azure Arc PrivateLinkScope's validation details for a given machine.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param machineName The name of the target machine to get the private link scope validation details for.
* @throws IllegalArgumentException thrown if parameters fail the validation.
diff --git a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/ResourceProvidersClient.java b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/ResourceProvidersClient.java
index 22c4e9a1c695..014013b15da6 100644
--- a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/ResourceProvidersClient.java
+++ b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/ResourceProvidersClient.java
@@ -11,11 +11,13 @@
import com.azure.core.util.polling.SyncPoller;
import com.azure.resourcemanager.hybridcompute.models.MachineExtensionUpgrade;
-/** An instance of this class provides access to all the operations defined in ResourceProvidersClient. */
+/**
+ * An instance of this class provides access to all the operations defined in ResourceProvidersClient.
+ */
public interface ResourceProvidersClient {
/**
* The operation to Upgrade Machine Extensions.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param machineName The name of the hybrid machine.
* @param extensionUpgradeParameters Parameters supplied to the Upgrade Extensions operation.
@@ -25,12 +27,12 @@ public interface ResourceProvidersClient {
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginUpgradeExtensions(
- String resourceGroupName, String machineName, MachineExtensionUpgrade extensionUpgradeParameters);
+ SyncPoller, Void> beginUpgradeExtensions(String resourceGroupName, String machineName,
+ MachineExtensionUpgrade extensionUpgradeParameters);
/**
* The operation to Upgrade Machine Extensions.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param machineName The name of the hybrid machine.
* @param extensionUpgradeParameters Parameters supplied to the Upgrade Extensions operation.
@@ -41,15 +43,12 @@ SyncPoller, Void> beginUpgradeExtensions(
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginUpgradeExtensions(
- String resourceGroupName,
- String machineName,
- MachineExtensionUpgrade extensionUpgradeParameters,
- Context context);
+ SyncPoller, Void> beginUpgradeExtensions(String resourceGroupName, String machineName,
+ MachineExtensionUpgrade extensionUpgradeParameters, Context context);
/**
* The operation to Upgrade Machine Extensions.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param machineName The name of the hybrid machine.
* @param extensionUpgradeParameters Parameters supplied to the Upgrade Extensions operation.
@@ -58,12 +57,12 @@ SyncPoller, Void> beginUpgradeExtensions(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void upgradeExtensions(
- String resourceGroupName, String machineName, MachineExtensionUpgrade extensionUpgradeParameters);
+ void upgradeExtensions(String resourceGroupName, String machineName,
+ MachineExtensionUpgrade extensionUpgradeParameters);
/**
* The operation to Upgrade Machine Extensions.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param machineName The name of the hybrid machine.
* @param extensionUpgradeParameters Parameters supplied to the Upgrade Extensions operation.
@@ -73,9 +72,6 @@ void upgradeExtensions(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void upgradeExtensions(
- String resourceGroupName,
- String machineName,
- MachineExtensionUpgrade extensionUpgradeParameters,
- Context context);
+ void upgradeExtensions(String resourceGroupName, String machineName,
+ MachineExtensionUpgrade extensionUpgradeParameters, Context context);
}
diff --git a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/AccessRuleProperties.java b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/AccessRuleProperties.java
new file mode 100644
index 000000000000..39c8656dc5d8
--- /dev/null
+++ b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/AccessRuleProperties.java
@@ -0,0 +1,60 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.hybridcompute.fluent.models;
+
+import com.azure.core.annotation.Immutable;
+import com.azure.resourcemanager.hybridcompute.models.AccessRuleDirection;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.List;
+
+/**
+ * Properties of an access rule.
+ */
+@Immutable
+public final class AccessRuleProperties {
+ /*
+ * Direction of the access rule.
+ */
+ @JsonProperty(value = "direction", access = JsonProperty.Access.WRITE_ONLY)
+ private AccessRuleDirection direction;
+
+ /*
+ * Address prefixes that are allowed access.
+ */
+ @JsonProperty(value = "addressPrefixes", access = JsonProperty.Access.WRITE_ONLY)
+ private List addressPrefixes;
+
+ /**
+ * Creates an instance of AccessRuleProperties class.
+ */
+ public AccessRuleProperties() {
+ }
+
+ /**
+ * Get the direction property: Direction of the access rule.
+ *
+ * @return the direction value.
+ */
+ public AccessRuleDirection direction() {
+ return this.direction;
+ }
+
+ /**
+ * Get the addressPrefixes property: Address prefixes that are allowed access.
+ *
+ * @return the addressPrefixes value.
+ */
+ public List addressPrefixes() {
+ return this.addressPrefixes;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ }
+}
diff --git a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/AgentVersionInner.java b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/AgentVersionInner.java
deleted file mode 100644
index 489dd78204ca..000000000000
--- a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/AgentVersionInner.java
+++ /dev/null
@@ -1,102 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.hybridcompute.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-/** Describes properties of Agent Version. */
-@Fluent
-public final class AgentVersionInner {
- /*
- * Represents the agent version.
- */
- @JsonProperty(value = "agentVersion")
- private String agentVersion;
-
- /*
- * Represents the download link of specific agent version.
- */
- @JsonProperty(value = "downloadLink")
- private String downloadLink;
-
- /*
- * Defines the os type.
- */
- @JsonProperty(value = "osType")
- private String osType;
-
- /** Creates an instance of AgentVersionInner class. */
- public AgentVersionInner() {
- }
-
- /**
- * Get the agentVersion property: Represents the agent version.
- *
- * @return the agentVersion value.
- */
- public String agentVersion() {
- return this.agentVersion;
- }
-
- /**
- * Set the agentVersion property: Represents the agent version.
- *
- * @param agentVersion the agentVersion value to set.
- * @return the AgentVersionInner object itself.
- */
- public AgentVersionInner withAgentVersion(String agentVersion) {
- this.agentVersion = agentVersion;
- return this;
- }
-
- /**
- * Get the downloadLink property: Represents the download link of specific agent version.
- *
- * @return the downloadLink value.
- */
- public String downloadLink() {
- return this.downloadLink;
- }
-
- /**
- * Set the downloadLink property: Represents the download link of specific agent version.
- *
- * @param downloadLink the downloadLink value to set.
- * @return the AgentVersionInner object itself.
- */
- public AgentVersionInner withDownloadLink(String downloadLink) {
- this.downloadLink = downloadLink;
- return this;
- }
-
- /**
- * Get the osType property: Defines the os type.
- *
- * @return the osType value.
- */
- public String osType() {
- return this.osType;
- }
-
- /**
- * Set the osType property: Defines the os type.
- *
- * @param osType the osType value to set.
- * @return the AgentVersionInner object itself.
- */
- public AgentVersionInner withOsType(String osType) {
- this.osType = osType;
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- }
-}
diff --git a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/AgentVersionsListInner.java b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/AgentVersionsListInner.java
deleted file mode 100644
index 23a48f953f4a..000000000000
--- a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/AgentVersionsListInner.java
+++ /dev/null
@@ -1,80 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.hybridcompute.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.fasterxml.jackson.annotation.JsonProperty;
-import java.util.List;
-
-/** Describes AgentVersions List. */
-@Fluent
-public final class AgentVersionsListInner {
- /*
- * The list of available Agent Versions.
- */
- @JsonProperty(value = "value")
- private List value;
-
- /*
- * The URI to fetch the next 10 available Agent Versions.
- */
- @JsonProperty(value = "nextLink")
- private String nextLink;
-
- /** Creates an instance of AgentVersionsListInner class. */
- public AgentVersionsListInner() {
- }
-
- /**
- * Get the value property: The list of available Agent Versions.
- *
- * @return the value value.
- */
- public List value() {
- return this.value;
- }
-
- /**
- * Set the value property: The list of available Agent Versions.
- *
- * @param value the value value to set.
- * @return the AgentVersionsListInner object itself.
- */
- public AgentVersionsListInner withValue(List value) {
- this.value = value;
- return this;
- }
-
- /**
- * Get the nextLink property: The URI to fetch the next 10 available Agent Versions.
- *
- * @return the nextLink value.
- */
- public String nextLink() {
- return this.nextLink;
- }
-
- /**
- * Set the nextLink property: The URI to fetch the next 10 available Agent Versions.
- *
- * @param nextLink the nextLink value to set.
- * @return the AgentVersionsListInner object itself.
- */
- public AgentVersionsListInner withNextLink(String nextLink) {
- this.nextLink = nextLink;
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (value() != null) {
- value().forEach(e -> e.validate());
- }
- }
-}
diff --git a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/EsuProfileUpdateProperties.java b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/EsuProfileUpdateProperties.java
index e714b1d7e787..57b9ddfa9374 100644
--- a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/EsuProfileUpdateProperties.java
+++ b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/EsuProfileUpdateProperties.java
@@ -7,7 +7,9 @@
import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
-/** Describes the Update properties of a License Profile. */
+/**
+ * Describes the Update properties of a ESU License Profile.
+ */
@Fluent
public final class EsuProfileUpdateProperties {
/*
@@ -16,13 +18,15 @@ public final class EsuProfileUpdateProperties {
@JsonProperty(value = "assignedLicense")
private String assignedLicense;
- /** Creates an instance of EsuProfileUpdateProperties class. */
+ /**
+ * Creates an instance of EsuProfileUpdateProperties class.
+ */
public EsuProfileUpdateProperties() {
}
/**
* Get the assignedLicense property: The resource id of the license.
- *
+ *
* @return the assignedLicense value.
*/
public String assignedLicense() {
@@ -31,7 +35,7 @@ public String assignedLicense() {
/**
* Set the assignedLicense property: The resource id of the license.
- *
+ *
* @param assignedLicense the assignedLicense value to set.
* @return the EsuProfileUpdateProperties object itself.
*/
@@ -42,7 +46,7 @@ public EsuProfileUpdateProperties withAssignedLicense(String assignedLicense) {
/**
* Validates the instance.
- *
+ *
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
diff --git a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/ExtensionValueInner.java b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/ExtensionValueInner.java
index 2dbed12fa942..e7aa67f2bbff 100644
--- a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/ExtensionValueInner.java
+++ b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/ExtensionValueInner.java
@@ -9,7 +9,9 @@
import com.azure.core.management.SystemData;
import com.fasterxml.jackson.annotation.JsonProperty;
-/** Describes a Extension Metadata. */
+/**
+ * Describes a Extension Metadata.
+ */
@Immutable
public final class ExtensionValueInner extends ProxyResource {
/*
@@ -24,13 +26,15 @@ public final class ExtensionValueInner extends ProxyResource {
@JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
private SystemData systemData;
- /** Creates an instance of ExtensionValueInner class. */
+ /**
+ * Creates an instance of ExtensionValueInner class.
+ */
public ExtensionValueInner() {
}
/**
* Get the innerProperties property: The single extension based on search criteria.
- *
+ *
* @return the innerProperties value.
*/
private ExtensionValueProperties innerProperties() {
@@ -39,7 +43,7 @@ private ExtensionValueProperties innerProperties() {
/**
* Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
- *
+ *
* @return the systemData value.
*/
public SystemData systemData() {
@@ -48,7 +52,7 @@ public SystemData systemData() {
/**
* Get the version property: The version of the Extension being received.
- *
+ *
* @return the version value.
*/
public String version() {
@@ -57,7 +61,7 @@ public String version() {
/**
* Get the extensionType property: The type of the Extension being received.
- *
+ *
* @return the extensionType value.
*/
public String extensionType() {
@@ -66,7 +70,7 @@ public String extensionType() {
/**
* Get the publisher property: The publisher of the Extension being received.
- *
+ *
* @return the publisher value.
*/
public String publisher() {
@@ -75,7 +79,7 @@ public String publisher() {
/**
* Validates the instance.
- *
+ *
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
diff --git a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/ExtensionValueProperties.java b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/ExtensionValueProperties.java
index e4d1cd924223..26cc37522353 100644
--- a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/ExtensionValueProperties.java
+++ b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/ExtensionValueProperties.java
@@ -7,7 +7,9 @@
import com.azure.core.annotation.Immutable;
import com.fasterxml.jackson.annotation.JsonProperty;
-/** Describes Extension Metadata properties. */
+/**
+ * Describes Extension Metadata properties.
+ */
@Immutable
public final class ExtensionValueProperties {
/*
@@ -28,13 +30,15 @@ public final class ExtensionValueProperties {
@JsonProperty(value = "publisher", access = JsonProperty.Access.WRITE_ONLY)
private String publisher;
- /** Creates an instance of ExtensionValueProperties class. */
+ /**
+ * Creates an instance of ExtensionValueProperties class.
+ */
public ExtensionValueProperties() {
}
/**
* Get the version property: The version of the Extension being received.
- *
+ *
* @return the version value.
*/
public String version() {
@@ -43,7 +47,7 @@ public String version() {
/**
* Get the extensionType property: The type of the Extension being received.
- *
+ *
* @return the extensionType value.
*/
public String extensionType() {
@@ -52,7 +56,7 @@ public String extensionType() {
/**
* Get the publisher property: The publisher of the Extension being received.
- *
+ *
* @return the publisher value.
*/
public String publisher() {
@@ -61,7 +65,7 @@ public String publisher() {
/**
* Validates the instance.
- *
+ *
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
diff --git a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/HybridComputePrivateLinkScopeInner.java b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/HybridComputePrivateLinkScopeInner.java
index 6655bb8604dd..a631dc576dbc 100644
--- a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/HybridComputePrivateLinkScopeInner.java
+++ b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/HybridComputePrivateLinkScopeInner.java
@@ -11,7 +11,9 @@
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Map;
-/** An Azure Arc PrivateLinkScope definition. */
+/**
+ * An Azure Arc PrivateLinkScope definition.
+ */
@Fluent
public final class HybridComputePrivateLinkScopeInner extends PrivateLinkScopesResource {
/*
@@ -26,13 +28,15 @@ public final class HybridComputePrivateLinkScopeInner extends PrivateLinkScopesR
@JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
private SystemData systemData;
- /** Creates an instance of HybridComputePrivateLinkScopeInner class. */
+ /**
+ * Creates an instance of HybridComputePrivateLinkScopeInner class.
+ */
public HybridComputePrivateLinkScopeInner() {
}
/**
* Get the properties property: Properties that define a Azure Arc PrivateLinkScope resource.
- *
+ *
* @return the properties value.
*/
public HybridComputePrivateLinkScopeProperties properties() {
@@ -41,7 +45,7 @@ public HybridComputePrivateLinkScopeProperties properties() {
/**
* Set the properties property: Properties that define a Azure Arc PrivateLinkScope resource.
- *
+ *
* @param properties the properties value to set.
* @return the HybridComputePrivateLinkScopeInner object itself.
*/
@@ -52,21 +56,25 @@ public HybridComputePrivateLinkScopeInner withProperties(HybridComputePrivateLin
/**
* Get the systemData property: The system meta data relating to this resource.
- *
+ *
* @return the systemData value.
*/
public SystemData systemData() {
return this.systemData;
}
- /** {@inheritDoc} */
+ /**
+ * {@inheritDoc}
+ */
@Override
public HybridComputePrivateLinkScopeInner withLocation(String location) {
super.withLocation(location);
return this;
}
- /** {@inheritDoc} */
+ /**
+ * {@inheritDoc}
+ */
@Override
public HybridComputePrivateLinkScopeInner withTags(Map tags) {
super.withTags(tags);
@@ -75,7 +83,7 @@ public HybridComputePrivateLinkScopeInner withTags(Map tags) {
/**
* Validates the instance.
- *
+ *
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
@Override
diff --git a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/HybridIdentityMetadataInner.java b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/HybridIdentityMetadataInner.java
deleted file mode 100644
index 288d87311573..000000000000
--- a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/HybridIdentityMetadataInner.java
+++ /dev/null
@@ -1,123 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.hybridcompute.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.management.ProxyResource;
-import com.azure.core.management.SystemData;
-import com.azure.core.util.logging.ClientLogger;
-import com.azure.resourcemanager.hybridcompute.models.Identity;
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-/** Defines the HybridIdentityMetadata. */
-@Fluent
-public final class HybridIdentityMetadataInner extends ProxyResource {
- /*
- * Resource properties.
- */
- @JsonProperty(value = "properties", required = true)
- private HybridIdentityMetadataProperties innerProperties = new HybridIdentityMetadataProperties();
-
- /*
- * Azure Resource Manager metadata containing createdBy and modifiedBy information.
- */
- @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
- private SystemData systemData;
-
- /** Creates an instance of HybridIdentityMetadataInner class. */
- public HybridIdentityMetadataInner() {
- }
-
- /**
- * Get the innerProperties property: Resource properties.
- *
- * @return the innerProperties value.
- */
- private HybridIdentityMetadataProperties innerProperties() {
- return this.innerProperties;
- }
-
- /**
- * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
- *
- * @return the systemData value.
- */
- public SystemData systemData() {
- return this.systemData;
- }
-
- /**
- * Get the vmId property: The unique identifier for the resource.
- *
- * @return the vmId value.
- */
- public String vmId() {
- return this.innerProperties() == null ? null : this.innerProperties().vmId();
- }
-
- /**
- * Set the vmId property: The unique identifier for the resource.
- *
- * @param vmId the vmId value to set.
- * @return the HybridIdentityMetadataInner object itself.
- */
- public HybridIdentityMetadataInner withVmId(String vmId) {
- if (this.innerProperties() == null) {
- this.innerProperties = new HybridIdentityMetadataProperties();
- }
- this.innerProperties().withVmId(vmId);
- return this;
- }
-
- /**
- * Get the publicKey property: The Public Key.
- *
- * @return the publicKey value.
- */
- public String publicKey() {
- return this.innerProperties() == null ? null : this.innerProperties().publicKey();
- }
-
- /**
- * Set the publicKey property: The Public Key.
- *
- * @param publicKey the publicKey value to set.
- * @return the HybridIdentityMetadataInner object itself.
- */
- public HybridIdentityMetadataInner withPublicKey(String publicKey) {
- if (this.innerProperties() == null) {
- this.innerProperties = new HybridIdentityMetadataProperties();
- }
- this.innerProperties().withPublicKey(publicKey);
- return this;
- }
-
- /**
- * Get the identity property: Identity for the resource.
- *
- * @return the identity value.
- */
- public Identity identity() {
- return this.innerProperties() == null ? null : this.innerProperties().identity();
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (innerProperties() == null) {
- throw LOGGER
- .logExceptionAsError(
- new IllegalArgumentException(
- "Missing required property innerProperties in model HybridIdentityMetadataInner"));
- } else {
- innerProperties().validate();
- }
- }
-
- private static final ClientLogger LOGGER = new ClientLogger(HybridIdentityMetadataInner.class);
-}
diff --git a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/HybridIdentityMetadataProperties.java b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/HybridIdentityMetadataProperties.java
deleted file mode 100644
index 04f76fb8a56a..000000000000
--- a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/HybridIdentityMetadataProperties.java
+++ /dev/null
@@ -1,95 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.hybridcompute.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.resourcemanager.hybridcompute.models.Identity;
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-/** Defines the resource properties. */
-@Fluent
-public final class HybridIdentityMetadataProperties {
- /*
- * The unique identifier for the resource.
- */
- @JsonProperty(value = "vmId")
- private String vmId;
-
- /*
- * The Public Key.
- */
- @JsonProperty(value = "publicKey")
- private String publicKey;
-
- /*
- * Identity for the resource.
- */
- @JsonProperty(value = "identity", access = JsonProperty.Access.WRITE_ONLY)
- private Identity identity;
-
- /** Creates an instance of HybridIdentityMetadataProperties class. */
- public HybridIdentityMetadataProperties() {
- }
-
- /**
- * Get the vmId property: The unique identifier for the resource.
- *
- * @return the vmId value.
- */
- public String vmId() {
- return this.vmId;
- }
-
- /**
- * Set the vmId property: The unique identifier for the resource.
- *
- * @param vmId the vmId value to set.
- * @return the HybridIdentityMetadataProperties object itself.
- */
- public HybridIdentityMetadataProperties withVmId(String vmId) {
- this.vmId = vmId;
- return this;
- }
-
- /**
- * Get the publicKey property: The Public Key.
- *
- * @return the publicKey value.
- */
- public String publicKey() {
- return this.publicKey;
- }
-
- /**
- * Set the publicKey property: The Public Key.
- *
- * @param publicKey the publicKey value to set.
- * @return the HybridIdentityMetadataProperties object itself.
- */
- public HybridIdentityMetadataProperties withPublicKey(String publicKey) {
- this.publicKey = publicKey;
- return this;
- }
-
- /**
- * Get the identity property: Identity for the resource.
- *
- * @return the identity value.
- */
- public Identity identity() {
- return this.identity;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (identity() != null) {
- identity().validate();
- }
- }
-}
diff --git a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/LicenseInner.java b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/LicenseInner.java
deleted file mode 100644
index d75e46f85d24..000000000000
--- a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/LicenseInner.java
+++ /dev/null
@@ -1,155 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.hybridcompute.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.management.Resource;
-import com.azure.core.management.SystemData;
-import com.azure.resourcemanager.hybridcompute.models.LicenseDetails;
-import com.azure.resourcemanager.hybridcompute.models.LicenseType;
-import com.azure.resourcemanager.hybridcompute.models.ProvisioningState;
-import com.fasterxml.jackson.annotation.JsonProperty;
-import java.util.Map;
-
-/** Describes a license in a hybrid machine. */
-@Fluent
-public final class LicenseInner extends Resource {
- /*
- * Hybrid Compute License properties
- */
- @JsonProperty(value = "properties")
- private LicenseProperties innerProperties;
-
- /*
- * Azure Resource Manager metadata containing createdBy and modifiedBy information.
- */
- @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
- private SystemData systemData;
-
- /** Creates an instance of LicenseInner class. */
- public LicenseInner() {
- }
-
- /**
- * Get the innerProperties property: Hybrid Compute License properties.
- *
- * @return the innerProperties value.
- */
- private LicenseProperties innerProperties() {
- return this.innerProperties;
- }
-
- /**
- * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
- *
- * @return the systemData value.
- */
- public SystemData systemData() {
- return this.systemData;
- }
-
- /** {@inheritDoc} */
- @Override
- public LicenseInner withLocation(String location) {
- super.withLocation(location);
- return this;
- }
-
- /** {@inheritDoc} */
- @Override
- public LicenseInner withTags(Map tags) {
- super.withTags(tags);
- return this;
- }
-
- /**
- * Get the provisioningState property: The provisioning state, which only appears in the response.
- *
- * @return the provisioningState value.
- */
- public ProvisioningState provisioningState() {
- return this.innerProperties() == null ? null : this.innerProperties().provisioningState();
- }
-
- /**
- * Get the tenantId property: Describes the tenant id.
- *
- * @return the tenantId value.
- */
- public String tenantId() {
- return this.innerProperties() == null ? null : this.innerProperties().tenantId();
- }
-
- /**
- * Set the tenantId property: Describes the tenant id.
- *
- * @param tenantId the tenantId value to set.
- * @return the LicenseInner object itself.
- */
- public LicenseInner withTenantId(String tenantId) {
- if (this.innerProperties() == null) {
- this.innerProperties = new LicenseProperties();
- }
- this.innerProperties().withTenantId(tenantId);
- return this;
- }
-
- /**
- * Get the licenseType property: The type of the license resource.
- *
- * @return the licenseType value.
- */
- public LicenseType licenseType() {
- return this.innerProperties() == null ? null : this.innerProperties().licenseType();
- }
-
- /**
- * Set the licenseType property: The type of the license resource.
- *
- * @param licenseType the licenseType value to set.
- * @return the LicenseInner object itself.
- */
- public LicenseInner withLicenseType(LicenseType licenseType) {
- if (this.innerProperties() == null) {
- this.innerProperties = new LicenseProperties();
- }
- this.innerProperties().withLicenseType(licenseType);
- return this;
- }
-
- /**
- * Get the licenseDetails property: Describes the properties of a License.
- *
- * @return the licenseDetails value.
- */
- public LicenseDetails licenseDetails() {
- return this.innerProperties() == null ? null : this.innerProperties().licenseDetails();
- }
-
- /**
- * Set the licenseDetails property: Describes the properties of a License.
- *
- * @param licenseDetails the licenseDetails value to set.
- * @return the LicenseInner object itself.
- */
- public LicenseInner withLicenseDetails(LicenseDetails licenseDetails) {
- if (this.innerProperties() == null) {
- this.innerProperties = new LicenseProperties();
- }
- this.innerProperties().withLicenseDetails(licenseDetails);
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (innerProperties() != null) {
- innerProperties().validate();
- }
- }
-}
diff --git a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/LicenseProfileArmEsuProperties.java b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/LicenseProfileArmEsuProperties.java
index 4675b6febe23..32e99265e0ec 100644
--- a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/LicenseProfileArmEsuProperties.java
+++ b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/LicenseProfileArmEsuProperties.java
@@ -8,7 +8,9 @@
import com.azure.resourcemanager.hybridcompute.models.LicenseProfileArmEsuPropertiesWithoutAssignedLicense;
import com.fasterxml.jackson.annotation.JsonProperty;
-/** Describes the properties of a License Profile ARM model. */
+/**
+ * Describes the properties of a License Profile ARM model.
+ */
@Fluent
public final class LicenseProfileArmEsuProperties extends LicenseProfileArmEsuPropertiesWithoutAssignedLicense {
/*
@@ -17,13 +19,15 @@ public final class LicenseProfileArmEsuProperties extends LicenseProfileArmEsuPr
@JsonProperty(value = "assignedLicense")
private String assignedLicense;
- /** Creates an instance of LicenseProfileArmEsuProperties class. */
+ /**
+ * Creates an instance of LicenseProfileArmEsuProperties class.
+ */
public LicenseProfileArmEsuProperties() {
}
/**
* Get the assignedLicense property: The resource id of the license.
- *
+ *
* @return the assignedLicense value.
*/
public String assignedLicense() {
@@ -32,7 +36,7 @@ public String assignedLicense() {
/**
* Set the assignedLicense property: The resource id of the license.
- *
+ *
* @param assignedLicense the assignedLicense value to set.
* @return the LicenseProfileArmEsuProperties object itself.
*/
@@ -43,7 +47,7 @@ public LicenseProfileArmEsuProperties withAssignedLicense(String assignedLicense
/**
* Validates the instance.
- *
+ *
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
@Override
diff --git a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/LicenseProfileArmProductProfileProperties.java b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/LicenseProfileArmProductProfileProperties.java
new file mode 100644
index 000000000000..4118183fbf76
--- /dev/null
+++ b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/LicenseProfileArmProductProfileProperties.java
@@ -0,0 +1,160 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.hybridcompute.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.resourcemanager.hybridcompute.models.LicenseProfileProductType;
+import com.azure.resourcemanager.hybridcompute.models.LicenseProfileSubscriptionStatus;
+import com.azure.resourcemanager.hybridcompute.models.ProductFeature;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.time.OffsetDateTime;
+import java.util.List;
+
+/**
+ * Describes the properties of a Product License Profile ARM model.
+ */
+@Fluent
+public final class LicenseProfileArmProductProfileProperties {
+ /*
+ * Indicates the subscription status of the product.
+ */
+ @JsonProperty(value = "subscriptionStatus")
+ private LicenseProfileSubscriptionStatus subscriptionStatus;
+
+ /*
+ * Indicates the product type of the license.
+ */
+ @JsonProperty(value = "productType")
+ private LicenseProfileProductType productType;
+
+ /*
+ * The timestamp in UTC when the billing starts.
+ */
+ @JsonProperty(value = "billingStartDate", access = JsonProperty.Access.WRITE_ONLY)
+ private OffsetDateTime billingStartDate;
+
+ /*
+ * The timestamp in UTC when the user enrolls the feature.
+ */
+ @JsonProperty(value = "enrollmentDate", access = JsonProperty.Access.WRITE_ONLY)
+ private OffsetDateTime enrollmentDate;
+
+ /*
+ * The timestamp in UTC when the user disenrolled the feature.
+ */
+ @JsonProperty(value = "disenrollmentDate", access = JsonProperty.Access.WRITE_ONLY)
+ private OffsetDateTime disenrollmentDate;
+
+ /*
+ * The list of product features.
+ */
+ @JsonProperty(value = "productFeatures")
+ private List productFeatures;
+
+ /**
+ * Creates an instance of LicenseProfileArmProductProfileProperties class.
+ */
+ public LicenseProfileArmProductProfileProperties() {
+ }
+
+ /**
+ * Get the subscriptionStatus property: Indicates the subscription status of the product.
+ *
+ * @return the subscriptionStatus value.
+ */
+ public LicenseProfileSubscriptionStatus subscriptionStatus() {
+ return this.subscriptionStatus;
+ }
+
+ /**
+ * Set the subscriptionStatus property: Indicates the subscription status of the product.
+ *
+ * @param subscriptionStatus the subscriptionStatus value to set.
+ * @return the LicenseProfileArmProductProfileProperties object itself.
+ */
+ public LicenseProfileArmProductProfileProperties
+ withSubscriptionStatus(LicenseProfileSubscriptionStatus subscriptionStatus) {
+ this.subscriptionStatus = subscriptionStatus;
+ return this;
+ }
+
+ /**
+ * Get the productType property: Indicates the product type of the license.
+ *
+ * @return the productType value.
+ */
+ public LicenseProfileProductType productType() {
+ return this.productType;
+ }
+
+ /**
+ * Set the productType property: Indicates the product type of the license.
+ *
+ * @param productType the productType value to set.
+ * @return the LicenseProfileArmProductProfileProperties object itself.
+ */
+ public LicenseProfileArmProductProfileProperties withProductType(LicenseProfileProductType productType) {
+ this.productType = productType;
+ return this;
+ }
+
+ /**
+ * Get the billingStartDate property: The timestamp in UTC when the billing starts.
+ *
+ * @return the billingStartDate value.
+ */
+ public OffsetDateTime billingStartDate() {
+ return this.billingStartDate;
+ }
+
+ /**
+ * Get the enrollmentDate property: The timestamp in UTC when the user enrolls the feature.
+ *
+ * @return the enrollmentDate value.
+ */
+ public OffsetDateTime enrollmentDate() {
+ return this.enrollmentDate;
+ }
+
+ /**
+ * Get the disenrollmentDate property: The timestamp in UTC when the user disenrolled the feature.
+ *
+ * @return the disenrollmentDate value.
+ */
+ public OffsetDateTime disenrollmentDate() {
+ return this.disenrollmentDate;
+ }
+
+ /**
+ * Get the productFeatures property: The list of product features.
+ *
+ * @return the productFeatures value.
+ */
+ public List productFeatures() {
+ return this.productFeatures;
+ }
+
+ /**
+ * Set the productFeatures property: The list of product features.
+ *
+ * @param productFeatures the productFeatures value to set.
+ * @return the LicenseProfileArmProductProfileProperties object itself.
+ */
+ public LicenseProfileArmProductProfileProperties withProductFeatures(List productFeatures) {
+ this.productFeatures = productFeatures;
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (productFeatures() != null) {
+ productFeatures().forEach(e -> e.validate());
+ }
+ }
+}
diff --git a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/LicenseProfileInner.java b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/LicenseProfileInner.java
deleted file mode 100644
index bc0d498a982c..000000000000
--- a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/LicenseProfileInner.java
+++ /dev/null
@@ -1,157 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.hybridcompute.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.management.Resource;
-import com.azure.core.management.SystemData;
-import com.azure.resourcemanager.hybridcompute.models.EsuEligibility;
-import com.azure.resourcemanager.hybridcompute.models.EsuKey;
-import com.azure.resourcemanager.hybridcompute.models.EsuKeyState;
-import com.azure.resourcemanager.hybridcompute.models.EsuServerType;
-import com.azure.resourcemanager.hybridcompute.models.ProvisioningState;
-import com.fasterxml.jackson.annotation.JsonProperty;
-import java.util.List;
-import java.util.Map;
-
-/** Describes a license profile in a hybrid machine. */
-@Fluent
-public final class LicenseProfileInner extends Resource {
- /*
- * Describe the properties of a license profile.
- */
- @JsonProperty(value = "properties")
- private LicenseProfileProperties innerProperties;
-
- /*
- * Azure Resource Manager metadata containing createdBy and modifiedBy information.
- */
- @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
- private SystemData systemData;
-
- /** Creates an instance of LicenseProfileInner class. */
- public LicenseProfileInner() {
- }
-
- /**
- * Get the innerProperties property: Describe the properties of a license profile.
- *
- * @return the innerProperties value.
- */
- private LicenseProfileProperties innerProperties() {
- return this.innerProperties;
- }
-
- /**
- * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
- *
- * @return the systemData value.
- */
- public SystemData systemData() {
- return this.systemData;
- }
-
- /** {@inheritDoc} */
- @Override
- public LicenseProfileInner withLocation(String location) {
- super.withLocation(location);
- return this;
- }
-
- /** {@inheritDoc} */
- @Override
- public LicenseProfileInner withTags(Map tags) {
- super.withTags(tags);
- return this;
- }
-
- /**
- * Get the provisioningState property: The provisioning state, which only appears in the response.
- *
- * @return the provisioningState value.
- */
- public ProvisioningState provisioningState() {
- return this.innerProperties() == null ? null : this.innerProperties().provisioningState();
- }
-
- /**
- * Get the assignedLicense property: The resource id of the license.
- *
- * @return the assignedLicense value.
- */
- public String assignedLicense() {
- return this.innerProperties() == null ? null : this.innerProperties().assignedLicense();
- }
-
- /**
- * Set the assignedLicense property: The resource id of the license.
- *
- * @param assignedLicense the assignedLicense value to set.
- * @return the LicenseProfileInner object itself.
- */
- public LicenseProfileInner withAssignedLicense(String assignedLicense) {
- if (this.innerProperties() == null) {
- this.innerProperties = new LicenseProfileProperties();
- }
- this.innerProperties().withAssignedLicense(assignedLicense);
- return this;
- }
-
- /**
- * Get the serverType property: The type of the Esu servers.
- *
- * @return the serverType value.
- */
- public EsuServerType serverType() {
- return this.innerProperties() == null ? null : this.innerProperties().serverType();
- }
-
- /**
- * Get the esuEligibility property: Indicates the eligibility state of Esu.
- *
- * @return the esuEligibility value.
- */
- public EsuEligibility esuEligibility() {
- return this.innerProperties() == null ? null : this.innerProperties().esuEligibility();
- }
-
- /**
- * Get the esuKeyState property: Indicates whether there is an ESU Key currently active for the machine.
- *
- * @return the esuKeyState value.
- */
- public EsuKeyState esuKeyState() {
- return this.innerProperties() == null ? null : this.innerProperties().esuKeyState();
- }
-
- /**
- * Get the assignedLicenseImmutableId property: The guid id of the license.
- *
- * @return the assignedLicenseImmutableId value.
- */
- public String assignedLicenseImmutableId() {
- return this.innerProperties() == null ? null : this.innerProperties().assignedLicenseImmutableId();
- }
-
- /**
- * Get the esuKeys property: The list of ESU keys.
- *
- * @return the esuKeys value.
- */
- public List esuKeys() {
- return this.innerProperties() == null ? null : this.innerProperties().esuKeys();
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (innerProperties() != null) {
- innerProperties().validate();
- }
- }
-}
diff --git a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/LicenseProfileMachineInstanceViewEsuPropertiesInner.java b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/LicenseProfileMachineInstanceViewEsuPropertiesInner.java
deleted file mode 100644
index a061c8af5002..000000000000
--- a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/LicenseProfileMachineInstanceViewEsuPropertiesInner.java
+++ /dev/null
@@ -1,85 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.hybridcompute.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.resourcemanager.hybridcompute.models.LicenseAssignmentState;
-import com.azure.resourcemanager.hybridcompute.models.LicenseProfileArmEsuPropertiesWithoutAssignedLicense;
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-/** Properties for the Machine ESU profile. */
-@Fluent
-public final class LicenseProfileMachineInstanceViewEsuPropertiesInner
- extends LicenseProfileArmEsuPropertiesWithoutAssignedLicense {
- /*
- * The assigned license resource.
- */
- @JsonProperty(value = "assignedLicense")
- private LicenseInner assignedLicense;
-
- /*
- * Describes the license assignment state (Assigned or NotAssigned).
- */
- @JsonProperty(value = "licenseAssignmentState")
- private LicenseAssignmentState licenseAssignmentState;
-
- /** Creates an instance of LicenseProfileMachineInstanceViewEsuPropertiesInner class. */
- public LicenseProfileMachineInstanceViewEsuPropertiesInner() {
- }
-
- /**
- * Get the assignedLicense property: The assigned license resource.
- *
- * @return the assignedLicense value.
- */
- public LicenseInner assignedLicense() {
- return this.assignedLicense;
- }
-
- /**
- * Set the assignedLicense property: The assigned license resource.
- *
- * @param assignedLicense the assignedLicense value to set.
- * @return the LicenseProfileMachineInstanceViewEsuPropertiesInner object itself.
- */
- public LicenseProfileMachineInstanceViewEsuPropertiesInner withAssignedLicense(LicenseInner assignedLicense) {
- this.assignedLicense = assignedLicense;
- return this;
- }
-
- /**
- * Get the licenseAssignmentState property: Describes the license assignment state (Assigned or NotAssigned).
- *
- * @return the licenseAssignmentState value.
- */
- public LicenseAssignmentState licenseAssignmentState() {
- return this.licenseAssignmentState;
- }
-
- /**
- * Set the licenseAssignmentState property: Describes the license assignment state (Assigned or NotAssigned).
- *
- * @param licenseAssignmentState the licenseAssignmentState value to set.
- * @return the LicenseProfileMachineInstanceViewEsuPropertiesInner object itself.
- */
- public LicenseProfileMachineInstanceViewEsuPropertiesInner withLicenseAssignmentState(
- LicenseAssignmentState licenseAssignmentState) {
- this.licenseAssignmentState = licenseAssignmentState;
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- @Override
- public void validate() {
- super.validate();
- if (assignedLicense() != null) {
- assignedLicense().validate();
- }
- }
-}
diff --git a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/LicenseProfileMachineInstanceViewInner.java b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/LicenseProfileMachineInstanceViewInner.java
deleted file mode 100644
index 0e6520ad9bbf..000000000000
--- a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/LicenseProfileMachineInstanceViewInner.java
+++ /dev/null
@@ -1,54 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.hybridcompute.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-/** License Profile Instance View in Machine Properties. */
-@Fluent
-public final class LicenseProfileMachineInstanceViewInner {
- /*
- * Properties for the Machine ESU profile.
- */
- @JsonProperty(value = "esuProfile")
- private LicenseProfileMachineInstanceViewEsuPropertiesInner esuProfile;
-
- /** Creates an instance of LicenseProfileMachineInstanceViewInner class. */
- public LicenseProfileMachineInstanceViewInner() {
- }
-
- /**
- * Get the esuProfile property: Properties for the Machine ESU profile.
- *
- * @return the esuProfile value.
- */
- public LicenseProfileMachineInstanceViewEsuPropertiesInner esuProfile() {
- return this.esuProfile;
- }
-
- /**
- * Set the esuProfile property: Properties for the Machine ESU profile.
- *
- * @param esuProfile the esuProfile value to set.
- * @return the LicenseProfileMachineInstanceViewInner object itself.
- */
- public LicenseProfileMachineInstanceViewInner withEsuProfile(
- LicenseProfileMachineInstanceViewEsuPropertiesInner esuProfile) {
- this.esuProfile = esuProfile;
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (esuProfile() != null) {
- esuProfile().validate();
- }
- }
-}
diff --git a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/LicenseProfileMachineInstanceViewSoftwareAssurance.java b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/LicenseProfileMachineInstanceViewSoftwareAssurance.java
new file mode 100644
index 000000000000..53208930caa8
--- /dev/null
+++ b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/LicenseProfileMachineInstanceViewSoftwareAssurance.java
@@ -0,0 +1,57 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.hybridcompute.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * The LicenseProfileMachineInstanceViewSoftwareAssurance model.
+ */
+@Fluent
+public final class LicenseProfileMachineInstanceViewSoftwareAssurance {
+ /*
+ * Specifies if this machine is licensed as part of a Software Assurance agreement.
+ */
+ @JsonProperty(value = "softwareAssuranceCustomer")
+ private Boolean softwareAssuranceCustomer;
+
+ /**
+ * Creates an instance of LicenseProfileMachineInstanceViewSoftwareAssurance class.
+ */
+ public LicenseProfileMachineInstanceViewSoftwareAssurance() {
+ }
+
+ /**
+ * Get the softwareAssuranceCustomer property: Specifies if this machine is licensed as part of a Software Assurance
+ * agreement.
+ *
+ * @return the softwareAssuranceCustomer value.
+ */
+ public Boolean softwareAssuranceCustomer() {
+ return this.softwareAssuranceCustomer;
+ }
+
+ /**
+ * Set the softwareAssuranceCustomer property: Specifies if this machine is licensed as part of a Software Assurance
+ * agreement.
+ *
+ * @param softwareAssuranceCustomer the softwareAssuranceCustomer value to set.
+ * @return the LicenseProfileMachineInstanceViewSoftwareAssurance object itself.
+ */
+ public LicenseProfileMachineInstanceViewSoftwareAssurance
+ withSoftwareAssuranceCustomer(Boolean softwareAssuranceCustomer) {
+ this.softwareAssuranceCustomer = softwareAssuranceCustomer;
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ }
+}
diff --git a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/LicenseProfileProperties.java b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/LicenseProfileProperties.java
deleted file mode 100644
index fdee30e5357b..000000000000
--- a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/LicenseProfileProperties.java
+++ /dev/null
@@ -1,131 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.hybridcompute.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.resourcemanager.hybridcompute.models.EsuEligibility;
-import com.azure.resourcemanager.hybridcompute.models.EsuKey;
-import com.azure.resourcemanager.hybridcompute.models.EsuKeyState;
-import com.azure.resourcemanager.hybridcompute.models.EsuServerType;
-import com.azure.resourcemanager.hybridcompute.models.ProvisioningState;
-import com.fasterxml.jackson.annotation.JsonProperty;
-import java.util.List;
-
-/** Describe the properties of a license profile. */
-@Fluent
-public final class LicenseProfileProperties {
- /*
- * Hybrid Compute ESU Profile properties
- */
- @JsonProperty(value = "esuProfile")
- private LicenseProfileArmEsuProperties innerEsuProfile;
-
- /*
- * The provisioning state, which only appears in the response.
- */
- @JsonProperty(value = "provisioningState", access = JsonProperty.Access.WRITE_ONLY)
- private ProvisioningState provisioningState;
-
- /** Creates an instance of LicenseProfileProperties class. */
- public LicenseProfileProperties() {
- }
-
- /**
- * Get the innerEsuProfile property: Hybrid Compute ESU Profile properties.
- *
- * @return the innerEsuProfile value.
- */
- private LicenseProfileArmEsuProperties innerEsuProfile() {
- return this.innerEsuProfile;
- }
-
- /**
- * Get the provisioningState property: The provisioning state, which only appears in the response.
- *
- * @return the provisioningState value.
- */
- public ProvisioningState provisioningState() {
- return this.provisioningState;
- }
-
- /**
- * Get the assignedLicense property: The resource id of the license.
- *
- * @return the assignedLicense value.
- */
- public String assignedLicense() {
- return this.innerEsuProfile() == null ? null : this.innerEsuProfile().assignedLicense();
- }
-
- /**
- * Set the assignedLicense property: The resource id of the license.
- *
- * @param assignedLicense the assignedLicense value to set.
- * @return the LicenseProfileProperties object itself.
- */
- public LicenseProfileProperties withAssignedLicense(String assignedLicense) {
- if (this.innerEsuProfile() == null) {
- this.innerEsuProfile = new LicenseProfileArmEsuProperties();
- }
- this.innerEsuProfile().withAssignedLicense(assignedLicense);
- return this;
- }
-
- /**
- * Get the serverType property: The type of the Esu servers.
- *
- * @return the serverType value.
- */
- public EsuServerType serverType() {
- return this.innerEsuProfile() == null ? null : this.innerEsuProfile().serverType();
- }
-
- /**
- * Get the esuEligibility property: Indicates the eligibility state of Esu.
- *
- * @return the esuEligibility value.
- */
- public EsuEligibility esuEligibility() {
- return this.innerEsuProfile() == null ? null : this.innerEsuProfile().esuEligibility();
- }
-
- /**
- * Get the esuKeyState property: Indicates whether there is an ESU Key currently active for the machine.
- *
- * @return the esuKeyState value.
- */
- public EsuKeyState esuKeyState() {
- return this.innerEsuProfile() == null ? null : this.innerEsuProfile().esuKeyState();
- }
-
- /**
- * Get the assignedLicenseImmutableId property: The guid id of the license.
- *
- * @return the assignedLicenseImmutableId value.
- */
- public String assignedLicenseImmutableId() {
- return this.innerEsuProfile() == null ? null : this.innerEsuProfile().assignedLicenseImmutableId();
- }
-
- /**
- * Get the esuKeys property: The list of ESU keys.
- *
- * @return the esuKeys value.
- */
- public List esuKeys() {
- return this.innerEsuProfile() == null ? null : this.innerEsuProfile().esuKeys();
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (innerEsuProfile() != null) {
- innerEsuProfile().validate();
- }
- }
-}
diff --git a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/LicenseProfileUpdateProperties.java b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/LicenseProfileUpdateProperties.java
index 3e97daf3ef5b..d9a5ac29dd12 100644
--- a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/LicenseProfileUpdateProperties.java
+++ b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/LicenseProfileUpdateProperties.java
@@ -5,33 +5,96 @@
package com.azure.resourcemanager.hybridcompute.fluent.models;
import com.azure.core.annotation.Fluent;
+import com.azure.resourcemanager.hybridcompute.models.LicenseProfileProductType;
+import com.azure.resourcemanager.hybridcompute.models.LicenseProfileSubscriptionStatusUpdate;
+import com.azure.resourcemanager.hybridcompute.models.ProductFeatureUpdate;
import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.List;
-/** Describe the Update properties of a license profile. */
+/**
+ * Describe the Update properties of a license profile.
+ */
@Fluent
public final class LicenseProfileUpdateProperties {
+ /*
+ * The softwareAssurance property.
+ */
+ @JsonProperty(value = "softwareAssurance")
+ private LicenseProfileUpdatePropertiesSoftwareAssurance innerSoftwareAssurance;
+
/*
* Hybrid Compute ESU Profile Update properties
*/
@JsonProperty(value = "esuProfile")
private EsuProfileUpdateProperties innerEsuProfile;
- /** Creates an instance of LicenseProfileUpdateProperties class. */
+ /*
+ * Hybrid Compute Product Profile Update properties
+ */
+ @JsonProperty(value = "productProfile")
+ private ProductProfileUpdateProperties innerProductProfile;
+
+ /**
+ * Creates an instance of LicenseProfileUpdateProperties class.
+ */
public LicenseProfileUpdateProperties() {
}
+ /**
+ * Get the innerSoftwareAssurance property: The softwareAssurance property.
+ *
+ * @return the innerSoftwareAssurance value.
+ */
+ private LicenseProfileUpdatePropertiesSoftwareAssurance innerSoftwareAssurance() {
+ return this.innerSoftwareAssurance;
+ }
+
/**
* Get the innerEsuProfile property: Hybrid Compute ESU Profile Update properties.
- *
+ *
* @return the innerEsuProfile value.
*/
private EsuProfileUpdateProperties innerEsuProfile() {
return this.innerEsuProfile;
}
+ /**
+ * Get the innerProductProfile property: Hybrid Compute Product Profile Update properties.
+ *
+ * @return the innerProductProfile value.
+ */
+ private ProductProfileUpdateProperties innerProductProfile() {
+ return this.innerProductProfile;
+ }
+
+ /**
+ * Get the softwareAssuranceCustomer property: Specifies if this machine is licensed as part of a Software Assurance
+ * agreement.
+ *
+ * @return the softwareAssuranceCustomer value.
+ */
+ public Boolean softwareAssuranceCustomer() {
+ return this.innerSoftwareAssurance() == null ? null : this.innerSoftwareAssurance().softwareAssuranceCustomer();
+ }
+
+ /**
+ * Set the softwareAssuranceCustomer property: Specifies if this machine is licensed as part of a Software Assurance
+ * agreement.
+ *
+ * @param softwareAssuranceCustomer the softwareAssuranceCustomer value to set.
+ * @return the LicenseProfileUpdateProperties object itself.
+ */
+ public LicenseProfileUpdateProperties withSoftwareAssuranceCustomer(Boolean softwareAssuranceCustomer) {
+ if (this.innerSoftwareAssurance() == null) {
+ this.innerSoftwareAssurance = new LicenseProfileUpdatePropertiesSoftwareAssurance();
+ }
+ this.innerSoftwareAssurance().withSoftwareAssuranceCustomer(softwareAssuranceCustomer);
+ return this;
+ }
+
/**
* Get the assignedLicense property: The resource id of the license.
- *
+ *
* @return the assignedLicense value.
*/
public String assignedLicense() {
@@ -40,7 +103,7 @@ public String assignedLicense() {
/**
* Set the assignedLicense property: The resource id of the license.
- *
+ *
* @param assignedLicense the assignedLicense value to set.
* @return the LicenseProfileUpdateProperties object itself.
*/
@@ -52,14 +115,90 @@ public LicenseProfileUpdateProperties withAssignedLicense(String assignedLicense
return this;
}
+ /**
+ * Get the subscriptionStatus property: Indicates the subscription status of the product.
+ *
+ * @return the subscriptionStatus value.
+ */
+ public LicenseProfileSubscriptionStatusUpdate subscriptionStatus() {
+ return this.innerProductProfile() == null ? null : this.innerProductProfile().subscriptionStatus();
+ }
+
+ /**
+ * Set the subscriptionStatus property: Indicates the subscription status of the product.
+ *
+ * @param subscriptionStatus the subscriptionStatus value to set.
+ * @return the LicenseProfileUpdateProperties object itself.
+ */
+ public LicenseProfileUpdateProperties
+ withSubscriptionStatus(LicenseProfileSubscriptionStatusUpdate subscriptionStatus) {
+ if (this.innerProductProfile() == null) {
+ this.innerProductProfile = new ProductProfileUpdateProperties();
+ }
+ this.innerProductProfile().withSubscriptionStatus(subscriptionStatus);
+ return this;
+ }
+
+ /**
+ * Get the productType property: Indicates the product type of the license.
+ *
+ * @return the productType value.
+ */
+ public LicenseProfileProductType productType() {
+ return this.innerProductProfile() == null ? null : this.innerProductProfile().productType();
+ }
+
+ /**
+ * Set the productType property: Indicates the product type of the license.
+ *
+ * @param productType the productType value to set.
+ * @return the LicenseProfileUpdateProperties object itself.
+ */
+ public LicenseProfileUpdateProperties withProductType(LicenseProfileProductType productType) {
+ if (this.innerProductProfile() == null) {
+ this.innerProductProfile = new ProductProfileUpdateProperties();
+ }
+ this.innerProductProfile().withProductType(productType);
+ return this;
+ }
+
+ /**
+ * Get the productFeatures property: The list of product feature updates.
+ *
+ * @return the productFeatures value.
+ */
+ public List productFeatures() {
+ return this.innerProductProfile() == null ? null : this.innerProductProfile().productFeatures();
+ }
+
+ /**
+ * Set the productFeatures property: The list of product feature updates.
+ *
+ * @param productFeatures the productFeatures value to set.
+ * @return the LicenseProfileUpdateProperties object itself.
+ */
+ public LicenseProfileUpdateProperties withProductFeatures(List productFeatures) {
+ if (this.innerProductProfile() == null) {
+ this.innerProductProfile = new ProductProfileUpdateProperties();
+ }
+ this.innerProductProfile().withProductFeatures(productFeatures);
+ return this;
+ }
+
/**
* Validates the instance.
- *
+ *
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
+ if (innerSoftwareAssurance() != null) {
+ innerSoftwareAssurance().validate();
+ }
if (innerEsuProfile() != null) {
innerEsuProfile().validate();
}
+ if (innerProductProfile() != null) {
+ innerProductProfile().validate();
+ }
}
}
diff --git a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/LicenseProfileUpdatePropertiesSoftwareAssurance.java b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/LicenseProfileUpdatePropertiesSoftwareAssurance.java
new file mode 100644
index 000000000000..59ddbe3a00a7
--- /dev/null
+++ b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/LicenseProfileUpdatePropertiesSoftwareAssurance.java
@@ -0,0 +1,57 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.hybridcompute.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * The LicenseProfileUpdatePropertiesSoftwareAssurance model.
+ */
+@Fluent
+public final class LicenseProfileUpdatePropertiesSoftwareAssurance {
+ /*
+ * Specifies if this machine is licensed as part of a Software Assurance agreement.
+ */
+ @JsonProperty(value = "softwareAssuranceCustomer")
+ private Boolean softwareAssuranceCustomer;
+
+ /**
+ * Creates an instance of LicenseProfileUpdatePropertiesSoftwareAssurance class.
+ */
+ public LicenseProfileUpdatePropertiesSoftwareAssurance() {
+ }
+
+ /**
+ * Get the softwareAssuranceCustomer property: Specifies if this machine is licensed as part of a Software Assurance
+ * agreement.
+ *
+ * @return the softwareAssuranceCustomer value.
+ */
+ public Boolean softwareAssuranceCustomer() {
+ return this.softwareAssuranceCustomer;
+ }
+
+ /**
+ * Set the softwareAssuranceCustomer property: Specifies if this machine is licensed as part of a Software Assurance
+ * agreement.
+ *
+ * @param softwareAssuranceCustomer the softwareAssuranceCustomer value to set.
+ * @return the LicenseProfileUpdatePropertiesSoftwareAssurance object itself.
+ */
+ public LicenseProfileUpdatePropertiesSoftwareAssurance
+ withSoftwareAssuranceCustomer(Boolean softwareAssuranceCustomer) {
+ this.softwareAssuranceCustomer = softwareAssuranceCustomer;
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ }
+}
diff --git a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/LicenseProperties.java b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/LicenseProperties.java
index ecc7fb845ac7..1e669da96e5c 100644
--- a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/LicenseProperties.java
+++ b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/LicenseProperties.java
@@ -10,7 +10,9 @@
import com.azure.resourcemanager.hybridcompute.models.ProvisioningState;
import com.fasterxml.jackson.annotation.JsonProperty;
-/** Describes the properties of a License Profile. */
+/**
+ * Describes the properties of a License Profile.
+ */
@Fluent
public final class LicenseProperties {
/*
@@ -37,13 +39,15 @@ public final class LicenseProperties {
@JsonProperty(value = "licenseDetails")
private LicenseDetails licenseDetails;
- /** Creates an instance of LicenseProperties class. */
+ /**
+ * Creates an instance of LicenseProperties class.
+ */
public LicenseProperties() {
}
/**
* Get the provisioningState property: The provisioning state, which only appears in the response.
- *
+ *
* @return the provisioningState value.
*/
public ProvisioningState provisioningState() {
@@ -52,7 +56,7 @@ public ProvisioningState provisioningState() {
/**
* Get the tenantId property: Describes the tenant id.
- *
+ *
* @return the tenantId value.
*/
public String tenantId() {
@@ -61,7 +65,7 @@ public String tenantId() {
/**
* Set the tenantId property: Describes the tenant id.
- *
+ *
* @param tenantId the tenantId value to set.
* @return the LicenseProperties object itself.
*/
@@ -72,7 +76,7 @@ public LicenseProperties withTenantId(String tenantId) {
/**
* Get the licenseType property: The type of the license resource.
- *
+ *
* @return the licenseType value.
*/
public LicenseType licenseType() {
@@ -81,7 +85,7 @@ public LicenseType licenseType() {
/**
* Set the licenseType property: The type of the license resource.
- *
+ *
* @param licenseType the licenseType value to set.
* @return the LicenseProperties object itself.
*/
@@ -92,7 +96,7 @@ public LicenseProperties withLicenseType(LicenseType licenseType) {
/**
* Get the licenseDetails property: Describes the properties of a License.
- *
+ *
* @return the licenseDetails value.
*/
public LicenseDetails licenseDetails() {
@@ -101,7 +105,7 @@ public LicenseDetails licenseDetails() {
/**
* Set the licenseDetails property: Describes the properties of a License.
- *
+ *
* @param licenseDetails the licenseDetails value to set.
* @return the LicenseProperties object itself.
*/
@@ -112,7 +116,7 @@ public LicenseProperties withLicenseDetails(LicenseDetails licenseDetails) {
/**
* Validates the instance.
- *
+ *
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
diff --git a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/LicenseUpdateProperties.java b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/LicenseUpdateProperties.java
index d219afcc2400..e47ca9c1eee3 100644
--- a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/LicenseUpdateProperties.java
+++ b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/LicenseUpdateProperties.java
@@ -12,7 +12,9 @@
import com.azure.resourcemanager.hybridcompute.models.LicenseType;
import com.fasterxml.jackson.annotation.JsonProperty;
-/** Describes the Update properties of a License Profile. */
+/**
+ * Describes the Update properties of a License Profile.
+ */
@Fluent
public final class LicenseUpdateProperties {
/*
@@ -27,13 +29,15 @@ public final class LicenseUpdateProperties {
@JsonProperty(value = "licenseDetails")
private LicenseUpdatePropertiesLicenseDetails innerLicenseDetails;
- /** Creates an instance of LicenseUpdateProperties class. */
+ /**
+ * Creates an instance of LicenseUpdateProperties class.
+ */
public LicenseUpdateProperties() {
}
/**
* Get the licenseType property: The type of the license resource.
- *
+ *
* @return the licenseType value.
*/
public LicenseType licenseType() {
@@ -42,7 +46,7 @@ public LicenseType licenseType() {
/**
* Set the licenseType property: The type of the license resource.
- *
+ *
* @param licenseType the licenseType value to set.
* @return the LicenseUpdateProperties object itself.
*/
@@ -53,7 +57,7 @@ public LicenseUpdateProperties withLicenseType(LicenseType licenseType) {
/**
* Get the innerLicenseDetails property: The licenseDetails property.
- *
+ *
* @return the innerLicenseDetails value.
*/
private LicenseUpdatePropertiesLicenseDetails innerLicenseDetails() {
@@ -62,7 +66,7 @@ private LicenseUpdatePropertiesLicenseDetails innerLicenseDetails() {
/**
* Get the state property: Describes the state of the license.
- *
+ *
* @return the state value.
*/
public LicenseState state() {
@@ -71,7 +75,7 @@ public LicenseState state() {
/**
* Set the state property: Describes the state of the license.
- *
+ *
* @param state the state value to set.
* @return the LicenseUpdateProperties object itself.
*/
@@ -85,7 +89,7 @@ public LicenseUpdateProperties withState(LicenseState state) {
/**
* Get the target property: Describes the license target server.
- *
+ *
* @return the target value.
*/
public LicenseTarget target() {
@@ -94,7 +98,7 @@ public LicenseTarget target() {
/**
* Set the target property: Describes the license target server.
- *
+ *
* @param target the target value to set.
* @return the LicenseUpdateProperties object itself.
*/
@@ -108,7 +112,7 @@ public LicenseUpdateProperties withTarget(LicenseTarget target) {
/**
* Get the edition property: Describes the edition of the license. The values are either Standard or Datacenter.
- *
+ *
* @return the edition value.
*/
public LicenseEdition edition() {
@@ -117,7 +121,7 @@ public LicenseEdition edition() {
/**
* Set the edition property: Describes the edition of the license. The values are either Standard or Datacenter.
- *
+ *
* @param edition the edition value to set.
* @return the LicenseUpdateProperties object itself.
*/
@@ -131,7 +135,7 @@ public LicenseUpdateProperties withEdition(LicenseEdition edition) {
/**
* Get the type property: Describes the license core type (pCore or vCore).
- *
+ *
* @return the type value.
*/
public LicenseCoreType type() {
@@ -140,7 +144,7 @@ public LicenseCoreType type() {
/**
* Set the type property: Describes the license core type (pCore or vCore).
- *
+ *
* @param type the type value to set.
* @return the LicenseUpdateProperties object itself.
*/
@@ -154,7 +158,7 @@ public LicenseUpdateProperties withType(LicenseCoreType type) {
/**
* Get the processors property: Describes the number of processors.
- *
+ *
* @return the processors value.
*/
public Integer processors() {
@@ -163,7 +167,7 @@ public Integer processors() {
/**
* Set the processors property: Describes the number of processors.
- *
+ *
* @param processors the processors value to set.
* @return the LicenseUpdateProperties object itself.
*/
@@ -177,7 +181,7 @@ public LicenseUpdateProperties withProcessors(Integer processors) {
/**
* Validates the instance.
- *
+ *
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
diff --git a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/LicenseUpdatePropertiesLicenseDetails.java b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/LicenseUpdatePropertiesLicenseDetails.java
index 03b0ab0ed782..4f54fe2bb3c1 100644
--- a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/LicenseUpdatePropertiesLicenseDetails.java
+++ b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/LicenseUpdatePropertiesLicenseDetails.java
@@ -11,7 +11,9 @@
import com.azure.resourcemanager.hybridcompute.models.LicenseTarget;
import com.fasterxml.jackson.annotation.JsonProperty;
-/** The LicenseUpdatePropertiesLicenseDetails model. */
+/**
+ * The LicenseUpdatePropertiesLicenseDetails model.
+ */
@Fluent
public final class LicenseUpdatePropertiesLicenseDetails {
/*
@@ -44,13 +46,15 @@ public final class LicenseUpdatePropertiesLicenseDetails {
@JsonProperty(value = "processors")
private Integer processors;
- /** Creates an instance of LicenseUpdatePropertiesLicenseDetails class. */
+ /**
+ * Creates an instance of LicenseUpdatePropertiesLicenseDetails class.
+ */
public LicenseUpdatePropertiesLicenseDetails() {
}
/**
* Get the state property: Describes the state of the license.
- *
+ *
* @return the state value.
*/
public LicenseState state() {
@@ -59,7 +63,7 @@ public LicenseState state() {
/**
* Set the state property: Describes the state of the license.
- *
+ *
* @param state the state value to set.
* @return the LicenseUpdatePropertiesLicenseDetails object itself.
*/
@@ -70,7 +74,7 @@ public LicenseUpdatePropertiesLicenseDetails withState(LicenseState state) {
/**
* Get the target property: Describes the license target server.
- *
+ *
* @return the target value.
*/
public LicenseTarget target() {
@@ -79,7 +83,7 @@ public LicenseTarget target() {
/**
* Set the target property: Describes the license target server.
- *
+ *
* @param target the target value to set.
* @return the LicenseUpdatePropertiesLicenseDetails object itself.
*/
@@ -90,7 +94,7 @@ public LicenseUpdatePropertiesLicenseDetails withTarget(LicenseTarget target) {
/**
* Get the edition property: Describes the edition of the license. The values are either Standard or Datacenter.
- *
+ *
* @return the edition value.
*/
public LicenseEdition edition() {
@@ -99,7 +103,7 @@ public LicenseEdition edition() {
/**
* Set the edition property: Describes the edition of the license. The values are either Standard or Datacenter.
- *
+ *
* @param edition the edition value to set.
* @return the LicenseUpdatePropertiesLicenseDetails object itself.
*/
@@ -110,7 +114,7 @@ public LicenseUpdatePropertiesLicenseDetails withEdition(LicenseEdition edition)
/**
* Get the type property: Describes the license core type (pCore or vCore).
- *
+ *
* @return the type value.
*/
public LicenseCoreType type() {
@@ -119,7 +123,7 @@ public LicenseCoreType type() {
/**
* Set the type property: Describes the license core type (pCore or vCore).
- *
+ *
* @param type the type value to set.
* @return the LicenseUpdatePropertiesLicenseDetails object itself.
*/
@@ -130,7 +134,7 @@ public LicenseUpdatePropertiesLicenseDetails withType(LicenseCoreType type) {
/**
* Get the processors property: Describes the number of processors.
- *
+ *
* @return the processors value.
*/
public Integer processors() {
@@ -139,7 +143,7 @@ public Integer processors() {
/**
* Set the processors property: Describes the number of processors.
- *
+ *
* @param processors the processors value to set.
* @return the LicenseUpdatePropertiesLicenseDetails object itself.
*/
@@ -150,7 +154,7 @@ public LicenseUpdatePropertiesLicenseDetails withProcessors(Integer processors)
/**
* Validates the instance.
- *
+ *
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
diff --git a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/MachineAssessPatchesResultInner.java b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/MachineAssessPatchesResultInner.java
index 7b9d96ca3f06..10e912b3af8a 100644
--- a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/MachineAssessPatchesResultInner.java
+++ b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/MachineAssessPatchesResultInner.java
@@ -13,13 +13,15 @@
import com.azure.resourcemanager.hybridcompute.models.PatchServiceUsed;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.time.OffsetDateTime;
+import java.util.UUID;
-/** Describes the properties of an AssessPatches result. */
+/**
+ * Describes the properties of an AssessPatches result.
+ */
@Fluent
public final class MachineAssessPatchesResultInner {
/*
- * The overall success or failure status of the operation. It remains "InProgress" until the operation completes.
- * At that point it will become "Unknown", "Failed", "Succeeded", or "CompletedWithWarnings."
+ * The overall success or failure status of the operation. It remains "InProgress" until the operation completes. At that point it will become "Unknown", "Failed", "Succeeded", or "CompletedWithWarnings."
*/
@JsonProperty(value = "status", access = JsonProperty.Access.WRITE_ONLY)
private PatchOperationStatus status;
@@ -28,11 +30,10 @@ public final class MachineAssessPatchesResultInner {
* The activity ID of the operation that produced this result.
*/
@JsonProperty(value = "assessmentActivityId", access = JsonProperty.Access.WRITE_ONLY)
- private String assessmentActivityId;
+ private UUID assessmentActivityId;
/*
- * The overall reboot status of the VM. It will be true when partially installed patches require a reboot to
- * complete installation but the reboot has not yet occurred.
+ * The overall reboot status of the VM. It will be true when partially installed patches require a reboot to complete installation but the reboot has not yet occurred.
*/
@JsonProperty(value = "rebootPending", access = JsonProperty.Access.WRITE_ONLY)
private Boolean rebootPending;
@@ -79,7 +80,9 @@ public final class MachineAssessPatchesResultInner {
@JsonProperty(value = "errorDetails", access = JsonProperty.Access.WRITE_ONLY)
private ManagementError errorDetails;
- /** Creates an instance of MachineAssessPatchesResultInner class. */
+ /**
+ * Creates an instance of MachineAssessPatchesResultInner class.
+ */
public MachineAssessPatchesResultInner() {
}
@@ -87,7 +90,7 @@ public MachineAssessPatchesResultInner() {
* Get the status property: The overall success or failure status of the operation. It remains "InProgress" until
* the operation completes. At that point it will become "Unknown", "Failed", "Succeeded", or
* "CompletedWithWarnings.".
- *
+ *
* @return the status value.
*/
public PatchOperationStatus status() {
@@ -96,17 +99,17 @@ public PatchOperationStatus status() {
/**
* Get the assessmentActivityId property: The activity ID of the operation that produced this result.
- *
+ *
* @return the assessmentActivityId value.
*/
- public String assessmentActivityId() {
+ public UUID assessmentActivityId() {
return this.assessmentActivityId;
}
/**
* Get the rebootPending property: The overall reboot status of the VM. It will be true when partially installed
* patches require a reboot to complete installation but the reboot has not yet occurred.
- *
+ *
* @return the rebootPending value.
*/
public Boolean rebootPending() {
@@ -116,7 +119,7 @@ public Boolean rebootPending() {
/**
* Get the availablePatchCountByClassification property: Summarization of patches available for installation on the
* machine by classification.
- *
+ *
* @return the availablePatchCountByClassification value.
*/
public AvailablePatchCountByClassification availablePatchCountByClassification() {
@@ -126,7 +129,7 @@ public AvailablePatchCountByClassification availablePatchCountByClassification()
/**
* Set the availablePatchCountByClassification property: Summarization of patches available for installation on the
* machine by classification.
- *
+ *
* @param availablePatchCountByClassification the availablePatchCountByClassification value to set.
* @return the MachineAssessPatchesResultInner object itself.
*/
@@ -138,7 +141,7 @@ public MachineAssessPatchesResultInner withAvailablePatchCountByClassification(
/**
* Get the startDateTime property: The UTC timestamp when the operation began.
- *
+ *
* @return the startDateTime value.
*/
public OffsetDateTime startDateTime() {
@@ -147,7 +150,7 @@ public OffsetDateTime startDateTime() {
/**
* Get the lastModifiedDateTime property: The UTC timestamp when the operation finished.
- *
+ *
* @return the lastModifiedDateTime value.
*/
public OffsetDateTime lastModifiedDateTime() {
@@ -156,7 +159,7 @@ public OffsetDateTime lastModifiedDateTime() {
/**
* Get the startedBy property: Indicates if operation was triggered by user or by platform.
- *
+ *
* @return the startedBy value.
*/
public PatchOperationStartedBy startedBy() {
@@ -165,7 +168,7 @@ public PatchOperationStartedBy startedBy() {
/**
* Get the patchServiceUsed property: Specifies the patch service used for the operation.
- *
+ *
* @return the patchServiceUsed value.
*/
public PatchServiceUsed patchServiceUsed() {
@@ -174,7 +177,7 @@ public PatchServiceUsed patchServiceUsed() {
/**
* Get the osType property: The operating system type of the machine.
- *
+ *
* @return the osType value.
*/
public OsType osType() {
@@ -184,7 +187,7 @@ public OsType osType() {
/**
* Get the errorDetails property: The errors that were encountered during execution of the operation. The details
* array contains the list of them.
- *
+ *
* @return the errorDetails value.
*/
public ManagementError errorDetails() {
@@ -193,7 +196,7 @@ public ManagementError errorDetails() {
/**
* Validates the instance.
- *
+ *
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
diff --git a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/MachineExtensionInner.java b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/MachineExtensionInner.java
index 5501264ebd43..af04602310de 100644
--- a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/MachineExtensionInner.java
+++ b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/MachineExtensionInner.java
@@ -11,7 +11,9 @@
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Map;
-/** Describes a Machine Extension. */
+/**
+ * Describes a Machine Extension.
+ */
@Fluent
public final class MachineExtensionInner extends Resource {
/*
@@ -26,13 +28,15 @@ public final class MachineExtensionInner extends Resource {
@JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
private SystemData systemData;
- /** Creates an instance of MachineExtensionInner class. */
+ /**
+ * Creates an instance of MachineExtensionInner class.
+ */
public MachineExtensionInner() {
}
/**
* Get the properties property: Describes Machine Extension Properties.
- *
+ *
* @return the properties value.
*/
public MachineExtensionProperties properties() {
@@ -41,7 +45,7 @@ public MachineExtensionProperties properties() {
/**
* Set the properties property: Describes Machine Extension Properties.
- *
+ *
* @param properties the properties value to set.
* @return the MachineExtensionInner object itself.
*/
@@ -52,21 +56,25 @@ public MachineExtensionInner withProperties(MachineExtensionProperties propertie
/**
* Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
- *
+ *
* @return the systemData value.
*/
public SystemData systemData() {
return this.systemData;
}
- /** {@inheritDoc} */
+ /**
+ * {@inheritDoc}
+ */
@Override
public MachineExtensionInner withLocation(String location) {
super.withLocation(location);
return this;
}
- /** {@inheritDoc} */
+ /**
+ * {@inheritDoc}
+ */
@Override
public MachineExtensionInner withTags(Map tags) {
super.withTags(tags);
@@ -75,7 +83,7 @@ public MachineExtensionInner withTags(Map tags) {
/**
* Validates the instance.
- *
+ *
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
diff --git a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/MachineExtensionUpdateProperties.java b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/MachineExtensionUpdateProperties.java
index 18a4c376960b..d13d778945c7 100644
--- a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/MachineExtensionUpdateProperties.java
+++ b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/MachineExtensionUpdateProperties.java
@@ -9,7 +9,9 @@
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Map;
-/** Describes the properties of a Machine Extension. */
+/**
+ * Describes the properties of a Machine Extension.
+ */
@Fluent
public final class MachineExtensionUpdateProperties {
/*
@@ -37,16 +39,13 @@ public final class MachineExtensionUpdateProperties {
private String typeHandlerVersion;
/*
- * Indicates whether the extension should be automatically upgraded by the platform if there is a newer version
- * available.
+ * Indicates whether the extension should be automatically upgraded by the platform if there is a newer version available.
*/
@JsonProperty(value = "enableAutomaticUpgrade")
private Boolean enableAutomaticUpgrade;
/*
- * Indicates whether the extension should use a newer minor version if one is available at deployment time. Once
- * deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set
- * to true.
+ * Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.
*/
@JsonProperty(value = "autoUpgradeMinorVersion")
private Boolean autoUpgradeMinorVersion;
@@ -59,21 +58,22 @@ public final class MachineExtensionUpdateProperties {
private Map settings;
/*
- * The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at
- * all.
+ * The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
*/
@JsonProperty(value = "protectedSettings")
@JsonInclude(value = JsonInclude.Include.NON_NULL, content = JsonInclude.Include.ALWAYS)
private Map protectedSettings;
- /** Creates an instance of MachineExtensionUpdateProperties class. */
+ /**
+ * Creates an instance of MachineExtensionUpdateProperties class.
+ */
public MachineExtensionUpdateProperties() {
}
/**
* Get the forceUpdateTag property: How the extension handler should be forced to update even if the extension
* configuration has not changed.
- *
+ *
* @return the forceUpdateTag value.
*/
public String forceUpdateTag() {
@@ -83,7 +83,7 @@ public String forceUpdateTag() {
/**
* Set the forceUpdateTag property: How the extension handler should be forced to update even if the extension
* configuration has not changed.
- *
+ *
* @param forceUpdateTag the forceUpdateTag value to set.
* @return the MachineExtensionUpdateProperties object itself.
*/
@@ -94,7 +94,7 @@ public MachineExtensionUpdateProperties withForceUpdateTag(String forceUpdateTag
/**
* Get the publisher property: The name of the extension handler publisher.
- *
+ *
* @return the publisher value.
*/
public String publisher() {
@@ -103,7 +103,7 @@ public String publisher() {
/**
* Set the publisher property: The name of the extension handler publisher.
- *
+ *
* @param publisher the publisher value to set.
* @return the MachineExtensionUpdateProperties object itself.
*/
@@ -114,7 +114,7 @@ public MachineExtensionUpdateProperties withPublisher(String publisher) {
/**
* Get the type property: Specifies the type of the extension; an example is "CustomScriptExtension".
- *
+ *
* @return the type value.
*/
public String type() {
@@ -123,7 +123,7 @@ public String type() {
/**
* Set the type property: Specifies the type of the extension; an example is "CustomScriptExtension".
- *
+ *
* @param type the type value to set.
* @return the MachineExtensionUpdateProperties object itself.
*/
@@ -134,7 +134,7 @@ public MachineExtensionUpdateProperties withType(String type) {
/**
* Get the typeHandlerVersion property: Specifies the version of the script handler.
- *
+ *
* @return the typeHandlerVersion value.
*/
public String typeHandlerVersion() {
@@ -143,7 +143,7 @@ public String typeHandlerVersion() {
/**
* Set the typeHandlerVersion property: Specifies the version of the script handler.
- *
+ *
* @param typeHandlerVersion the typeHandlerVersion value to set.
* @return the MachineExtensionUpdateProperties object itself.
*/
@@ -155,7 +155,7 @@ public MachineExtensionUpdateProperties withTypeHandlerVersion(String typeHandle
/**
* Get the enableAutomaticUpgrade property: Indicates whether the extension should be automatically upgraded by the
* platform if there is a newer version available.
- *
+ *
* @return the enableAutomaticUpgrade value.
*/
public Boolean enableAutomaticUpgrade() {
@@ -165,7 +165,7 @@ public Boolean enableAutomaticUpgrade() {
/**
* Set the enableAutomaticUpgrade property: Indicates whether the extension should be automatically upgraded by the
* platform if there is a newer version available.
- *
+ *
* @param enableAutomaticUpgrade the enableAutomaticUpgrade value to set.
* @return the MachineExtensionUpdateProperties object itself.
*/
@@ -178,7 +178,7 @@ public MachineExtensionUpdateProperties withEnableAutomaticUpgrade(Boolean enabl
* Get the autoUpgradeMinorVersion property: Indicates whether the extension should use a newer minor version if one
* is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless
* redeployed, even with this property set to true.
- *
+ *
* @return the autoUpgradeMinorVersion value.
*/
public Boolean autoUpgradeMinorVersion() {
@@ -189,7 +189,7 @@ public Boolean autoUpgradeMinorVersion() {
* Set the autoUpgradeMinorVersion property: Indicates whether the extension should use a newer minor version if one
* is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless
* redeployed, even with this property set to true.
- *
+ *
* @param autoUpgradeMinorVersion the autoUpgradeMinorVersion value to set.
* @return the MachineExtensionUpdateProperties object itself.
*/
@@ -200,7 +200,7 @@ public MachineExtensionUpdateProperties withAutoUpgradeMinorVersion(Boolean auto
/**
* Get the settings property: Json formatted public settings for the extension.
- *
+ *
* @return the settings value.
*/
public Map settings() {
@@ -209,7 +209,7 @@ public Map settings() {
/**
* Set the settings property: Json formatted public settings for the extension.
- *
+ *
* @param settings the settings value to set.
* @return the MachineExtensionUpdateProperties object itself.
*/
@@ -221,7 +221,7 @@ public MachineExtensionUpdateProperties withSettings(Map setting
/**
* Get the protectedSettings property: The extension can contain either protectedSettings or
* protectedSettingsFromKeyVault or no protected settings at all.
- *
+ *
* @return the protectedSettings value.
*/
public Map protectedSettings() {
@@ -231,7 +231,7 @@ public Map protectedSettings() {
/**
* Set the protectedSettings property: The extension can contain either protectedSettings or
* protectedSettingsFromKeyVault or no protected settings at all.
- *
+ *
* @param protectedSettings the protectedSettings value to set.
* @return the MachineExtensionUpdateProperties object itself.
*/
@@ -242,7 +242,7 @@ public MachineExtensionUpdateProperties withProtectedSettings(Map resources() {
@@ -80,7 +86,7 @@ public List resources() {
/**
* Get the identity property: Identity for the resource.
- *
+ *
* @return the identity value.
*/
public Identity identity() {
@@ -89,7 +95,7 @@ public Identity identity() {
/**
* Set the identity property: Identity for the resource.
- *
+ *
* @param identity the identity value to set.
* @return the MachineInner object itself.
*/
@@ -101,7 +107,7 @@ public MachineInner withIdentity(Identity identity) {
/**
* Get the kind property: Indicates which kind of Arc machine placement on-premises, such as HCI, SCVMM or VMware
* etc.
- *
+ *
* @return the kind value.
*/
public ArcKindEnum kind() {
@@ -111,7 +117,7 @@ public ArcKindEnum kind() {
/**
* Set the kind property: Indicates which kind of Arc machine placement on-premises, such as HCI, SCVMM or VMware
* etc.
- *
+ *
* @param kind the kind value to set.
* @return the MachineInner object itself.
*/
@@ -122,21 +128,25 @@ public MachineInner withKind(ArcKindEnum kind) {
/**
* Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
- *
+ *
* @return the systemData value.
*/
public SystemData systemData() {
return this.systemData;
}
- /** {@inheritDoc} */
+ /**
+ * {@inheritDoc}
+ */
@Override
public MachineInner withLocation(String location) {
super.withLocation(location);
return this;
}
- /** {@inheritDoc} */
+ /**
+ * {@inheritDoc}
+ */
@Override
public MachineInner withTags(Map tags) {
super.withTags(tags);
@@ -145,7 +155,7 @@ public MachineInner withTags(Map tags) {
/**
* Get the locationData property: Metadata pertaining to the geographic location of the resource.
- *
+ *
* @return the locationData value.
*/
public LocationData locationData() {
@@ -154,7 +164,7 @@ public LocationData locationData() {
/**
* Set the locationData property: Metadata pertaining to the geographic location of the resource.
- *
+ *
* @param locationData the locationData value to set.
* @return the MachineInner object itself.
*/
@@ -169,7 +179,7 @@ public MachineInner withLocationData(LocationData locationData) {
/**
* Get the agentConfiguration property: Configurable properties that the user can set locally via the azcmagent
* config command, or remotely via ARM.
- *
+ *
* @return the agentConfiguration value.
*/
public AgentConfiguration agentConfiguration() {
@@ -178,7 +188,7 @@ public AgentConfiguration agentConfiguration() {
/**
* Get the serviceStatuses property: Statuses of dependent services that are reported back to ARM.
- *
+ *
* @return the serviceStatuses value.
*/
public ServiceStatuses serviceStatuses() {
@@ -187,7 +197,7 @@ public ServiceStatuses serviceStatuses() {
/**
* Set the serviceStatuses property: Statuses of dependent services that are reported back to ARM.
- *
+ *
* @param serviceStatuses the serviceStatuses value to set.
* @return the MachineInner object itself.
*/
@@ -201,7 +211,7 @@ public MachineInner withServiceStatuses(ServiceStatuses serviceStatuses) {
/**
* Get the cloudMetadata property: The metadata of the cloud environment (Azure/GCP/AWS/OCI...).
- *
+ *
* @return the cloudMetadata value.
*/
public CloudMetadata cloudMetadata() {
@@ -210,7 +220,7 @@ public CloudMetadata cloudMetadata() {
/**
* Set the cloudMetadata property: The metadata of the cloud environment (Azure/GCP/AWS/OCI...).
- *
+ *
* @param cloudMetadata the cloudMetadata value to set.
* @return the MachineInner object itself.
*/
@@ -224,7 +234,7 @@ public MachineInner withCloudMetadata(CloudMetadata cloudMetadata) {
/**
* Get the agentUpgrade property: The info of the machine w.r.t Agent Upgrade.
- *
+ *
* @return the agentUpgrade value.
*/
public AgentUpgrade agentUpgrade() {
@@ -233,7 +243,7 @@ public AgentUpgrade agentUpgrade() {
/**
* Set the agentUpgrade property: The info of the machine w.r.t Agent Upgrade.
- *
+ *
* @param agentUpgrade the agentUpgrade value to set.
* @return the MachineInner object itself.
*/
@@ -247,7 +257,7 @@ public MachineInner withAgentUpgrade(AgentUpgrade agentUpgrade) {
/**
* Get the osProfile property: Specifies the operating system settings for the hybrid machine.
- *
+ *
* @return the osProfile value.
*/
public OSProfile osProfile() {
@@ -256,7 +266,7 @@ public OSProfile osProfile() {
/**
* Set the osProfile property: Specifies the operating system settings for the hybrid machine.
- *
+ *
* @param osProfile the osProfile value to set.
* @return the MachineInner object itself.
*/
@@ -269,21 +279,21 @@ public MachineInner withOsProfile(OSProfile osProfile) {
}
/**
- * Get the licenseProfile property: Specifies the ESU related properties for a machine.
- *
+ * Get the licenseProfile property: Specifies the License related properties for a machine.
+ *
* @return the licenseProfile value.
*/
- public LicenseProfileMachineInstanceViewInner licenseProfile() {
+ public LicenseProfileMachineInstanceView licenseProfile() {
return this.innerProperties() == null ? null : this.innerProperties().licenseProfile();
}
/**
- * Set the licenseProfile property: Specifies the ESU related properties for a machine.
- *
+ * Set the licenseProfile property: Specifies the License related properties for a machine.
+ *
* @param licenseProfile the licenseProfile value to set.
* @return the MachineInner object itself.
*/
- public MachineInner withLicenseProfile(LicenseProfileMachineInstanceViewInner licenseProfile) {
+ public MachineInner withLicenseProfile(LicenseProfileMachineInstanceView licenseProfile) {
if (this.innerProperties() == null) {
this.innerProperties = new MachinePropertiesInner();
}
@@ -293,7 +303,7 @@ public MachineInner withLicenseProfile(LicenseProfileMachineInstanceViewInner li
/**
* Get the provisioningState property: The provisioning state, which only appears in the response.
- *
+ *
* @return the provisioningState value.
*/
public String provisioningState() {
@@ -302,7 +312,7 @@ public String provisioningState() {
/**
* Get the status property: The status of the hybrid machine agent.
- *
+ *
* @return the status value.
*/
public StatusTypes status() {
@@ -311,7 +321,7 @@ public StatusTypes status() {
/**
* Get the lastStatusChange property: The time of the last status change.
- *
+ *
* @return the lastStatusChange value.
*/
public OffsetDateTime lastStatusChange() {
@@ -320,7 +330,7 @@ public OffsetDateTime lastStatusChange() {
/**
* Get the errorDetails property: Details about the error state.
- *
+ *
* @return the errorDetails value.
*/
public List errorDetails() {
@@ -329,7 +339,7 @@ public List errorDetails() {
/**
* Get the agentVersion property: The hybrid machine agent full version.
- *
+ *
* @return the agentVersion value.
*/
public String agentVersion() {
@@ -338,20 +348,20 @@ public String agentVersion() {
/**
* Get the vmId property: Specifies the hybrid machine unique ID.
- *
+ *
* @return the vmId value.
*/
- public String vmId() {
+ public UUID vmId() {
return this.innerProperties() == null ? null : this.innerProperties().vmId();
}
/**
* Set the vmId property: Specifies the hybrid machine unique ID.
- *
+ *
* @param vmId the vmId value to set.
* @return the MachineInner object itself.
*/
- public MachineInner withVmId(String vmId) {
+ public MachineInner withVmId(UUID vmId) {
if (this.innerProperties() == null) {
this.innerProperties = new MachinePropertiesInner();
}
@@ -361,7 +371,7 @@ public MachineInner withVmId(String vmId) {
/**
* Get the displayName property: Specifies the hybrid machine display name.
- *
+ *
* @return the displayName value.
*/
public String displayName() {
@@ -370,7 +380,7 @@ public String displayName() {
/**
* Get the machineFqdn property: Specifies the hybrid machine FQDN.
- *
+ *
* @return the machineFqdn value.
*/
public String machineFqdn() {
@@ -380,7 +390,7 @@ public String machineFqdn() {
/**
* Get the clientPublicKey property: Public Key that the client provides to be used during initial resource
* onboarding.
- *
+ *
* @return the clientPublicKey value.
*/
public String clientPublicKey() {
@@ -390,7 +400,7 @@ public String clientPublicKey() {
/**
* Set the clientPublicKey property: Public Key that the client provides to be used during initial resource
* onboarding.
- *
+ *
* @param clientPublicKey the clientPublicKey value to set.
* @return the MachineInner object itself.
*/
@@ -404,7 +414,7 @@ public MachineInner withClientPublicKey(String clientPublicKey) {
/**
* Get the osName property: The Operating System running on the hybrid machine.
- *
+ *
* @return the osName value.
*/
public String osName() {
@@ -413,7 +423,7 @@ public String osName() {
/**
* Get the osVersion property: The version of Operating System running on the hybrid machine.
- *
+ *
* @return the osVersion value.
*/
public String osVersion() {
@@ -422,7 +432,7 @@ public String osVersion() {
/**
* Get the osType property: The type of Operating System (windows/linux).
- *
+ *
* @return the osType value.
*/
public String osType() {
@@ -431,7 +441,7 @@ public String osType() {
/**
* Set the osType property: The type of Operating System (windows/linux).
- *
+ *
* @param osType the osType value to set.
* @return the MachineInner object itself.
*/
@@ -445,16 +455,16 @@ public MachineInner withOsType(String osType) {
/**
* Get the vmUuid property: Specifies the Arc Machine's unique SMBIOS ID.
- *
+ *
* @return the vmUuid value.
*/
- public String vmUuid() {
+ public UUID vmUuid() {
return this.innerProperties() == null ? null : this.innerProperties().vmUuid();
}
/**
* Get the extensions property: Machine Extensions information (deprecated field).
- *
+ *
* @return the extensions value.
*/
public List extensions() {
@@ -463,7 +473,7 @@ public List extensions() {
/**
* Set the extensions property: Machine Extensions information (deprecated field).
- *
+ *
* @param extensions the extensions value to set.
* @return the MachineInner object itself.
*/
@@ -477,16 +487,25 @@ public MachineInner withExtensions(List extensions
/**
* Get the osSku property: Specifies the Operating System product SKU.
- *
+ *
* @return the osSku value.
*/
public String osSku() {
return this.innerProperties() == null ? null : this.innerProperties().osSku();
}
+ /**
+ * Get the osEdition property: The edition of the Operating System.
+ *
+ * @return the osEdition value.
+ */
+ public String osEdition() {
+ return this.innerProperties() == null ? null : this.innerProperties().osEdition();
+ }
+
/**
* Get the domainName property: Specifies the Windows domain name.
- *
+ *
* @return the domainName value.
*/
public String domainName() {
@@ -495,7 +514,7 @@ public String domainName() {
/**
* Get the adFqdn property: Specifies the AD fully qualified display name.
- *
+ *
* @return the adFqdn value.
*/
public String adFqdn() {
@@ -504,7 +523,7 @@ public String adFqdn() {
/**
* Get the dnsFqdn property: Specifies the DNS fully qualified display name.
- *
+ *
* @return the dnsFqdn value.
*/
public String dnsFqdn() {
@@ -514,7 +533,7 @@ public String dnsFqdn() {
/**
* Get the privateLinkScopeResourceId property: The resource id of the private link scope this machine is assigned
* to, if any.
- *
+ *
* @return the privateLinkScopeResourceId value.
*/
public String privateLinkScopeResourceId() {
@@ -524,7 +543,7 @@ public String privateLinkScopeResourceId() {
/**
* Set the privateLinkScopeResourceId property: The resource id of the private link scope this machine is assigned
* to, if any.
- *
+ *
* @param privateLinkScopeResourceId the privateLinkScopeResourceId value to set.
* @return the MachineInner object itself.
*/
@@ -539,7 +558,7 @@ public MachineInner withPrivateLinkScopeResourceId(String privateLinkScopeResour
/**
* Get the parentClusterResourceId property: The resource id of the parent cluster (Azure HCI) this machine is
* assigned to, if any.
- *
+ *
* @return the parentClusterResourceId value.
*/
public String parentClusterResourceId() {
@@ -549,7 +568,7 @@ public String parentClusterResourceId() {
/**
* Set the parentClusterResourceId property: The resource id of the parent cluster (Azure HCI) this machine is
* assigned to, if any.
- *
+ *
* @param parentClusterResourceId the parentClusterResourceId value to set.
* @return the MachineInner object itself.
*/
@@ -563,7 +582,7 @@ public MachineInner withParentClusterResourceId(String parentClusterResourceId)
/**
* Get the mssqlDiscovered property: Specifies whether any MS SQL instance is discovered on the machine.
- *
+ *
* @return the mssqlDiscovered value.
*/
public String mssqlDiscovered() {
@@ -572,7 +591,7 @@ public String mssqlDiscovered() {
/**
* Set the mssqlDiscovered property: Specifies whether any MS SQL instance is discovered on the machine.
- *
+ *
* @param mssqlDiscovered the mssqlDiscovered value to set.
* @return the MachineInner object itself.
*/
@@ -586,7 +605,7 @@ public MachineInner withMssqlDiscovered(String mssqlDiscovered) {
/**
* Get the detectedProperties property: Detected properties from the machine.
- *
+ *
* @return the detectedProperties value.
*/
public Map detectedProperties() {
@@ -595,7 +614,7 @@ public Map detectedProperties() {
/**
* Get the networkProfile property: Information about the network the machine is on.
- *
+ *
* @return the networkProfile value.
*/
public NetworkProfileInner networkProfile() {
@@ -604,7 +623,7 @@ public NetworkProfileInner networkProfile() {
/**
* Validates the instance.
- *
+ *
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
diff --git a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/MachineInstallPatchesResultInner.java b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/MachineInstallPatchesResultInner.java
index 3c078ae9f8fe..8448b8a2f653 100644
--- a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/MachineInstallPatchesResultInner.java
+++ b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/MachineInstallPatchesResultInner.java
@@ -14,12 +14,13 @@
import com.fasterxml.jackson.annotation.JsonProperty;
import java.time.OffsetDateTime;
-/** The result summary of an installation operation. */
+/**
+ * The result summary of an installation operation.
+ */
@Immutable
public final class MachineInstallPatchesResultInner {
/*
- * The overall success or failure status of the operation. It remains "InProgress" until the operation completes.
- * At that point it will become "Failed", "Succeeded", "Unknown" or "CompletedWithWarnings."
+ * The overall success or failure status of the operation. It remains "InProgress" until the operation completes. At that point it will become "Failed", "Succeeded", "Unknown" or "CompletedWithWarnings."
*/
@JsonProperty(value = "status", access = JsonProperty.Access.WRITE_ONLY)
private PatchOperationStatus status;
@@ -55,8 +56,7 @@ public final class MachineInstallPatchesResultInner {
private Integer notSelectedPatchCount;
/*
- * The number of patches that were identified as meeting the installation criteria, but were not able to be
- * installed. Typically this happens when maintenanceWindowExceeded == true.
+ * The number of patches that were identified as meeting the installation criteria, but were not able to be installed. Typically this happens when maintenanceWindowExceeded == true.
*/
@JsonProperty(value = "pendingPatchCount", access = JsonProperty.Access.WRITE_ONLY)
private Integer pendingPatchCount;
@@ -109,7 +109,9 @@ public final class MachineInstallPatchesResultInner {
@JsonProperty(value = "errorDetails", access = JsonProperty.Access.WRITE_ONLY)
private ManagementError errorDetails;
- /** Creates an instance of MachineInstallPatchesResultInner class. */
+ /**
+ * Creates an instance of MachineInstallPatchesResultInner class.
+ */
public MachineInstallPatchesResultInner() {
}
@@ -117,7 +119,7 @@ public MachineInstallPatchesResultInner() {
* Get the status property: The overall success or failure status of the operation. It remains "InProgress" until
* the operation completes. At that point it will become "Failed", "Succeeded", "Unknown" or
* "CompletedWithWarnings.".
- *
+ *
* @return the status value.
*/
public PatchOperationStatus status() {
@@ -126,7 +128,7 @@ public PatchOperationStatus status() {
/**
* Get the installationActivityId property: The activity ID of the operation that produced this result.
- *
+ *
* @return the installationActivityId value.
*/
public String installationActivityId() {
@@ -135,7 +137,7 @@ public String installationActivityId() {
/**
* Get the rebootStatus property: The reboot state of the VM following completion of the operation.
- *
+ *
* @return the rebootStatus value.
*/
public VMGuestPatchRebootStatus rebootStatus() {
@@ -145,7 +147,7 @@ public VMGuestPatchRebootStatus rebootStatus() {
/**
* Get the maintenanceWindowExceeded property: Whether the operation ran out of time before it completed all its
* intended actions.
- *
+ *
* @return the maintenanceWindowExceeded value.
*/
public Boolean maintenanceWindowExceeded() {
@@ -155,7 +157,7 @@ public Boolean maintenanceWindowExceeded() {
/**
* Get the excludedPatchCount property: The number of patches that were not installed due to the user blocking their
* installation.
- *
+ *
* @return the excludedPatchCount value.
*/
public Integer excludedPatchCount() {
@@ -165,7 +167,7 @@ public Integer excludedPatchCount() {
/**
* Get the notSelectedPatchCount property: The number of patches that were detected as available for install, but
* did not meet the operation's criteria.
- *
+ *
* @return the notSelectedPatchCount value.
*/
public Integer notSelectedPatchCount() {
@@ -175,7 +177,7 @@ public Integer notSelectedPatchCount() {
/**
* Get the pendingPatchCount property: The number of patches that were identified as meeting the installation
* criteria, but were not able to be installed. Typically this happens when maintenanceWindowExceeded == true.
- *
+ *
* @return the pendingPatchCount value.
*/
public Integer pendingPatchCount() {
@@ -184,7 +186,7 @@ public Integer pendingPatchCount() {
/**
* Get the installedPatchCount property: The number of patches successfully installed.
- *
+ *
* @return the installedPatchCount value.
*/
public Integer installedPatchCount() {
@@ -194,7 +196,7 @@ public Integer installedPatchCount() {
/**
* Get the failedPatchCount property: The number of patches that could not be installed due to some issue. See
* errors for details.
- *
+ *
* @return the failedPatchCount value.
*/
public Integer failedPatchCount() {
@@ -203,7 +205,7 @@ public Integer failedPatchCount() {
/**
* Get the startDateTime property: The UTC timestamp when the operation began.
- *
+ *
* @return the startDateTime value.
*/
public OffsetDateTime startDateTime() {
@@ -212,7 +214,7 @@ public OffsetDateTime startDateTime() {
/**
* Get the lastModifiedDateTime property: The UTC timestamp when the operation finished.
- *
+ *
* @return the lastModifiedDateTime value.
*/
public OffsetDateTime lastModifiedDateTime() {
@@ -221,7 +223,7 @@ public OffsetDateTime lastModifiedDateTime() {
/**
* Get the startedBy property: Indicates if operation was triggered by user or by platform.
- *
+ *
* @return the startedBy value.
*/
public PatchOperationStartedBy startedBy() {
@@ -230,7 +232,7 @@ public PatchOperationStartedBy startedBy() {
/**
* Get the patchServiceUsed property: Specifies the patch service used for the operation.
- *
+ *
* @return the patchServiceUsed value.
*/
public PatchServiceUsed patchServiceUsed() {
@@ -239,7 +241,7 @@ public PatchServiceUsed patchServiceUsed() {
/**
* Get the osType property: The operating system type of the machine.
- *
+ *
* @return the osType value.
*/
public OsType osType() {
@@ -249,7 +251,7 @@ public OsType osType() {
/**
* Get the errorDetails property: The errors that were encountered during execution of the operation. The details
* array contains the list of them.
- *
+ *
* @return the errorDetails value.
*/
public ManagementError errorDetails() {
@@ -258,7 +260,7 @@ public ManagementError errorDetails() {
/**
* Validates the instance.
- *
+ *
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
diff --git a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/MachinePropertiesInner.java b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/MachinePropertiesInner.java
index 8dd8509eca75..a3dcc580feb3 100644
--- a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/MachinePropertiesInner.java
+++ b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/MachinePropertiesInner.java
@@ -9,6 +9,7 @@
import com.azure.resourcemanager.hybridcompute.models.AgentConfiguration;
import com.azure.resourcemanager.hybridcompute.models.AgentUpgrade;
import com.azure.resourcemanager.hybridcompute.models.CloudMetadata;
+import com.azure.resourcemanager.hybridcompute.models.LicenseProfileMachineInstanceView;
import com.azure.resourcemanager.hybridcompute.models.LocationData;
import com.azure.resourcemanager.hybridcompute.models.MachineExtensionInstanceView;
import com.azure.resourcemanager.hybridcompute.models.OSProfile;
@@ -19,8 +20,11 @@
import java.time.OffsetDateTime;
import java.util.List;
import java.util.Map;
+import java.util.UUID;
-/** Describes the properties of a hybrid machine. */
+/**
+ * Describes the properties of a hybrid machine.
+ */
@Fluent
public final class MachinePropertiesInner {
/*
@@ -60,10 +64,10 @@ public final class MachinePropertiesInner {
private OSProfile osProfile;
/*
- * Specifies the ESU related properties for a machine.
+ * Specifies the License related properties for a machine.
*/
@JsonProperty(value = "licenseProfile")
- private LicenseProfileMachineInstanceViewInner licenseProfile;
+ private LicenseProfileMachineInstanceView licenseProfile;
/*
* The provisioning state, which only appears in the response.
@@ -99,7 +103,7 @@ public final class MachinePropertiesInner {
* Specifies the hybrid machine unique ID.
*/
@JsonProperty(value = "vmId")
- private String vmId;
+ private UUID vmId;
/*
* Specifies the hybrid machine display name.
@@ -141,7 +145,7 @@ public final class MachinePropertiesInner {
* Specifies the Arc Machine's unique SMBIOS ID
*/
@JsonProperty(value = "vmUuid", access = JsonProperty.Access.WRITE_ONLY)
- private String vmUuid;
+ private UUID vmUuid;
/*
* Machine Extensions information (deprecated field)
@@ -155,6 +159,12 @@ public final class MachinePropertiesInner {
@JsonProperty(value = "osSku", access = JsonProperty.Access.WRITE_ONLY)
private String osSku;
+ /*
+ * The edition of the Operating System.
+ */
+ @JsonProperty(value = "osEdition", access = JsonProperty.Access.WRITE_ONLY)
+ private String osEdition;
+
/*
* Specifies the Windows domain name.
*/
@@ -204,13 +214,15 @@ public final class MachinePropertiesInner {
@JsonProperty(value = "networkProfile", access = JsonProperty.Access.WRITE_ONLY)
private NetworkProfileInner networkProfile;
- /** Creates an instance of MachinePropertiesInner class. */
+ /**
+ * Creates an instance of MachinePropertiesInner class.
+ */
public MachinePropertiesInner() {
}
/**
* Get the locationData property: Metadata pertaining to the geographic location of the resource.
- *
+ *
* @return the locationData value.
*/
public LocationData locationData() {
@@ -219,7 +231,7 @@ public LocationData locationData() {
/**
* Set the locationData property: Metadata pertaining to the geographic location of the resource.
- *
+ *
* @param locationData the locationData value to set.
* @return the MachinePropertiesInner object itself.
*/
@@ -231,7 +243,7 @@ public MachinePropertiesInner withLocationData(LocationData locationData) {
/**
* Get the agentConfiguration property: Configurable properties that the user can set locally via the azcmagent
* config command, or remotely via ARM.
- *
+ *
* @return the agentConfiguration value.
*/
public AgentConfiguration agentConfiguration() {
@@ -240,7 +252,7 @@ public AgentConfiguration agentConfiguration() {
/**
* Get the serviceStatuses property: Statuses of dependent services that are reported back to ARM.
- *
+ *
* @return the serviceStatuses value.
*/
public ServiceStatuses serviceStatuses() {
@@ -249,7 +261,7 @@ public ServiceStatuses serviceStatuses() {
/**
* Set the serviceStatuses property: Statuses of dependent services that are reported back to ARM.
- *
+ *
* @param serviceStatuses the serviceStatuses value to set.
* @return the MachinePropertiesInner object itself.
*/
@@ -260,7 +272,7 @@ public MachinePropertiesInner withServiceStatuses(ServiceStatuses serviceStatuse
/**
* Get the cloudMetadata property: The metadata of the cloud environment (Azure/GCP/AWS/OCI...).
- *
+ *
* @return the cloudMetadata value.
*/
public CloudMetadata cloudMetadata() {
@@ -269,7 +281,7 @@ public CloudMetadata cloudMetadata() {
/**
* Set the cloudMetadata property: The metadata of the cloud environment (Azure/GCP/AWS/OCI...).
- *
+ *
* @param cloudMetadata the cloudMetadata value to set.
* @return the MachinePropertiesInner object itself.
*/
@@ -280,7 +292,7 @@ public MachinePropertiesInner withCloudMetadata(CloudMetadata cloudMetadata) {
/**
* Get the agentUpgrade property: The info of the machine w.r.t Agent Upgrade.
- *
+ *
* @return the agentUpgrade value.
*/
public AgentUpgrade agentUpgrade() {
@@ -289,7 +301,7 @@ public AgentUpgrade agentUpgrade() {
/**
* Set the agentUpgrade property: The info of the machine w.r.t Agent Upgrade.
- *
+ *
* @param agentUpgrade the agentUpgrade value to set.
* @return the MachinePropertiesInner object itself.
*/
@@ -300,7 +312,7 @@ public MachinePropertiesInner withAgentUpgrade(AgentUpgrade agentUpgrade) {
/**
* Get the osProfile property: Specifies the operating system settings for the hybrid machine.
- *
+ *
* @return the osProfile value.
*/
public OSProfile osProfile() {
@@ -309,7 +321,7 @@ public OSProfile osProfile() {
/**
* Set the osProfile property: Specifies the operating system settings for the hybrid machine.
- *
+ *
* @param osProfile the osProfile value to set.
* @return the MachinePropertiesInner object itself.
*/
@@ -319,28 +331,28 @@ public MachinePropertiesInner withOsProfile(OSProfile osProfile) {
}
/**
- * Get the licenseProfile property: Specifies the ESU related properties for a machine.
- *
+ * Get the licenseProfile property: Specifies the License related properties for a machine.
+ *
* @return the licenseProfile value.
*/
- public LicenseProfileMachineInstanceViewInner licenseProfile() {
+ public LicenseProfileMachineInstanceView licenseProfile() {
return this.licenseProfile;
}
/**
- * Set the licenseProfile property: Specifies the ESU related properties for a machine.
- *
+ * Set the licenseProfile property: Specifies the License related properties for a machine.
+ *
* @param licenseProfile the licenseProfile value to set.
* @return the MachinePropertiesInner object itself.
*/
- public MachinePropertiesInner withLicenseProfile(LicenseProfileMachineInstanceViewInner licenseProfile) {
+ public MachinePropertiesInner withLicenseProfile(LicenseProfileMachineInstanceView licenseProfile) {
this.licenseProfile = licenseProfile;
return this;
}
/**
* Get the provisioningState property: The provisioning state, which only appears in the response.
- *
+ *
* @return the provisioningState value.
*/
public String provisioningState() {
@@ -349,7 +361,7 @@ public String provisioningState() {
/**
* Get the status property: The status of the hybrid machine agent.
- *
+ *
* @return the status value.
*/
public StatusTypes status() {
@@ -358,7 +370,7 @@ public StatusTypes status() {
/**
* Get the lastStatusChange property: The time of the last status change.
- *
+ *
* @return the lastStatusChange value.
*/
public OffsetDateTime lastStatusChange() {
@@ -367,7 +379,7 @@ public OffsetDateTime lastStatusChange() {
/**
* Get the errorDetails property: Details about the error state.
- *
+ *
* @return the errorDetails value.
*/
public List errorDetails() {
@@ -376,7 +388,7 @@ public List errorDetails() {
/**
* Get the agentVersion property: The hybrid machine agent full version.
- *
+ *
* @return the agentVersion value.
*/
public String agentVersion() {
@@ -385,27 +397,27 @@ public String agentVersion() {
/**
* Get the vmId property: Specifies the hybrid machine unique ID.
- *
+ *
* @return the vmId value.
*/
- public String vmId() {
+ public UUID vmId() {
return this.vmId;
}
/**
* Set the vmId property: Specifies the hybrid machine unique ID.
- *
+ *
* @param vmId the vmId value to set.
* @return the MachinePropertiesInner object itself.
*/
- public MachinePropertiesInner withVmId(String vmId) {
+ public MachinePropertiesInner withVmId(UUID vmId) {
this.vmId = vmId;
return this;
}
/**
* Get the displayName property: Specifies the hybrid machine display name.
- *
+ *
* @return the displayName value.
*/
public String displayName() {
@@ -414,7 +426,7 @@ public String displayName() {
/**
* Get the machineFqdn property: Specifies the hybrid machine FQDN.
- *
+ *
* @return the machineFqdn value.
*/
public String machineFqdn() {
@@ -424,7 +436,7 @@ public String machineFqdn() {
/**
* Get the clientPublicKey property: Public Key that the client provides to be used during initial resource
* onboarding.
- *
+ *
* @return the clientPublicKey value.
*/
public String clientPublicKey() {
@@ -434,7 +446,7 @@ public String clientPublicKey() {
/**
* Set the clientPublicKey property: Public Key that the client provides to be used during initial resource
* onboarding.
- *
+ *
* @param clientPublicKey the clientPublicKey value to set.
* @return the MachinePropertiesInner object itself.
*/
@@ -445,7 +457,7 @@ public MachinePropertiesInner withClientPublicKey(String clientPublicKey) {
/**
* Get the osName property: The Operating System running on the hybrid machine.
- *
+ *
* @return the osName value.
*/
public String osName() {
@@ -454,7 +466,7 @@ public String osName() {
/**
* Get the osVersion property: The version of Operating System running on the hybrid machine.
- *
+ *
* @return the osVersion value.
*/
public String osVersion() {
@@ -463,7 +475,7 @@ public String osVersion() {
/**
* Get the osType property: The type of Operating System (windows/linux).
- *
+ *
* @return the osType value.
*/
public String osType() {
@@ -472,7 +484,7 @@ public String osType() {
/**
* Set the osType property: The type of Operating System (windows/linux).
- *
+ *
* @param osType the osType value to set.
* @return the MachinePropertiesInner object itself.
*/
@@ -483,16 +495,16 @@ public MachinePropertiesInner withOsType(String osType) {
/**
* Get the vmUuid property: Specifies the Arc Machine's unique SMBIOS ID.
- *
+ *
* @return the vmUuid value.
*/
- public String vmUuid() {
+ public UUID vmUuid() {
return this.vmUuid;
}
/**
* Get the extensions property: Machine Extensions information (deprecated field).
- *
+ *
* @return the extensions value.
*/
public List extensions() {
@@ -501,7 +513,7 @@ public List extensions() {
/**
* Set the extensions property: Machine Extensions information (deprecated field).
- *
+ *
* @param extensions the extensions value to set.
* @return the MachinePropertiesInner object itself.
*/
@@ -512,16 +524,25 @@ public MachinePropertiesInner withExtensions(List
/**
* Get the osSku property: Specifies the Operating System product SKU.
- *
+ *
* @return the osSku value.
*/
public String osSku() {
return this.osSku;
}
+ /**
+ * Get the osEdition property: The edition of the Operating System.
+ *
+ * @return the osEdition value.
+ */
+ public String osEdition() {
+ return this.osEdition;
+ }
+
/**
* Get the domainName property: Specifies the Windows domain name.
- *
+ *
* @return the domainName value.
*/
public String domainName() {
@@ -530,7 +551,7 @@ public String domainName() {
/**
* Get the adFqdn property: Specifies the AD fully qualified display name.
- *
+ *
* @return the adFqdn value.
*/
public String adFqdn() {
@@ -539,7 +560,7 @@ public String adFqdn() {
/**
* Get the dnsFqdn property: Specifies the DNS fully qualified display name.
- *
+ *
* @return the dnsFqdn value.
*/
public String dnsFqdn() {
@@ -549,7 +570,7 @@ public String dnsFqdn() {
/**
* Get the privateLinkScopeResourceId property: The resource id of the private link scope this machine is assigned
* to, if any.
- *
+ *
* @return the privateLinkScopeResourceId value.
*/
public String privateLinkScopeResourceId() {
@@ -559,7 +580,7 @@ public String privateLinkScopeResourceId() {
/**
* Set the privateLinkScopeResourceId property: The resource id of the private link scope this machine is assigned
* to, if any.
- *
+ *
* @param privateLinkScopeResourceId the privateLinkScopeResourceId value to set.
* @return the MachinePropertiesInner object itself.
*/
@@ -571,7 +592,7 @@ public MachinePropertiesInner withPrivateLinkScopeResourceId(String privateLinkS
/**
* Get the parentClusterResourceId property: The resource id of the parent cluster (Azure HCI) this machine is
* assigned to, if any.
- *
+ *
* @return the parentClusterResourceId value.
*/
public String parentClusterResourceId() {
@@ -581,7 +602,7 @@ public String parentClusterResourceId() {
/**
* Set the parentClusterResourceId property: The resource id of the parent cluster (Azure HCI) this machine is
* assigned to, if any.
- *
+ *
* @param parentClusterResourceId the parentClusterResourceId value to set.
* @return the MachinePropertiesInner object itself.
*/
@@ -592,7 +613,7 @@ public MachinePropertiesInner withParentClusterResourceId(String parentClusterRe
/**
* Get the mssqlDiscovered property: Specifies whether any MS SQL instance is discovered on the machine.
- *
+ *
* @return the mssqlDiscovered value.
*/
public String mssqlDiscovered() {
@@ -601,7 +622,7 @@ public String mssqlDiscovered() {
/**
* Set the mssqlDiscovered property: Specifies whether any MS SQL instance is discovered on the machine.
- *
+ *
* @param mssqlDiscovered the mssqlDiscovered value to set.
* @return the MachinePropertiesInner object itself.
*/
@@ -612,7 +633,7 @@ public MachinePropertiesInner withMssqlDiscovered(String mssqlDiscovered) {
/**
* Get the detectedProperties property: Detected properties from the machine.
- *
+ *
* @return the detectedProperties value.
*/
public Map detectedProperties() {
@@ -621,7 +642,7 @@ public Map detectedProperties() {
/**
* Get the networkProfile property: Information about the network the machine is on.
- *
+ *
* @return the networkProfile value.
*/
public NetworkProfileInner networkProfile() {
@@ -630,7 +651,7 @@ public NetworkProfileInner networkProfile() {
/**
* Validates the instance.
- *
+ *
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
diff --git a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/MachineRunCommandInner.java b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/MachineRunCommandInner.java
new file mode 100644
index 000000000000..7a8c8386907f
--- /dev/null
+++ b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/MachineRunCommandInner.java
@@ -0,0 +1,386 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.hybridcompute.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.management.Resource;
+import com.azure.core.management.SystemData;
+import com.azure.resourcemanager.hybridcompute.models.MachineRunCommandInstanceView;
+import com.azure.resourcemanager.hybridcompute.models.MachineRunCommandScriptSource;
+import com.azure.resourcemanager.hybridcompute.models.RunCommandInputParameter;
+import com.azure.resourcemanager.hybridcompute.models.RunCommandManagedIdentity;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.List;
+import java.util.Map;
+
+/**
+ * Describes a Run Command.
+ */
+@Fluent
+public final class MachineRunCommandInner extends Resource {
+ /*
+ * Describes Run Command Properties
+ */
+ @JsonProperty(value = "properties")
+ private MachineRunCommandProperties innerProperties;
+
+ /*
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ */
+ @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
+ private SystemData systemData;
+
+ /**
+ * Creates an instance of MachineRunCommandInner class.
+ */
+ public MachineRunCommandInner() {
+ }
+
+ /**
+ * Get the innerProperties property: Describes Run Command Properties.
+ *
+ * @return the innerProperties value.
+ */
+ private MachineRunCommandProperties innerProperties() {
+ return this.innerProperties;
+ }
+
+ /**
+ * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public MachineRunCommandInner withLocation(String location) {
+ super.withLocation(location);
+ return this;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public MachineRunCommandInner withTags(Map tags) {
+ super.withTags(tags);
+ return this;
+ }
+
+ /**
+ * Get the source property: The source of the run command script.
+ *
+ * @return the source value.
+ */
+ public MachineRunCommandScriptSource source() {
+ return this.innerProperties() == null ? null : this.innerProperties().source();
+ }
+
+ /**
+ * Set the source property: The source of the run command script.
+ *
+ * @param source the source value to set.
+ * @return the MachineRunCommandInner object itself.
+ */
+ public MachineRunCommandInner withSource(MachineRunCommandScriptSource source) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new MachineRunCommandProperties();
+ }
+ this.innerProperties().withSource(source);
+ return this;
+ }
+
+ /**
+ * Get the parameters property: The parameters used by the script.
+ *
+ * @return the parameters value.
+ */
+ public List parameters() {
+ return this.innerProperties() == null ? null : this.innerProperties().parameters();
+ }
+
+ /**
+ * Set the parameters property: The parameters used by the script.
+ *
+ * @param parameters the parameters value to set.
+ * @return the MachineRunCommandInner object itself.
+ */
+ public MachineRunCommandInner withParameters(List parameters) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new MachineRunCommandProperties();
+ }
+ this.innerProperties().withParameters(parameters);
+ return this;
+ }
+
+ /**
+ * Get the protectedParameters property: The parameters used by the script.
+ *
+ * @return the protectedParameters value.
+ */
+ public List protectedParameters() {
+ return this.innerProperties() == null ? null : this.innerProperties().protectedParameters();
+ }
+
+ /**
+ * Set the protectedParameters property: The parameters used by the script.
+ *
+ * @param protectedParameters the protectedParameters value to set.
+ * @return the MachineRunCommandInner object itself.
+ */
+ public MachineRunCommandInner withProtectedParameters(List protectedParameters) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new MachineRunCommandProperties();
+ }
+ this.innerProperties().withProtectedParameters(protectedParameters);
+ return this;
+ }
+
+ /**
+ * Get the asyncExecution property: Optional. If set to true, provisioning will complete as soon as script starts
+ * and will not wait for script to complete.
+ *
+ * @return the asyncExecution value.
+ */
+ public Boolean asyncExecution() {
+ return this.innerProperties() == null ? null : this.innerProperties().asyncExecution();
+ }
+
+ /**
+ * Set the asyncExecution property: Optional. If set to true, provisioning will complete as soon as script starts
+ * and will not wait for script to complete.
+ *
+ * @param asyncExecution the asyncExecution value to set.
+ * @return the MachineRunCommandInner object itself.
+ */
+ public MachineRunCommandInner withAsyncExecution(Boolean asyncExecution) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new MachineRunCommandProperties();
+ }
+ this.innerProperties().withAsyncExecution(asyncExecution);
+ return this;
+ }
+
+ /**
+ * Get the runAsUser property: Specifies the user account on the machine when executing the run command.
+ *
+ * @return the runAsUser value.
+ */
+ public String runAsUser() {
+ return this.innerProperties() == null ? null : this.innerProperties().runAsUser();
+ }
+
+ /**
+ * Set the runAsUser property: Specifies the user account on the machine when executing the run command.
+ *
+ * @param runAsUser the runAsUser value to set.
+ * @return the MachineRunCommandInner object itself.
+ */
+ public MachineRunCommandInner withRunAsUser(String runAsUser) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new MachineRunCommandProperties();
+ }
+ this.innerProperties().withRunAsUser(runAsUser);
+ return this;
+ }
+
+ /**
+ * Get the runAsPassword property: Specifies the user account password on the machine when executing the run
+ * command.
+ *
+ * @return the runAsPassword value.
+ */
+ public String runAsPassword() {
+ return this.innerProperties() == null ? null : this.innerProperties().runAsPassword();
+ }
+
+ /**
+ * Set the runAsPassword property: Specifies the user account password on the machine when executing the run
+ * command.
+ *
+ * @param runAsPassword the runAsPassword value to set.
+ * @return the MachineRunCommandInner object itself.
+ */
+ public MachineRunCommandInner withRunAsPassword(String runAsPassword) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new MachineRunCommandProperties();
+ }
+ this.innerProperties().withRunAsPassword(runAsPassword);
+ return this;
+ }
+
+ /**
+ * Get the timeoutInSeconds property: The timeout in seconds to execute the run command.
+ *
+ * @return the timeoutInSeconds value.
+ */
+ public Integer timeoutInSeconds() {
+ return this.innerProperties() == null ? null : this.innerProperties().timeoutInSeconds();
+ }
+
+ /**
+ * Set the timeoutInSeconds property: The timeout in seconds to execute the run command.
+ *
+ * @param timeoutInSeconds the timeoutInSeconds value to set.
+ * @return the MachineRunCommandInner object itself.
+ */
+ public MachineRunCommandInner withTimeoutInSeconds(Integer timeoutInSeconds) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new MachineRunCommandProperties();
+ }
+ this.innerProperties().withTimeoutInSeconds(timeoutInSeconds);
+ return this;
+ }
+
+ /**
+ * Get the outputBlobUri property: Specifies the Azure storage blob where script output stream will be uploaded. Use
+ * a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob.
+ * Refer outputBlobManagedIdentity parameter.
+ *
+ * @return the outputBlobUri value.
+ */
+ public String outputBlobUri() {
+ return this.innerProperties() == null ? null : this.innerProperties().outputBlobUri();
+ }
+
+ /**
+ * Set the outputBlobUri property: Specifies the Azure storage blob where script output stream will be uploaded. Use
+ * a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob.
+ * Refer outputBlobManagedIdentity parameter.
+ *
+ * @param outputBlobUri the outputBlobUri value to set.
+ * @return the MachineRunCommandInner object itself.
+ */
+ public MachineRunCommandInner withOutputBlobUri(String outputBlobUri) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new MachineRunCommandProperties();
+ }
+ this.innerProperties().withOutputBlobUri(outputBlobUri);
+ return this;
+ }
+
+ /**
+ * Get the errorBlobUri property: Specifies the Azure storage blob where script error stream will be uploaded. Use a
+ * SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob.
+ * Refer errorBlobManagedIdentity parameter.
+ *
+ * @return the errorBlobUri value.
+ */
+ public String errorBlobUri() {
+ return this.innerProperties() == null ? null : this.innerProperties().errorBlobUri();
+ }
+
+ /**
+ * Set the errorBlobUri property: Specifies the Azure storage blob where script error stream will be uploaded. Use a
+ * SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob.
+ * Refer errorBlobManagedIdentity parameter.
+ *
+ * @param errorBlobUri the errorBlobUri value to set.
+ * @return the MachineRunCommandInner object itself.
+ */
+ public MachineRunCommandInner withErrorBlobUri(String errorBlobUri) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new MachineRunCommandProperties();
+ }
+ this.innerProperties().withErrorBlobUri(errorBlobUri);
+ return this;
+ }
+
+ /**
+ * Get the outputBlobManagedIdentity property: User-assigned managed identity that has access to outputBlobUri
+ * storage blob. Use an empty object in case of system-assigned identity. Make sure managed identity has been given
+ * access to blob's container with 'Storage Blob Data Contributor' role assignment. In case of user-assigned
+ * identity, make sure you add it under VM's identity. For more info on managed identity and Run Command, refer
+ * https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged.
+ *
+ * @return the outputBlobManagedIdentity value.
+ */
+ public RunCommandManagedIdentity outputBlobManagedIdentity() {
+ return this.innerProperties() == null ? null : this.innerProperties().outputBlobManagedIdentity();
+ }
+
+ /**
+ * Set the outputBlobManagedIdentity property: User-assigned managed identity that has access to outputBlobUri
+ * storage blob. Use an empty object in case of system-assigned identity. Make sure managed identity has been given
+ * access to blob's container with 'Storage Blob Data Contributor' role assignment. In case of user-assigned
+ * identity, make sure you add it under VM's identity. For more info on managed identity and Run Command, refer
+ * https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged.
+ *
+ * @param outputBlobManagedIdentity the outputBlobManagedIdentity value to set.
+ * @return the MachineRunCommandInner object itself.
+ */
+ public MachineRunCommandInner withOutputBlobManagedIdentity(RunCommandManagedIdentity outputBlobManagedIdentity) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new MachineRunCommandProperties();
+ }
+ this.innerProperties().withOutputBlobManagedIdentity(outputBlobManagedIdentity);
+ return this;
+ }
+
+ /**
+ * Get the errorBlobManagedIdentity property: User-assigned managed identity that has access to errorBlobUri storage
+ * blob. Use an empty object in case of system-assigned identity. Make sure managed identity has been given access
+ * to blob's container with 'Storage Blob Data Contributor' role assignment. In case of user-assigned identity, make
+ * sure you add it under VM's identity. For more info on managed identity and Run Command, refer
+ * https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged.
+ *
+ * @return the errorBlobManagedIdentity value.
+ */
+ public RunCommandManagedIdentity errorBlobManagedIdentity() {
+ return this.innerProperties() == null ? null : this.innerProperties().errorBlobManagedIdentity();
+ }
+
+ /**
+ * Set the errorBlobManagedIdentity property: User-assigned managed identity that has access to errorBlobUri storage
+ * blob. Use an empty object in case of system-assigned identity. Make sure managed identity has been given access
+ * to blob's container with 'Storage Blob Data Contributor' role assignment. In case of user-assigned identity, make
+ * sure you add it under VM's identity. For more info on managed identity and Run Command, refer
+ * https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged.
+ *
+ * @param errorBlobManagedIdentity the errorBlobManagedIdentity value to set.
+ * @return the MachineRunCommandInner object itself.
+ */
+ public MachineRunCommandInner withErrorBlobManagedIdentity(RunCommandManagedIdentity errorBlobManagedIdentity) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new MachineRunCommandProperties();
+ }
+ this.innerProperties().withErrorBlobManagedIdentity(errorBlobManagedIdentity);
+ return this;
+ }
+
+ /**
+ * Get the provisioningState property: The provisioning state, which only appears in the response.
+ *
+ * @return the provisioningState value.
+ */
+ public String provisioningState() {
+ return this.innerProperties() == null ? null : this.innerProperties().provisioningState();
+ }
+
+ /**
+ * Get the instanceView property: The machine run command instance view.
+ *
+ * @return the instanceView value.
+ */
+ public MachineRunCommandInstanceView instanceView() {
+ return this.innerProperties() == null ? null : this.innerProperties().instanceView();
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (innerProperties() != null) {
+ innerProperties().validate();
+ }
+ }
+}
diff --git a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/MachineRunCommandProperties.java b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/MachineRunCommandProperties.java
new file mode 100644
index 000000000000..ecff7a9fad65
--- /dev/null
+++ b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/MachineRunCommandProperties.java
@@ -0,0 +1,397 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.hybridcompute.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.resourcemanager.hybridcompute.models.MachineRunCommandInstanceView;
+import com.azure.resourcemanager.hybridcompute.models.MachineRunCommandScriptSource;
+import com.azure.resourcemanager.hybridcompute.models.RunCommandInputParameter;
+import com.azure.resourcemanager.hybridcompute.models.RunCommandManagedIdentity;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.List;
+
+/**
+ * Describes the properties of a run command.
+ */
+@Fluent
+public final class MachineRunCommandProperties {
+ /*
+ * The source of the run command script.
+ */
+ @JsonProperty(value = "source")
+ private MachineRunCommandScriptSource source;
+
+ /*
+ * The parameters used by the script.
+ */
+ @JsonProperty(value = "parameters")
+ private List parameters;
+
+ /*
+ * The parameters used by the script.
+ */
+ @JsonProperty(value = "protectedParameters")
+ private List protectedParameters;
+
+ /*
+ * Optional. If set to true, provisioning will complete as soon as script starts and will not wait for script to complete.
+ */
+ @JsonProperty(value = "asyncExecution")
+ private Boolean asyncExecution;
+
+ /*
+ * Specifies the user account on the machine when executing the run command.
+ */
+ @JsonProperty(value = "runAsUser")
+ private String runAsUser;
+
+ /*
+ * Specifies the user account password on the machine when executing the run command.
+ */
+ @JsonProperty(value = "runAsPassword")
+ private String runAsPassword;
+
+ /*
+ * The timeout in seconds to execute the run command.
+ */
+ @JsonProperty(value = "timeoutInSeconds")
+ private Integer timeoutInSeconds;
+
+ /*
+ * Specifies the Azure storage blob where script output stream will be uploaded. Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. Refer outputBlobManagedIdentity parameter.
+ */
+ @JsonProperty(value = "outputBlobUri")
+ private String outputBlobUri;
+
+ /*
+ * Specifies the Azure storage blob where script error stream will be uploaded. Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. Refer errorBlobManagedIdentity parameter.
+ */
+ @JsonProperty(value = "errorBlobUri")
+ private String errorBlobUri;
+
+ /*
+ * User-assigned managed identity that has access to outputBlobUri storage blob. Use an empty object in case of system-assigned identity. Make sure managed identity has been given access to blob's container with 'Storage Blob Data Contributor' role assignment. In case of user-assigned identity, make sure you add it under VM's identity. For more info on managed identity and Run Command, refer https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged
+ */
+ @JsonProperty(value = "outputBlobManagedIdentity")
+ private RunCommandManagedIdentity outputBlobManagedIdentity;
+
+ /*
+ * User-assigned managed identity that has access to errorBlobUri storage blob. Use an empty object in case of system-assigned identity. Make sure managed identity has been given access to blob's container with 'Storage Blob Data Contributor' role assignment. In case of user-assigned identity, make sure you add it under VM's identity. For more info on managed identity and Run Command, refer https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged
+ */
+ @JsonProperty(value = "errorBlobManagedIdentity")
+ private RunCommandManagedIdentity errorBlobManagedIdentity;
+
+ /*
+ * The provisioning state, which only appears in the response.
+ */
+ @JsonProperty(value = "provisioningState", access = JsonProperty.Access.WRITE_ONLY)
+ private String provisioningState;
+
+ /*
+ * The machine run command instance view.
+ */
+ @JsonProperty(value = "instanceView", access = JsonProperty.Access.WRITE_ONLY)
+ private MachineRunCommandInstanceView instanceView;
+
+ /**
+ * Creates an instance of MachineRunCommandProperties class.
+ */
+ public MachineRunCommandProperties() {
+ }
+
+ /**
+ * Get the source property: The source of the run command script.
+ *
+ * @return the source value.
+ */
+ public MachineRunCommandScriptSource source() {
+ return this.source;
+ }
+
+ /**
+ * Set the source property: The source of the run command script.
+ *
+ * @param source the source value to set.
+ * @return the MachineRunCommandProperties object itself.
+ */
+ public MachineRunCommandProperties withSource(MachineRunCommandScriptSource source) {
+ this.source = source;
+ return this;
+ }
+
+ /**
+ * Get the parameters property: The parameters used by the script.
+ *
+ * @return the parameters value.
+ */
+ public List parameters() {
+ return this.parameters;
+ }
+
+ /**
+ * Set the parameters property: The parameters used by the script.
+ *
+ * @param parameters the parameters value to set.
+ * @return the MachineRunCommandProperties object itself.
+ */
+ public MachineRunCommandProperties withParameters(List parameters) {
+ this.parameters = parameters;
+ return this;
+ }
+
+ /**
+ * Get the protectedParameters property: The parameters used by the script.
+ *
+ * @return the protectedParameters value.
+ */
+ public List protectedParameters() {
+ return this.protectedParameters;
+ }
+
+ /**
+ * Set the protectedParameters property: The parameters used by the script.
+ *
+ * @param protectedParameters the protectedParameters value to set.
+ * @return the MachineRunCommandProperties object itself.
+ */
+ public MachineRunCommandProperties withProtectedParameters(List protectedParameters) {
+ this.protectedParameters = protectedParameters;
+ return this;
+ }
+
+ /**
+ * Get the asyncExecution property: Optional. If set to true, provisioning will complete as soon as script starts
+ * and will not wait for script to complete.
+ *
+ * @return the asyncExecution value.
+ */
+ public Boolean asyncExecution() {
+ return this.asyncExecution;
+ }
+
+ /**
+ * Set the asyncExecution property: Optional. If set to true, provisioning will complete as soon as script starts
+ * and will not wait for script to complete.
+ *
+ * @param asyncExecution the asyncExecution value to set.
+ * @return the MachineRunCommandProperties object itself.
+ */
+ public MachineRunCommandProperties withAsyncExecution(Boolean asyncExecution) {
+ this.asyncExecution = asyncExecution;
+ return this;
+ }
+
+ /**
+ * Get the runAsUser property: Specifies the user account on the machine when executing the run command.
+ *
+ * @return the runAsUser value.
+ */
+ public String runAsUser() {
+ return this.runAsUser;
+ }
+
+ /**
+ * Set the runAsUser property: Specifies the user account on the machine when executing the run command.
+ *
+ * @param runAsUser the runAsUser value to set.
+ * @return the MachineRunCommandProperties object itself.
+ */
+ public MachineRunCommandProperties withRunAsUser(String runAsUser) {
+ this.runAsUser = runAsUser;
+ return this;
+ }
+
+ /**
+ * Get the runAsPassword property: Specifies the user account password on the machine when executing the run
+ * command.
+ *
+ * @return the runAsPassword value.
+ */
+ public String runAsPassword() {
+ return this.runAsPassword;
+ }
+
+ /**
+ * Set the runAsPassword property: Specifies the user account password on the machine when executing the run
+ * command.
+ *
+ * @param runAsPassword the runAsPassword value to set.
+ * @return the MachineRunCommandProperties object itself.
+ */
+ public MachineRunCommandProperties withRunAsPassword(String runAsPassword) {
+ this.runAsPassword = runAsPassword;
+ return this;
+ }
+
+ /**
+ * Get the timeoutInSeconds property: The timeout in seconds to execute the run command.
+ *
+ * @return the timeoutInSeconds value.
+ */
+ public Integer timeoutInSeconds() {
+ return this.timeoutInSeconds;
+ }
+
+ /**
+ * Set the timeoutInSeconds property: The timeout in seconds to execute the run command.
+ *
+ * @param timeoutInSeconds the timeoutInSeconds value to set.
+ * @return the MachineRunCommandProperties object itself.
+ */
+ public MachineRunCommandProperties withTimeoutInSeconds(Integer timeoutInSeconds) {
+ this.timeoutInSeconds = timeoutInSeconds;
+ return this;
+ }
+
+ /**
+ * Get the outputBlobUri property: Specifies the Azure storage blob where script output stream will be uploaded. Use
+ * a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob.
+ * Refer outputBlobManagedIdentity parameter.
+ *
+ * @return the outputBlobUri value.
+ */
+ public String outputBlobUri() {
+ return this.outputBlobUri;
+ }
+
+ /**
+ * Set the outputBlobUri property: Specifies the Azure storage blob where script output stream will be uploaded. Use
+ * a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob.
+ * Refer outputBlobManagedIdentity parameter.
+ *
+ * @param outputBlobUri the outputBlobUri value to set.
+ * @return the MachineRunCommandProperties object itself.
+ */
+ public MachineRunCommandProperties withOutputBlobUri(String outputBlobUri) {
+ this.outputBlobUri = outputBlobUri;
+ return this;
+ }
+
+ /**
+ * Get the errorBlobUri property: Specifies the Azure storage blob where script error stream will be uploaded. Use a
+ * SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob.
+ * Refer errorBlobManagedIdentity parameter.
+ *
+ * @return the errorBlobUri value.
+ */
+ public String errorBlobUri() {
+ return this.errorBlobUri;
+ }
+
+ /**
+ * Set the errorBlobUri property: Specifies the Azure storage blob where script error stream will be uploaded. Use a
+ * SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob.
+ * Refer errorBlobManagedIdentity parameter.
+ *
+ * @param errorBlobUri the errorBlobUri value to set.
+ * @return the MachineRunCommandProperties object itself.
+ */
+ public MachineRunCommandProperties withErrorBlobUri(String errorBlobUri) {
+ this.errorBlobUri = errorBlobUri;
+ return this;
+ }
+
+ /**
+ * Get the outputBlobManagedIdentity property: User-assigned managed identity that has access to outputBlobUri
+ * storage blob. Use an empty object in case of system-assigned identity. Make sure managed identity has been given
+ * access to blob's container with 'Storage Blob Data Contributor' role assignment. In case of user-assigned
+ * identity, make sure you add it under VM's identity. For more info on managed identity and Run Command, refer
+ * https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged.
+ *
+ * @return the outputBlobManagedIdentity value.
+ */
+ public RunCommandManagedIdentity outputBlobManagedIdentity() {
+ return this.outputBlobManagedIdentity;
+ }
+
+ /**
+ * Set the outputBlobManagedIdentity property: User-assigned managed identity that has access to outputBlobUri
+ * storage blob. Use an empty object in case of system-assigned identity. Make sure managed identity has been given
+ * access to blob's container with 'Storage Blob Data Contributor' role assignment. In case of user-assigned
+ * identity, make sure you add it under VM's identity. For more info on managed identity and Run Command, refer
+ * https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged.
+ *
+ * @param outputBlobManagedIdentity the outputBlobManagedIdentity value to set.
+ * @return the MachineRunCommandProperties object itself.
+ */
+ public MachineRunCommandProperties
+ withOutputBlobManagedIdentity(RunCommandManagedIdentity outputBlobManagedIdentity) {
+ this.outputBlobManagedIdentity = outputBlobManagedIdentity;
+ return this;
+ }
+
+ /**
+ * Get the errorBlobManagedIdentity property: User-assigned managed identity that has access to errorBlobUri storage
+ * blob. Use an empty object in case of system-assigned identity. Make sure managed identity has been given access
+ * to blob's container with 'Storage Blob Data Contributor' role assignment. In case of user-assigned identity, make
+ * sure you add it under VM's identity. For more info on managed identity and Run Command, refer
+ * https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged.
+ *
+ * @return the errorBlobManagedIdentity value.
+ */
+ public RunCommandManagedIdentity errorBlobManagedIdentity() {
+ return this.errorBlobManagedIdentity;
+ }
+
+ /**
+ * Set the errorBlobManagedIdentity property: User-assigned managed identity that has access to errorBlobUri storage
+ * blob. Use an empty object in case of system-assigned identity. Make sure managed identity has been given access
+ * to blob's container with 'Storage Blob Data Contributor' role assignment. In case of user-assigned identity, make
+ * sure you add it under VM's identity. For more info on managed identity and Run Command, refer
+ * https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged.
+ *
+ * @param errorBlobManagedIdentity the errorBlobManagedIdentity value to set.
+ * @return the MachineRunCommandProperties object itself.
+ */
+ public MachineRunCommandProperties
+ withErrorBlobManagedIdentity(RunCommandManagedIdentity errorBlobManagedIdentity) {
+ this.errorBlobManagedIdentity = errorBlobManagedIdentity;
+ return this;
+ }
+
+ /**
+ * Get the provisioningState property: The provisioning state, which only appears in the response.
+ *
+ * @return the provisioningState value.
+ */
+ public String provisioningState() {
+ return this.provisioningState;
+ }
+
+ /**
+ * Get the instanceView property: The machine run command instance view.
+ *
+ * @return the instanceView value.
+ */
+ public MachineRunCommandInstanceView instanceView() {
+ return this.instanceView;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (source() != null) {
+ source().validate();
+ }
+ if (parameters() != null) {
+ parameters().forEach(e -> e.validate());
+ }
+ if (protectedParameters() != null) {
+ protectedParameters().forEach(e -> e.validate());
+ }
+ if (outputBlobManagedIdentity() != null) {
+ outputBlobManagedIdentity().validate();
+ }
+ if (errorBlobManagedIdentity() != null) {
+ errorBlobManagedIdentity().validate();
+ }
+ if (instanceView() != null) {
+ instanceView().validate();
+ }
+ }
+}
diff --git a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/MachineUpdateProperties.java b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/MachineUpdateProperties.java
index 4ddd5a76ca2b..b6e3e5511827 100644
--- a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/MachineUpdateProperties.java
+++ b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/MachineUpdateProperties.java
@@ -11,7 +11,9 @@
import com.azure.resourcemanager.hybridcompute.models.OSProfile;
import com.fasterxml.jackson.annotation.JsonProperty;
-/** Describes the ARM updatable properties of a hybrid machine. */
+/**
+ * Describes the ARM updatable properties of a hybrid machine.
+ */
@Fluent
public final class MachineUpdateProperties {
/*
@@ -50,13 +52,15 @@ public final class MachineUpdateProperties {
@JsonProperty(value = "privateLinkScopeResourceId")
private String privateLinkScopeResourceId;
- /** Creates an instance of MachineUpdateProperties class. */
+ /**
+ * Creates an instance of MachineUpdateProperties class.
+ */
public MachineUpdateProperties() {
}
/**
* Get the locationData property: Metadata pertaining to the geographic location of the resource.
- *
+ *
* @return the locationData value.
*/
public LocationData locationData() {
@@ -65,7 +69,7 @@ public LocationData locationData() {
/**
* Set the locationData property: Metadata pertaining to the geographic location of the resource.
- *
+ *
* @param locationData the locationData value to set.
* @return the MachineUpdateProperties object itself.
*/
@@ -76,7 +80,7 @@ public MachineUpdateProperties withLocationData(LocationData locationData) {
/**
* Get the osProfile property: Specifies the operating system settings for the hybrid machine.
- *
+ *
* @return the osProfile value.
*/
public OSProfile osProfile() {
@@ -85,7 +89,7 @@ public OSProfile osProfile() {
/**
* Set the osProfile property: Specifies the operating system settings for the hybrid machine.
- *
+ *
* @param osProfile the osProfile value to set.
* @return the MachineUpdateProperties object itself.
*/
@@ -96,7 +100,7 @@ public MachineUpdateProperties withOsProfile(OSProfile osProfile) {
/**
* Get the cloudMetadata property: The metadata of the cloud environment (Azure/GCP/AWS/OCI...).
- *
+ *
* @return the cloudMetadata value.
*/
public CloudMetadata cloudMetadata() {
@@ -105,7 +109,7 @@ public CloudMetadata cloudMetadata() {
/**
* Set the cloudMetadata property: The metadata of the cloud environment (Azure/GCP/AWS/OCI...).
- *
+ *
* @param cloudMetadata the cloudMetadata value to set.
* @return the MachineUpdateProperties object itself.
*/
@@ -116,7 +120,7 @@ public MachineUpdateProperties withCloudMetadata(CloudMetadata cloudMetadata) {
/**
* Get the agentUpgrade property: The info of the machine w.r.t Agent Upgrade.
- *
+ *
* @return the agentUpgrade value.
*/
public AgentUpgrade agentUpgrade() {
@@ -125,7 +129,7 @@ public AgentUpgrade agentUpgrade() {
/**
* Set the agentUpgrade property: The info of the machine w.r.t Agent Upgrade.
- *
+ *
* @param agentUpgrade the agentUpgrade value to set.
* @return the MachineUpdateProperties object itself.
*/
@@ -137,7 +141,7 @@ public MachineUpdateProperties withAgentUpgrade(AgentUpgrade agentUpgrade) {
/**
* Get the parentClusterResourceId property: The resource id of the parent cluster (Azure HCI) this machine is
* assigned to, if any.
- *
+ *
* @return the parentClusterResourceId value.
*/
public String parentClusterResourceId() {
@@ -147,7 +151,7 @@ public String parentClusterResourceId() {
/**
* Set the parentClusterResourceId property: The resource id of the parent cluster (Azure HCI) this machine is
* assigned to, if any.
- *
+ *
* @param parentClusterResourceId the parentClusterResourceId value to set.
* @return the MachineUpdateProperties object itself.
*/
@@ -159,7 +163,7 @@ public MachineUpdateProperties withParentClusterResourceId(String parentClusterR
/**
* Get the privateLinkScopeResourceId property: The resource id of the private link scope this machine is assigned
* to, if any.
- *
+ *
* @return the privateLinkScopeResourceId value.
*/
public String privateLinkScopeResourceId() {
@@ -169,7 +173,7 @@ public String privateLinkScopeResourceId() {
/**
* Set the privateLinkScopeResourceId property: The resource id of the private link scope this machine is assigned
* to, if any.
- *
+ *
* @param privateLinkScopeResourceId the privateLinkScopeResourceId value to set.
* @return the MachineUpdateProperties object itself.
*/
@@ -180,7 +184,7 @@ public MachineUpdateProperties withPrivateLinkScopeResourceId(String privateLink
/**
* Validates the instance.
- *
+ *
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
diff --git a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/NetworkProfileInner.java b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/NetworkProfileInner.java
index 41cdc8378ef0..45835ed31a3e 100644
--- a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/NetworkProfileInner.java
+++ b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/NetworkProfileInner.java
@@ -9,7 +9,9 @@
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
-/** Describes the network information on this machine. */
+/**
+ * Describes the network information on this machine.
+ */
@Fluent
public final class NetworkProfileInner {
/*
@@ -18,13 +20,15 @@ public final class NetworkProfileInner {
@JsonProperty(value = "networkInterfaces")
private List networkInterfaces;
- /** Creates an instance of NetworkProfileInner class. */
+ /**
+ * Creates an instance of NetworkProfileInner class.
+ */
public NetworkProfileInner() {
}
/**
* Get the networkInterfaces property: The list of network interfaces.
- *
+ *
* @return the networkInterfaces value.
*/
public List networkInterfaces() {
@@ -33,7 +37,7 @@ public List networkInterfaces() {
/**
* Set the networkInterfaces property: The list of network interfaces.
- *
+ *
* @param networkInterfaces the networkInterfaces value to set.
* @return the NetworkProfileInner object itself.
*/
@@ -44,7 +48,7 @@ public NetworkProfileInner withNetworkInterfaces(List networkI
/**
* Validates the instance.
- *
+ *
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
diff --git a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/OperationValueInner.java b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/OperationValueInner.java
index 3db00f32a5f0..0d4d95307bfd 100644
--- a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/OperationValueInner.java
+++ b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/OperationValueInner.java
@@ -8,7 +8,9 @@
import com.azure.resourcemanager.hybridcompute.models.OperationValueDisplay;
import com.fasterxml.jackson.annotation.JsonProperty;
-/** Describes the properties of a Compute Operation value. */
+/**
+ * Describes the properties of a Compute Operation value.
+ */
@Fluent
public final class OperationValueInner {
/*
@@ -35,13 +37,15 @@ public final class OperationValueInner {
@JsonProperty(value = "isDataAction", access = JsonProperty.Access.WRITE_ONLY)
private Boolean isDataAction;
- /** Creates an instance of OperationValueInner class. */
+ /**
+ * Creates an instance of OperationValueInner class.
+ */
public OperationValueInner() {
}
/**
* Get the origin property: The origin of the compute operation.
- *
+ *
* @return the origin value.
*/
public String origin() {
@@ -50,7 +54,7 @@ public String origin() {
/**
* Get the name property: The name of the compute operation.
- *
+ *
* @return the name value.
*/
public String name() {
@@ -59,7 +63,7 @@ public String name() {
/**
* Get the display property: Display properties.
- *
+ *
* @return the display value.
*/
public OperationValueDisplay display() {
@@ -68,7 +72,7 @@ public OperationValueDisplay display() {
/**
* Set the display property: Display properties.
- *
+ *
* @param display the display value to set.
* @return the OperationValueInner object itself.
*/
@@ -79,7 +83,7 @@ public OperationValueInner withDisplay(OperationValueDisplay display) {
/**
* Get the isDataAction property: This property indicates if the operation is an action or a data action.
- *
+ *
* @return the isDataAction value.
*/
public Boolean isDataAction() {
@@ -88,7 +92,7 @@ public Boolean isDataAction() {
/**
* Validates the instance.
- *
+ *
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
diff --git a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/PatchSettings.java b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/PatchSettings.java
index d92448aa83ca..c5d0b53aec3f 100644
--- a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/PatchSettings.java
+++ b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/PatchSettings.java
@@ -9,7 +9,9 @@
import com.azure.resourcemanager.hybridcompute.models.PatchModeTypes;
import com.fasterxml.jackson.annotation.JsonProperty;
-/** Specifies the patch settings. */
+/**
+ * Specifies the patch settings.
+ */
@Fluent
public final class PatchSettings {
/*
@@ -24,13 +26,15 @@ public final class PatchSettings {
@JsonProperty(value = "patchMode")
private PatchModeTypes patchMode;
- /** Creates an instance of PatchSettings class. */
+ /**
+ * Creates an instance of PatchSettings class.
+ */
public PatchSettings() {
}
/**
* Get the assessmentMode property: Specifies the assessment mode.
- *
+ *
* @return the assessmentMode value.
*/
public AssessmentModeTypes assessmentMode() {
@@ -39,7 +43,7 @@ public AssessmentModeTypes assessmentMode() {
/**
* Set the assessmentMode property: Specifies the assessment mode.
- *
+ *
* @param assessmentMode the assessmentMode value to set.
* @return the PatchSettings object itself.
*/
@@ -50,7 +54,7 @@ public PatchSettings withAssessmentMode(AssessmentModeTypes assessmentMode) {
/**
* Get the patchMode property: Specifies the patch mode.
- *
+ *
* @return the patchMode value.
*/
public PatchModeTypes patchMode() {
@@ -59,7 +63,7 @@ public PatchModeTypes patchMode() {
/**
* Set the patchMode property: Specifies the patch mode.
- *
+ *
* @param patchMode the patchMode value to set.
* @return the PatchSettings object itself.
*/
@@ -70,7 +74,7 @@ public PatchSettings withPatchMode(PatchModeTypes patchMode) {
/**
* Validates the instance.
- *
+ *
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
diff --git a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/PrivateEndpointConnectionInner.java b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/PrivateEndpointConnectionInner.java
index 26906cb0a4f5..52c9a78d1414 100644
--- a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/PrivateEndpointConnectionInner.java
+++ b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/PrivateEndpointConnectionInner.java
@@ -10,7 +10,9 @@
import com.azure.resourcemanager.hybridcompute.models.PrivateEndpointConnectionProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
-/** A private endpoint connection. */
+/**
+ * A private endpoint connection.
+ */
@Fluent
public final class PrivateEndpointConnectionInner extends ProxyResource {
/*
@@ -25,13 +27,15 @@ public final class PrivateEndpointConnectionInner extends ProxyResource {
@JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
private SystemData systemData;
- /** Creates an instance of PrivateEndpointConnectionInner class. */
+ /**
+ * Creates an instance of PrivateEndpointConnectionInner class.
+ */
public PrivateEndpointConnectionInner() {
}
/**
* Get the properties property: Resource properties.
- *
+ *
* @return the properties value.
*/
public PrivateEndpointConnectionProperties properties() {
@@ -40,7 +44,7 @@ public PrivateEndpointConnectionProperties properties() {
/**
* Set the properties property: Resource properties.
- *
+ *
* @param properties the properties value to set.
* @return the PrivateEndpointConnectionInner object itself.
*/
@@ -51,7 +55,7 @@ public PrivateEndpointConnectionInner withProperties(PrivateEndpointConnectionPr
/**
* Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
- *
+ *
* @return the systemData value.
*/
public SystemData systemData() {
@@ -60,7 +64,7 @@ public SystemData systemData() {
/**
* Validates the instance.
- *
+ *
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
diff --git a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/PrivateLinkResourceInner.java b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/PrivateLinkResourceInner.java
index de347adac351..8f5381eec973 100644
--- a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/PrivateLinkResourceInner.java
+++ b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/PrivateLinkResourceInner.java
@@ -10,7 +10,9 @@
import com.azure.resourcemanager.hybridcompute.models.PrivateLinkResourceProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
-/** A private link resource. */
+/**
+ * A private link resource.
+ */
@Fluent
public final class PrivateLinkResourceInner extends ProxyResource {
/*
@@ -25,13 +27,15 @@ public final class PrivateLinkResourceInner extends ProxyResource {
@JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
private SystemData systemData;
- /** Creates an instance of PrivateLinkResourceInner class. */
+ /**
+ * Creates an instance of PrivateLinkResourceInner class.
+ */
public PrivateLinkResourceInner() {
}
/**
* Get the properties property: Resource properties.
- *
+ *
* @return the properties value.
*/
public PrivateLinkResourceProperties properties() {
@@ -40,7 +44,7 @@ public PrivateLinkResourceProperties properties() {
/**
* Set the properties property: Resource properties.
- *
+ *
* @param properties the properties value to set.
* @return the PrivateLinkResourceInner object itself.
*/
@@ -51,7 +55,7 @@ public PrivateLinkResourceInner withProperties(PrivateLinkResourceProperties pro
/**
* Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
- *
+ *
* @return the systemData value.
*/
public SystemData systemData() {
@@ -60,7 +64,7 @@ public SystemData systemData() {
/**
* Validates the instance.
- *
+ *
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
diff --git a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/PrivateLinkScopeValidationDetailsInner.java b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/PrivateLinkScopeValidationDetailsInner.java
index 901f52dbb590..90fd97242523 100644
--- a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/PrivateLinkScopeValidationDetailsInner.java
+++ b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/PrivateLinkScopeValidationDetailsInner.java
@@ -10,7 +10,9 @@
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
-/** The PrivateLinkScopeValidationDetails model. */
+/**
+ * The PrivateLinkScopeValidationDetails model.
+ */
@Fluent
public final class PrivateLinkScopeValidationDetailsInner {
/*
@@ -20,8 +22,7 @@ public final class PrivateLinkScopeValidationDetailsInner {
private String id;
/*
- * Indicates whether machines associated with the private link scope can also use public Azure Arc service
- * endpoints.
+ * Indicates whether machines associated with the private link scope can also use public Azure Arc service endpoints.
*/
@JsonProperty(value = "publicNetworkAccess")
private PublicNetworkAccessType publicNetworkAccess;
@@ -32,13 +33,15 @@ public final class PrivateLinkScopeValidationDetailsInner {
@JsonProperty(value = "connectionDetails")
private List connectionDetails;
- /** Creates an instance of PrivateLinkScopeValidationDetailsInner class. */
+ /**
+ * Creates an instance of PrivateLinkScopeValidationDetailsInner class.
+ */
public PrivateLinkScopeValidationDetailsInner() {
}
/**
* Get the id property: Azure resource Id.
- *
+ *
* @return the id value.
*/
public String id() {
@@ -48,7 +51,7 @@ public String id() {
/**
* Get the publicNetworkAccess property: Indicates whether machines associated with the private link scope can also
* use public Azure Arc service endpoints.
- *
+ *
* @return the publicNetworkAccess value.
*/
public PublicNetworkAccessType publicNetworkAccess() {
@@ -58,7 +61,7 @@ public PublicNetworkAccessType publicNetworkAccess() {
/**
* Set the publicNetworkAccess property: Indicates whether machines associated with the private link scope can also
* use public Azure Arc service endpoints.
- *
+ *
* @param publicNetworkAccess the publicNetworkAccess value to set.
* @return the PrivateLinkScopeValidationDetailsInner object itself.
*/
@@ -69,7 +72,7 @@ public PrivateLinkScopeValidationDetailsInner withPublicNetworkAccess(PublicNetw
/**
* Get the connectionDetails property: List of Private Endpoint Connection details.
- *
+ *
* @return the connectionDetails value.
*/
public List connectionDetails() {
@@ -78,7 +81,7 @@ public List connectionDetails() {
/**
* Set the connectionDetails property: List of Private Endpoint Connection details.
- *
+ *
* @param connectionDetails the connectionDetails value to set.
* @return the PrivateLinkScopeValidationDetailsInner object itself.
*/
@@ -89,7 +92,7 @@ public PrivateLinkScopeValidationDetailsInner withConnectionDetails(List productFeatures;
+
+ /**
+ * Creates an instance of ProductProfileUpdateProperties class.
+ */
+ public ProductProfileUpdateProperties() {
+ }
+
+ /**
+ * Get the subscriptionStatus property: Indicates the subscription status of the product.
+ *
+ * @return the subscriptionStatus value.
+ */
+ public LicenseProfileSubscriptionStatusUpdate subscriptionStatus() {
+ return this.subscriptionStatus;
+ }
+
+ /**
+ * Set the subscriptionStatus property: Indicates the subscription status of the product.
+ *
+ * @param subscriptionStatus the subscriptionStatus value to set.
+ * @return the ProductProfileUpdateProperties object itself.
+ */
+ public ProductProfileUpdateProperties
+ withSubscriptionStatus(LicenseProfileSubscriptionStatusUpdate subscriptionStatus) {
+ this.subscriptionStatus = subscriptionStatus;
+ return this;
+ }
+
+ /**
+ * Get the productType property: Indicates the product type of the license.
+ *
+ * @return the productType value.
+ */
+ public LicenseProfileProductType productType() {
+ return this.productType;
+ }
+
+ /**
+ * Set the productType property: Indicates the product type of the license.
+ *
+ * @param productType the productType value to set.
+ * @return the ProductProfileUpdateProperties object itself.
+ */
+ public ProductProfileUpdateProperties withProductType(LicenseProfileProductType productType) {
+ this.productType = productType;
+ return this;
+ }
+
+ /**
+ * Get the productFeatures property: The list of product feature updates.
+ *
+ * @return the productFeatures value.
+ */
+ public List productFeatures() {
+ return this.productFeatures;
+ }
+
+ /**
+ * Set the productFeatures property: The list of product feature updates.
+ *
+ * @param productFeatures the productFeatures value to set.
+ * @return the ProductProfileUpdateProperties object itself.
+ */
+ public ProductProfileUpdateProperties withProductFeatures(List productFeatures) {
+ this.productFeatures = productFeatures;
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (productFeatures() != null) {
+ productFeatures().forEach(e -> e.validate());
+ }
+ }
+}
diff --git a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/package-info.java b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/package-info.java
index fe3ee2f349a1..ab7dfad9a719 100644
--- a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/package-info.java
+++ b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/models/package-info.java
@@ -2,5 +2,8 @@
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
-/** Package containing the inner data models for HybridComputeManagementClient. The Hybrid Compute Management Client. */
+/**
+ * Package containing the inner data models for HybridComputeManagementClient.
+ * The Hybrid Compute Management Client.
+ */
package com.azure.resourcemanager.hybridcompute.fluent.models;
diff --git a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/package-info.java b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/package-info.java
index 78815434aed5..53a0fc869a14 100644
--- a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/package-info.java
+++ b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/package-info.java
@@ -2,5 +2,8 @@
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
-/** Package containing the service clients for HybridComputeManagementClient. The Hybrid Compute Management Client. */
+/**
+ * Package containing the service clients for HybridComputeManagementClient.
+ * The Hybrid Compute Management Client.
+ */
package com.azure.resourcemanager.hybridcompute.fluent;
diff --git a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/implementation/AgentVersionImpl.java b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/implementation/AgentVersionImpl.java
deleted file mode 100644
index 3ba70efedbc4..000000000000
--- a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/implementation/AgentVersionImpl.java
+++ /dev/null
@@ -1,40 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.hybridcompute.implementation;
-
-import com.azure.resourcemanager.hybridcompute.fluent.models.AgentVersionInner;
-import com.azure.resourcemanager.hybridcompute.models.AgentVersion;
-
-public final class AgentVersionImpl implements AgentVersion {
- private AgentVersionInner innerObject;
-
- private final com.azure.resourcemanager.hybridcompute.HybridComputeManager serviceManager;
-
- AgentVersionImpl(
- AgentVersionInner innerObject, com.azure.resourcemanager.hybridcompute.HybridComputeManager serviceManager) {
- this.innerObject = innerObject;
- this.serviceManager = serviceManager;
- }
-
- public String agentVersion() {
- return this.innerModel().agentVersion();
- }
-
- public String downloadLink() {
- return this.innerModel().downloadLink();
- }
-
- public String osType() {
- return this.innerModel().osType();
- }
-
- public AgentVersionInner innerModel() {
- return this.innerObject;
- }
-
- private com.azure.resourcemanager.hybridcompute.HybridComputeManager manager() {
- return this.serviceManager;
- }
-}
diff --git a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/implementation/AgentVersionsClientImpl.java b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/implementation/AgentVersionsClientImpl.java
deleted file mode 100644
index b4d115310303..000000000000
--- a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/implementation/AgentVersionsClientImpl.java
+++ /dev/null
@@ -1,289 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.hybridcompute.implementation;
-
-import com.azure.core.annotation.ExpectedResponses;
-import com.azure.core.annotation.Get;
-import com.azure.core.annotation.HeaderParam;
-import com.azure.core.annotation.Headers;
-import com.azure.core.annotation.Host;
-import com.azure.core.annotation.HostParam;
-import com.azure.core.annotation.PathParam;
-import com.azure.core.annotation.QueryParam;
-import com.azure.core.annotation.ReturnType;
-import com.azure.core.annotation.ServiceInterface;
-import com.azure.core.annotation.ServiceMethod;
-import com.azure.core.annotation.UnexpectedResponseExceptionType;
-import com.azure.core.http.rest.Response;
-import com.azure.core.http.rest.RestProxy;
-import com.azure.core.management.exception.ManagementException;
-import com.azure.core.util.Context;
-import com.azure.core.util.FluxUtil;
-import com.azure.resourcemanager.hybridcompute.fluent.AgentVersionsClient;
-import com.azure.resourcemanager.hybridcompute.fluent.models.AgentVersionInner;
-import com.azure.resourcemanager.hybridcompute.fluent.models.AgentVersionsListInner;
-import reactor.core.publisher.Mono;
-
-/** An instance of this class provides access to all the operations defined in AgentVersionsClient. */
-public final class AgentVersionsClientImpl implements AgentVersionsClient {
- /** The proxy service used to perform REST calls. */
- private final AgentVersionsService service;
-
- /** The service client containing this operation class. */
- private final HybridComputeManagementClientImpl client;
-
- /**
- * Initializes an instance of AgentVersionsClientImpl.
- *
- * @param client the instance of the service client containing this operation class.
- */
- AgentVersionsClientImpl(HybridComputeManagementClientImpl client) {
- this.service =
- RestProxy.create(AgentVersionsService.class, client.getHttpPipeline(), client.getSerializerAdapter());
- this.client = client;
- }
-
- /**
- * The interface defining all the services for HybridComputeManagementClientAgentVersions to be used by the proxy
- * service to perform REST calls.
- */
- @Host("{$host}")
- @ServiceInterface(name = "HybridComputeManagem")
- public interface AgentVersionsService {
- @Headers({"Content-Type: application/json"})
- @Get("/providers/Microsoft.HybridCompute/osType/{osType}/agentVersions")
- @ExpectedResponses({200})
- @UnexpectedResponseExceptionType(ManagementException.class)
- Mono> list(
- @HostParam("$host") String endpoint,
- @QueryParam("api-version") String apiVersion,
- @PathParam("osType") String osType,
- @HeaderParam("Accept") String accept,
- Context context);
-
- @Headers({"Content-Type: application/json"})
- @Get("/providers/Microsoft.HybridCompute/osType/{osType}/agentVersions/{version}")
- @ExpectedResponses({200})
- @UnexpectedResponseExceptionType(ManagementException.class)
- Mono> get(
- @HostParam("$host") String endpoint,
- @QueryParam("api-version") String apiVersion,
- @PathParam("osType") String osType,
- @PathParam("version") String version,
- @HeaderParam("Accept") String accept,
- Context context);
- }
-
- /**
- * Gets all Agent Versions along with the download link currently present.
- *
- * @param osType Defines the os type.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return all Agent Versions along with the download link currently present along with {@link Response} on
- * successful completion of {@link Mono}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- private Mono> listWithResponseAsync(String osType) {
- if (this.client.getEndpoint() == null) {
- return Mono
- .error(
- new IllegalArgumentException(
- "Parameter this.client.getEndpoint() is required and cannot be null."));
- }
- if (osType == null) {
- return Mono.error(new IllegalArgumentException("Parameter osType is required and cannot be null."));
- }
- final String accept = "application/json";
- return FluxUtil
- .withContext(
- context ->
- service.list(this.client.getEndpoint(), this.client.getApiVersion(), osType, accept, context))
- .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
- }
-
- /**
- * Gets all Agent Versions along with the download link currently present.
- *
- * @param osType Defines the os type.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return all Agent Versions along with the download link currently present along with {@link Response} on
- * successful completion of {@link Mono}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- private Mono> listWithResponseAsync(String osType, Context context) {
- if (this.client.getEndpoint() == null) {
- return Mono
- .error(
- new IllegalArgumentException(
- "Parameter this.client.getEndpoint() is required and cannot be null."));
- }
- if (osType == null) {
- return Mono.error(new IllegalArgumentException("Parameter osType is required and cannot be null."));
- }
- final String accept = "application/json";
- context = this.client.mergeContext(context);
- return service.list(this.client.getEndpoint(), this.client.getApiVersion(), osType, accept, context);
- }
-
- /**
- * Gets all Agent Versions along with the download link currently present.
- *
- * @param osType Defines the os type.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return all Agent Versions along with the download link currently present on successful completion of {@link
- * Mono}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- private Mono listAsync(String osType) {
- return listWithResponseAsync(osType).flatMap(res -> Mono.justOrEmpty(res.getValue()));
- }
-
- /**
- * Gets all Agent Versions along with the download link currently present.
- *
- * @param osType Defines the os type.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return all Agent Versions along with the download link currently present along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- public Response listWithResponse(String osType, Context context) {
- return listWithResponseAsync(osType, context).block();
- }
-
- /**
- * Gets all Agent Versions along with the download link currently present.
- *
- * @param osType Defines the os type.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return all Agent Versions along with the download link currently present.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- public AgentVersionsListInner list(String osType) {
- return listWithResponse(osType, Context.NONE).getValue();
- }
-
- /**
- * Gets an Agent Version along with the download link currently present.
- *
- * @param osType Defines the os type.
- * @param version Defines the agent version. To get latest, use latest or else a specific agent version.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws 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 Agent Version along with the download link currently present along with {@link Response} on successful
- * completion of {@link Mono}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- private Mono> getWithResponseAsync(String osType, String version) {
- if (this.client.getEndpoint() == null) {
- return Mono
- .error(
- new IllegalArgumentException(
- "Parameter this.client.getEndpoint() is required and cannot be null."));
- }
- if (osType == null) {
- return Mono.error(new IllegalArgumentException("Parameter osType is required and cannot be null."));
- }
- if (version == null) {
- return Mono.error(new IllegalArgumentException("Parameter version is required and cannot be null."));
- }
- final String accept = "application/json";
- return FluxUtil
- .withContext(
- context ->
- service
- .get(this.client.getEndpoint(), this.client.getApiVersion(), osType, version, accept, context))
- .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
- }
-
- /**
- * Gets an Agent Version along with the download link currently present.
- *
- * @param osType Defines the os type.
- * @param version Defines the agent version. To get latest, use latest or else a specific agent version.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws 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 Agent Version along with the download link currently present along with {@link Response} on successful
- * completion of {@link Mono}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- private Mono> getWithResponseAsync(String osType, String version, Context context) {
- if (this.client.getEndpoint() == null) {
- return Mono
- .error(
- new IllegalArgumentException(
- "Parameter this.client.getEndpoint() is required and cannot be null."));
- }
- if (osType == null) {
- return Mono.error(new IllegalArgumentException("Parameter osType is required and cannot be null."));
- }
- if (version == null) {
- return Mono.error(new IllegalArgumentException("Parameter version is required and cannot be null."));
- }
- final String accept = "application/json";
- context = this.client.mergeContext(context);
- return service.get(this.client.getEndpoint(), this.client.getApiVersion(), osType, version, accept, context);
- }
-
- /**
- * Gets an Agent Version along with the download link currently present.
- *
- * @param osType Defines the os type.
- * @param version Defines the agent version. To get latest, use latest or else a specific agent version.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws 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 Agent Version along with the download link currently present on successful completion of {@link Mono}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- private Mono getAsync(String osType, String version) {
- return getWithResponseAsync(osType, version).flatMap(res -> Mono.justOrEmpty(res.getValue()));
- }
-
- /**
- * Gets an Agent Version along with the download link currently present.
- *
- * @param osType Defines the os type.
- * @param version Defines the agent version. To get latest, use latest or else a specific agent version.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws 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 Agent Version along with the download link currently present along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- public Response getWithResponse(String osType, String version, Context context) {
- return getWithResponseAsync(osType, version, context).block();
- }
-
- /**
- * Gets an Agent Version along with the download link currently present.
- *
- * @param osType Defines the os type.
- * @param version Defines the agent version. To get latest, use latest or else a specific agent version.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws 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 Agent Version along with the download link currently present.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- public AgentVersionInner get(String osType, String version) {
- return getWithResponse(osType, version, Context.NONE).getValue();
- }
-}
diff --git a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/implementation/AgentVersionsImpl.java b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/implementation/AgentVersionsImpl.java
deleted file mode 100644
index 170e3ac0a3bc..000000000000
--- a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/implementation/AgentVersionsImpl.java
+++ /dev/null
@@ -1,82 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.hybridcompute.implementation;
-
-import com.azure.core.http.rest.Response;
-import com.azure.core.http.rest.SimpleResponse;
-import com.azure.core.util.Context;
-import com.azure.core.util.logging.ClientLogger;
-import com.azure.resourcemanager.hybridcompute.fluent.AgentVersionsClient;
-import com.azure.resourcemanager.hybridcompute.fluent.models.AgentVersionInner;
-import com.azure.resourcemanager.hybridcompute.fluent.models.AgentVersionsListInner;
-import com.azure.resourcemanager.hybridcompute.models.AgentVersion;
-import com.azure.resourcemanager.hybridcompute.models.AgentVersions;
-import com.azure.resourcemanager.hybridcompute.models.AgentVersionsList;
-
-public final class AgentVersionsImpl implements AgentVersions {
- private static final ClientLogger LOGGER = new ClientLogger(AgentVersionsImpl.class);
-
- private final AgentVersionsClient innerClient;
-
- private final com.azure.resourcemanager.hybridcompute.HybridComputeManager serviceManager;
-
- public AgentVersionsImpl(
- AgentVersionsClient innerClient, com.azure.resourcemanager.hybridcompute.HybridComputeManager serviceManager) {
- this.innerClient = innerClient;
- this.serviceManager = serviceManager;
- }
-
- public Response listWithResponse(String osType, Context context) {
- Response inner = this.serviceClient().listWithResponse(osType, context);
- if (inner != null) {
- return new SimpleResponse<>(
- inner.getRequest(),
- inner.getStatusCode(),
- inner.getHeaders(),
- new AgentVersionsListImpl(inner.getValue(), this.manager()));
- } else {
- return null;
- }
- }
-
- public AgentVersionsList list(String osType) {
- AgentVersionsListInner inner = this.serviceClient().list(osType);
- if (inner != null) {
- return new AgentVersionsListImpl(inner, this.manager());
- } else {
- return null;
- }
- }
-
- public Response getWithResponse(String osType, String version, Context context) {
- Response inner = this.serviceClient().getWithResponse(osType, version, context);
- if (inner != null) {
- return new SimpleResponse<>(
- inner.getRequest(),
- inner.getStatusCode(),
- inner.getHeaders(),
- new AgentVersionImpl(inner.getValue(), this.manager()));
- } else {
- return null;
- }
- }
-
- public AgentVersion get(String osType, String version) {
- AgentVersionInner inner = this.serviceClient().get(osType, version);
- if (inner != null) {
- return new AgentVersionImpl(inner, this.manager());
- } else {
- return null;
- }
- }
-
- private AgentVersionsClient serviceClient() {
- return this.innerClient;
- }
-
- private com.azure.resourcemanager.hybridcompute.HybridComputeManager manager() {
- return this.serviceManager;
- }
-}
diff --git a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/implementation/AgentVersionsListImpl.java b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/implementation/AgentVersionsListImpl.java
deleted file mode 100644
index 1b39845dd757..000000000000
--- a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/implementation/AgentVersionsListImpl.java
+++ /dev/null
@@ -1,52 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.hybridcompute.implementation;
-
-import com.azure.resourcemanager.hybridcompute.fluent.models.AgentVersionInner;
-import com.azure.resourcemanager.hybridcompute.fluent.models.AgentVersionsListInner;
-import com.azure.resourcemanager.hybridcompute.models.AgentVersion;
-import com.azure.resourcemanager.hybridcompute.models.AgentVersionsList;
-import java.util.Collections;
-import java.util.List;
-import java.util.stream.Collectors;
-
-public final class AgentVersionsListImpl implements AgentVersionsList {
- private AgentVersionsListInner innerObject;
-
- private final com.azure.resourcemanager.hybridcompute.HybridComputeManager serviceManager;
-
- AgentVersionsListImpl(
- AgentVersionsListInner innerObject,
- com.azure.resourcemanager.hybridcompute.HybridComputeManager serviceManager) {
- this.innerObject = innerObject;
- this.serviceManager = serviceManager;
- }
-
- public List value() {
- List inner = this.innerModel().value();
- if (inner != null) {
- return Collections
- .unmodifiableList(
- inner
- .stream()
- .map(inner1 -> new AgentVersionImpl(inner1, this.manager()))
- .collect(Collectors.toList()));
- } else {
- return Collections.emptyList();
- }
- }
-
- public String nextLink() {
- return this.innerModel().nextLink();
- }
-
- public AgentVersionsListInner innerModel() {
- return this.innerObject;
- }
-
- private com.azure.resourcemanager.hybridcompute.HybridComputeManager manager() {
- return this.serviceManager;
- }
-}
diff --git a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/implementation/ExtensionMetadatasClientImpl.java b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/implementation/ExtensionMetadatasClientImpl.java
index 72dd3859cc55..5b907a477a93 100644
--- a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/implementation/ExtensionMetadatasClientImpl.java
+++ b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/implementation/ExtensionMetadatasClientImpl.java
@@ -30,22 +30,28 @@
import com.azure.resourcemanager.hybridcompute.models.ExtensionValueListResult;
import reactor.core.publisher.Mono;
-/** An instance of this class provides access to all the operations defined in ExtensionMetadatasClient. */
+/**
+ * An instance of this class provides access to all the operations defined in ExtensionMetadatasClient.
+ */
public final class ExtensionMetadatasClientImpl implements ExtensionMetadatasClient {
- /** The proxy service used to perform REST calls. */
+ /**
+ * The proxy service used to perform REST calls.
+ */
private final ExtensionMetadatasService service;
- /** The service client containing this operation class. */
+ /**
+ * The service client containing this operation class.
+ */
private final HybridComputeManagementClientImpl client;
/**
* Initializes an instance of ExtensionMetadatasClientImpl.
- *
+ *
* @param client the instance of the service client containing this operation class.
*/
ExtensionMetadatasClientImpl(HybridComputeManagementClientImpl client) {
- this.service =
- RestProxy.create(ExtensionMetadatasService.class, client.getHttpPipeline(), client.getSerializerAdapter());
+ this.service = RestProxy.create(ExtensionMetadatasService.class, client.getHttpPipeline(),
+ client.getSerializerAdapter());
this.client = client;
}
@@ -56,41 +62,29 @@ public final class ExtensionMetadatasClientImpl implements ExtensionMetadatasCli
@Host("{$host}")
@ServiceInterface(name = "HybridComputeManagem")
public interface ExtensionMetadatasService {
- @Headers({"Content-Type: application/json"})
- @Get(
- "/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/locations/{location}/publishers/{publisher}/extensionTypes/{extensionType}/versions/{version}")
- @ExpectedResponses({200})
+ @Headers({ "Content-Type: application/json" })
+ @Get("/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/locations/{location}/publishers/{publisher}/extensionTypes/{extensionType}/versions/{version}")
+ @ExpectedResponses({ 200 })
@UnexpectedResponseExceptionType(ManagementException.class)
- Mono> get(
- @HostParam("$host") String endpoint,
- @QueryParam("api-version") String apiVersion,
- @PathParam("subscriptionId") String subscriptionId,
- @PathParam("location") String location,
- @PathParam("publisher") String publisher,
- @PathParam("extensionType") String extensionType,
- @PathParam("version") String version,
- @HeaderParam("Accept") String accept,
- Context context);
+ Mono> get(@HostParam("$host") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("location") String location, @PathParam("publisher") String publisher,
+ @PathParam("extensionType") String extensionType, @PathParam("version") String version,
+ @HeaderParam("Accept") String accept, Context context);
- @Headers({"Content-Type: application/json"})
- @Get(
- "/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/locations/{location}/publishers/{publisher}/extensionTypes/{extensionType}/versions")
- @ExpectedResponses({200})
+ @Headers({ "Content-Type: application/json" })
+ @Get("/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/locations/{location}/publishers/{publisher}/extensionTypes/{extensionType}/versions")
+ @ExpectedResponses({ 200 })
@UnexpectedResponseExceptionType(ManagementException.class)
- Mono> list(
- @HostParam("$host") String endpoint,
- @QueryParam("api-version") String apiVersion,
- @PathParam("subscriptionId") String subscriptionId,
- @PathParam("location") String location,
- @PathParam("publisher") String publisher,
- @PathParam("extensionType") String extensionType,
- @HeaderParam("Accept") String accept,
- Context context);
+ Mono> list(@HostParam("$host") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("location") String location, @PathParam("publisher") String publisher,
+ @PathParam("extensionType") String extensionType, @HeaderParam("Accept") String accept, Context context);
}
/**
* Gets an Extension Metadata based on location, publisher, extensionType and version.
- *
+ *
* @param location The location of the Extension being received.
* @param publisher The publisher of the Extension being received.
* @param extensionType The extensionType of the Extension being received.
@@ -99,22 +93,18 @@ Mono> list(
* @throws 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 Extension Metadata based on location, publisher, extensionType and version along with {@link Response}
- * on successful completion of {@link Mono}.
+ * on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- private Mono> getWithResponseAsync(
- String location, String publisher, String extensionType, String version) {
+ private Mono> getWithResponseAsync(String location, String publisher,
+ String extensionType, String version) {
if (this.client.getEndpoint() == null) {
- return Mono
- .error(
- new IllegalArgumentException(
- "Parameter this.client.getEndpoint() is required and cannot be null."));
+ return Mono.error(
+ new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null."));
}
if (this.client.getSubscriptionId() == null) {
- return Mono
- .error(
- new IllegalArgumentException(
- "Parameter this.client.getSubscriptionId() is required and cannot be null."));
+ return Mono.error(new IllegalArgumentException(
+ "Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
if (location == null) {
return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null."));
@@ -130,25 +120,14 @@ private Mono> getWithResponseAsync(
}
final String accept = "application/json";
return FluxUtil
- .withContext(
- context ->
- service
- .get(
- this.client.getEndpoint(),
- this.client.getApiVersion(),
- this.client.getSubscriptionId(),
- location,
- publisher,
- extensionType,
- version,
- accept,
- context))
+ .withContext(context -> service.get(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), location, publisher, extensionType, version, accept, context))
.contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
}
/**
* Gets an Extension Metadata based on location, publisher, extensionType and version.
- *
+ *
* @param location The location of the Extension being received.
* @param publisher The publisher of the Extension being received.
* @param extensionType The extensionType of the Extension being received.
@@ -158,22 +137,18 @@ private Mono> getWithResponseAsync(
* @throws 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 Extension Metadata based on location, publisher, extensionType and version along with {@link Response}
- * on successful completion of {@link Mono}.
+ * on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- private Mono> getWithResponseAsync(
- String location, String publisher, String extensionType, String version, Context context) {
+ private Mono> getWithResponseAsync(String location, String publisher,
+ String extensionType, String version, Context context) {
if (this.client.getEndpoint() == null) {
- return Mono
- .error(
- new IllegalArgumentException(
- "Parameter this.client.getEndpoint() is required and cannot be null."));
+ return Mono.error(
+ new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null."));
}
if (this.client.getSubscriptionId() == null) {
- return Mono
- .error(
- new IllegalArgumentException(
- "Parameter this.client.getSubscriptionId() is required and cannot be null."));
+ return Mono.error(new IllegalArgumentException(
+ "Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
if (location == null) {
return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null."));
@@ -189,22 +164,13 @@ private Mono> getWithResponseAsync(
}
final String accept = "application/json";
context = this.client.mergeContext(context);
- return service
- .get(
- this.client.getEndpoint(),
- this.client.getApiVersion(),
- this.client.getSubscriptionId(),
- location,
- publisher,
- extensionType,
- version,
- accept,
- context);
+ return service.get(this.client.getEndpoint(), this.client.getApiVersion(), this.client.getSubscriptionId(),
+ location, publisher, extensionType, version, accept, context);
}
/**
* Gets an Extension Metadata based on location, publisher, extensionType and version.
- *
+ *
* @param location The location of the Extension being received.
* @param publisher The publisher of the Extension being received.
* @param extensionType The extensionType of the Extension being received.
@@ -213,18 +179,18 @@ private Mono> getWithResponseAsync(
* @throws 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 Extension Metadata based on location, publisher, extensionType and version on successful completion of
- * {@link Mono}.
+ * {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- private Mono getAsync(
- String location, String publisher, String extensionType, String version) {
+ private Mono getAsync(String location, String publisher, String extensionType,
+ String version) {
return getWithResponseAsync(location, publisher, extensionType, version)
.flatMap(res -> Mono.justOrEmpty(res.getValue()));
}
/**
* Gets an Extension Metadata based on location, publisher, extensionType and version.
- *
+ *
* @param location The location of the Extension being received.
* @param publisher The publisher of the Extension being received.
* @param extensionType The extensionType of the Extension being received.
@@ -233,18 +199,18 @@ private Mono getAsync(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws 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 Extension Metadata based on location, publisher, extensionType and version along with {@link
- * Response}.
+ * @return an Extension Metadata based on location, publisher, extensionType and version along with
+ * {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public Response getWithResponse(
- String location, String publisher, String extensionType, String version, Context context) {
+ public Response getWithResponse(String location, String publisher, String extensionType,
+ String version, Context context) {
return getWithResponseAsync(location, publisher, extensionType, version, context).block();
}
/**
* Gets an Extension Metadata based on location, publisher, extensionType and version.
- *
+ *
* @param location The location of the Extension being received.
* @param publisher The publisher of the Extension being received.
* @param extensionType The extensionType of the Extension being received.
@@ -261,7 +227,7 @@ public ExtensionValueInner get(String location, String publisher, String extensi
/**
* Gets all Extension versions based on location, publisher, extensionType.
- *
+ *
* @param location The location of the Extension being received.
* @param publisher The publisher of the Extension being received.
* @param extensionType The extensionType of the Extension being received.
@@ -269,22 +235,18 @@ public ExtensionValueInner get(String location, String publisher, String extensi
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return all Extension versions based on location, publisher, extensionType along with {@link PagedResponse} on
- * successful completion of {@link Mono}.
+ * successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- private Mono> listSinglePageAsync(
- String location, String publisher, String extensionType) {
+ private Mono> listSinglePageAsync(String location, String publisher,
+ String extensionType) {
if (this.client.getEndpoint() == null) {
- return Mono
- .error(
- new IllegalArgumentException(
- "Parameter this.client.getEndpoint() is required and cannot be null."));
+ return Mono.error(
+ new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null."));
}
if (this.client.getSubscriptionId() == null) {
- return Mono
- .error(
- new IllegalArgumentException(
- "Parameter this.client.getSubscriptionId() is required and cannot be null."));
+ return Mono.error(new IllegalArgumentException(
+ "Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
if (location == null) {
return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null."));
@@ -297,28 +259,16 @@ private Mono> listSinglePageAsync(
}
final String accept = "application/json";
return FluxUtil
- .withContext(
- context ->
- service
- .list(
- this.client.getEndpoint(),
- this.client.getApiVersion(),
- this.client.getSubscriptionId(),
- location,
- publisher,
- extensionType,
- accept,
- context))
- .>map(
- res ->
- new PagedResponseBase<>(
- res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), null, null))
+ .withContext(context -> service.list(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), location, publisher, extensionType, accept, context))
+ .>map(res -> new PagedResponseBase<>(res.getRequest(),
+ res.getStatusCode(), res.getHeaders(), res.getValue().value(), null, null))
.contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
}
/**
* Gets all Extension versions based on location, publisher, extensionType.
- *
+ *
* @param location The location of the Extension being received.
* @param publisher The publisher of the Extension being received.
* @param extensionType The extensionType of the Extension being received.
@@ -327,22 +277,18 @@ private Mono> listSinglePageAsync(
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return all Extension versions based on location, publisher, extensionType along with {@link PagedResponse} on
- * successful completion of {@link Mono}.
+ * successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- private Mono> listSinglePageAsync(
- String location, String publisher, String extensionType, Context context) {
+ private Mono> listSinglePageAsync(String location, String publisher,
+ String extensionType, Context context) {
if (this.client.getEndpoint() == null) {
- return Mono
- .error(
- new IllegalArgumentException(
- "Parameter this.client.getEndpoint() is required and cannot be null."));
+ return Mono.error(
+ new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null."));
}
if (this.client.getSubscriptionId() == null) {
- return Mono
- .error(
- new IllegalArgumentException(
- "Parameter this.client.getSubscriptionId() is required and cannot be null."));
+ return Mono.error(new IllegalArgumentException(
+ "Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
if (location == null) {
return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null."));
@@ -356,32 +302,23 @@ private Mono> listSinglePageAsync(
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
- .list(
- this.client.getEndpoint(),
- this.client.getApiVersion(),
- this.client.getSubscriptionId(),
- location,
- publisher,
- extensionType,
- accept,
- context)
- .map(
- res ->
- new PagedResponseBase<>(
- res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), null, null));
+ .list(this.client.getEndpoint(), this.client.getApiVersion(), this.client.getSubscriptionId(), location,
+ publisher, extensionType, accept, context)
+ .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(),
+ res.getValue().value(), null, null));
}
/**
* Gets all Extension versions based on location, publisher, extensionType.
- *
+ *
* @param location The location of the Extension being received.
* @param publisher The publisher of the Extension being received.
* @param extensionType The extensionType of the Extension being received.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return all Extension versions based on location, publisher, extensionType as paginated response with {@link
- * PagedFlux}.
+ * @return all Extension versions based on location, publisher, extensionType as paginated response with
+ * {@link PagedFlux}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
private PagedFlux listAsync(String location, String publisher, String extensionType) {
@@ -390,7 +327,7 @@ private PagedFlux listAsync(String location, String publish
/**
* Gets all Extension versions based on location, publisher, extensionType.
- *
+ *
* @param location The location of the Extension being received.
* @param publisher The publisher of the Extension being received.
* @param extensionType The extensionType of the Extension being received.
@@ -398,26 +335,26 @@ private PagedFlux listAsync(String location, String publish
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return all Extension versions based on location, publisher, extensionType as paginated response with {@link
- * PagedFlux}.
+ * @return all Extension versions based on location, publisher, extensionType as paginated response with
+ * {@link PagedFlux}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- private PagedFlux listAsync(
- String location, String publisher, String extensionType, Context context) {
+ private PagedFlux listAsync(String location, String publisher, String extensionType,
+ Context context) {
return new PagedFlux<>(() -> listSinglePageAsync(location, publisher, extensionType, context));
}
/**
* Gets all Extension versions based on location, publisher, extensionType.
- *
+ *
* @param location The location of the Extension being received.
* @param publisher The publisher of the Extension being received.
* @param extensionType The extensionType of the Extension being received.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return all Extension versions based on location, publisher, extensionType as paginated response with {@link
- * PagedIterable}.
+ * @return all Extension versions based on location, publisher, extensionType as paginated response with
+ * {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
public PagedIterable list(String location, String publisher, String extensionType) {
@@ -426,7 +363,7 @@ public PagedIterable list(String location, String publisher
/**
* Gets all Extension versions based on location, publisher, extensionType.
- *
+ *
* @param location The location of the Extension being received.
* @param publisher The publisher of the Extension being received.
* @param extensionType The extensionType of the Extension being received.
@@ -434,12 +371,12 @@ public PagedIterable list(String location, String publisher
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return all Extension versions based on location, publisher, extensionType as paginated response with {@link
- * PagedIterable}.
+ * @return all Extension versions based on location, publisher, extensionType as paginated response with
+ * {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- public PagedIterable list(
- String location, String publisher, String extensionType, Context context) {
+ public PagedIterable list(String location, String publisher, String extensionType,
+ Context context) {
return new PagedIterable<>(listAsync(location, publisher, extensionType, context));
}
}
diff --git a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/implementation/ExtensionMetadatasImpl.java b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/implementation/ExtensionMetadatasImpl.java
index bbcaeb86922d..1905e07ebe16 100644
--- a/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/implementation/ExtensionMetadatasImpl.java
+++ b/sdk/hybridcompute/azure-resourcemanager-hybridcompute/src/main/java/com/azure/resourcemanager/hybridcompute/implementation/ExtensionMetadatasImpl.java
@@ -21,22 +21,18 @@ public final class ExtensionMetadatasImpl implements ExtensionMetadatas {
private final com.azure.resourcemanager.hybridcompute.HybridComputeManager serviceManager;
- public ExtensionMetadatasImpl(
- ExtensionMetadatasClient innerClient,
+ public ExtensionMetadatasImpl(ExtensionMetadatasClient innerClient,
com.azure.resourcemanager.hybridcompute.HybridComputeManager serviceManager) {
this.innerClient = innerClient;
this.serviceManager = serviceManager;
}
- public Response getWithResponse(
- String location, String publisher, String extensionType, String version, Context context) {
- Response inner =
- this.serviceClient().getWithResponse(location, publisher, extensionType, version, context);
+ public Response getWithResponse(String location, String publisher, String extensionType,
+ String version, Context context) {
+ Response