Azure Large Instance Args
data class AzureLargeInstanceArgs(val azureLargeInstanceId: Output<String>? = null, val azureLargeInstanceName: Output<String>? = null, val hardwareProfile: Output<HardwareProfileArgs>? = null, val hwRevision: Output<String>? = null, val location: Output<String>? = null, val networkProfile: Output<NetworkProfileArgs>? = null, val osProfile: Output<OsProfileArgs>? = null, val powerState: Output<Either<String, AzureLargeInstancePowerStateEnum>>? = null, val proximityPlacementGroup: Output<String>? = null, val resourceGroupName: Output<String>? = null, val storageProfile: Output<StorageProfileArgs>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<AzureLargeInstanceArgs>
Azure Large Instance info on Azure (ARM properties and AzureLargeInstance properties) Uses Azure REST API version 2024-08-01-preview.
Example Usage
AzureLargeInstance_Create
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var azureLargeInstance = new AzureNative.AzureLargeInstance.AzureLargeInstance("azureLargeInstance", new()
{
AzureLargeInstanceId = "23415635-4d7e-41dc-9598-8194f22c24e1",
AzureLargeInstanceName = "myALInstance",
HardwareProfile = new AzureNative.AzureLargeInstance.Inputs.HardwareProfileArgs
{
AzureLargeInstanceSize = AzureNative.AzureLargeInstance.AzureLargeInstanceSizeNamesEnum.S72,
HardwareType = AzureNative.AzureLargeInstance.AzureLargeInstanceHardwareTypeNamesEnum.Cisco_UCS,
},
HwRevision = "Rev 3",
Location = "westus",
NetworkProfile = new AzureNative.AzureLargeInstance.Inputs.NetworkProfileArgs
{
CircuitId = "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.Network/expressRouteCircuit",
NetworkInterfaces = new[]
{
new AzureNative.AzureLargeInstance.Inputs.IpAddressArgs
{
IpAddress = "100.100.100.100",
},
},
},
OsProfile = new AzureNative.AzureLargeInstance.Inputs.OsProfileArgs
{
ComputerName = "myComputerName",
OsType = "SUSE",
SshPublicKey = "{ssh-rsa public key}",
Version = "12 SP1",
},
PowerState = AzureNative.AzureLargeInstance.AzureLargeInstancePowerStateEnum.Started,
ProximityPlacementGroup = "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.Compute/proximityPlacementGroups/myplacementgroup",
ResourceGroupName = "myResourceGroup",
StorageProfile = new AzureNative.AzureLargeInstance.Inputs.StorageProfileArgs
{
NfsIpAddress = "200.200.200.200",
},
Tags =
{
{ "testkey", "testvalue" },
},
});
});
Content copied to clipboard
package main
import (
azurelargeinstance "github.com/pulumi/pulumi-azure-native-sdk/azurelargeinstance/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := azurelargeinstance.NewAzureLargeInstance(ctx, "azureLargeInstance", &azurelargeinstance.AzureLargeInstanceArgs{
AzureLargeInstanceId: pulumi.String("23415635-4d7e-41dc-9598-8194f22c24e1"),
AzureLargeInstanceName: pulumi.String("myALInstance"),
HardwareProfile: &azurelargeinstance.HardwareProfileArgs{
AzureLargeInstanceSize: pulumi.String(azurelargeinstance.AzureLargeInstanceSizeNamesEnumS72),
HardwareType: pulumi.String(azurelargeinstance.AzureLargeInstanceHardwareTypeNamesEnum_Cisco_UCS),
},
HwRevision: pulumi.String("Rev 3"),
Location: pulumi.String("westus"),
NetworkProfile: &azurelargeinstance.NetworkProfileArgs{
CircuitId: pulumi.String("/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.Network/expressRouteCircuit"),
NetworkInterfaces: azurelargeinstance.IpAddressArray{
&azurelargeinstance.IpAddressArgs{
IpAddress: pulumi.String("100.100.100.100"),
},
},
},
OsProfile: &azurelargeinstance.OsProfileArgs{
ComputerName: pulumi.String("myComputerName"),
OsType: pulumi.String("SUSE"),
SshPublicKey: pulumi.String("{ssh-rsa public key}"),
Version: pulumi.String("12 SP1"),
},
PowerState: pulumi.String(azurelargeinstance.AzureLargeInstancePowerStateEnumStarted),
ProximityPlacementGroup: pulumi.String("/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.Compute/proximityPlacementGroups/myplacementgroup"),
ResourceGroupName: pulumi.String("myResourceGroup"),
StorageProfile: &azurelargeinstance.StorageProfileArgs{
NfsIpAddress: pulumi.String("200.200.200.200"),
},
Tags: pulumi.StringMap{
"testkey": pulumi.String("testvalue"),
},
})
if err != nil {
return err
}
return nil
})
}
Content copied to clipboard
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.azurelargeinstance.AzureLargeInstance;
import com.pulumi.azurenative.azurelargeinstance.AzureLargeInstanceArgs;
import com.pulumi.azurenative.azurelargeinstance.inputs.HardwareProfileArgs;
import com.pulumi.azurenative.azurelargeinstance.inputs.NetworkProfileArgs;
import com.pulumi.azurenative.azurelargeinstance.inputs.OsProfileArgs;
import com.pulumi.azurenative.azurelargeinstance.inputs.StorageProfileArgs;
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 azureLargeInstance = new AzureLargeInstance("azureLargeInstance", AzureLargeInstanceArgs.builder()
.azureLargeInstanceId("23415635-4d7e-41dc-9598-8194f22c24e1")
.azureLargeInstanceName("myALInstance")
.hardwareProfile(HardwareProfileArgs.builder()
.azureLargeInstanceSize("S72")
.hardwareType("Cisco_UCS")
.build())
.hwRevision("Rev 3")
.location("westus")
.networkProfile(NetworkProfileArgs.builder()
.circuitId("/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.Network/expressRouteCircuit")
.networkInterfaces(IpAddressArgs.builder()
.ipAddress("100.100.100.100")
.build())
.build())
.osProfile(OsProfileArgs.builder()
.computerName("myComputerName")
.osType("SUSE")
.sshPublicKey("{ssh-rsa public key}")
.version("12 SP1")
.build())
.powerState("started")
.proximityPlacementGroup("/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.Compute/proximityPlacementGroups/myplacementgroup")
.resourceGroupName("myResourceGroup")
.storageProfile(StorageProfileArgs.builder()
.nfsIpAddress("200.200.200.200")
.build())
.tags(Map.of("testkey", "testvalue"))
.build());
}
}
Content copied to clipboard
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:azurelargeinstance:AzureLargeInstance myALInstance /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureLargeInstance/azureLargeInstances/{azureLargeInstanceName}
Content copied to clipboard
Constructors
Link copied to clipboard
constructor(azureLargeInstanceId: Output<String>? = null, azureLargeInstanceName: Output<String>? = null, hardwareProfile: Output<HardwareProfileArgs>? = null, hwRevision: Output<String>? = null, location: Output<String>? = null, networkProfile: Output<NetworkProfileArgs>? = null, osProfile: Output<OsProfileArgs>? = null, powerState: Output<Either<String, AzureLargeInstancePowerStateEnum>>? = null, proximityPlacementGroup: Output<String>? = null, resourceGroupName: Output<String>? = null, storageProfile: Output<StorageProfileArgs>? = null, tags: Output<Map<String, String>>? = null)
Properties
Link copied to clipboard
Specifies the Azure Large Instance unique ID.
Link copied to clipboard
Name of the AzureLargeInstance.
Link copied to clipboard
Specifies the hardware settings for the Azure Large Instance.
Link copied to clipboard
Hardware revision of an Azure Large Instance
Link copied to clipboard
Specifies the network settings for the Azure Large Instance.
Link copied to clipboard
Specifies the operating system settings for the Azure Large Instance.
Link copied to clipboard
Resource power state
Link copied to clipboard
Resource proximity placement group
Link copied to clipboard
The name of the resource group. The name is case insensitive.
Link copied to clipboard
Specifies the storage settings for the Azure Large Instance disks.