[Automation] Collect examples from azure-sdk-for-java#azure-resourcemanager-largeinstance_1.0.0-beta.1

Co-authored-by: azure-sdk <azuresdk@microsoft.com>
This commit is contained in:
Azure-Fluent 2024-02-28 20:02:21 +08:00 коммит произвёл GitHub
Родитель 461ac86068
Коммит 21b4612e69
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
12 изменённых файлов: 124 добавлений и 0 удалений

Просмотреть файл

@ -0,0 +1,19 @@
/**
* Samples for Operations List.
*/
public final class Main {
/*
* x-ms-original-file:
* specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/
* examples/AzureLargeInstanceOperations_List.json
*/
/**
* Sample code: Operations_List.
*
* @param manager Entry point to LargeInstanceManager.
*/
public static void operationsList(com.azure.resourcemanager.largeinstance.LargeInstanceManager manager) {
manager.operations().list(com.azure.core.util.Context.NONE);
}
}

Просмотреть файл

@ -0,0 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager-largeinstance_1.0.0-beta.1/sdk/largeinstance/azure-resourcemanager-largeinstance/README.md"}

Просмотреть файл

@ -0,0 +1,20 @@
/**
* Samples for AzureLargeInstance GetByResourceGroup.
*/
public final class Main {
/*
* x-ms-original-file:
* specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/
* examples/AzureLargeInstance_Get.json
*/
/**
* Sample code: AzureLargeInstance_Get.
*
* @param manager Entry point to LargeInstanceManager.
*/
public static void azureLargeInstanceGet(com.azure.resourcemanager.largeinstance.LargeInstanceManager manager) {
manager.azureLargeInstances().getByResourceGroupWithResponse("myResourceGroup", "myAzureLargeInstance",
com.azure.core.util.Context.NONE);
}
}

Просмотреть файл

@ -0,0 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager-largeinstance_1.0.0-beta.1/sdk/largeinstance/azure-resourcemanager-largeinstance/README.md"}

Просмотреть файл

@ -0,0 +1,20 @@
/**
* Samples for AzureLargeInstance Restart.
*/
public final class Main {
/*
* x-ms-original-file:
* specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/
* examples/AzureLargeInstance_Restart.json
*/
/**
* Sample code: AzureLargeInstance_Restart.
*
* @param manager Entry point to LargeInstanceManager.
*/
public static void azureLargeInstanceRestart(com.azure.resourcemanager.largeinstance.LargeInstanceManager manager) {
manager.azureLargeInstances().restart("myResourceGroup", "myALInstance", null,
com.azure.core.util.Context.NONE);
}
}

Просмотреть файл

@ -0,0 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager-largeinstance_1.0.0-beta.1/sdk/largeinstance/azure-resourcemanager-largeinstance/README.md"}

Просмотреть файл

@ -0,0 +1,19 @@
/**
* Samples for AzureLargeInstance Start.
*/
public final class Main {
/*
* x-ms-original-file:
* specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/
* examples/AzureLargeInstance_Start.json
*/
/**
* Sample code: AzureLargeInstance_Start.
*
* @param manager Entry point to LargeInstanceManager.
*/
public static void azureLargeInstanceStart(com.azure.resourcemanager.largeinstance.LargeInstanceManager manager) {
manager.azureLargeInstances().start("myResourceGroup", "myALInstance", com.azure.core.util.Context.NONE);
}
}

Просмотреть файл

@ -0,0 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager-largeinstance_1.0.0-beta.1/sdk/largeinstance/azure-resourcemanager-largeinstance/README.md"}

Просмотреть файл

@ -0,0 +1,20 @@
/**
* Samples for AzureLargeStorageInstance ListByResourceGroup.
*/
public final class Main {
/*
* x-ms-original-file:
* specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/
* examples/AzureLargeStorageInstance_ListByResourceGroup.json
*/
/**
* Sample code: AzureLargeStorageInstance_ListByResourceGroup.
*
* @param manager Entry point to LargeInstanceManager.
*/
public static void azureLargeStorageInstanceListByResourceGroup(
com.azure.resourcemanager.largeinstance.LargeInstanceManager manager) {
manager.azureLargeStorageInstances().listByResourceGroup("myResourceGroup", com.azure.core.util.Context.NONE);
}
}

Просмотреть файл

@ -0,0 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager-largeinstance_1.0.0-beta.1/sdk/largeinstance/azure-resourcemanager-largeinstance/README.md"}

Просмотреть файл

@ -0,0 +1,20 @@
/**
* Samples for AzureLargeStorageInstance List.
*/
public final class Main {
/*
* x-ms-original-file:
* specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/
* examples/AzureLargeStorageInstance_ListBySubscription.json
*/
/**
* Sample code: AzureLargeStorageInstance_ListBySubscription.
*
* @param manager Entry point to LargeInstanceManager.
*/
public static void azureLargeStorageInstanceListBySubscription(
com.azure.resourcemanager.largeinstance.LargeInstanceManager manager) {
manager.azureLargeStorageInstances().list(com.azure.core.util.Context.NONE);
}
}

Просмотреть файл

@ -0,0 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager-largeinstance_1.0.0-beta.1/sdk/largeinstance/azure-resourcemanager-largeinstance/README.md"}