Vmm Server Args
data class VmmServerArgs(val credentials: Output<VMMServerPropertiesCredentialsArgs>? = null, val extendedLocation: Output<ExtendedLocationArgs>? = null, val fqdn: Output<String>? = null, val location: Output<String>? = null, val port: Output<Int>? = null, val resourceGroupName: Output<String>? = null, val tags: Output<Map<String, String>>? = null, val vmmServerName: Output<String>? = null) : ConvertibleToJava<VmmServerArgs>
The VmmServers resource definition. Uses Azure REST API version 2023-04-01-preview. In version 2.x of the Azure Native provider, it used API version 2022-05-21-preview. Other available API versions: 2022-05-21-preview, 2023-10-07, 2024-06-01, 2025-03-13. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native scvmm [ApiVersion]
. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.
Example Usage
CreateVMMServer
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var vmmServer = new AzureNative.ScVmm.VmmServer("vmmServer", new()
{
Credentials = new AzureNative.ScVmm.Inputs.VMMServerPropertiesCredentialsArgs
{
Password = "password",
Username = "testuser",
},
ExtendedLocation = new AzureNative.ScVmm.Inputs.ExtendedLocationArgs
{
Name = "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.Arc/customLocations/contoso",
Type = "customLocation",
},
Fqdn = "VMM.contoso.com",
Location = "East US",
Port = 1234,
ResourceGroupName = "testrg",
VmmServerName = "ContosoVMMServer",
});
});
Content copied to clipboard
package main
import (
scvmm "github.com/pulumi/pulumi-azure-native-sdk/scvmm/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := scvmm.NewVmmServer(ctx, "vmmServer", &scvmm.VmmServerArgs{
Credentials: &scvmm.VMMServerPropertiesCredentialsArgs{
Password: pulumi.String("password"),
Username: pulumi.String("testuser"),
},
ExtendedLocation: &scvmm.ExtendedLocationArgs{
Name: pulumi.String("/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.Arc/customLocations/contoso"),
Type: pulumi.String("customLocation"),
},
Fqdn: pulumi.String("VMM.contoso.com"),
Location: pulumi.String("East US"),
Port: pulumi.Int(1234),
ResourceGroupName: pulumi.String("testrg"),
VmmServerName: pulumi.String("ContosoVMMServer"),
})
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.scvmm.VmmServer;
import com.pulumi.azurenative.scvmm.VmmServerArgs;
import com.pulumi.azurenative.scvmm.inputs.VMMServerPropertiesCredentialsArgs;
import com.pulumi.azurenative.scvmm.inputs.ExtendedLocationArgs;
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 vmmServer = new VmmServer("vmmServer", VmmServerArgs.builder()
.credentials(VMMServerPropertiesCredentialsArgs.builder()
.password("password")
.username("testuser")
.build())
.extendedLocation(ExtendedLocationArgs.builder()
.name("/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.Arc/customLocations/contoso")
.type("customLocation")
.build())
.fqdn("VMM.contoso.com")
.location("East US")
.port(1234)
.resourceGroupName("testrg")
.vmmServerName("ContosoVMMServer")
.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:scvmm:VmmServer ContosoVMMServer /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/vmmServers/{vmmServerName}
Content copied to clipboard
Constructors
Link copied to clipboard
constructor(credentials: Output<VMMServerPropertiesCredentialsArgs>? = null, extendedLocation: Output<ExtendedLocationArgs>? = null, fqdn: Output<String>? = null, location: Output<String>? = null, port: Output<Int>? = null, resourceGroupName: Output<String>? = null, tags: Output<Map<String, String>>? = null, vmmServerName: Output<String>? = null)