getVolumeQuotaRule

Use this data source to access information about an existing Volume Quota Rule.

Example Usage

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()));
}
}

Return

A collection of values returned by getVolumeQuotaRule.

Parameters

argument

A collection of arguments for invoking getVolumeQuotaRule.


Return

A collection of values returned by getVolumeQuotaRule.

See also

Parameters

name

The name of this Volume Quota Rule.

volumeId

The NetApp volume ID where the Volume Quota Rule is assigned to.


Return

A collection of values returned by getVolumeQuotaRule.

See also

Parameters

argument

Builder for com.pulumi.azure.netapp.kotlin.inputs.GetVolumeQuotaRulePlainArgs.