azure-native.scvmm.VmmServer
Explore with Pulumi AI
The VmmServers resource definition. API Version: 2020-06-05-preview.
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"
"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 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(Map.ofEntries(
Map.entry("password", "password"),
Map.entry("username", "testuser")
))
.extendedLocation(Map.ofEntries(
Map.entry("name", "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.Arc/customLocations/contoso"),
Map.entry("type", "customLocation")
))
.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 =
{
{ "name", "string" },
{ "type", "string" },
},
Fqdn = "string",
ResourceGroupName = "string",
Credentials =
{
{ "password", "string" },
{ "username", "string" },
},
Location = "string",
Port = 0,
Tags =
{
{ "string", "string" },
},
VmmServerName = "string",
});
example, err := scvmm.NewVmmServer(ctx, "vmmServerResource", &scvmm.VmmServerArgs{
ExtendedLocation: map[string]interface{}{
"name": "string",
"type": "string",
},
Fqdn: "string",
ResourceGroupName: "string",
Credentials: map[string]interface{}{
"password": "string",
"username": "string",
},
Location: "string",
Port: 0,
Tags: map[string]interface{}{
"string": "string",
},
VmmServerName: "string",
})
var vmmServerResource = new VmmServer("vmmServerResource", VmmServerArgs.builder()
.extendedLocation(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.fqdn("string")
.resourceGroupName("string")
.credentials(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.location("string")
.port(0)
.tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.vmmServerName("string")
.build());
vmm_server_resource = azure_native.scvmm.VmmServer("vmmServerResource",
extended_location={
name: string,
type: string,
},
fqdn=string,
resource_group_name=string,
credentials={
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The VmmServer resource accepts the following input properties:
- Extended
Location Pulumi.Azure Native. Sc Vmm. Inputs. Extended Location - The extended location.
- Fqdn string
- Fqdn is the hostname/ip of the vmmServer.
- Resource
Group stringName - The name of the resource group.
- Credentials
Pulumi.
Azure Native. Sc Vmm. Inputs. VMMServer Properties Credentials - Credentials to connect to VMMServer.
- Location string
- Gets or sets the location.
- Port int
- Port is the port on which the vmmServer is listening.
- Dictionary<string, string>
- Resource tags
- Vmm
Server stringName - Name of the VMMServer.
- Extended
Location ExtendedLocation Args - The extended location.
- Fqdn string
- Fqdn is the hostname/ip of the vmmServer.
- Resource
Group stringName - The name of the resource group.
- Credentials
VMMServer
Properties Credentials Args - Credentials to connect to VMMServer.
- Location string
- Gets or sets the location.
- Port int
- Port is the port on which the vmmServer is listening.
- map[string]string
- Resource tags
- Vmm
Server stringName - Name of the VMMServer.
- extended
Location ExtendedLocation - The extended location.
- fqdn String
- Fqdn is the hostname/ip of the vmmServer.
- resource
Group StringName - The name of the resource group.
- credentials
VMMServer
Properties Credentials - Credentials to connect to VMMServer.
- location String
- Gets or sets the location.
- port Integer
- Port is the port on which the vmmServer is listening.
- Map<String,String>
- Resource tags
- vmm
Server StringName - Name of the VMMServer.
- extended
Location ExtendedLocation - The extended location.
- fqdn string
- Fqdn is the hostname/ip of the vmmServer.
- resource
Group stringName - The name of the resource group.
- credentials
VMMServer
Properties Credentials - Credentials to connect to VMMServer.
- location string
- Gets or sets the location.
- port number
- Port is the port on which the vmmServer is listening.
- {[key: string]: string}
- Resource tags
- vmm
Server stringName - Name of the VMMServer.
- extended_
location ExtendedLocation Args - The extended location.
- fqdn str
- Fqdn is the hostname/ip of the vmmServer.
- resource_
group_ strname - The name of the resource group.
- credentials
VMMServer
Properties Credentials Args - Credentials to connect to VMMServer.
- location str
- Gets or sets the location.
- port int
- Port is the port on which the vmmServer is listening.
- Mapping[str, str]
- Resource tags
- vmm_
server_ strname - Name of the VMMServer.
- extended
Location Property Map - The extended location.
- fqdn String
- Fqdn is the hostname/ip of the vmmServer.
- resource
Group StringName - 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.
- Map<String>
- Resource tags
- vmm
Server StringName - Name of the VMMServer.
Outputs
All input properties are implicitly available as output properties. Additionally, the VmmServer resource produces the following output properties:
- Connection
Status string - Gets or sets the connection status to the vmmServer.
- Error
Message 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
- Provisioning
State string - Gets or sets the provisioning state.
- System
Data Pulumi.Azure Native. Sc Vmm. Outputs. System Data Response - The system data.
- Type string
- Resource Type
- Uuid string
- Unique ID of vmmServer.
- Version string
- Version is the version of the vmmSever.
- Connection
Status string - Gets or sets the connection status to the vmmServer.
- Error
Message 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
- Provisioning
State string - Gets or sets the provisioning state.
- System
Data SystemData Response - The system data.
- Type string
- Resource Type
- Uuid string
- Unique ID of vmmServer.
- Version string
- Version is the version of the vmmSever.
- connection
Status String - Gets or sets the connection status to the vmmServer.
- error
Message 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
- provisioning
State String - Gets or sets the provisioning state.
- system
Data SystemData Response - The system data.
- type String
- Resource Type
- uuid String
- Unique ID of vmmServer.
- version String
- Version is the version of the vmmSever.
- connection
Status string - Gets or sets the connection status to the vmmServer.
- error
Message 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
- provisioning
State string - Gets or sets the provisioning state.
- system
Data SystemData Response - 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 SystemData Response - The system data.
- type str
- Resource Type
- uuid str
- Unique ID of vmmServer.
- version str
- Version is the version of the vmmSever.
- connection
Status String - Gets or sets the connection status to the vmmServer.
- error
Message 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
- provisioning
State String - Gets or sets the provisioning state.
- system
Data 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
ExtendedLocationResponse, ExtendedLocationResponseArgs
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - 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_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
VMMServerPropertiesCredentials, VMMServerPropertiesCredentialsArgs
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/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0