Skip to content

Commit

Permalink
CodeGen from PR 32092 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge e6cb150db404232af09a926830349dde84db9f0c into 3dac49c6d2e2b333c330141fa4207201679e97bd
  • Loading branch information
SDKAuto committed Jan 20, 2025
1 parent e72ccba commit be9b778
Show file tree
Hide file tree
Showing 47 changed files with 636 additions and 934 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Release History

## 1.0.0-beta.2 (Unreleased)
## 1.0.0-beta.1 (2025-01-20)

- Azure Resource Manager Compute Schedule client library for Java. This package contains Microsoft Azure SDK for Compute Schedule Management SDK. Microsoft.ComputeSchedule Resource Provider management API. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).

### Features Added

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Various documentation is available to help you get started
<dependency>
<groupId>com.azure.resourcemanager</groupId>
<artifactId>azure-resourcemanager-computeschedule</artifactId>
<version>1.0.0-beta.1</version>
<version>1.0.0-beta.2</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down
373 changes: 78 additions & 295 deletions sdk/computeschedule/azure-resourcemanager-computeschedule/SAMPLE.md

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,9 @@
<jacoco.min.linecoverage>0</jacoco.min.linecoverage>
<jacoco.min.branchcoverage>0</jacoco.min.branchcoverage>
<revapi.skip>true</revapi.skip>
<spotless.skip>false</spotless.skip>
</properties>
<dependencies>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-json</artifactId>
<version>1.3.0</version> <!-- {x-version-update;com.azure:azure-json;dependency} -->
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core</artifactId>
Expand All @@ -75,5 +71,10 @@
<version>1.15.0</version> <!-- {x-version-update;com.azure:azure-identity;dependency} -->
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-json</artifactId>
<version>1.3.0</version> <!-- {x-version-update;com.azure:azure-json;dependency} -->
</dependency>
</dependencies>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
*/
public interface ScheduledActionsClient {
/**
* virtualMachinesSubmitDeallocate: submitDeallocate for a virtual machine.
* VirtualMachinesSubmitDeallocate: Schedule deallocate operation for a batch of virtual machines at datetime in
* future.
*
* @param locationparameter The location name.
* @param requestBody The request body.
Expand All @@ -44,7 +45,8 @@ Response<DeallocateResourceOperationResponseInner> virtualMachinesSubmitDealloca
String locationparameter, SubmitDeallocateRequest requestBody, Context context);

/**
* virtualMachinesSubmitDeallocate: submitDeallocate for a virtual machine.
* VirtualMachinesSubmitDeallocate: Schedule deallocate operation for a batch of virtual machines at datetime in
* future.
*
* @param locationparameter The location name.
* @param requestBody The request body.
Expand All @@ -58,7 +60,8 @@ DeallocateResourceOperationResponseInner virtualMachinesSubmitDeallocate(String
SubmitDeallocateRequest requestBody);

/**
* virtualMachinesSubmitHibernate: submitHibernate for a virtual machine.
* VirtualMachinesSubmitHibernate: Schedule hibernate operation for a batch of virtual machines at datetime in
* future.
*
* @param locationparameter The location name.
* @param requestBody The request body.
Expand All @@ -73,7 +76,8 @@ Response<HibernateResourceOperationResponseInner> virtualMachinesSubmitHibernate
String locationparameter, SubmitHibernateRequest requestBody, Context context);

/**
* virtualMachinesSubmitHibernate: submitHibernate for a virtual machine.
* VirtualMachinesSubmitHibernate: Schedule hibernate operation for a batch of virtual machines at datetime in
* future.
*
* @param locationparameter The location name.
* @param requestBody The request body.
Expand All @@ -87,7 +91,7 @@ HibernateResourceOperationResponseInner virtualMachinesSubmitHibernate(String lo
SubmitHibernateRequest requestBody);

/**
* virtualMachinesSubmitStart: submitStart for a virtual machine.
* VirtualMachinesSubmitStart: Schedule start operation for a batch of virtual machines at datetime in future.
*
* @param locationparameter The location name.
* @param requestBody The request body.
Expand All @@ -102,7 +106,7 @@ Response<StartResourceOperationResponseInner> virtualMachinesSubmitStartWithResp
SubmitStartRequest requestBody, Context context);

/**
* virtualMachinesSubmitStart: submitStart for a virtual machine.
* VirtualMachinesSubmitStart: Schedule start operation for a batch of virtual machines at datetime in future.
*
* @param locationparameter The location name.
* @param requestBody The request body.
Expand All @@ -116,7 +120,8 @@ StartResourceOperationResponseInner virtualMachinesSubmitStart(String locationpa
SubmitStartRequest requestBody);

/**
* virtualMachinesExecuteDeallocate: executeDeallocate for a virtual machine.
* VirtualMachinesExecuteDeallocate: Execute deallocate operation for a batch of virtual machines, this operation is
* triggered as soon as Computeschedule receives it.
*
* @param locationparameter The location name.
* @param requestBody The request body.
Expand All @@ -131,7 +136,8 @@ Response<DeallocateResourceOperationResponseInner> virtualMachinesExecuteDealloc
String locationparameter, ExecuteDeallocateRequest requestBody, Context context);

/**
* virtualMachinesExecuteDeallocate: executeDeallocate for a virtual machine.
* VirtualMachinesExecuteDeallocate: Execute deallocate operation for a batch of virtual machines, this operation is
* triggered as soon as Computeschedule receives it.
*
* @param locationparameter The location name.
* @param requestBody The request body.
Expand All @@ -145,7 +151,8 @@ DeallocateResourceOperationResponseInner virtualMachinesExecuteDeallocate(String
ExecuteDeallocateRequest requestBody);

/**
* virtualMachinesExecuteHibernate: executeHibernate for a virtual machine.
* VirtualMachinesExecuteHibernate: Execute hibernate operation for a batch of virtual machines, this operation is
* triggered as soon as Computeschedule receives it.
*
* @param locationparameter The location name.
* @param requestBody The request body.
Expand All @@ -160,7 +167,8 @@ Response<HibernateResourceOperationResponseInner> virtualMachinesExecuteHibernat
String locationparameter, ExecuteHibernateRequest requestBody, Context context);

/**
* virtualMachinesExecuteHibernate: executeHibernate for a virtual machine.
* VirtualMachinesExecuteHibernate: Execute hibernate operation for a batch of virtual machines, this operation is
* triggered as soon as Computeschedule receives it.
*
* @param locationparameter The location name.
* @param requestBody The request body.
Expand All @@ -174,7 +182,8 @@ HibernateResourceOperationResponseInner virtualMachinesExecuteHibernate(String l
ExecuteHibernateRequest requestBody);

/**
* virtualMachinesExecuteStart: executeStart for a virtual machine.
* VirtualMachinesExecuteStart: Execute start operation for a batch of virtual machines, this operation is triggered
* as soon as Computeschedule receives it.
*
* @param locationparameter The location name.
* @param requestBody The request body.
Expand All @@ -189,7 +198,8 @@ Response<StartResourceOperationResponseInner> virtualMachinesExecuteStartWithRes
ExecuteStartRequest requestBody, Context context);

/**
* virtualMachinesExecuteStart: executeStart for a virtual machine.
* VirtualMachinesExecuteStart: Execute start operation for a batch of virtual machines, this operation is triggered
* as soon as Computeschedule receives it.
*
* @param locationparameter The location name.
* @param requestBody The request body.
Expand All @@ -203,7 +213,7 @@ StartResourceOperationResponseInner virtualMachinesExecuteStart(String locationp
ExecuteStartRequest requestBody);

/**
* virtualMachinesGetOperationStatus: getOperationStatus for a virtual machine.
* VirtualMachinesGetOperationStatus: Polling endpoint to read status of operations performed on virtual machines.
*
* @param locationparameter The location name.
* @param requestBody The request body.
Expand All @@ -218,7 +228,7 @@ Response<GetOperationStatusResponseInner> virtualMachinesGetOperationStatusWithR
GetOperationStatusRequest requestBody, Context context);

/**
* virtualMachinesGetOperationStatus: getOperationStatus for a virtual machine.
* VirtualMachinesGetOperationStatus: Polling endpoint to read status of operations performed on virtual machines.
*
* @param locationparameter The location name.
* @param requestBody The request body.
Expand All @@ -232,7 +242,7 @@ GetOperationStatusResponseInner virtualMachinesGetOperationStatus(String locatio
GetOperationStatusRequest requestBody);

/**
* virtualMachinesCancelOperations: cancelOperations for a virtual machine.
* VirtualMachinesCancelOperations: Cancel a previously submitted (start/deallocate/hibernate) request.
*
* @param locationparameter The location name.
* @param requestBody The request body.
Expand All @@ -247,7 +257,7 @@ Response<CancelOperationsResponseInner> virtualMachinesCancelOperationsWithRespo
CancelOperationsRequest requestBody, Context context);

/**
* virtualMachinesCancelOperations: cancelOperations for a virtual machine.
* VirtualMachinesCancelOperations: Cancel a previously submitted (start/deallocate/hibernate) request.
*
* @param locationparameter The location name.
* @param requestBody The request body.
Expand All @@ -261,7 +271,8 @@ CancelOperationsResponseInner virtualMachinesCancelOperations(String locationpar
CancelOperationsRequest requestBody);

/**
* virtualMachinesGetOperationErrors: getOperationErrors associated with an operation on a virtual machine.
* VirtualMachinesGetOperationErrors: Get error details on operation errors (like transient errors encountered,
* additional logs) if they exist.
*
* @param locationparameter The location name.
* @param requestBody The request body.
Expand All @@ -276,7 +287,8 @@ Response<GetOperationErrorsResponseInner> virtualMachinesGetOperationErrorsWithR
GetOperationErrorsRequest requestBody, Context context);

/**
* virtualMachinesGetOperationErrors: getOperationErrors associated with an operation on a virtual machine.
* VirtualMachinesGetOperationErrors: Get error details on operation errors (like transient errors encountered,
* additional logs) if they exist.
*
* @param locationparameter The location name.
* @param requestBody The request body.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ public ScheduledActionsClient getScheduledActions() {
this.defaultPollInterval = defaultPollInterval;
this.endpoint = endpoint;
this.subscriptionId = subscriptionId;
this.apiVersion = "2024-08-15-preview";
this.apiVersion = "2024-10-01";
this.operations = new OperationsClientImpl(this);
this.scheduledActions = new ScheduledActionsClientImpl(this);
}
Expand Down
Loading

0 comments on commit be9b778

Please sign in to comment.