Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
kazrael2119 committed Oct 17, 2024
1 parent 4860e6e commit 99211ff
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import { DefaultAzureCredential } from "@azure/identity";
* This sample demonstrates how to list the operations for the provider
*
* @summary list the operations for the provider
* x-ms-original-file: 2023-11-01/Operations_List.json
* x-ms-original-file: 2024-09-01/Operations_List.json
*/
async function listOperations() {
async function listTheOperationsForTheProvider() {
const credential = new DefaultAzureCredential();
const subscriptionId = "00000000-0000-0000-0000-00000000000";
const client = new WorkloadsClient(credential, subscriptionId);
Expand All @@ -23,7 +23,7 @@ async function listOperations() {
}

async function main() {
listOperations();
listTheOperationsForTheProvider();
}

main().catch(console.error);
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ These sample programs show how to use the JavaScript client libraries for @azure

| **File Name** | **Description** |
| ------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [operationsListSample.js][operationslistsample] | list the operations for the provider x-ms-original-file: 2023-11-01/Operations_List.json |
| [operationsListSample.js][operationslistsample] | list the operations for the provider x-ms-original-file: 2024-09-01/Operations_List.json |
| [sAPApplicationServerInstancesCreateSample.js][sapapplicationserverinstancescreatesample] | puts the SAP Application Server Instance resource. <br><br>This will be used by service only. PUT by end user will return a Bad Request error. x-ms-original-file: 2024-09-01/SapApplicationServerInstances_Create.json |
| [sAPApplicationServerInstancesDeleteSample.js][sapapplicationserverinstancesdeletesample] | deletes the SAP Application Server Instance resource. <br><br>This operation will be used by service only. Delete by end user will return a Bad Request error. x-ms-original-file: 2024-09-01/SapApplicationServerInstances_Delete.json |
| [sAPApplicationServerInstancesGetSample.js][sapapplicationserverinstancesgetsample] | gets the SAP Application Server Instance corresponding to the Virtual Instance for SAP solutions resource. x-ms-original-file: 2024-09-01/SapApplicationServerInstances_Get.json |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ const { DefaultAzureCredential } = require("@azure/identity");
* This sample demonstrates how to list the operations for the provider
*
* @summary list the operations for the provider
* x-ms-original-file: 2023-11-01/Operations_List.json
* x-ms-original-file: 2024-09-01/Operations_List.json
*/
async function listOperations() {
async function listTheOperationsForTheProvider() {
const credential = new DefaultAzureCredential();
const subscriptionId = "00000000-0000-0000-0000-00000000000";
const client = new WorkloadsClient(credential, subscriptionId);
Expand All @@ -23,7 +23,7 @@ async function listOperations() {
}

async function main() {
listOperations();
listTheOperationsForTheProvider();
}

main().catch(console.error);
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ These sample programs show how to use the TypeScript client libraries for @azure

| **File Name** | **Description** |
| ------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [operationsListSample.ts][operationslistsample] | list the operations for the provider x-ms-original-file: 2023-11-01/Operations_List.json |
| [operationsListSample.ts][operationslistsample] | list the operations for the provider x-ms-original-file: 2024-09-01/Operations_List.json |
| [sAPApplicationServerInstancesCreateSample.ts][sapapplicationserverinstancescreatesample] | puts the SAP Application Server Instance resource. <br><br>This will be used by service only. PUT by end user will return a Bad Request error. x-ms-original-file: 2024-09-01/SapApplicationServerInstances_Create.json |
| [sAPApplicationServerInstancesDeleteSample.ts][sapapplicationserverinstancesdeletesample] | deletes the SAP Application Server Instance resource. <br><br>This operation will be used by service only. Delete by end user will return a Bad Request error. x-ms-original-file: 2024-09-01/SapApplicationServerInstances_Delete.json |
| [sAPApplicationServerInstancesGetSample.ts][sapapplicationserverinstancesgetsample] | gets the SAP Application Server Instance corresponding to the Virtual Instance for SAP solutions resource. x-ms-original-file: 2024-09-01/SapApplicationServerInstances_Get.json |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,13 @@
import { WorkloadsClient } from "@azure/arm-workloadssapvirtualinstance";
import { DefaultAzureCredential } from "@azure/identity";


/**
* This sample demonstrates how to list the operations for the provider
*
* @summary list the operations for the provider
* x-ms-original-file: 2023-11-01/Operations_List.json
* x-ms-original-file: 2024-09-01/Operations_List.json
*/
async function listOperations() {
async function listTheOperationsForTheProvider() {
const credential = new DefaultAzureCredential();
const subscriptionId = "00000000-0000-0000-0000-00000000000";
const client = new WorkloadsClient(credential, subscriptionId);
Expand All @@ -24,7 +23,7 @@ async function listOperations() {
}

async function main() {
listOperations();
listTheOperationsForTheProvider();
}

main().catch(console.error);

0 comments on commit 99211ff

Please sign in to comment.