Volume Group Args
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
Properties
The name of the ElasticSan.
Type of encryption
Encryption Properties describing Key Vault and Identity information
A boolean indicating whether or not Data Integrity Check is enabled
The identity of the resource.
A collection of rules governing the accessibility from specific network locations.
Type of storage target
The name of the resource group. The name is case insensitive.
The name of the VolumeGroup.