VolumeGroupArgs

data class VolumeGroupArgs(val elasticSanName: Output<String>? = null, val encryption: Output<Either<String, EncryptionType>>? = null, val encryptionProperties: Output<EncryptionPropertiesArgs>? = null, val enforceDataIntegrityCheckForIscsi: Output<Boolean>? = null, val identity: Output<IdentityArgs>? = null, val networkAcls: Output<NetworkRuleSetArgs>? = null, val protocolType: Output<Either<String, StorageTargetType>>? = null, val resourceGroupName: Output<String>? = null, val volumeGroupName: Output<String>? = null) : ConvertibleToJava<VolumeGroupArgs>

Response for Volume Group request. Uses Azure REST API version 2024-05-01. In version 2.x of the Azure Native provider, it used API version 2021-11-20-preview. Other available API versions: 2021-11-20-preview, 2022-12-01-preview, 2023-01-01, 2024-06-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native elasticsan [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

Example Usage

VolumeGroups_Create_MinimumSet_Gen

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var volumeGroup = new AzureNative.ElasticSan.VolumeGroup("volumeGroup", new()
{
ElasticSanName = "elasticsanname",
ResourceGroupName = "resourcegroupname",
VolumeGroupName = "volumegroupname",
});
});
package main
import (
elasticsan "github.com/pulumi/pulumi-azure-native-sdk/elasticsan/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := elasticsan.NewVolumeGroup(ctx, "volumeGroup", &elasticsan.VolumeGroupArgs{
ElasticSanName: pulumi.String("elasticsanname"),
ResourceGroupName: pulumi.String("resourcegroupname"),
VolumeGroupName: pulumi.String("volumegroupname"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.elasticsan.VolumeGroup;
import com.pulumi.azurenative.elasticsan.VolumeGroupArgs;
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) {
var volumeGroup = new VolumeGroup("volumeGroup", VolumeGroupArgs.builder()
.elasticSanName("elasticsanname")
.resourceGroupName("resourcegroupname")
.volumeGroupName("volumegroupname")
.build());
}
}

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:elasticsan:VolumeGroup qymuqyvdlpshrna /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}

Constructors

Link copied to clipboard
constructor(elasticSanName: Output<String>? = null, encryption: Output<Either<String, EncryptionType>>? = null, encryptionProperties: Output<EncryptionPropertiesArgs>? = null, enforceDataIntegrityCheckForIscsi: Output<Boolean>? = null, identity: Output<IdentityArgs>? = null, networkAcls: Output<NetworkRuleSetArgs>? = null, protocolType: Output<Either<String, StorageTargetType>>? = null, resourceGroupName: Output<String>? = null, volumeGroupName: Output<String>? = null)

Properties

Link copied to clipboard
val elasticSanName: Output<String>? = null

The name of the ElasticSan.

Link copied to clipboard
val encryption: Output<Either<String, EncryptionType>>? = null

Type of encryption

Link copied to clipboard

Encryption Properties describing Key Vault and Identity information

Link copied to clipboard

A boolean indicating whether or not Data Integrity Check is enabled

Link copied to clipboard
val identity: Output<IdentityArgs>? = null

The identity of the resource.

Link copied to clipboard
val networkAcls: Output<NetworkRuleSetArgs>? = null

A collection of rules governing the accessibility from specific network locations.

Link copied to clipboard
val protocolType: Output<Either<String, StorageTargetType>>? = null

Type of storage target

Link copied to clipboard
val resourceGroupName: Output<String>? = null

The name of the resource group. The name is case insensitive.

Link copied to clipboard
val volumeGroupName: Output<String>? = null

The name of the VolumeGroup.

Functions

Link copied to clipboard
open override fun toJava(): VolumeGroupArgs