azure-native.connectedvmwarevsphere.GuestAgent
Explore with Pulumi AI
Defines the GuestAgent. Azure REST API version: 2022-07-15-preview. Prior API version in Azure Native 1.x: 2020-10-01-preview.
Other available API versions: 2023-03-01-preview.
Example Usage
CreateGuestAgent
using System.Collections.Generic;
using System.Linq;
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 = AzureNative.ConnectedVMwarevSphere.ProvisioningAction.Install,
ResourceGroupName = "testrg",
VirtualMachineName = "ContosoVm",
});
});
package main
import (
connectedvmwarevsphere "github.com/pulumi/pulumi-azure-native-sdk/connectedvmwarevsphere/v2"
"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(connectedvmwarevsphere.ProvisioningActionInstall),
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 com.pulumi.azurenative.connectedvmwarevsphere.inputs.GuestCredentialArgs;
import com.pulumi.azurenative.connectedvmwarevsphere.inputs.HttpProxyConfigurationArgs;
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(GuestCredentialArgs.builder()
.password("<password>")
.username("tempuser")
.build())
.httpProxyConfig(HttpProxyConfigurationArgs.builder()
.httpsProxy("http://192.1.2.3:8080")
.build())
.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={
"password": "<password>",
"username": "tempuser",
},
http_proxy_config={
"https_proxy": "http://192.1.2.3:8080",
},
name="default",
provisioning_action=azure_native.connectedvmwarevsphere.ProvisioningAction.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: azure_native.connectedvmwarevsphere.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
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new GuestAgent(name: string, args: GuestAgentArgs, opts?: CustomResourceOptions);
@overload
def GuestAgent(resource_name: str,
args: GuestAgentArgs,
opts: Optional[ResourceOptions] = None)
@overload
def GuestAgent(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group_name: Optional[str] = None,
virtual_machine_name: Optional[str] = None,
credentials: Optional[GuestCredentialArgs] = None,
http_proxy_config: Optional[HttpProxyConfigurationArgs] = None,
name: Optional[str] = None,
provisioning_action: Optional[Union[str, ProvisioningAction]] = 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.
Parameters
- 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.
Constructor example
The following reference example uses placeholder values for all input properties.
var azure_nativeGuestAgentResource = new AzureNative.ConnectedVMwarevSphere.GuestAgent("azure-nativeGuestAgentResource", new()
{
ResourceGroupName = "string",
VirtualMachineName = "string",
Credentials = new AzureNative.ConnectedVMwarevSphere.Inputs.GuestCredentialArgs
{
Password = "string",
Username = "string",
},
HttpProxyConfig = new AzureNative.ConnectedVMwarevSphere.Inputs.HttpProxyConfigurationArgs
{
HttpsProxy = "string",
},
Name = "string",
ProvisioningAction = "string",
});
example, err := connectedvmwarevsphere.NewGuestAgent(ctx, "azure-nativeGuestAgentResource", &connectedvmwarevsphere.GuestAgentArgs{
ResourceGroupName: pulumi.String("string"),
VirtualMachineName: pulumi.String("string"),
Credentials: &connectedvmwarevsphere.GuestCredentialArgs{
Password: pulumi.String("string"),
Username: pulumi.String("string"),
},
HttpProxyConfig: &connectedvmwarevsphere.HttpProxyConfigurationArgs{
HttpsProxy: pulumi.String("string"),
},
Name: pulumi.String("string"),
ProvisioningAction: pulumi.String("string"),
})
var azure_nativeGuestAgentResource = new GuestAgent("azure-nativeGuestAgentResource", GuestAgentArgs.builder()
.resourceGroupName("string")
.virtualMachineName("string")
.credentials(GuestCredentialArgs.builder()
.password("string")
.username("string")
.build())
.httpProxyConfig(HttpProxyConfigurationArgs.builder()
.httpsProxy("string")
.build())
.name("string")
.provisioningAction("string")
.build());
azure_native_guest_agent_resource = azure_native.connectedvmwarevsphere.GuestAgent("azure-nativeGuestAgentResource",
resource_group_name="string",
virtual_machine_name="string",
credentials={
"password": "string",
"username": "string",
},
http_proxy_config={
"httpsProxy": "string",
},
name="string",
provisioning_action="string")
const azure_nativeGuestAgentResource = new azure_native.connectedvmwarevsphere.GuestAgent("azure-nativeGuestAgentResource", {
resourceGroupName: "string",
virtualMachineName: "string",
credentials: {
password: "string",
username: "string",
},
httpProxyConfig: {
httpsProxy: "string",
},
name: "string",
provisioningAction: "string",
});
type: azure-native:connectedvmwarevsphere:GuestAgent
properties:
credentials:
password: string
username: string
httpProxyConfig:
httpsProxy: string
name: string
provisioningAction: string
resourceGroupName: string
virtualMachineName: string
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:
- Resource
Group stringName - The Resource Group Name.
- Virtual
Machine stringName - Name of the vm.
- Credentials
Pulumi.
Azure Native. Connected VMwarev Sphere. Inputs. Guest Credential - Username / Password Credentials to provision guest agent.
- Http
Proxy Pulumi.Config Azure Native. Connected VMwarev Sphere. Inputs. Http Proxy Configuration - HTTP Proxy configuration for the VM.
- Name string
- Name of the guestAgents.
- Provisioning
Action string | Pulumi.Azure Native. Connected VMwarev Sphere. Provisioning Action - Gets or sets the guest agent provisioning action.
- Resource
Group stringName - The Resource Group Name.
- Virtual
Machine stringName - Name of the vm.
- Credentials
Guest
Credential Args - Username / Password Credentials to provision guest agent.
- Http
Proxy HttpConfig Proxy Configuration Args - HTTP Proxy configuration for the VM.
- Name string
- Name of the guestAgents.
- Provisioning
Action string | ProvisioningAction - Gets or sets the guest agent provisioning action.
- resource
Group StringName - The Resource Group Name.
- virtual
Machine StringName - Name of the vm.
- credentials
Guest
Credential - Username / Password Credentials to provision guest agent.
- http
Proxy HttpConfig Proxy Configuration - HTTP Proxy configuration for the VM.
- name String
- Name of the guestAgents.
- provisioning
Action String | ProvisioningAction - Gets or sets the guest agent provisioning action.
- resource
Group stringName - The Resource Group Name.
- virtual
Machine stringName - Name of the vm.
- credentials
Guest
Credential - Username / Password Credentials to provision guest agent.
- http
Proxy HttpConfig Proxy Configuration - HTTP Proxy configuration for the VM.
- name string
- Name of the guestAgents.
- provisioning
Action string | ProvisioningAction - Gets or sets the guest agent provisioning action.
- resource_
group_ strname - The Resource Group Name.
- virtual_
machine_ strname - Name of the vm.
- credentials
Guest
Credential Args - Username / Password Credentials to provision guest agent.
- http_
proxy_ Httpconfig Proxy Configuration Args - HTTP Proxy configuration for the VM.
- name str
- Name of the guestAgents.
- provisioning_
action str | ProvisioningAction - Gets or sets the guest agent provisioning action.
- resource
Group StringName - The Resource Group Name.
- virtual
Machine StringName - Name of the vm.
- credentials Property Map
- Username / Password Credentials to provision guest agent.
- http
Proxy Property MapConfig - HTTP Proxy configuration for the VM.
- name String
- Name of the guestAgents.
- provisioning
Action 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:
- Custom
Resource stringName - Gets the name of the corresponding resource in Kubernetes.
- Id string
- The provider-assigned unique ID for this managed resource.
- Provisioning
State string - Gets or sets the provisioning state.
- Status string
- Gets or sets the guest agent status.
- Statuses
List<Pulumi.
Azure Native. Connected VMwarev Sphere. Outputs. Resource Status Response> - The resource status information.
- System
Data Pulumi.Azure Native. Connected VMwarev Sphere. Outputs. System Data Response - 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 stringName - Gets the name of the corresponding resource in Kubernetes.
- Id string
- The provider-assigned unique ID for this managed resource.
- Provisioning
State string - Gets or sets the provisioning state.
- Status string
- Gets or sets the guest agent status.
- Statuses
[]Resource
Status Response - The resource status information.
- System
Data SystemData Response - 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 StringName - Gets the name of the corresponding resource in Kubernetes.
- id String
- The provider-assigned unique ID for this managed resource.
- provisioning
State String - Gets or sets the provisioning state.
- status String
- Gets or sets the guest agent status.
- statuses
List<Resource
Status Response> - The resource status information.
- system
Data SystemData Response - 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 stringName - Gets the name of the corresponding resource in Kubernetes.
- id string
- The provider-assigned unique ID for this managed resource.
- provisioning
State string - Gets or sets the provisioning state.
- status string
- Gets or sets the guest agent status.
- statuses
Resource
Status Response[] - The resource status information.
- system
Data SystemData Response - 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_ strname - 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[Resource
Status Response] - The resource status information.
- system_
data SystemData Response - 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.
- custom
Resource StringName - Gets the name of the corresponding resource in Kubernetes.
- id String
- The provider-assigned unique ID for this managed resource.
- provisioning
State String - Gets or sets the provisioning state.
- status String
- Gets or sets the guest agent status.
- statuses List<Property Map>
- The resource status information.
- system
Data 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, GuestCredentialArgs
GuestCredentialResponse, GuestCredentialResponseArgs
- 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, HttpProxyConfigurationArgs
- Https
Proxy string - Gets or sets httpsProxy url.
- Https
Proxy string - Gets or sets httpsProxy url.
- https
Proxy String - Gets or sets httpsProxy url.
- https
Proxy string - Gets or sets httpsProxy url.
- https_
proxy str - Gets or sets httpsProxy url.
- https
Proxy String - Gets or sets httpsProxy url.
HttpProxyConfigurationResponse, HttpProxyConfigurationResponseArgs
- Https
Proxy string - Gets or sets httpsProxy url.
- Https
Proxy string - Gets or sets httpsProxy url.
- https
Proxy String - Gets or sets httpsProxy url.
- https
Proxy string - Gets or sets httpsProxy url.
- https_
proxy str - Gets or sets httpsProxy url.
- https
Proxy String - Gets or sets httpsProxy url.
ProvisioningAction, ProvisioningActionArgs
- Install
- install
- Uninstall
- uninstall
- Repair
- repair
- Provisioning
Action Install - install
- Provisioning
Action Uninstall - uninstall
- Provisioning
Action Repair - 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, ResourceStatusResponseArgs
- Last
Updated stringAt - 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 stringAt - 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 StringAt - 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 stringAt - 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_ strat - 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.
- last
Updated StringAt - 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, 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.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:connectedvmwarevsphere:GuestAgent default /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedVMwarevSphere/virtualMachines/{virtualMachineName}/guestAgents/{name}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0