1. Packages
  2. Azure Native
  3. API Docs
  4. scvmm
  5. VmmServer
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi

azure-native.scvmm.VmmServer

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi

    The VmmServers resource definition. Azure REST API version: 2022-05-21-preview. Prior API version in Azure Native 1.x: 2020-06-05-preview.

    Other available API versions: 2023-04-01-preview, 2023-10-07.

    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",
        });
    
    });
    
    package main
    
    import (
    	scvmm "github.com/pulumi/pulumi-azure-native-sdk/scvmm/v2"
    	"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
    	})
    }
    
    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());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    vmm_server = azure_native.scvmm.VmmServer("vmmServer",
        credentials=azure_native.scvmm.VMMServerPropertiesCredentialsArgs(
            password="password",
            username="testuser",
        ),
        extended_location=azure_native.scvmm.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,
        resource_group_name="testrg",
        vmm_server_name="ContosoVMMServer")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const vmmServer = new azure_native.scvmm.VmmServer("vmmServer", {
        credentials: {
            password: "password",
            username: "testuser",
        },
        extendedLocation: {
            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",
    });
    
    resources:
      vmmServer:
        type: azure-native:scvmm:VmmServer
        properties:
          credentials:
            password: password
            username: testuser
          extendedLocation:
            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
    

    Create VmmServer Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new VmmServer(name: string, args: VmmServerArgs, opts?: CustomResourceOptions);
    @overload
    def VmmServer(resource_name: str,
                  args: VmmServerArgs,
                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def VmmServer(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  extended_location: Optional[ExtendedLocationArgs] = None,
                  fqdn: Optional[str] = None,
                  resource_group_name: Optional[str] = None,
                  credentials: Optional[VMMServerPropertiesCredentialsArgs] = None,
                  location: Optional[str] = None,
                  port: Optional[int] = None,
                  tags: Optional[Mapping[str, str]] = None,
                  vmm_server_name: Optional[str] = None)
    func NewVmmServer(ctx *Context, name string, args VmmServerArgs, opts ...ResourceOption) (*VmmServer, error)
    public VmmServer(string name, VmmServerArgs args, CustomResourceOptions? opts = null)
    public VmmServer(String name, VmmServerArgs args)
    public VmmServer(String name, VmmServerArgs args, CustomResourceOptions options)
    
    type: azure-native:scvmm:VmmServer
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args VmmServerArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args VmmServerArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args VmmServerArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args VmmServerArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args VmmServerArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var vmmServerResource = new AzureNative.ScVmm.VmmServer("vmmServerResource", new()
    {
        ExtendedLocation = new AzureNative.ScVmm.Inputs.ExtendedLocationArgs
        {
            Name = "string",
            Type = "string",
        },
        Fqdn = "string",
        ResourceGroupName = "string",
        Credentials = new AzureNative.ScVmm.Inputs.VMMServerPropertiesCredentialsArgs
        {
            Password = "string",
            Username = "string",
        },
        Location = "string",
        Port = 0,
        Tags = 
        {
            { "string", "string" },
        },
        VmmServerName = "string",
    });
    
    example, err := scvmm.NewVmmServer(ctx, "vmmServerResource", &scvmm.VmmServerArgs{
    ExtendedLocation: &scvmm.ExtendedLocationArgs{
    Name: pulumi.String("string"),
    Type: pulumi.String("string"),
    },
    Fqdn: pulumi.String("string"),
    ResourceGroupName: pulumi.String("string"),
    Credentials: &scvmm.VMMServerPropertiesCredentialsArgs{
    Password: pulumi.String("string"),
    Username: pulumi.String("string"),
    },
    Location: pulumi.String("string"),
    Port: pulumi.Int(0),
    Tags: pulumi.StringMap{
    "string": pulumi.String("string"),
    },
    VmmServerName: pulumi.String("string"),
    })
    
    var vmmServerResource = new VmmServer("vmmServerResource", VmmServerArgs.builder()
        .extendedLocation(ExtendedLocationArgs.builder()
            .name("string")
            .type("string")
            .build())
        .fqdn("string")
        .resourceGroupName("string")
        .credentials(VMMServerPropertiesCredentialsArgs.builder()
            .password("string")
            .username("string")
            .build())
        .location("string")
        .port(0)
        .tags(Map.of("string", "string"))
        .vmmServerName("string")
        .build());
    
    vmm_server_resource = azure_native.scvmm.VmmServer("vmmServerResource",
        extended_location=azure_native.scvmm.ExtendedLocationArgs(
            name="string",
            type="string",
        ),
        fqdn="string",
        resource_group_name="string",
        credentials=azure_native.scvmm.VMMServerPropertiesCredentialsArgs(
            password="string",
            username="string",
        ),
        location="string",
        port=0,
        tags={
            "string": "string",
        },
        vmm_server_name="string")
    
    const vmmServerResource = new azure_native.scvmm.VmmServer("vmmServerResource", {
        extendedLocation: {
            name: "string",
            type: "string",
        },
        fqdn: "string",
        resourceGroupName: "string",
        credentials: {
            password: "string",
            username: "string",
        },
        location: "string",
        port: 0,
        tags: {
            string: "string",
        },
        vmmServerName: "string",
    });
    
    type: azure-native:scvmm:VmmServer
    properties:
        credentials:
            password: string
            username: string
        extendedLocation:
            name: string
            type: string
        fqdn: string
        location: string
        port: 0
        resourceGroupName: string
        tags:
            string: string
        vmmServerName: string
    

    VmmServer Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The VmmServer resource accepts the following input properties:

    ExtendedLocation Pulumi.AzureNative.ScVmm.Inputs.ExtendedLocation
    The extended location.
    Fqdn string
    Fqdn is the hostname/ip of the vmmServer.
    ResourceGroupName string
    The name of the resource group.
    Credentials Pulumi.AzureNative.ScVmm.Inputs.VMMServerPropertiesCredentials
    Credentials to connect to VMMServer.
    Location string
    Gets or sets the location.
    Port int
    Port is the port on which the vmmServer is listening.
    Tags Dictionary<string, string>
    Resource tags
    VmmServerName string
    Name of the VMMServer.
    ExtendedLocation ExtendedLocationArgs
    The extended location.
    Fqdn string
    Fqdn is the hostname/ip of the vmmServer.
    ResourceGroupName string
    The name of the resource group.
    Credentials VMMServerPropertiesCredentialsArgs
    Credentials to connect to VMMServer.
    Location string
    Gets or sets the location.
    Port int
    Port is the port on which the vmmServer is listening.
    Tags map[string]string
    Resource tags
    VmmServerName string
    Name of the VMMServer.
    extendedLocation ExtendedLocation
    The extended location.
    fqdn String
    Fqdn is the hostname/ip of the vmmServer.
    resourceGroupName String
    The name of the resource group.
    credentials VMMServerPropertiesCredentials
    Credentials to connect to VMMServer.
    location String
    Gets or sets the location.
    port Integer
    Port is the port on which the vmmServer is listening.
    tags Map<String,String>
    Resource tags
    vmmServerName String
    Name of the VMMServer.
    extendedLocation ExtendedLocation
    The extended location.
    fqdn string
    Fqdn is the hostname/ip of the vmmServer.
    resourceGroupName string
    The name of the resource group.
    credentials VMMServerPropertiesCredentials
    Credentials to connect to VMMServer.
    location string
    Gets or sets the location.
    port number
    Port is the port on which the vmmServer is listening.
    tags {[key: string]: string}
    Resource tags
    vmmServerName string
    Name of the VMMServer.
    extended_location ExtendedLocationArgs
    The extended location.
    fqdn str
    Fqdn is the hostname/ip of the vmmServer.
    resource_group_name str
    The name of the resource group.
    credentials VMMServerPropertiesCredentialsArgs
    Credentials to connect to VMMServer.
    location str
    Gets or sets the location.
    port int
    Port is the port on which the vmmServer is listening.
    tags Mapping[str, str]
    Resource tags
    vmm_server_name str
    Name of the VMMServer.
    extendedLocation Property Map
    The extended location.
    fqdn String
    Fqdn is the hostname/ip of the vmmServer.
    resourceGroupName String
    The name of the resource group.
    credentials Property Map
    Credentials to connect to VMMServer.
    location String
    Gets or sets the location.
    port Number
    Port is the port on which the vmmServer is listening.
    tags Map<String>
    Resource tags
    vmmServerName String
    Name of the VMMServer.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the VmmServer resource produces the following output properties:

    ConnectionStatus string
    Gets or sets the connection status to the vmmServer.
    ErrorMessage string
    Gets or sets any error message if connection to vmmServer is having any issue.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Resource Name
    ProvisioningState string
    Gets or sets the provisioning state.
    SystemData Pulumi.AzureNative.ScVmm.Outputs.SystemDataResponse
    The system data.
    Type string
    Resource Type
    Uuid string
    Unique ID of vmmServer.
    Version string
    Version is the version of the vmmSever.
    ConnectionStatus string
    Gets or sets the connection status to the vmmServer.
    ErrorMessage string
    Gets or sets any error message if connection to vmmServer is having any issue.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Resource Name
    ProvisioningState string
    Gets or sets the provisioning state.
    SystemData SystemDataResponse
    The system data.
    Type string
    Resource Type
    Uuid string
    Unique ID of vmmServer.
    Version string
    Version is the version of the vmmSever.
    connectionStatus String
    Gets or sets the connection status to the vmmServer.
    errorMessage String
    Gets or sets any error message if connection to vmmServer is having any issue.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Resource Name
    provisioningState String
    Gets or sets the provisioning state.
    systemData SystemDataResponse
    The system data.
    type String
    Resource Type
    uuid String
    Unique ID of vmmServer.
    version String
    Version is the version of the vmmSever.
    connectionStatus string
    Gets or sets the connection status to the vmmServer.
    errorMessage string
    Gets or sets any error message if connection to vmmServer is having any issue.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    Resource Name
    provisioningState string
    Gets or sets the provisioning state.
    systemData SystemDataResponse
    The system data.
    type string
    Resource Type
    uuid string
    Unique ID of vmmServer.
    version string
    Version is the version of the vmmSever.
    connection_status str
    Gets or sets the connection status to the vmmServer.
    error_message str
    Gets or sets any error message if connection to vmmServer is having any issue.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    Resource Name
    provisioning_state str
    Gets or sets the provisioning state.
    system_data SystemDataResponse
    The system data.
    type str
    Resource Type
    uuid str
    Unique ID of vmmServer.
    version str
    Version is the version of the vmmSever.
    connectionStatus String
    Gets or sets the connection status to the vmmServer.
    errorMessage String
    Gets or sets any error message if connection to vmmServer is having any issue.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Resource Name
    provisioningState String
    Gets or sets the provisioning state.
    systemData Property Map
    The system data.
    type String
    Resource Type
    uuid String
    Unique ID of vmmServer.
    version String
    Version is the version of the vmmSever.

    Supporting Types

    ExtendedLocation, ExtendedLocationArgs

    Name string
    The extended location name.
    Type string
    The extended location type.
    Name string
    The extended location name.
    Type string
    The extended location type.
    name String
    The extended location name.
    type String
    The extended location type.
    name string
    The extended location name.
    type string
    The extended location type.
    name str
    The extended location name.
    type str
    The extended location type.
    name String
    The extended location name.
    type String
    The extended location type.

    ExtendedLocationResponse, ExtendedLocationResponseArgs

    Name string
    The extended location name.
    Type string
    The extended location type.
    Name string
    The extended location name.
    Type string
    The extended location type.
    name String
    The extended location name.
    type String
    The extended location type.
    name string
    The extended location name.
    type string
    The extended location type.
    name str
    The extended location name.
    type str
    The extended location type.
    name String
    The extended location name.
    type String
    The extended location type.

    SystemDataResponse, SystemDataResponseArgs

    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.
    createdAt string
    The timestamp of resource creation (UTC).
    createdBy string
    The identity that created the resource.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource last modification (UTC)
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    The type of identity that last modified the resource.
    created_at str
    The timestamp of resource creation (UTC).
    created_by str
    The identity that created the resource.
    created_by_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource last modification (UTC)
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.

    VMMServerPropertiesCredentials, VMMServerPropertiesCredentialsArgs

    Password string
    Credentials to use to connect to VMMServer.
    Username string
    Username to use to connect to VMMServer.
    Password string
    Credentials to use to connect to VMMServer.
    Username string
    Username to use to connect to VMMServer.
    password String
    Credentials to use to connect to VMMServer.
    username String
    Username to use to connect to VMMServer.
    password string
    Credentials to use to connect to VMMServer.
    username string
    Username to use to connect to VMMServer.
    password str
    Credentials to use to connect to VMMServer.
    username str
    Username to use to connect to VMMServer.
    password String
    Credentials to use to connect to VMMServer.
    username String
    Username to use to connect to VMMServer.

    VMMServerPropertiesResponseCredentials, VMMServerPropertiesResponseCredentialsArgs

    Username string
    Username to use to connect to VMMServer.
    Username string
    Username to use to connect to VMMServer.
    username String
    Username to use to connect to VMMServer.
    username string
    Username to use to connect to VMMServer.
    username str
    Username to use to connect to VMMServer.
    username String
    Username to use to connect to VMMServer.

    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} 
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi