azure-native.connectedvmwarevsphere.GuestAgent

Defines the GuestAgent. API Version: 2020-10-01-preview.

Example Usage

CreateGuestAgent

using System.Collections.Generic;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var guestAgent = new AzureNative.ConnectedVMwarevSphere.GuestAgent("guestAgent", new()
    {
        Credentials = new AzureNative.ConnectedVMwarevSphere.Inputs.GuestCredentialArgs
        {
            Password = "<password>",
            Username = "tempuser",
        },
        HttpProxyConfig = new AzureNative.ConnectedVMwarevSphere.Inputs.HttpProxyConfigurationArgs
        {
            HttpsProxy = "http://192.1.2.3:8080",
        },
        Name = "default",
        ProvisioningAction = "install",
        ResourceGroupName = "testrg",
        VirtualMachineName = "ContosoVm",
    });

});
package main

import (
	connectedvmwarevsphere "github.com/pulumi/pulumi-azure-native/sdk/go/azure/connectedvmwarevsphere"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := connectedvmwarevsphere.NewGuestAgent(ctx, "guestAgent", &connectedvmwarevsphere.GuestAgentArgs{
			Credentials: &connectedvmwarevsphere.GuestCredentialArgs{
				Password: pulumi.String("<password>"),
				Username: pulumi.String("tempuser"),
			},
			HttpProxyConfig: &connectedvmwarevsphere.HttpProxyConfigurationArgs{
				HttpsProxy: pulumi.String("http://192.1.2.3:8080"),
			},
			Name:               pulumi.String("default"),
			ProvisioningAction: pulumi.String("install"),
			ResourceGroupName:  pulumi.String("testrg"),
			VirtualMachineName: pulumi.String("ContosoVm"),
		})
		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.connectedvmwarevsphere.GuestAgent;
import com.pulumi.azurenative.connectedvmwarevsphere.GuestAgentArgs;
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 guestAgent = new GuestAgent("guestAgent", GuestAgentArgs.builder()        
            .credentials(Map.ofEntries(
                Map.entry("password", "<password>"),
                Map.entry("username", "tempuser")
            ))
            .httpProxyConfig(Map.of("httpsProxy", "http://192.1.2.3:8080"))
            .name("default")
            .provisioningAction("install")
            .resourceGroupName("testrg")
            .virtualMachineName("ContosoVm")
            .build());

    }
}
import pulumi
import pulumi_azure_native as azure_native

guest_agent = azure_native.connectedvmwarevsphere.GuestAgent("guestAgent",
    credentials=azure_native.connectedvmwarevsphere.GuestCredentialArgs(
        password="<password>",
        username="tempuser",
    ),
    http_proxy_config=azure_native.connectedvmwarevsphere.HttpProxyConfigurationArgs(
        https_proxy="http://192.1.2.3:8080",
    ),
    name="default",
    provisioning_action="install",
    resource_group_name="testrg",
    virtual_machine_name="ContosoVm")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const guestAgent = new azure_native.connectedvmwarevsphere.GuestAgent("guestAgent", {
    credentials: {
        password: "<password>",
        username: "tempuser",
    },
    httpProxyConfig: {
        httpsProxy: "http://192.1.2.3:8080",
    },
    name: "default",
    provisioningAction: "install",
    resourceGroupName: "testrg",
    virtualMachineName: "ContosoVm",
});
resources:
  guestAgent:
    type: azure-native:connectedvmwarevsphere:GuestAgent
    properties:
      credentials:
        password: <password>
        username: tempuser
      httpProxyConfig:
        httpsProxy: http://192.1.2.3:8080
      name: default
      provisioningAction: install
      resourceGroupName: testrg
      virtualMachineName: ContosoVm

Create GuestAgent Resource

new GuestAgent(name: string, args: GuestAgentArgs, opts?: CustomResourceOptions);
@overload
def GuestAgent(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               credentials: Optional[GuestCredentialArgs] = None,
               http_proxy_config: Optional[HttpProxyConfigurationArgs] = None,
               name: Optional[str] = None,
               provisioning_action: Optional[Union[str, ProvisioningAction]] = None,
               resource_group_name: Optional[str] = None,
               virtual_machine_name: Optional[str] = None)
@overload
def GuestAgent(resource_name: str,
               args: GuestAgentArgs,
               opts: Optional[ResourceOptions] = None)
func NewGuestAgent(ctx *Context, name string, args GuestAgentArgs, opts ...ResourceOption) (*GuestAgent, error)
public GuestAgent(string name, GuestAgentArgs args, CustomResourceOptions? opts = null)
public GuestAgent(String name, GuestAgentArgs args)
public GuestAgent(String name, GuestAgentArgs args, CustomResourceOptions options)
type: azure-native:connectedvmwarevsphere:GuestAgent
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args GuestAgentArgs
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 GuestAgentArgs
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 GuestAgentArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args GuestAgentArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args GuestAgentArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

GuestAgent 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 GuestAgent resource accepts the following input properties:

ResourceGroupName string

The Resource Group Name.

VirtualMachineName string

Name of the vm.

Credentials Pulumi.AzureNative.ConnectedVMwarevSphere.Inputs.GuestCredentialArgs

Username / Password Credentials to provision guest agent.

HttpProxyConfig Pulumi.AzureNative.ConnectedVMwarevSphere.Inputs.HttpProxyConfigurationArgs

HTTP Proxy configuration for the VM.

Name string

Name of the guestAgents.

ProvisioningAction string | Pulumi.AzureNative.ConnectedVMwarevSphere.ProvisioningAction

Gets or sets the guest agent provisioning action.

ResourceGroupName string

The Resource Group Name.

VirtualMachineName string

Name of the vm.

Credentials GuestCredentialArgs

Username / Password Credentials to provision guest agent.

HttpProxyConfig HttpProxyConfigurationArgs

HTTP Proxy configuration for the VM.

Name string

Name of the guestAgents.

ProvisioningAction string | ProvisioningAction

Gets or sets the guest agent provisioning action.

resourceGroupName String

The Resource Group Name.

virtualMachineName String

Name of the vm.

credentials GuestCredentialArgs

Username / Password Credentials to provision guest agent.

httpProxyConfig HttpProxyConfigurationArgs

HTTP Proxy configuration for the VM.

name String

Name of the guestAgents.

provisioningAction String | ProvisioningAction

Gets or sets the guest agent provisioning action.

resourceGroupName string

The Resource Group Name.

virtualMachineName string

Name of the vm.

credentials GuestCredentialArgs

Username / Password Credentials to provision guest agent.

httpProxyConfig HttpProxyConfigurationArgs

HTTP Proxy configuration for the VM.

name string

Name of the guestAgents.

provisioningAction string | ProvisioningAction

Gets or sets the guest agent provisioning action.

resource_group_name str

The Resource Group Name.

virtual_machine_name str

Name of the vm.

credentials GuestCredentialArgs

Username / Password Credentials to provision guest agent.

http_proxy_config HttpProxyConfigurationArgs

HTTP Proxy configuration for the VM.

name str

Name of the guestAgents.

provisioning_action str | ProvisioningAction

Gets or sets the guest agent provisioning action.

resourceGroupName String

The Resource Group Name.

virtualMachineName String

Name of the vm.

credentials Property Map

Username / Password Credentials to provision guest agent.

httpProxyConfig Property Map

HTTP Proxy configuration for the VM.

name String

Name of the guestAgents.

provisioningAction String | "install" | "uninstall" | "repair"

Gets or sets the guest agent provisioning action.

Outputs

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

CustomResourceName string

Gets the name of the corresponding resource in Kubernetes.

Id string

The provider-assigned unique ID for this managed resource.

ProvisioningState string

Gets or sets the provisioning state.

Status string

Gets or sets the guest agent status.

Statuses List<Pulumi.AzureNative.ConnectedVMwarevSphere.Outputs.ResourceStatusResponse>

The resource status information.

SystemData Pulumi.AzureNative.ConnectedVMwarevSphere.Outputs.SystemDataResponse

The system data.

Type string

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Uuid string

Gets or sets a unique identifier for this resource.

CustomResourceName string

Gets the name of the corresponding resource in Kubernetes.

Id string

The provider-assigned unique ID for this managed resource.

ProvisioningState string

Gets or sets the provisioning state.

Status string

Gets or sets the guest agent status.

Statuses []ResourceStatusResponse

The resource status information.

SystemData SystemDataResponse

The system data.

Type string

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Uuid string

Gets or sets a unique identifier for this resource.

customResourceName String

Gets the name of the corresponding resource in Kubernetes.

id String

The provider-assigned unique ID for this managed resource.

provisioningState String

Gets or sets the provisioning state.

status String

Gets or sets the guest agent status.

statuses List<ResourceStatusResponse>

The resource status information.

systemData SystemDataResponse

The system data.

type String

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

uuid String

Gets or sets a unique identifier for this resource.

customResourceName string

Gets the name of the corresponding resource in Kubernetes.

id string

The provider-assigned unique ID for this managed resource.

provisioningState string

Gets or sets the provisioning state.

status string

Gets or sets the guest agent status.

statuses ResourceStatusResponse[]

The resource status information.

systemData SystemDataResponse

The system data.

type string

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

uuid string

Gets or sets a unique identifier for this resource.

custom_resource_name str

Gets the name of the corresponding resource in Kubernetes.

id str

The provider-assigned unique ID for this managed resource.

provisioning_state str

Gets or sets the provisioning state.

status str

Gets or sets the guest agent status.

statuses Sequence[ResourceStatusResponse]

The resource status information.

system_data SystemDataResponse

The system data.

type str

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

uuid str

Gets or sets a unique identifier for this resource.

customResourceName String

Gets the name of the corresponding resource in Kubernetes.

id String

The provider-assigned unique ID for this managed resource.

provisioningState String

Gets or sets the provisioning state.

status String

Gets or sets the guest agent status.

statuses List<Property Map>

The resource status information.

systemData Property Map

The system data.

type String

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

uuid String

Gets or sets a unique identifier for this resource.

Supporting Types

GuestCredential

Password string

Gets or sets the password to connect with the guest.

Username string

Gets or sets username to connect with the guest.

Password string

Gets or sets the password to connect with the guest.

Username string

Gets or sets username to connect with the guest.

password String

Gets or sets the password to connect with the guest.

username String

Gets or sets username to connect with the guest.

password string

Gets or sets the password to connect with the guest.

username string

Gets or sets username to connect with the guest.

password str

Gets or sets the password to connect with the guest.

username str

Gets or sets username to connect with the guest.

password String

Gets or sets the password to connect with the guest.

username String

Gets or sets username to connect with the guest.

GuestCredentialResponse

Username string

Gets or sets username to connect with the guest.

Username string

Gets or sets username to connect with the guest.

username String

Gets or sets username to connect with the guest.

username string

Gets or sets username to connect with the guest.

username str

Gets or sets username to connect with the guest.

username String

Gets or sets username to connect with the guest.

HttpProxyConfiguration

HttpsProxy string

Gets or sets httpsProxy url.

HttpsProxy string

Gets or sets httpsProxy url.

httpsProxy String

Gets or sets httpsProxy url.

httpsProxy string

Gets or sets httpsProxy url.

https_proxy str

Gets or sets httpsProxy url.

httpsProxy String

Gets or sets httpsProxy url.

HttpProxyConfigurationResponse

HttpsProxy string

Gets or sets httpsProxy url.

HttpsProxy string

Gets or sets httpsProxy url.

httpsProxy String

Gets or sets httpsProxy url.

httpsProxy string

Gets or sets httpsProxy url.

https_proxy str

Gets or sets httpsProxy url.

httpsProxy String

Gets or sets httpsProxy url.

ProvisioningAction

Install
install
Uninstall
uninstall
Repair
repair
ProvisioningActionInstall
install
ProvisioningActionUninstall
uninstall
ProvisioningActionRepair
repair
Install
install
Uninstall
uninstall
Repair
repair
Install
install
Uninstall
uninstall
Repair
repair
INSTALL
install
UNINSTALL
uninstall
REPAIR
repair
"install"
install
"uninstall"
uninstall
"repair"
repair

ResourceStatusResponse

LastUpdatedAt string

The last update time for this condition.

Message string

A human readable message indicating details about the status.

Reason string

The reason for the condition's status.

Severity string

Severity with which to treat failures of this type of condition.

Status string

Status of the condition.

Type string

The type of the condition.

LastUpdatedAt string

The last update time for this condition.

Message string

A human readable message indicating details about the status.

Reason string

The reason for the condition's status.

Severity string

Severity with which to treat failures of this type of condition.

Status string

Status of the condition.

Type string

The type of the condition.

lastUpdatedAt String

The last update time for this condition.

message String

A human readable message indicating details about the status.

reason String

The reason for the condition's status.

severity String

Severity with which to treat failures of this type of condition.

status String

Status of the condition.

type String

The type of the condition.

lastUpdatedAt string

The last update time for this condition.

message string

A human readable message indicating details about the status.

reason string

The reason for the condition's status.

severity string

Severity with which to treat failures of this type of condition.

status string

Status of the condition.

type string

The type of the condition.

last_updated_at str

The last update time for this condition.

message str

A human readable message indicating details about the status.

reason str

The reason for the condition's status.

severity str

Severity with which to treat failures of this type of condition.

status str

Status of the condition.

type str

The type of the condition.

lastUpdatedAt String

The last update time for this condition.

message String

A human readable message indicating details about the status.

reason String

The reason for the condition's status.

severity String

Severity with which to treat failures of this type of condition.

status String

Status of the condition.

type String

The type of the condition.

SystemDataResponse

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.

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:connectedvmwarevsphere:GuestAgent default /subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.ConnectedVMwarevSphere/VitualMachines/ContosoVm/guestAgents/default 

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0