azure-native.networkcloud.getVirtualMachine
Explore with Pulumi AI
Get properties of the provided virtual machine. Azure REST API version: 2023-10-01-preview.
Other available API versions: 2023-07-01, 2024-06-01-preview, 2024-07-01.
Using getVirtualMachine
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getVirtualMachine(args: GetVirtualMachineArgs, opts?: InvokeOptions): Promise<GetVirtualMachineResult>
function getVirtualMachineOutput(args: GetVirtualMachineOutputArgs, opts?: InvokeOptions): Output<GetVirtualMachineResult>
def get_virtual_machine(resource_group_name: Optional[str] = None,
virtual_machine_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetVirtualMachineResult
def get_virtual_machine_output(resource_group_name: Optional[pulumi.Input[str]] = None,
virtual_machine_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetVirtualMachineResult]
func LookupVirtualMachine(ctx *Context, args *LookupVirtualMachineArgs, opts ...InvokeOption) (*LookupVirtualMachineResult, error)
func LookupVirtualMachineOutput(ctx *Context, args *LookupVirtualMachineOutputArgs, opts ...InvokeOption) LookupVirtualMachineResultOutput
> Note: This function is named LookupVirtualMachine
in the Go SDK.
public static class GetVirtualMachine
{
public static Task<GetVirtualMachineResult> InvokeAsync(GetVirtualMachineArgs args, InvokeOptions? opts = null)
public static Output<GetVirtualMachineResult> Invoke(GetVirtualMachineInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetVirtualMachineResult> getVirtualMachine(GetVirtualMachineArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:networkcloud:getVirtualMachine
arguments:
# arguments dictionary
The following arguments are supported:
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Virtual
Machine stringName - The name of the virtual machine.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Virtual
Machine stringName - The name of the virtual machine.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- virtual
Machine StringName - The name of the virtual machine.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- virtual
Machine stringName - The name of the virtual machine.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- virtual_
machine_ strname - The name of the virtual machine.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- virtual
Machine StringName - The name of the virtual machine.
getVirtualMachine Result
The following output properties are available:
- Admin
Username string - The name of the administrator to which the ssh public keys will be added into the authorized keys.
- Availability
Zone string - The cluster availability zone containing this virtual machine.
- Bare
Metal stringMachine Id - The resource ID of the bare metal machine that hosts the virtual machine.
- Cloud
Services Pulumi.Network Attachment Azure Native. Network Cloud. Outputs. Network Attachment Response - The cloud service network that provides platform-level services for the virtual machine.
- Cluster
Id string - The resource ID of the cluster the virtual machine is created for.
- Cpu
Cores double - The number of CPU cores in the virtual machine.
- Detailed
Status string - The more detailed status of the virtual machine.
- Detailed
Status stringMessage - The descriptive message about the current detailed status.
- Extended
Location Pulumi.Azure Native. Network Cloud. Outputs. Extended Location Response - The extended location of the cluster associated with the resource.
- Id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- Location string
- The geo-location where the resource lives
- Memory
Size doubleGB - The memory size of the virtual machine in GB.
- Name string
- The name of the resource
- Power
State string - The power state of the virtual machine.
- Provisioning
State string - The provisioning state of the virtual machine.
- Storage
Profile Pulumi.Azure Native. Network Cloud. Outputs. Storage Profile Response - The storage profile that specifies size and other parameters about the disks related to the virtual machine.
- System
Data Pulumi.Azure Native. Network Cloud. Outputs. System Data Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Vm
Image string - The virtual machine image that is currently provisioned to the OS disk, using the full url and tag notation used to pull the image.
- Volumes List<string>
- The resource IDs of volumes that are attached to the virtual machine.
- Boot
Method string - Selects the boot method for the virtual machine.
- Isolate
Emulator stringThread - Field Deprecated, the value will be ignored if provided. The indicator of whether one of the specified CPU cores is isolated to run the emulator thread for this virtual machine.
- Network
Attachments List<Pulumi.Azure Native. Network Cloud. Outputs. Network Attachment Response> - The list of network attachments to the virtual machine.
- Network
Data string - The Base64 encoded cloud-init network data.
- Placement
Hints List<Pulumi.Azure Native. Network Cloud. Outputs. Virtual Machine Placement Hint Response> - The scheduling hints for the virtual machine.
- Ssh
Public List<Pulumi.Keys Azure Native. Network Cloud. Outputs. Ssh Public Key Response> - The list of ssh public keys. Each key will be added to the virtual machine using the cloud-init ssh_authorized_keys mechanism for the adminUsername.
- Dictionary<string, string>
- Resource tags.
- User
Data string - The Base64 encoded cloud-init user data.
- Virtio
Interface string - Field Deprecated, use virtualizationModel instead. The type of the virtio interface.
- Vm
Device stringModel - The type of the device model to use.
- Vm
Image Pulumi.Repository Credentials Azure Native. Network Cloud. Outputs. Image Repository Credentials Response - The credentials used to login to the image repository that has access to the specified image.
- Admin
Username string - The name of the administrator to which the ssh public keys will be added into the authorized keys.
- Availability
Zone string - The cluster availability zone containing this virtual machine.
- Bare
Metal stringMachine Id - The resource ID of the bare metal machine that hosts the virtual machine.
- Cloud
Services NetworkNetwork Attachment Attachment Response - The cloud service network that provides platform-level services for the virtual machine.
- Cluster
Id string - The resource ID of the cluster the virtual machine is created for.
- Cpu
Cores float64 - The number of CPU cores in the virtual machine.
- Detailed
Status string - The more detailed status of the virtual machine.
- Detailed
Status stringMessage - The descriptive message about the current detailed status.
- Extended
Location ExtendedLocation Response - The extended location of the cluster associated with the resource.
- Id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- Location string
- The geo-location where the resource lives
- Memory
Size float64GB - The memory size of the virtual machine in GB.
- Name string
- The name of the resource
- Power
State string - The power state of the virtual machine.
- Provisioning
State string - The provisioning state of the virtual machine.
- Storage
Profile StorageProfile Response - The storage profile that specifies size and other parameters about the disks related to the virtual machine.
- System
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Vm
Image string - The virtual machine image that is currently provisioned to the OS disk, using the full url and tag notation used to pull the image.
- Volumes []string
- The resource IDs of volumes that are attached to the virtual machine.
- Boot
Method string - Selects the boot method for the virtual machine.
- Isolate
Emulator stringThread - Field Deprecated, the value will be ignored if provided. The indicator of whether one of the specified CPU cores is isolated to run the emulator thread for this virtual machine.
- Network
Attachments []NetworkAttachment Response - The list of network attachments to the virtual machine.
- Network
Data string - The Base64 encoded cloud-init network data.
- Placement
Hints []VirtualMachine Placement Hint Response - The scheduling hints for the virtual machine.
- Ssh
Public []SshKeys Public Key Response - The list of ssh public keys. Each key will be added to the virtual machine using the cloud-init ssh_authorized_keys mechanism for the adminUsername.
- map[string]string
- Resource tags.
- User
Data string - The Base64 encoded cloud-init user data.
- Virtio
Interface string - Field Deprecated, use virtualizationModel instead. The type of the virtio interface.
- Vm
Device stringModel - The type of the device model to use.
- Vm
Image ImageRepository Credentials Repository Credentials Response - The credentials used to login to the image repository that has access to the specified image.
- admin
Username String - The name of the administrator to which the ssh public keys will be added into the authorized keys.
- availability
Zone String - The cluster availability zone containing this virtual machine.
- bare
Metal StringMachine Id - The resource ID of the bare metal machine that hosts the virtual machine.
- cloud
Services NetworkNetwork Attachment Attachment Response - The cloud service network that provides platform-level services for the virtual machine.
- cluster
Id String - The resource ID of the cluster the virtual machine is created for.
- cpu
Cores Double - The number of CPU cores in the virtual machine.
- detailed
Status String - The more detailed status of the virtual machine.
- detailed
Status StringMessage - The descriptive message about the current detailed status.
- extended
Location ExtendedLocation Response - The extended location of the cluster associated with the resource.
- id String
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- location String
- The geo-location where the resource lives
- memory
Size DoubleGB - The memory size of the virtual machine in GB.
- name String
- The name of the resource
- power
State String - The power state of the virtual machine.
- provisioning
State String - The provisioning state of the virtual machine.
- storage
Profile StorageProfile Response - The storage profile that specifies size and other parameters about the disks related to the virtual machine.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- vm
Image String - The virtual machine image that is currently provisioned to the OS disk, using the full url and tag notation used to pull the image.
- volumes List<String>
- The resource IDs of volumes that are attached to the virtual machine.
- boot
Method String - Selects the boot method for the virtual machine.
- isolate
Emulator StringThread - Field Deprecated, the value will be ignored if provided. The indicator of whether one of the specified CPU cores is isolated to run the emulator thread for this virtual machine.
- network
Attachments List<NetworkAttachment Response> - The list of network attachments to the virtual machine.
- network
Data String - The Base64 encoded cloud-init network data.
- placement
Hints List<VirtualMachine Placement Hint Response> - The scheduling hints for the virtual machine.
- ssh
Public List<SshKeys Public Key Response> - The list of ssh public keys. Each key will be added to the virtual machine using the cloud-init ssh_authorized_keys mechanism for the adminUsername.
- Map<String,String>
- Resource tags.
- user
Data String - The Base64 encoded cloud-init user data.
- virtio
Interface String - Field Deprecated, use virtualizationModel instead. The type of the virtio interface.
- vm
Device StringModel - The type of the device model to use.
- vm
Image ImageRepository Credentials Repository Credentials Response - The credentials used to login to the image repository that has access to the specified image.
- admin
Username string - The name of the administrator to which the ssh public keys will be added into the authorized keys.
- availability
Zone string - The cluster availability zone containing this virtual machine.
- bare
Metal stringMachine Id - The resource ID of the bare metal machine that hosts the virtual machine.
- cloud
Services NetworkNetwork Attachment Attachment Response - The cloud service network that provides platform-level services for the virtual machine.
- cluster
Id string - The resource ID of the cluster the virtual machine is created for.
- cpu
Cores number - The number of CPU cores in the virtual machine.
- detailed
Status string - The more detailed status of the virtual machine.
- detailed
Status stringMessage - The descriptive message about the current detailed status.
- extended
Location ExtendedLocation Response - The extended location of the cluster associated with the resource.
- id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- location string
- The geo-location where the resource lives
- memory
Size numberGB - The memory size of the virtual machine in GB.
- name string
- The name of the resource
- power
State string - The power state of the virtual machine.
- provisioning
State string - The provisioning state of the virtual machine.
- storage
Profile StorageProfile Response - The storage profile that specifies size and other parameters about the disks related to the virtual machine.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- vm
Image string - The virtual machine image that is currently provisioned to the OS disk, using the full url and tag notation used to pull the image.
- volumes string[]
- The resource IDs of volumes that are attached to the virtual machine.
- boot
Method string - Selects the boot method for the virtual machine.
- isolate
Emulator stringThread - Field Deprecated, the value will be ignored if provided. The indicator of whether one of the specified CPU cores is isolated to run the emulator thread for this virtual machine.
- network
Attachments NetworkAttachment Response[] - The list of network attachments to the virtual machine.
- network
Data string - The Base64 encoded cloud-init network data.
- placement
Hints VirtualMachine Placement Hint Response[] - The scheduling hints for the virtual machine.
- ssh
Public SshKeys Public Key Response[] - The list of ssh public keys. Each key will be added to the virtual machine using the cloud-init ssh_authorized_keys mechanism for the adminUsername.
- {[key: string]: string}
- Resource tags.
- user
Data string - The Base64 encoded cloud-init user data.
- virtio
Interface string - Field Deprecated, use virtualizationModel instead. The type of the virtio interface.
- vm
Device stringModel - The type of the device model to use.
- vm
Image ImageRepository Credentials Repository Credentials Response - The credentials used to login to the image repository that has access to the specified image.
- admin_
username str - The name of the administrator to which the ssh public keys will be added into the authorized keys.
- availability_
zone str - The cluster availability zone containing this virtual machine.
- bare_
metal_ strmachine_ id - The resource ID of the bare metal machine that hosts the virtual machine.
- cloud_
services_ Networknetwork_ attachment Attachment Response - The cloud service network that provides platform-level services for the virtual machine.
- cluster_
id str - The resource ID of the cluster the virtual machine is created for.
- cpu_
cores float - The number of CPU cores in the virtual machine.
- detailed_
status str - The more detailed status of the virtual machine.
- detailed_
status_ strmessage - The descriptive message about the current detailed status.
- extended_
location ExtendedLocation Response - The extended location of the cluster associated with the resource.
- id str
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- location str
- The geo-location where the resource lives
- memory_
size_ floatgb - The memory size of the virtual machine in GB.
- name str
- The name of the resource
- power_
state str - The power state of the virtual machine.
- provisioning_
state str - The provisioning state of the virtual machine.
- storage_
profile StorageProfile Response - The storage profile that specifies size and other parameters about the disks related to the virtual machine.
- system_
data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- vm_
image str - The virtual machine image that is currently provisioned to the OS disk, using the full url and tag notation used to pull the image.
- volumes Sequence[str]
- The resource IDs of volumes that are attached to the virtual machine.
- boot_
method str - Selects the boot method for the virtual machine.
- isolate_
emulator_ strthread - Field Deprecated, the value will be ignored if provided. The indicator of whether one of the specified CPU cores is isolated to run the emulator thread for this virtual machine.
- network_
attachments Sequence[NetworkAttachment Response] - The list of network attachments to the virtual machine.
- network_
data str - The Base64 encoded cloud-init network data.
- placement_
hints Sequence[VirtualMachine Placement Hint Response] - The scheduling hints for the virtual machine.
- ssh_
public_ Sequence[Sshkeys Public Key Response] - The list of ssh public keys. Each key will be added to the virtual machine using the cloud-init ssh_authorized_keys mechanism for the adminUsername.
- Mapping[str, str]
- Resource tags.
- user_
data str - The Base64 encoded cloud-init user data.
- virtio_
interface str - Field Deprecated, use virtualizationModel instead. The type of the virtio interface.
- vm_
device_ strmodel - The type of the device model to use.
- vm_
image_ Imagerepository_ credentials Repository Credentials Response - The credentials used to login to the image repository that has access to the specified image.
- admin
Username String - The name of the administrator to which the ssh public keys will be added into the authorized keys.
- availability
Zone String - The cluster availability zone containing this virtual machine.
- bare
Metal StringMachine Id - The resource ID of the bare metal machine that hosts the virtual machine.
- cloud
Services Property MapNetwork Attachment - The cloud service network that provides platform-level services for the virtual machine.
- cluster
Id String - The resource ID of the cluster the virtual machine is created for.
- cpu
Cores Number - The number of CPU cores in the virtual machine.
- detailed
Status String - The more detailed status of the virtual machine.
- detailed
Status StringMessage - The descriptive message about the current detailed status.
- extended
Location Property Map - The extended location of the cluster associated with the resource.
- id String
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- location String
- The geo-location where the resource lives
- memory
Size NumberGB - The memory size of the virtual machine in GB.
- name String
- The name of the resource
- power
State String - The power state of the virtual machine.
- provisioning
State String - The provisioning state of the virtual machine.
- storage
Profile Property Map - The storage profile that specifies size and other parameters about the disks related to the virtual machine.
- system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- vm
Image String - The virtual machine image that is currently provisioned to the OS disk, using the full url and tag notation used to pull the image.
- volumes List<String>
- The resource IDs of volumes that are attached to the virtual machine.
- boot
Method String - Selects the boot method for the virtual machine.
- isolate
Emulator StringThread - Field Deprecated, the value will be ignored if provided. The indicator of whether one of the specified CPU cores is isolated to run the emulator thread for this virtual machine.
- network
Attachments List<Property Map> - The list of network attachments to the virtual machine.
- network
Data String - The Base64 encoded cloud-init network data.
- placement
Hints List<Property Map> - The scheduling hints for the virtual machine.
- ssh
Public List<Property Map>Keys - The list of ssh public keys. Each key will be added to the virtual machine using the cloud-init ssh_authorized_keys mechanism for the adminUsername.
- Map<String>
- Resource tags.
- user
Data String - The Base64 encoded cloud-init user data.
- virtio
Interface String - Field Deprecated, use virtualizationModel instead. The type of the virtio interface.
- vm
Device StringModel - The type of the device model to use.
- vm
Image Property MapRepository Credentials - The credentials used to login to the image repository that has access to the specified image.
Supporting Types
ExtendedLocationResponse
ImageRepositoryCredentialsResponse
- Password string
- The password or token used to access an image in the target repository.
- Registry
Url string - The URL of the authentication server used to validate the repository credentials.
- Username string
- The username used to access an image in the target repository.
- Password string
- The password or token used to access an image in the target repository.
- Registry
Url string - The URL of the authentication server used to validate the repository credentials.
- Username string
- The username used to access an image in the target repository.
- password String
- The password or token used to access an image in the target repository.
- registry
Url String - The URL of the authentication server used to validate the repository credentials.
- username String
- The username used to access an image in the target repository.
- password string
- The password or token used to access an image in the target repository.
- registry
Url string - The URL of the authentication server used to validate the repository credentials.
- username string
- The username used to access an image in the target repository.
- password str
- The password or token used to access an image in the target repository.
- registry_
url str - The URL of the authentication server used to validate the repository credentials.
- username str
- The username used to access an image in the target repository.
- password String
- The password or token used to access an image in the target repository.
- registry
Url String - The URL of the authentication server used to validate the repository credentials.
- username String
- The username used to access an image in the target repository.
NetworkAttachmentResponse
- Attached
Network stringId - The resource ID of the associated network attached to the virtual machine. It can be one of cloudServicesNetwork, l3Network, l2Network or trunkedNetwork resources.
- Ip
Allocation stringMethod - The IP allocation mechanism for the virtual machine. Dynamic and Static are only valid for l3Network which may also specify Disabled. Otherwise, Disabled is the only permitted value.
- Mac
Address string - The MAC address of the interface for the virtual machine that corresponds to this network attachment.
- Default
Gateway string - The indicator of whether this is the default gateway. Only one of the attached networks (including the CloudServicesNetwork attachment) for a single machine may be specified as True.
- Ipv4Address string
The IPv4 address of the virtual machine.
This field is used only if the attached network has IPAllocationType of IPV4 or DualStack.
If IPAllocationMethod is: Static - this field must contain a user specified IPv4 address from within the subnet specified in the attached network. Dynamic - this field is read-only, but will be populated with an address from within the subnet specified in the attached network. Disabled - this field will be empty.
- Ipv6Address string
The IPv6 address of the virtual machine.
This field is used only if the attached network has IPAllocationType of IPV6 or DualStack.
If IPAllocationMethod is: Static - this field must contain an IPv6 address range from within the range specified in the attached network. Dynamic - this field is read-only, but will be populated with an range from within the subnet specified in the attached network. Disabled - this field will be empty.
- Network
Attachment stringName - The associated network's interface name. If specified, the network attachment name has a maximum length of 15 characters and must be unique to this virtual machine. If the user doesn’t specify this value, the default interface name of the network resource will be used. For a CloudServicesNetwork resource, this name will be ignored.
- Attached
Network stringId - The resource ID of the associated network attached to the virtual machine. It can be one of cloudServicesNetwork, l3Network, l2Network or trunkedNetwork resources.
- Ip
Allocation stringMethod - The IP allocation mechanism for the virtual machine. Dynamic and Static are only valid for l3Network which may also specify Disabled. Otherwise, Disabled is the only permitted value.
- Mac
Address string - The MAC address of the interface for the virtual machine that corresponds to this network attachment.
- Default
Gateway string - The indicator of whether this is the default gateway. Only one of the attached networks (including the CloudServicesNetwork attachment) for a single machine may be specified as True.
- Ipv4Address string
The IPv4 address of the virtual machine.
This field is used only if the attached network has IPAllocationType of IPV4 or DualStack.
If IPAllocationMethod is: Static - this field must contain a user specified IPv4 address from within the subnet specified in the attached network. Dynamic - this field is read-only, but will be populated with an address from within the subnet specified in the attached network. Disabled - this field will be empty.
- Ipv6Address string
The IPv6 address of the virtual machine.
This field is used only if the attached network has IPAllocationType of IPV6 or DualStack.
If IPAllocationMethod is: Static - this field must contain an IPv6 address range from within the range specified in the attached network. Dynamic - this field is read-only, but will be populated with an range from within the subnet specified in the attached network. Disabled - this field will be empty.
- Network
Attachment stringName - The associated network's interface name. If specified, the network attachment name has a maximum length of 15 characters and must be unique to this virtual machine. If the user doesn’t specify this value, the default interface name of the network resource will be used. For a CloudServicesNetwork resource, this name will be ignored.
- attached
Network StringId - The resource ID of the associated network attached to the virtual machine. It can be one of cloudServicesNetwork, l3Network, l2Network or trunkedNetwork resources.
- ip
Allocation StringMethod - The IP allocation mechanism for the virtual machine. Dynamic and Static are only valid for l3Network which may also specify Disabled. Otherwise, Disabled is the only permitted value.
- mac
Address String - The MAC address of the interface for the virtual machine that corresponds to this network attachment.
- default
Gateway String - The indicator of whether this is the default gateway. Only one of the attached networks (including the CloudServicesNetwork attachment) for a single machine may be specified as True.
- ipv4Address String
The IPv4 address of the virtual machine.
This field is used only if the attached network has IPAllocationType of IPV4 or DualStack.
If IPAllocationMethod is: Static - this field must contain a user specified IPv4 address from within the subnet specified in the attached network. Dynamic - this field is read-only, but will be populated with an address from within the subnet specified in the attached network. Disabled - this field will be empty.
- ipv6Address String
The IPv6 address of the virtual machine.
This field is used only if the attached network has IPAllocationType of IPV6 or DualStack.
If IPAllocationMethod is: Static - this field must contain an IPv6 address range from within the range specified in the attached network. Dynamic - this field is read-only, but will be populated with an range from within the subnet specified in the attached network. Disabled - this field will be empty.
- network
Attachment StringName - The associated network's interface name. If specified, the network attachment name has a maximum length of 15 characters and must be unique to this virtual machine. If the user doesn’t specify this value, the default interface name of the network resource will be used. For a CloudServicesNetwork resource, this name will be ignored.
- attached
Network stringId - The resource ID of the associated network attached to the virtual machine. It can be one of cloudServicesNetwork, l3Network, l2Network or trunkedNetwork resources.
- ip
Allocation stringMethod - The IP allocation mechanism for the virtual machine. Dynamic and Static are only valid for l3Network which may also specify Disabled. Otherwise, Disabled is the only permitted value.
- mac
Address string - The MAC address of the interface for the virtual machine that corresponds to this network attachment.
- default
Gateway string - The indicator of whether this is the default gateway. Only one of the attached networks (including the CloudServicesNetwork attachment) for a single machine may be specified as True.
- ipv4Address string
The IPv4 address of the virtual machine.
This field is used only if the attached network has IPAllocationType of IPV4 or DualStack.
If IPAllocationMethod is: Static - this field must contain a user specified IPv4 address from within the subnet specified in the attached network. Dynamic - this field is read-only, but will be populated with an address from within the subnet specified in the attached network. Disabled - this field will be empty.
- ipv6Address string
The IPv6 address of the virtual machine.
This field is used only if the attached network has IPAllocationType of IPV6 or DualStack.
If IPAllocationMethod is: Static - this field must contain an IPv6 address range from within the range specified in the attached network. Dynamic - this field is read-only, but will be populated with an range from within the subnet specified in the attached network. Disabled - this field will be empty.
- network
Attachment stringName - The associated network's interface name. If specified, the network attachment name has a maximum length of 15 characters and must be unique to this virtual machine. If the user doesn’t specify this value, the default interface name of the network resource will be used. For a CloudServicesNetwork resource, this name will be ignored.
- attached_
network_ strid - The resource ID of the associated network attached to the virtual machine. It can be one of cloudServicesNetwork, l3Network, l2Network or trunkedNetwork resources.
- ip_
allocation_ strmethod - The IP allocation mechanism for the virtual machine. Dynamic and Static are only valid for l3Network which may also specify Disabled. Otherwise, Disabled is the only permitted value.
- mac_
address str - The MAC address of the interface for the virtual machine that corresponds to this network attachment.
- default_
gateway str - The indicator of whether this is the default gateway. Only one of the attached networks (including the CloudServicesNetwork attachment) for a single machine may be specified as True.
- ipv4_
address str The IPv4 address of the virtual machine.
This field is used only if the attached network has IPAllocationType of IPV4 or DualStack.
If IPAllocationMethod is: Static - this field must contain a user specified IPv4 address from within the subnet specified in the attached network. Dynamic - this field is read-only, but will be populated with an address from within the subnet specified in the attached network. Disabled - this field will be empty.
- ipv6_
address str The IPv6 address of the virtual machine.
This field is used only if the attached network has IPAllocationType of IPV6 or DualStack.
If IPAllocationMethod is: Static - this field must contain an IPv6 address range from within the range specified in the attached network. Dynamic - this field is read-only, but will be populated with an range from within the subnet specified in the attached network. Disabled - this field will be empty.
- network_
attachment_ strname - The associated network's interface name. If specified, the network attachment name has a maximum length of 15 characters and must be unique to this virtual machine. If the user doesn’t specify this value, the default interface name of the network resource will be used. For a CloudServicesNetwork resource, this name will be ignored.
- attached
Network StringId - The resource ID of the associated network attached to the virtual machine. It can be one of cloudServicesNetwork, l3Network, l2Network or trunkedNetwork resources.
- ip
Allocation StringMethod - The IP allocation mechanism for the virtual machine. Dynamic and Static are only valid for l3Network which may also specify Disabled. Otherwise, Disabled is the only permitted value.
- mac
Address String - The MAC address of the interface for the virtual machine that corresponds to this network attachment.
- default
Gateway String - The indicator of whether this is the default gateway. Only one of the attached networks (including the CloudServicesNetwork attachment) for a single machine may be specified as True.
- ipv4Address String
The IPv4 address of the virtual machine.
This field is used only if the attached network has IPAllocationType of IPV4 or DualStack.
If IPAllocationMethod is: Static - this field must contain a user specified IPv4 address from within the subnet specified in the attached network. Dynamic - this field is read-only, but will be populated with an address from within the subnet specified in the attached network. Disabled - this field will be empty.
- ipv6Address String
The IPv6 address of the virtual machine.
This field is used only if the attached network has IPAllocationType of IPV6 or DualStack.
If IPAllocationMethod is: Static - this field must contain an IPv6 address range from within the range specified in the attached network. Dynamic - this field is read-only, but will be populated with an range from within the subnet specified in the attached network. Disabled - this field will be empty.
- network
Attachment StringName - The associated network's interface name. If specified, the network attachment name has a maximum length of 15 characters and must be unique to this virtual machine. If the user doesn’t specify this value, the default interface name of the network resource will be used. For a CloudServicesNetwork resource, this name will be ignored.
OsDiskResponse
- Disk
Size doubleGB - The size of the disk in gigabytes. Required if the createOption is Ephemeral.
- Create
Option string - The strategy for creating the OS disk.
- Delete
Option string - The strategy for deleting the OS disk.
- Disk
Size float64GB - The size of the disk in gigabytes. Required if the createOption is Ephemeral.
- Create
Option string - The strategy for creating the OS disk.
- Delete
Option string - The strategy for deleting the OS disk.
- disk
Size DoubleGB - The size of the disk in gigabytes. Required if the createOption is Ephemeral.
- create
Option String - The strategy for creating the OS disk.
- delete
Option String - The strategy for deleting the OS disk.
- disk
Size numberGB - The size of the disk in gigabytes. Required if the createOption is Ephemeral.
- create
Option string - The strategy for creating the OS disk.
- delete
Option string - The strategy for deleting the OS disk.
- disk_
size_ floatgb - The size of the disk in gigabytes. Required if the createOption is Ephemeral.
- create_
option str - The strategy for creating the OS disk.
- delete_
option str - The strategy for deleting the OS disk.
- disk
Size NumberGB - The size of the disk in gigabytes. Required if the createOption is Ephemeral.
- create
Option String - The strategy for creating the OS disk.
- delete
Option String - The strategy for deleting the OS disk.
SshPublicKeyResponse
- Key
Data string - The SSH public key data.
- Key
Data string - The SSH public key data.
- key
Data String - The SSH public key data.
- key
Data string - The SSH public key data.
- key_
data str - The SSH public key data.
- key
Data String - The SSH public key data.
StorageProfileResponse
- Os
Disk Pulumi.Azure Native. Network Cloud. Inputs. Os Disk Response - The disk to use with this virtual machine.
- Volume
Attachments List<string> - The resource IDs of volumes that are requested to be attached to the virtual machine.
- Os
Disk OsDisk Response - The disk to use with this virtual machine.
- Volume
Attachments []string - The resource IDs of volumes that are requested to be attached to the virtual machine.
- os
Disk OsDisk Response - The disk to use with this virtual machine.
- volume
Attachments List<String> - The resource IDs of volumes that are requested to be attached to the virtual machine.
- os
Disk OsDisk Response - The disk to use with this virtual machine.
- volume
Attachments string[] - The resource IDs of volumes that are requested to be attached to the virtual machine.
- os_
disk OsDisk Response - The disk to use with this virtual machine.
- volume_
attachments Sequence[str] - The resource IDs of volumes that are requested to be attached to the virtual machine.
- os
Disk Property Map - The disk to use with this virtual machine.
- volume
Attachments List<String> - The resource IDs of volumes that are requested to be attached to the virtual machine.
SystemDataResponse
- 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.
VirtualMachinePlacementHintResponse
- Hint
Type string - The specification of whether this hint supports affinity or anti-affinity with the referenced resources.
- Resource
Id string - The resource ID of the target object that the placement hints will be checked against, e.g., the bare metal node to host the virtual machine.
- Scheduling
Execution string - The indicator of whether the hint is a hard or soft requirement during scheduling.
- Scope string
- The scope for the virtual machine affinity or anti-affinity placement hint. It should always be "Machine" in the case of node affinity.
- Hint
Type string - The specification of whether this hint supports affinity or anti-affinity with the referenced resources.
- Resource
Id string - The resource ID of the target object that the placement hints will be checked against, e.g., the bare metal node to host the virtual machine.
- Scheduling
Execution string - The indicator of whether the hint is a hard or soft requirement during scheduling.
- Scope string
- The scope for the virtual machine affinity or anti-affinity placement hint. It should always be "Machine" in the case of node affinity.
- hint
Type String - The specification of whether this hint supports affinity or anti-affinity with the referenced resources.
- resource
Id String - The resource ID of the target object that the placement hints will be checked against, e.g., the bare metal node to host the virtual machine.
- scheduling
Execution String - The indicator of whether the hint is a hard or soft requirement during scheduling.
- scope String
- The scope for the virtual machine affinity or anti-affinity placement hint. It should always be "Machine" in the case of node affinity.
- hint
Type string - The specification of whether this hint supports affinity or anti-affinity with the referenced resources.
- resource
Id string - The resource ID of the target object that the placement hints will be checked against, e.g., the bare metal node to host the virtual machine.
- scheduling
Execution string - The indicator of whether the hint is a hard or soft requirement during scheduling.
- scope string
- The scope for the virtual machine affinity or anti-affinity placement hint. It should always be "Machine" in the case of node affinity.
- hint_
type str - The specification of whether this hint supports affinity or anti-affinity with the referenced resources.
- resource_
id str - The resource ID of the target object that the placement hints will be checked against, e.g., the bare metal node to host the virtual machine.
- scheduling_
execution str - The indicator of whether the hint is a hard or soft requirement during scheduling.
- scope str
- The scope for the virtual machine affinity or anti-affinity placement hint. It should always be "Machine" in the case of node affinity.
- hint
Type String - The specification of whether this hint supports affinity or anti-affinity with the referenced resources.
- resource
Id String - The resource ID of the target object that the placement hints will be checked against, e.g., the bare metal node to host the virtual machine.
- scheduling
Execution String - The indicator of whether the hint is a hard or soft requirement during scheduling.
- scope String
- The scope for the virtual machine affinity or anti-affinity placement hint. It should always be "Machine" in the case of node affinity.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0