Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.pulumi.azure.netapp.NetappFunctions Maven / Gradle / Ivy
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.azure.netapp;
import com.pulumi.azure.Utilities;
import com.pulumi.azure.netapp.inputs.GetAccountArgs;
import com.pulumi.azure.netapp.inputs.GetAccountEncryptionArgs;
import com.pulumi.azure.netapp.inputs.GetAccountEncryptionPlainArgs;
import com.pulumi.azure.netapp.inputs.GetAccountPlainArgs;
import com.pulumi.azure.netapp.inputs.GetPoolArgs;
import com.pulumi.azure.netapp.inputs.GetPoolPlainArgs;
import com.pulumi.azure.netapp.inputs.GetSnapshotArgs;
import com.pulumi.azure.netapp.inputs.GetSnapshotPlainArgs;
import com.pulumi.azure.netapp.inputs.GetSnapshotPolicyArgs;
import com.pulumi.azure.netapp.inputs.GetSnapshotPolicyPlainArgs;
import com.pulumi.azure.netapp.inputs.GetVolumeArgs;
import com.pulumi.azure.netapp.inputs.GetVolumeGroupSapHanaArgs;
import com.pulumi.azure.netapp.inputs.GetVolumeGroupSapHanaPlainArgs;
import com.pulumi.azure.netapp.inputs.GetVolumePlainArgs;
import com.pulumi.azure.netapp.inputs.GetVolumeQuotaRuleArgs;
import com.pulumi.azure.netapp.inputs.GetVolumeQuotaRulePlainArgs;
import com.pulumi.azure.netapp.outputs.GetAccountEncryptionResult;
import com.pulumi.azure.netapp.outputs.GetAccountResult;
import com.pulumi.azure.netapp.outputs.GetPoolResult;
import com.pulumi.azure.netapp.outputs.GetSnapshotPolicyResult;
import com.pulumi.azure.netapp.outputs.GetSnapshotResult;
import com.pulumi.azure.netapp.outputs.GetVolumeGroupSapHanaResult;
import com.pulumi.azure.netapp.outputs.GetVolumeQuotaRuleResult;
import com.pulumi.azure.netapp.outputs.GetVolumeResult;
import com.pulumi.core.Output;
import com.pulumi.core.TypeShape;
import com.pulumi.deployment.Deployment;
import com.pulumi.deployment.InvokeOptions;
import java.util.concurrent.CompletableFuture;
public final class NetappFunctions {
/**
* Uses this data source to access information about an existing NetApp Account.
*
* ## NetApp Account Usage
*
* <!--Start PulumiCodeChooser -->
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azure.netapp.NetappFunctions;
* import com.pulumi.azure.netapp.inputs.GetAccountArgs;
* import java.util.List;
* import java.util.ArrayList;
* import java.util.Map;
* import java.io.File;
* import java.nio.file.Files;
* import java.nio.file.Paths;
*
* public class App {
* public static void main(String[] args) {
* Pulumi.run(App::stack);
* }
*
* public static void stack(Context ctx) {
* final var example = NetappFunctions.getAccount(GetAccountArgs.builder()
* .resourceGroupName("acctestRG")
* .name("acctestnetappaccount")
* .build());
*
* ctx.export("netappAccountId", example.applyValue(getAccountResult -> getAccountResult.id()));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getAccount(GetAccountArgs args) {
return getAccount(args, InvokeOptions.Empty);
}
/**
* Uses this data source to access information about an existing NetApp Account.
*
* ## NetApp Account Usage
*
* <!--Start PulumiCodeChooser -->
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azure.netapp.NetappFunctions;
* import com.pulumi.azure.netapp.inputs.GetAccountArgs;
* import java.util.List;
* import java.util.ArrayList;
* import java.util.Map;
* import java.io.File;
* import java.nio.file.Files;
* import java.nio.file.Paths;
*
* public class App {
* public static void main(String[] args) {
* Pulumi.run(App::stack);
* }
*
* public static void stack(Context ctx) {
* final var example = NetappFunctions.getAccount(GetAccountArgs.builder()
* .resourceGroupName("acctestRG")
* .name("acctestnetappaccount")
* .build());
*
* ctx.export("netappAccountId", example.applyValue(getAccountResult -> getAccountResult.id()));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getAccountPlain(GetAccountPlainArgs args) {
return getAccountPlain(args, InvokeOptions.Empty);
}
/**
* Uses this data source to access information about an existing NetApp Account.
*
* ## NetApp Account Usage
*
* <!--Start PulumiCodeChooser -->
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azure.netapp.NetappFunctions;
* import com.pulumi.azure.netapp.inputs.GetAccountArgs;
* import java.util.List;
* import java.util.ArrayList;
* import java.util.Map;
* import java.io.File;
* import java.nio.file.Files;
* import java.nio.file.Paths;
*
* public class App {
* public static void main(String[] args) {
* Pulumi.run(App::stack);
* }
*
* public static void stack(Context ctx) {
* final var example = NetappFunctions.getAccount(GetAccountArgs.builder()
* .resourceGroupName("acctestRG")
* .name("acctestnetappaccount")
* .build());
*
* ctx.export("netappAccountId", example.applyValue(getAccountResult -> getAccountResult.id()));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getAccount(GetAccountArgs args, InvokeOptions options) {
return Deployment.getInstance().invoke("azure:netapp/getAccount:getAccount", TypeShape.of(GetAccountResult.class), args, Utilities.withVersion(options));
}
/**
* Uses this data source to access information about an existing NetApp Account.
*
* ## NetApp Account Usage
*
* <!--Start PulumiCodeChooser -->
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azure.netapp.NetappFunctions;
* import com.pulumi.azure.netapp.inputs.GetAccountArgs;
* import java.util.List;
* import java.util.ArrayList;
* import java.util.Map;
* import java.io.File;
* import java.nio.file.Files;
* import java.nio.file.Paths;
*
* public class App {
* public static void main(String[] args) {
* Pulumi.run(App::stack);
* }
*
* public static void stack(Context ctx) {
* final var example = NetappFunctions.getAccount(GetAccountArgs.builder()
* .resourceGroupName("acctestRG")
* .name("acctestnetappaccount")
* .build());
*
* ctx.export("netappAccountId", example.applyValue(getAccountResult -> getAccountResult.id()));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getAccountPlain(GetAccountPlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("azure:netapp/getAccount:getAccount", TypeShape.of(GetAccountResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to access information about an existing NetApp Account Encryption Resource.
*
* ## Example Usage
*
* <!--Start PulumiCodeChooser -->
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azure.netapp.NetappFunctions;
* import com.pulumi.azure.netapp.inputs.GetAccountEncryptionArgs;
* import java.util.List;
* import java.util.ArrayList;
* import java.util.Map;
* import java.io.File;
* import java.nio.file.Files;
* import java.nio.file.Paths;
*
* public class App {
* public static void main(String[] args) {
* Pulumi.run(App::stack);
* }
*
* public static void stack(Context ctx) {
* final var example = NetappFunctions.getAccountEncryption(GetAccountEncryptionArgs.builder()
* .netappAccountId("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.NetApp/netAppAccounts/account1")
* .build());
*
* ctx.export("id", example.applyValue(getAccountEncryptionResult -> getAccountEncryptionResult.id()));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getAccountEncryption(GetAccountEncryptionArgs args) {
return getAccountEncryption(args, InvokeOptions.Empty);
}
/**
* Use this data source to access information about an existing NetApp Account Encryption Resource.
*
* ## Example Usage
*
* <!--Start PulumiCodeChooser -->
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azure.netapp.NetappFunctions;
* import com.pulumi.azure.netapp.inputs.GetAccountEncryptionArgs;
* import java.util.List;
* import java.util.ArrayList;
* import java.util.Map;
* import java.io.File;
* import java.nio.file.Files;
* import java.nio.file.Paths;
*
* public class App {
* public static void main(String[] args) {
* Pulumi.run(App::stack);
* }
*
* public static void stack(Context ctx) {
* final var example = NetappFunctions.getAccountEncryption(GetAccountEncryptionArgs.builder()
* .netappAccountId("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.NetApp/netAppAccounts/account1")
* .build());
*
* ctx.export("id", example.applyValue(getAccountEncryptionResult -> getAccountEncryptionResult.id()));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getAccountEncryptionPlain(GetAccountEncryptionPlainArgs args) {
return getAccountEncryptionPlain(args, InvokeOptions.Empty);
}
/**
* Use this data source to access information about an existing NetApp Account Encryption Resource.
*
* ## Example Usage
*
* <!--Start PulumiCodeChooser -->
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azure.netapp.NetappFunctions;
* import com.pulumi.azure.netapp.inputs.GetAccountEncryptionArgs;
* import java.util.List;
* import java.util.ArrayList;
* import java.util.Map;
* import java.io.File;
* import java.nio.file.Files;
* import java.nio.file.Paths;
*
* public class App {
* public static void main(String[] args) {
* Pulumi.run(App::stack);
* }
*
* public static void stack(Context ctx) {
* final var example = NetappFunctions.getAccountEncryption(GetAccountEncryptionArgs.builder()
* .netappAccountId("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.NetApp/netAppAccounts/account1")
* .build());
*
* ctx.export("id", example.applyValue(getAccountEncryptionResult -> getAccountEncryptionResult.id()));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getAccountEncryption(GetAccountEncryptionArgs args, InvokeOptions options) {
return Deployment.getInstance().invoke("azure:netapp/getAccountEncryption:getAccountEncryption", TypeShape.of(GetAccountEncryptionResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to access information about an existing NetApp Account Encryption Resource.
*
* ## Example Usage
*
* <!--Start PulumiCodeChooser -->
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azure.netapp.NetappFunctions;
* import com.pulumi.azure.netapp.inputs.GetAccountEncryptionArgs;
* import java.util.List;
* import java.util.ArrayList;
* import java.util.Map;
* import java.io.File;
* import java.nio.file.Files;
* import java.nio.file.Paths;
*
* public class App {
* public static void main(String[] args) {
* Pulumi.run(App::stack);
* }
*
* public static void stack(Context ctx) {
* final var example = NetappFunctions.getAccountEncryption(GetAccountEncryptionArgs.builder()
* .netappAccountId("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.NetApp/netAppAccounts/account1")
* .build());
*
* ctx.export("id", example.applyValue(getAccountEncryptionResult -> getAccountEncryptionResult.id()));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getAccountEncryptionPlain(GetAccountEncryptionPlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("azure:netapp/getAccountEncryption:getAccountEncryption", TypeShape.of(GetAccountEncryptionResult.class), args, Utilities.withVersion(options));
}
/**
* Uses this data source to access information about an existing NetApp Pool.
*
* ## NetApp Pool Usage
*
* <!--Start PulumiCodeChooser -->
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azure.netapp.NetappFunctions;
* import com.pulumi.azure.netapp.inputs.GetPoolArgs;
* import java.util.List;
* import java.util.ArrayList;
* import java.util.Map;
* import java.io.File;
* import java.nio.file.Files;
* import java.nio.file.Paths;
*
* public class App {
* public static void main(String[] args) {
* Pulumi.run(App::stack);
* }
*
* public static void stack(Context ctx) {
* final var example = NetappFunctions.getPool(GetPoolArgs.builder()
* .resourceGroupName("acctestRG")
* .accountName("acctestnetappaccount")
* .name("acctestnetapppool")
* .build());
*
* ctx.export("netappPoolId", example.applyValue(getPoolResult -> getPoolResult.id()));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getPool(GetPoolArgs args) {
return getPool(args, InvokeOptions.Empty);
}
/**
* Uses this data source to access information about an existing NetApp Pool.
*
* ## NetApp Pool Usage
*
* <!--Start PulumiCodeChooser -->
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azure.netapp.NetappFunctions;
* import com.pulumi.azure.netapp.inputs.GetPoolArgs;
* import java.util.List;
* import java.util.ArrayList;
* import java.util.Map;
* import java.io.File;
* import java.nio.file.Files;
* import java.nio.file.Paths;
*
* public class App {
* public static void main(String[] args) {
* Pulumi.run(App::stack);
* }
*
* public static void stack(Context ctx) {
* final var example = NetappFunctions.getPool(GetPoolArgs.builder()
* .resourceGroupName("acctestRG")
* .accountName("acctestnetappaccount")
* .name("acctestnetapppool")
* .build());
*
* ctx.export("netappPoolId", example.applyValue(getPoolResult -> getPoolResult.id()));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getPoolPlain(GetPoolPlainArgs args) {
return getPoolPlain(args, InvokeOptions.Empty);
}
/**
* Uses this data source to access information about an existing NetApp Pool.
*
* ## NetApp Pool Usage
*
* <!--Start PulumiCodeChooser -->
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azure.netapp.NetappFunctions;
* import com.pulumi.azure.netapp.inputs.GetPoolArgs;
* import java.util.List;
* import java.util.ArrayList;
* import java.util.Map;
* import java.io.File;
* import java.nio.file.Files;
* import java.nio.file.Paths;
*
* public class App {
* public static void main(String[] args) {
* Pulumi.run(App::stack);
* }
*
* public static void stack(Context ctx) {
* final var example = NetappFunctions.getPool(GetPoolArgs.builder()
* .resourceGroupName("acctestRG")
* .accountName("acctestnetappaccount")
* .name("acctestnetapppool")
* .build());
*
* ctx.export("netappPoolId", example.applyValue(getPoolResult -> getPoolResult.id()));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getPool(GetPoolArgs args, InvokeOptions options) {
return Deployment.getInstance().invoke("azure:netapp/getPool:getPool", TypeShape.of(GetPoolResult.class), args, Utilities.withVersion(options));
}
/**
* Uses this data source to access information about an existing NetApp Pool.
*
* ## NetApp Pool Usage
*
* <!--Start PulumiCodeChooser -->
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azure.netapp.NetappFunctions;
* import com.pulumi.azure.netapp.inputs.GetPoolArgs;
* import java.util.List;
* import java.util.ArrayList;
* import java.util.Map;
* import java.io.File;
* import java.nio.file.Files;
* import java.nio.file.Paths;
*
* public class App {
* public static void main(String[] args) {
* Pulumi.run(App::stack);
* }
*
* public static void stack(Context ctx) {
* final var example = NetappFunctions.getPool(GetPoolArgs.builder()
* .resourceGroupName("acctestRG")
* .accountName("acctestnetappaccount")
* .name("acctestnetapppool")
* .build());
*
* ctx.export("netappPoolId", example.applyValue(getPoolResult -> getPoolResult.id()));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getPoolPlain(GetPoolPlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("azure:netapp/getPool:getPool", TypeShape.of(GetPoolResult.class), args, Utilities.withVersion(options));
}
/**
* Uses this data source to access information about an existing NetApp Snapshot.
*
* ## NetApp Snapshot Usage
*
* <!--Start PulumiCodeChooser -->
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azure.netapp.NetappFunctions;
* import com.pulumi.azure.netapp.inputs.GetSnapshotArgs;
* import java.util.List;
* import java.util.ArrayList;
* import java.util.Map;
* import java.io.File;
* import java.nio.file.Files;
* import java.nio.file.Paths;
*
* public class App {
* public static void main(String[] args) {
* Pulumi.run(App::stack);
* }
*
* public static void stack(Context ctx) {
* final var test = NetappFunctions.getSnapshot(GetSnapshotArgs.builder()
* .resourceGroupName("acctestRG")
* .name("acctestnetappsnapshot")
* .accountName("acctestnetappaccount")
* .poolName("acctestnetapppool")
* .volumeName("acctestnetappvolume")
* .build());
*
* ctx.export("netappSnapshotId", example.id());
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getSnapshot(GetSnapshotArgs args) {
return getSnapshot(args, InvokeOptions.Empty);
}
/**
* Uses this data source to access information about an existing NetApp Snapshot.
*
* ## NetApp Snapshot Usage
*
* <!--Start PulumiCodeChooser -->
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azure.netapp.NetappFunctions;
* import com.pulumi.azure.netapp.inputs.GetSnapshotArgs;
* import java.util.List;
* import java.util.ArrayList;
* import java.util.Map;
* import java.io.File;
* import java.nio.file.Files;
* import java.nio.file.Paths;
*
* public class App {
* public static void main(String[] args) {
* Pulumi.run(App::stack);
* }
*
* public static void stack(Context ctx) {
* final var test = NetappFunctions.getSnapshot(GetSnapshotArgs.builder()
* .resourceGroupName("acctestRG")
* .name("acctestnetappsnapshot")
* .accountName("acctestnetappaccount")
* .poolName("acctestnetapppool")
* .volumeName("acctestnetappvolume")
* .build());
*
* ctx.export("netappSnapshotId", example.id());
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getSnapshotPlain(GetSnapshotPlainArgs args) {
return getSnapshotPlain(args, InvokeOptions.Empty);
}
/**
* Uses this data source to access information about an existing NetApp Snapshot.
*
* ## NetApp Snapshot Usage
*
* <!--Start PulumiCodeChooser -->
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azure.netapp.NetappFunctions;
* import com.pulumi.azure.netapp.inputs.GetSnapshotArgs;
* import java.util.List;
* import java.util.ArrayList;
* import java.util.Map;
* import java.io.File;
* import java.nio.file.Files;
* import java.nio.file.Paths;
*
* public class App {
* public static void main(String[] args) {
* Pulumi.run(App::stack);
* }
*
* public static void stack(Context ctx) {
* final var test = NetappFunctions.getSnapshot(GetSnapshotArgs.builder()
* .resourceGroupName("acctestRG")
* .name("acctestnetappsnapshot")
* .accountName("acctestnetappaccount")
* .poolName("acctestnetapppool")
* .volumeName("acctestnetappvolume")
* .build());
*
* ctx.export("netappSnapshotId", example.id());
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getSnapshot(GetSnapshotArgs args, InvokeOptions options) {
return Deployment.getInstance().invoke("azure:netapp/getSnapshot:getSnapshot", TypeShape.of(GetSnapshotResult.class), args, Utilities.withVersion(options));
}
/**
* Uses this data source to access information about an existing NetApp Snapshot.
*
* ## NetApp Snapshot Usage
*
* <!--Start PulumiCodeChooser -->
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azure.netapp.NetappFunctions;
* import com.pulumi.azure.netapp.inputs.GetSnapshotArgs;
* import java.util.List;
* import java.util.ArrayList;
* import java.util.Map;
* import java.io.File;
* import java.nio.file.Files;
* import java.nio.file.Paths;
*
* public class App {
* public static void main(String[] args) {
* Pulumi.run(App::stack);
* }
*
* public static void stack(Context ctx) {
* final var test = NetappFunctions.getSnapshot(GetSnapshotArgs.builder()
* .resourceGroupName("acctestRG")
* .name("acctestnetappsnapshot")
* .accountName("acctestnetappaccount")
* .poolName("acctestnetapppool")
* .volumeName("acctestnetappvolume")
* .build());
*
* ctx.export("netappSnapshotId", example.id());
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getSnapshotPlain(GetSnapshotPlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("azure:netapp/getSnapshot:getSnapshot", TypeShape.of(GetSnapshotResult.class), args, Utilities.withVersion(options));
}
/**
* Uses this data source to access information about an existing NetApp Snapshot Policy.
*
* ## NetApp Snapshot Policy Usage
*
* <!--Start PulumiCodeChooser -->
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azure.netapp.NetappFunctions;
* import com.pulumi.azure.netapp.inputs.GetSnapshotPolicyArgs;
* import java.util.List;
* import java.util.ArrayList;
* import java.util.Map;
* import java.io.File;
* import java.nio.file.Files;
* import java.nio.file.Paths;
*
* public class App {
* public static void main(String[] args) {
* Pulumi.run(App::stack);
* }
*
* public static void stack(Context ctx) {
* final var example = NetappFunctions.getSnapshotPolicy(GetSnapshotPolicyArgs.builder()
* .resourceGroupName("acctestRG")
* .accountName("acctestnetappaccount")
* .name("example-snapshot-policy")
* .build());
*
* ctx.export("id", example.applyValue(getSnapshotPolicyResult -> getSnapshotPolicyResult.id()));
* ctx.export("name", example.applyValue(getSnapshotPolicyResult -> getSnapshotPolicyResult.name()));
* ctx.export("enabled", example.applyValue(getSnapshotPolicyResult -> getSnapshotPolicyResult.enabled()));
* ctx.export("hourlySchedule", example.applyValue(getSnapshotPolicyResult -> getSnapshotPolicyResult.hourlySchedules()));
* ctx.export("dailySchedule", example.applyValue(getSnapshotPolicyResult -> getSnapshotPolicyResult.dailySchedules()));
* ctx.export("weeklySchedule", example.applyValue(getSnapshotPolicyResult -> getSnapshotPolicyResult.weeklySchedules()));
* ctx.export("monthlySchedule", example.applyValue(getSnapshotPolicyResult -> getSnapshotPolicyResult.monthlySchedules()));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getSnapshotPolicy(GetSnapshotPolicyArgs args) {
return getSnapshotPolicy(args, InvokeOptions.Empty);
}
/**
* Uses this data source to access information about an existing NetApp Snapshot Policy.
*
* ## NetApp Snapshot Policy Usage
*
* <!--Start PulumiCodeChooser -->
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azure.netapp.NetappFunctions;
* import com.pulumi.azure.netapp.inputs.GetSnapshotPolicyArgs;
* import java.util.List;
* import java.util.ArrayList;
* import java.util.Map;
* import java.io.File;
* import java.nio.file.Files;
* import java.nio.file.Paths;
*
* public class App {
* public static void main(String[] args) {
* Pulumi.run(App::stack);
* }
*
* public static void stack(Context ctx) {
* final var example = NetappFunctions.getSnapshotPolicy(GetSnapshotPolicyArgs.builder()
* .resourceGroupName("acctestRG")
* .accountName("acctestnetappaccount")
* .name("example-snapshot-policy")
* .build());
*
* ctx.export("id", example.applyValue(getSnapshotPolicyResult -> getSnapshotPolicyResult.id()));
* ctx.export("name", example.applyValue(getSnapshotPolicyResult -> getSnapshotPolicyResult.name()));
* ctx.export("enabled", example.applyValue(getSnapshotPolicyResult -> getSnapshotPolicyResult.enabled()));
* ctx.export("hourlySchedule", example.applyValue(getSnapshotPolicyResult -> getSnapshotPolicyResult.hourlySchedules()));
* ctx.export("dailySchedule", example.applyValue(getSnapshotPolicyResult -> getSnapshotPolicyResult.dailySchedules()));
* ctx.export("weeklySchedule", example.applyValue(getSnapshotPolicyResult -> getSnapshotPolicyResult.weeklySchedules()));
* ctx.export("monthlySchedule", example.applyValue(getSnapshotPolicyResult -> getSnapshotPolicyResult.monthlySchedules()));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getSnapshotPolicyPlain(GetSnapshotPolicyPlainArgs args) {
return getSnapshotPolicyPlain(args, InvokeOptions.Empty);
}
/**
* Uses this data source to access information about an existing NetApp Snapshot Policy.
*
* ## NetApp Snapshot Policy Usage
*
* <!--Start PulumiCodeChooser -->
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azure.netapp.NetappFunctions;
* import com.pulumi.azure.netapp.inputs.GetSnapshotPolicyArgs;
* import java.util.List;
* import java.util.ArrayList;
* import java.util.Map;
* import java.io.File;
* import java.nio.file.Files;
* import java.nio.file.Paths;
*
* public class App {
* public static void main(String[] args) {
* Pulumi.run(App::stack);
* }
*
* public static void stack(Context ctx) {
* final var example = NetappFunctions.getSnapshotPolicy(GetSnapshotPolicyArgs.builder()
* .resourceGroupName("acctestRG")
* .accountName("acctestnetappaccount")
* .name("example-snapshot-policy")
* .build());
*
* ctx.export("id", example.applyValue(getSnapshotPolicyResult -> getSnapshotPolicyResult.id()));
* ctx.export("name", example.applyValue(getSnapshotPolicyResult -> getSnapshotPolicyResult.name()));
* ctx.export("enabled", example.applyValue(getSnapshotPolicyResult -> getSnapshotPolicyResult.enabled()));
* ctx.export("hourlySchedule", example.applyValue(getSnapshotPolicyResult -> getSnapshotPolicyResult.hourlySchedules()));
* ctx.export("dailySchedule", example.applyValue(getSnapshotPolicyResult -> getSnapshotPolicyResult.dailySchedules()));
* ctx.export("weeklySchedule", example.applyValue(getSnapshotPolicyResult -> getSnapshotPolicyResult.weeklySchedules()));
* ctx.export("monthlySchedule", example.applyValue(getSnapshotPolicyResult -> getSnapshotPolicyResult.monthlySchedules()));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getSnapshotPolicy(GetSnapshotPolicyArgs args, InvokeOptions options) {
return Deployment.getInstance().invoke("azure:netapp/getSnapshotPolicy:getSnapshotPolicy", TypeShape.of(GetSnapshotPolicyResult.class), args, Utilities.withVersion(options));
}
/**
* Uses this data source to access information about an existing NetApp Snapshot Policy.
*
* ## NetApp Snapshot Policy Usage
*
* <!--Start PulumiCodeChooser -->
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azure.netapp.NetappFunctions;
* import com.pulumi.azure.netapp.inputs.GetSnapshotPolicyArgs;
* import java.util.List;
* import java.util.ArrayList;
* import java.util.Map;
* import java.io.File;
* import java.nio.file.Files;
* import java.nio.file.Paths;
*
* public class App {
* public static void main(String[] args) {
* Pulumi.run(App::stack);
* }
*
* public static void stack(Context ctx) {
* final var example = NetappFunctions.getSnapshotPolicy(GetSnapshotPolicyArgs.builder()
* .resourceGroupName("acctestRG")
* .accountName("acctestnetappaccount")
* .name("example-snapshot-policy")
* .build());
*
* ctx.export("id", example.applyValue(getSnapshotPolicyResult -> getSnapshotPolicyResult.id()));
* ctx.export("name", example.applyValue(getSnapshotPolicyResult -> getSnapshotPolicyResult.name()));
* ctx.export("enabled", example.applyValue(getSnapshotPolicyResult -> getSnapshotPolicyResult.enabled()));
* ctx.export("hourlySchedule", example.applyValue(getSnapshotPolicyResult -> getSnapshotPolicyResult.hourlySchedules()));
* ctx.export("dailySchedule", example.applyValue(getSnapshotPolicyResult -> getSnapshotPolicyResult.dailySchedules()));
* ctx.export("weeklySchedule", example.applyValue(getSnapshotPolicyResult -> getSnapshotPolicyResult.weeklySchedules()));
* ctx.export("monthlySchedule", example.applyValue(getSnapshotPolicyResult -> getSnapshotPolicyResult.monthlySchedules()));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getSnapshotPolicyPlain(GetSnapshotPolicyPlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("azure:netapp/getSnapshotPolicy:getSnapshotPolicy", TypeShape.of(GetSnapshotPolicyResult.class), args, Utilities.withVersion(options));
}
/**
* Uses this data source to access information about an existing NetApp Volume.
*
* ## NetApp Volume Usage
*
* <!--Start PulumiCodeChooser -->
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azure.netapp.NetappFunctions;
* import com.pulumi.azure.netapp.inputs.GetVolumeArgs;
* import java.util.List;
* import java.util.ArrayList;
* import java.util.Map;
* import java.io.File;
* import java.nio.file.Files;
* import java.nio.file.Paths;
*
* public class App {
* public static void main(String[] args) {
* Pulumi.run(App::stack);
* }
*
* public static void stack(Context ctx) {
* final var example = NetappFunctions.getVolume(GetVolumeArgs.builder()
* .resourceGroupName("acctestRG")
* .accountName("acctestnetappaccount")
* .poolName("acctestnetapppool")
* .name("example-volume")
* .build());
*
* ctx.export("netappVolumeId", example.applyValue(getVolumeResult -> getVolumeResult.id()));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getVolume(GetVolumeArgs args) {
return getVolume(args, InvokeOptions.Empty);
}
/**
* Uses this data source to access information about an existing NetApp Volume.
*
* ## NetApp Volume Usage
*
* <!--Start PulumiCodeChooser -->
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azure.netapp.NetappFunctions;
* import com.pulumi.azure.netapp.inputs.GetVolumeArgs;
* import java.util.List;
* import java.util.ArrayList;
* import java.util.Map;
* import java.io.File;
* import java.nio.file.Files;
* import java.nio.file.Paths;
*
* public class App {
* public static void main(String[] args) {
* Pulumi.run(App::stack);
* }
*
* public static void stack(Context ctx) {
* final var example = NetappFunctions.getVolume(GetVolumeArgs.builder()
* .resourceGroupName("acctestRG")
* .accountName("acctestnetappaccount")
* .poolName("acctestnetapppool")
* .name("example-volume")
* .build());
*
* ctx.export("netappVolumeId", example.applyValue(getVolumeResult -> getVolumeResult.id()));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getVolumePlain(GetVolumePlainArgs args) {
return getVolumePlain(args, InvokeOptions.Empty);
}
/**
* Uses this data source to access information about an existing NetApp Volume.
*
* ## NetApp Volume Usage
*
* <!--Start PulumiCodeChooser -->
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azure.netapp.NetappFunctions;
* import com.pulumi.azure.netapp.inputs.GetVolumeArgs;
* import java.util.List;
* import java.util.ArrayList;
* import java.util.Map;
* import java.io.File;
* import java.nio.file.Files;
* import java.nio.file.Paths;
*
* public class App {
* public static void main(String[] args) {
* Pulumi.run(App::stack);
* }
*
* public static void stack(Context ctx) {
* final var example = NetappFunctions.getVolume(GetVolumeArgs.builder()
* .resourceGroupName("acctestRG")
* .accountName("acctestnetappaccount")
* .poolName("acctestnetapppool")
* .name("example-volume")
* .build());
*
* ctx.export("netappVolumeId", example.applyValue(getVolumeResult -> getVolumeResult.id()));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getVolume(GetVolumeArgs args, InvokeOptions options) {
return Deployment.getInstance().invoke("azure:netapp/getVolume:getVolume", TypeShape.of(GetVolumeResult.class), args, Utilities.withVersion(options));
}
/**
* Uses this data source to access information about an existing NetApp Volume.
*
* ## NetApp Volume Usage
*
* <!--Start PulumiCodeChooser -->
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azure.netapp.NetappFunctions;
* import com.pulumi.azure.netapp.inputs.GetVolumeArgs;
* import java.util.List;
* import java.util.ArrayList;
* import java.util.Map;
* import java.io.File;
* import java.nio.file.Files;
* import java.nio.file.Paths;
*
* public class App {
* public static void main(String[] args) {
* Pulumi.run(App::stack);
* }
*
* public static void stack(Context ctx) {
* final var example = NetappFunctions.getVolume(GetVolumeArgs.builder()
* .resourceGroupName("acctestRG")
* .accountName("acctestnetappaccount")
* .poolName("acctestnetapppool")
* .name("example-volume")
* .build());
*
* ctx.export("netappVolumeId", example.applyValue(getVolumeResult -> getVolumeResult.id()));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getVolumePlain(GetVolumePlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("azure:netapp/getVolume:getVolume", TypeShape.of(GetVolumeResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to access information about an existing Application Volume Group for SAP HANA application.
*
* ## Example Usage
*
* <!--Start PulumiCodeChooser -->
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azure.netapp.NetappFunctions;
* import com.pulumi.azure.netapp.inputs.GetVolumeGroupSapHanaArgs;
* import java.util.List;
* import java.util.ArrayList;
* import java.util.Map;
* import java.io.File;
* import java.nio.file.Files;
* import java.nio.file.Paths;
*
* public class App {
* public static void main(String[] args) {
* Pulumi.run(App::stack);
* }
*
* public static void stack(Context ctx) {
* final var example = NetappFunctions.getVolumeGroupSapHana(GetVolumeGroupSapHanaArgs.builder()
* .name("existing application volume group name")
* .resourceGroupName("resource group name where the account and volume group belong to")
* .accountName("existing account where the application volume group belong to")
* .build());
*
* ctx.export("id", example.applyValue(getVolumeGroupSapHanaResult -> getVolumeGroupSapHanaResult.id()));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getVolumeGroupSapHana(GetVolumeGroupSapHanaArgs args) {
return getVolumeGroupSapHana(args, InvokeOptions.Empty);
}
/**
* Use this data source to access information about an existing Application Volume Group for SAP HANA application.
*
* ## Example Usage
*
* <!--Start PulumiCodeChooser -->
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azure.netapp.NetappFunctions;
* import com.pulumi.azure.netapp.inputs.GetVolumeGroupSapHanaArgs;
* import java.util.List;
* import java.util.ArrayList;
* import java.util.Map;
* import java.io.File;
* import java.nio.file.Files;
* import java.nio.file.Paths;
*
* public class App {
* public static void main(String[] args) {
* Pulumi.run(App::stack);
* }
*
* public static void stack(Context ctx) {
* final var example = NetappFunctions.getVolumeGroupSapHana(GetVolumeGroupSapHanaArgs.builder()
* .name("existing application volume group name")
* .resourceGroupName("resource group name where the account and volume group belong to")
* .accountName("existing account where the application volume group belong to")
* .build());
*
* ctx.export("id", example.applyValue(getVolumeGroupSapHanaResult -> getVolumeGroupSapHanaResult.id()));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getVolumeGroupSapHanaPlain(GetVolumeGroupSapHanaPlainArgs args) {
return getVolumeGroupSapHanaPlain(args, InvokeOptions.Empty);
}
/**
* Use this data source to access information about an existing Application Volume Group for SAP HANA application.
*
* ## Example Usage
*
* <!--Start PulumiCodeChooser -->
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azure.netapp.NetappFunctions;
* import com.pulumi.azure.netapp.inputs.GetVolumeGroupSapHanaArgs;
* import java.util.List;
* import java.util.ArrayList;
* import java.util.Map;
* import java.io.File;
* import java.nio.file.Files;
* import java.nio.file.Paths;
*
* public class App {
* public static void main(String[] args) {
* Pulumi.run(App::stack);
* }
*
* public static void stack(Context ctx) {
* final var example = NetappFunctions.getVolumeGroupSapHana(GetVolumeGroupSapHanaArgs.builder()
* .name("existing application volume group name")
* .resourceGroupName("resource group name where the account and volume group belong to")
* .accountName("existing account where the application volume group belong to")
* .build());
*
* ctx.export("id", example.applyValue(getVolumeGroupSapHanaResult -> getVolumeGroupSapHanaResult.id()));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getVolumeGroupSapHana(GetVolumeGroupSapHanaArgs args, InvokeOptions options) {
return Deployment.getInstance().invoke("azure:netapp/getVolumeGroupSapHana:getVolumeGroupSapHana", TypeShape.of(GetVolumeGroupSapHanaResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to access information about an existing Application Volume Group for SAP HANA application.
*
* ## Example Usage
*
* <!--Start PulumiCodeChooser -->
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azure.netapp.NetappFunctions;
* import com.pulumi.azure.netapp.inputs.GetVolumeGroupSapHanaArgs;
* import java.util.List;
* import java.util.ArrayList;
* import java.util.Map;
* import java.io.File;
* import java.nio.file.Files;
* import java.nio.file.Paths;
*
* public class App {
* public static void main(String[] args) {
* Pulumi.run(App::stack);
* }
*
* public static void stack(Context ctx) {
* final var example = NetappFunctions.getVolumeGroupSapHana(GetVolumeGroupSapHanaArgs.builder()
* .name("existing application volume group name")
* .resourceGroupName("resource group name where the account and volume group belong to")
* .accountName("existing account where the application volume group belong to")
* .build());
*
* ctx.export("id", example.applyValue(getVolumeGroupSapHanaResult -> getVolumeGroupSapHanaResult.id()));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getVolumeGroupSapHanaPlain(GetVolumeGroupSapHanaPlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("azure:netapp/getVolumeGroupSapHana:getVolumeGroupSapHana", TypeShape.of(GetVolumeGroupSapHanaResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to access information about an existing Volume Quota Rule.
*
* ## Example Usage
*
* <!--Start PulumiCodeChooser -->
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azure.netapp.NetappFunctions;
* import com.pulumi.azure.netapp.inputs.GetVolumeQuotaRuleArgs;
* import java.util.List;
* import java.util.ArrayList;
* import java.util.Map;
* import java.io.File;
* import java.nio.file.Files;
* import java.nio.file.Paths;
*
* public class App {
* public static void main(String[] args) {
* Pulumi.run(App::stack);
* }
*
* public static void stack(Context ctx) {
* final var example = NetappFunctions.getVolumeQuotaRule(GetVolumeQuotaRuleArgs.builder()
* .name("exampleQuotaRule")
* .volumeId("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/vol1")
* .build());
*
* ctx.export("id", example.applyValue(getVolumeQuotaRuleResult -> getVolumeQuotaRuleResult.id()));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getVolumeQuotaRule(GetVolumeQuotaRuleArgs args) {
return getVolumeQuotaRule(args, InvokeOptions.Empty);
}
/**
* Use this data source to access information about an existing Volume Quota Rule.
*
* ## Example Usage
*
* <!--Start PulumiCodeChooser -->
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azure.netapp.NetappFunctions;
* import com.pulumi.azure.netapp.inputs.GetVolumeQuotaRuleArgs;
* import java.util.List;
* import java.util.ArrayList;
* import java.util.Map;
* import java.io.File;
* import java.nio.file.Files;
* import java.nio.file.Paths;
*
* public class App {
* public static void main(String[] args) {
* Pulumi.run(App::stack);
* }
*
* public static void stack(Context ctx) {
* final var example = NetappFunctions.getVolumeQuotaRule(GetVolumeQuotaRuleArgs.builder()
* .name("exampleQuotaRule")
* .volumeId("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/vol1")
* .build());
*
* ctx.export("id", example.applyValue(getVolumeQuotaRuleResult -> getVolumeQuotaRuleResult.id()));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getVolumeQuotaRulePlain(GetVolumeQuotaRulePlainArgs args) {
return getVolumeQuotaRulePlain(args, InvokeOptions.Empty);
}
/**
* Use this data source to access information about an existing Volume Quota Rule.
*
* ## Example Usage
*
* <!--Start PulumiCodeChooser -->
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azure.netapp.NetappFunctions;
* import com.pulumi.azure.netapp.inputs.GetVolumeQuotaRuleArgs;
* import java.util.List;
* import java.util.ArrayList;
* import java.util.Map;
* import java.io.File;
* import java.nio.file.Files;
* import java.nio.file.Paths;
*
* public class App {
* public static void main(String[] args) {
* Pulumi.run(App::stack);
* }
*
* public static void stack(Context ctx) {
* final var example = NetappFunctions.getVolumeQuotaRule(GetVolumeQuotaRuleArgs.builder()
* .name("exampleQuotaRule")
* .volumeId("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/vol1")
* .build());
*
* ctx.export("id", example.applyValue(getVolumeQuotaRuleResult -> getVolumeQuotaRuleResult.id()));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getVolumeQuotaRule(GetVolumeQuotaRuleArgs args, InvokeOptions options) {
return Deployment.getInstance().invoke("azure:netapp/getVolumeQuotaRule:getVolumeQuotaRule", TypeShape.of(GetVolumeQuotaRuleResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to access information about an existing Volume Quota Rule.
*
* ## Example Usage
*
* <!--Start PulumiCodeChooser -->
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azure.netapp.NetappFunctions;
* import com.pulumi.azure.netapp.inputs.GetVolumeQuotaRuleArgs;
* import java.util.List;
* import java.util.ArrayList;
* import java.util.Map;
* import java.io.File;
* import java.nio.file.Files;
* import java.nio.file.Paths;
*
* public class App {
* public static void main(String[] args) {
* Pulumi.run(App::stack);
* }
*
* public static void stack(Context ctx) {
* final var example = NetappFunctions.getVolumeQuotaRule(GetVolumeQuotaRuleArgs.builder()
* .name("exampleQuotaRule")
* .volumeId("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/vol1")
* .build());
*
* ctx.export("id", example.applyValue(getVolumeQuotaRuleResult -> getVolumeQuotaRuleResult.id()));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getVolumeQuotaRulePlain(GetVolumeQuotaRulePlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("azure:netapp/getVolumeQuotaRule:getVolumeQuotaRule", TypeShape.of(GetVolumeQuotaRuleResult.class), args, Utilities.withVersion(options));
}
}