1. Packages
  2. Azure Native v1
  3. API Docs
  4. networkcloud
  5. getVirtualMachine
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.networkcloud.getVirtualMachine

Explore with Pulumi AI

azure-native-v1 logo
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

    Get properties of the provided virtual machine. API Version: 2022-12-12-preview.

    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:

    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    VirtualMachineName string
    The name of the virtual machine.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    VirtualMachineName string
    The name of the virtual machine.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    virtualMachineName String
    The name of the virtual machine.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    virtualMachineName string
    The name of the virtual machine.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    virtual_machine_name str
    The name of the virtual machine.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    virtualMachineName String
    The name of the virtual machine.

    getVirtualMachine Result

    The following output properties are available:

    AdminUsername string
    The name of the administrator to which the ssh public keys will be added into the authorized keys.
    BareMetalMachineId string
    The resource ID of the bare metal machine the virtual machine has landed to.
    CloudServicesNetworkAttachment Pulumi.AzureNative.NetworkCloud.Outputs.NetworkAttachmentResponse
    The cloud service network that provides platform-level services for the virtual machine.
    ClusterId string
    The resource ID of the cluster the virtual machine is created for.
    CpuCores double
    The number of CPU cores in the virtual machine.
    DetailedStatus string
    The more detailed status of the virtual machine.
    DetailedStatusMessage string
    The descriptive message about the current detailed status.
    ExtendedLocation Pulumi.AzureNative.NetworkCloud.Outputs.ExtendedLocationResponse
    The extended location of the cluster associated with the resource.
    Id string
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    Location string
    The geo-location where the resource lives
    MemorySizeGB double
    The memory size of the virtual machine in GB.
    Name string
    The name of the resource
    PowerState string
    The power state of the virtual machine.
    ProvisioningState string
    The provisioning state of the virtual machine.
    StorageProfile Pulumi.AzureNative.NetworkCloud.Outputs.StorageProfileResponse
    The storage profile that specifies size and other parameters about the disks related to the virtual machine.
    SystemData Pulumi.AzureNative.NetworkCloud.Outputs.SystemDataResponse
    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"
    VmImage 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.
    BootMethod string
    Selects the boot method for the virtual machine.
    IsolateEmulatorThread string
    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.
    NetworkAttachments List<Pulumi.AzureNative.NetworkCloud.Outputs.NetworkAttachmentResponse>
    The list of network attachments to the virtual machine.
    NetworkData string
    The Base64 encoded cloud-init network data.
    PlacementHints List<Pulumi.AzureNative.NetworkCloud.Outputs.VirtualMachinePlacementHintResponse>
    The scheduling hints for the virtual machine.
    SshPublicKeys List<Pulumi.AzureNative.NetworkCloud.Outputs.SshPublicKeyResponse>
    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.
    Tags Dictionary<string, string>
    Resource tags.
    UserData string
    The Base64 encoded cloud-init user data.
    VirtioInterface string
    Field Deprecated, use virtualizationModel instead. The type of the virtio interface.
    VmDeviceModel string
    The type of the device model to use.
    VmImageRepositoryCredentials Pulumi.AzureNative.NetworkCloud.Outputs.ImageRepositoryCredentialsResponse
    The credentials used to login to the image repository that has access to the specified image.
    AdminUsername string
    The name of the administrator to which the ssh public keys will be added into the authorized keys.
    BareMetalMachineId string
    The resource ID of the bare metal machine the virtual machine has landed to.
    CloudServicesNetworkAttachment NetworkAttachmentResponse
    The cloud service network that provides platform-level services for the virtual machine.
    ClusterId string
    The resource ID of the cluster the virtual machine is created for.
    CpuCores float64
    The number of CPU cores in the virtual machine.
    DetailedStatus string
    The more detailed status of the virtual machine.
    DetailedStatusMessage string
    The descriptive message about the current detailed status.
    ExtendedLocation ExtendedLocationResponse
    The extended location of the cluster associated with the resource.
    Id string
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    Location string
    The geo-location where the resource lives
    MemorySizeGB float64
    The memory size of the virtual machine in GB.
    Name string
    The name of the resource
    PowerState string
    The power state of the virtual machine.
    ProvisioningState string
    The provisioning state of the virtual machine.
    StorageProfile StorageProfileResponse
    The storage profile that specifies size and other parameters about the disks related to the virtual machine.
    SystemData SystemDataResponse
    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"
    VmImage 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.
    BootMethod string
    Selects the boot method for the virtual machine.
    IsolateEmulatorThread string
    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.
    NetworkAttachments []NetworkAttachmentResponse
    The list of network attachments to the virtual machine.
    NetworkData string
    The Base64 encoded cloud-init network data.
    PlacementHints []VirtualMachinePlacementHintResponse
    The scheduling hints for the virtual machine.
    SshPublicKeys []SshPublicKeyResponse
    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.
    Tags map[string]string
    Resource tags.
    UserData string
    The Base64 encoded cloud-init user data.
    VirtioInterface string
    Field Deprecated, use virtualizationModel instead. The type of the virtio interface.
    VmDeviceModel string
    The type of the device model to use.
    VmImageRepositoryCredentials ImageRepositoryCredentialsResponse
    The credentials used to login to the image repository that has access to the specified image.
    adminUsername String
    The name of the administrator to which the ssh public keys will be added into the authorized keys.
    bareMetalMachineId String
    The resource ID of the bare metal machine the virtual machine has landed to.
    cloudServicesNetworkAttachment NetworkAttachmentResponse
    The cloud service network that provides platform-level services for the virtual machine.
    clusterId String
    The resource ID of the cluster the virtual machine is created for.
    cpuCores Double
    The number of CPU cores in the virtual machine.
    detailedStatus String
    The more detailed status of the virtual machine.
    detailedStatusMessage String
    The descriptive message about the current detailed status.
    extendedLocation ExtendedLocationResponse
    The extended location of the cluster associated with the resource.
    id String
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    location String
    The geo-location where the resource lives
    memorySizeGB Double
    The memory size of the virtual machine in GB.
    name String
    The name of the resource
    powerState String
    The power state of the virtual machine.
    provisioningState String
    The provisioning state of the virtual machine.
    storageProfile StorageProfileResponse
    The storage profile that specifies size and other parameters about the disks related to the virtual machine.
    systemData SystemDataResponse
    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"
    vmImage 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.
    bootMethod String
    Selects the boot method for the virtual machine.
    isolateEmulatorThread String
    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.
    networkAttachments List<NetworkAttachmentResponse>
    The list of network attachments to the virtual machine.
    networkData String
    The Base64 encoded cloud-init network data.
    placementHints List<VirtualMachinePlacementHintResponse>
    The scheduling hints for the virtual machine.
    sshPublicKeys List<SshPublicKeyResponse>
    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.
    tags Map<String,String>
    Resource tags.
    userData String
    The Base64 encoded cloud-init user data.
    virtioInterface String
    Field Deprecated, use virtualizationModel instead. The type of the virtio interface.
    vmDeviceModel String
    The type of the device model to use.
    vmImageRepositoryCredentials ImageRepositoryCredentialsResponse
    The credentials used to login to the image repository that has access to the specified image.
    adminUsername string
    The name of the administrator to which the ssh public keys will be added into the authorized keys.
    bareMetalMachineId string
    The resource ID of the bare metal machine the virtual machine has landed to.
    cloudServicesNetworkAttachment NetworkAttachmentResponse
    The cloud service network that provides platform-level services for the virtual machine.
    clusterId string
    The resource ID of the cluster the virtual machine is created for.
    cpuCores number
    The number of CPU cores in the virtual machine.
    detailedStatus string
    The more detailed status of the virtual machine.
    detailedStatusMessage string
    The descriptive message about the current detailed status.
    extendedLocation ExtendedLocationResponse
    The extended location of the cluster associated with the resource.
    id string
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    location string
    The geo-location where the resource lives
    memorySizeGB number
    The memory size of the virtual machine in GB.
    name string
    The name of the resource
    powerState string
    The power state of the virtual machine.
    provisioningState string
    The provisioning state of the virtual machine.
    storageProfile StorageProfileResponse
    The storage profile that specifies size and other parameters about the disks related to the virtual machine.
    systemData SystemDataResponse
    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"
    vmImage 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.
    bootMethod string
    Selects the boot method for the virtual machine.
    isolateEmulatorThread string
    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.
    networkAttachments NetworkAttachmentResponse[]
    The list of network attachments to the virtual machine.
    networkData string
    The Base64 encoded cloud-init network data.
    placementHints VirtualMachinePlacementHintResponse[]
    The scheduling hints for the virtual machine.
    sshPublicKeys SshPublicKeyResponse[]
    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.
    tags {[key: string]: string}
    Resource tags.
    userData string
    The Base64 encoded cloud-init user data.
    virtioInterface string
    Field Deprecated, use virtualizationModel instead. The type of the virtio interface.
    vmDeviceModel string
    The type of the device model to use.
    vmImageRepositoryCredentials ImageRepositoryCredentialsResponse
    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.
    bare_metal_machine_id str
    The resource ID of the bare metal machine the virtual machine has landed to.
    cloud_services_network_attachment NetworkAttachmentResponse
    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_message str
    The descriptive message about the current detailed status.
    extended_location ExtendedLocationResponse
    The extended location of the cluster associated with the resource.
    id str
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    location str
    The geo-location where the resource lives
    memory_size_gb float
    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 StorageProfileResponse
    The storage profile that specifies size and other parameters about the disks related to the virtual machine.
    system_data SystemDataResponse
    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_thread str
    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[NetworkAttachmentResponse]
    The list of network attachments to the virtual machine.
    network_data str
    The Base64 encoded cloud-init network data.
    placement_hints Sequence[VirtualMachinePlacementHintResponse]
    The scheduling hints for the virtual machine.
    ssh_public_keys Sequence[SshPublicKeyResponse]
    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.
    tags 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_model str
    The type of the device model to use.
    vm_image_repository_credentials ImageRepositoryCredentialsResponse
    The credentials used to login to the image repository that has access to the specified image.
    adminUsername String
    The name of the administrator to which the ssh public keys will be added into the authorized keys.
    bareMetalMachineId String
    The resource ID of the bare metal machine the virtual machine has landed to.
    cloudServicesNetworkAttachment Property Map
    The cloud service network that provides platform-level services for the virtual machine.
    clusterId String
    The resource ID of the cluster the virtual machine is created for.
    cpuCores Number
    The number of CPU cores in the virtual machine.
    detailedStatus String
    The more detailed status of the virtual machine.
    detailedStatusMessage String
    The descriptive message about the current detailed status.
    extendedLocation Property Map
    The extended location of the cluster associated with the resource.
    id String
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    location String
    The geo-location where the resource lives
    memorySizeGB Number
    The memory size of the virtual machine in GB.
    name String
    The name of the resource
    powerState String
    The power state of the virtual machine.
    provisioningState String
    The provisioning state of the virtual machine.
    storageProfile Property Map
    The storage profile that specifies size and other parameters about the disks related to the virtual machine.
    systemData 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"
    vmImage 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.
    bootMethod String
    Selects the boot method for the virtual machine.
    isolateEmulatorThread String
    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.
    networkAttachments List<Property Map>
    The list of network attachments to the virtual machine.
    networkData String
    The Base64 encoded cloud-init network data.
    placementHints List<Property Map>
    The scheduling hints for the virtual machine.
    sshPublicKeys List<Property Map>
    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.
    tags Map<String>
    Resource tags.
    userData String
    The Base64 encoded cloud-init user data.
    virtioInterface String
    Field Deprecated, use virtualizationModel instead. The type of the virtio interface.
    vmDeviceModel String
    The type of the device model to use.
    vmImageRepositoryCredentials Property Map
    The credentials used to login to the image repository that has access to the specified image.

    Supporting Types

    ExtendedLocationResponse

    Name string
    The resource ID of the extended location on which the resource will be created.
    Type string
    The extended location type, for example, CustomLocation.
    Name string
    The resource ID of the extended location on which the resource will be created.
    Type string
    The extended location type, for example, CustomLocation.
    name String
    The resource ID of the extended location on which the resource will be created.
    type String
    The extended location type, for example, CustomLocation.
    name string
    The resource ID of the extended location on which the resource will be created.
    type string
    The extended location type, for example, CustomLocation.
    name str
    The resource ID of the extended location on which the resource will be created.
    type str
    The extended location type, for example, CustomLocation.
    name String
    The resource ID of the extended location on which the resource will be created.
    type String
    The extended location type, for example, CustomLocation.

    ImageRepositoryCredentialsResponse

    Password string
    The password or token used to access an image in the target repository.
    RegistryUrl 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.
    RegistryUrl 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.
    registryUrl 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.
    registryUrl 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.
    registryUrl 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

    AttachedNetworkId string
    The resource ID of the associated network attached to the virtual machine. It can be one of cloudServicesNetwork, l3Network, l2Network or trunkedNetwork resources.
    IpAllocationMethod string
    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.
    MacAddress string
    The MAC address of the interface for the virtual machine that corresponds to this network attachment.
    DefaultGateway 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.

    NetworkAttachmentName string
    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.
    AttachedNetworkId string
    The resource ID of the associated network attached to the virtual machine. It can be one of cloudServicesNetwork, l3Network, l2Network or trunkedNetwork resources.
    IpAllocationMethod string
    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.
    MacAddress string
    The MAC address of the interface for the virtual machine that corresponds to this network attachment.
    DefaultGateway 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.

    NetworkAttachmentName string
    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.
    attachedNetworkId String
    The resource ID of the associated network attached to the virtual machine. It can be one of cloudServicesNetwork, l3Network, l2Network or trunkedNetwork resources.
    ipAllocationMethod String
    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.
    macAddress String
    The MAC address of the interface for the virtual machine that corresponds to this network attachment.
    defaultGateway 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.

    networkAttachmentName String
    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.
    attachedNetworkId string
    The resource ID of the associated network attached to the virtual machine. It can be one of cloudServicesNetwork, l3Network, l2Network or trunkedNetwork resources.
    ipAllocationMethod string
    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.
    macAddress string
    The MAC address of the interface for the virtual machine that corresponds to this network attachment.
    defaultGateway 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.

    networkAttachmentName string
    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_id str
    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_method str
    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_name str
    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.
    attachedNetworkId String
    The resource ID of the associated network attached to the virtual machine. It can be one of cloudServicesNetwork, l3Network, l2Network or trunkedNetwork resources.
    ipAllocationMethod String
    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.
    macAddress String
    The MAC address of the interface for the virtual machine that corresponds to this network attachment.
    defaultGateway 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.

    networkAttachmentName String
    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

    DiskSizeGB double
    The size of the disk in gigabytes. Required if the createOption is Ephemeral.
    CreateOption string
    The strategy for creating the OS disk.
    DeleteOption string
    The strategy for deleting the OS disk.
    DiskSizeGB float64
    The size of the disk in gigabytes. Required if the createOption is Ephemeral.
    CreateOption string
    The strategy for creating the OS disk.
    DeleteOption string
    The strategy for deleting the OS disk.
    diskSizeGB Double
    The size of the disk in gigabytes. Required if the createOption is Ephemeral.
    createOption String
    The strategy for creating the OS disk.
    deleteOption String
    The strategy for deleting the OS disk.
    diskSizeGB number
    The size of the disk in gigabytes. Required if the createOption is Ephemeral.
    createOption string
    The strategy for creating the OS disk.
    deleteOption string
    The strategy for deleting the OS disk.
    disk_size_gb float
    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.
    diskSizeGB Number
    The size of the disk in gigabytes. Required if the createOption is Ephemeral.
    createOption String
    The strategy for creating the OS disk.
    deleteOption String
    The strategy for deleting the OS disk.

    SshPublicKeyResponse

    KeyData string
    The public ssh key of the user.
    KeyData string
    The public ssh key of the user.
    keyData String
    The public ssh key of the user.
    keyData string
    The public ssh key of the user.
    key_data str
    The public ssh key of the user.
    keyData String
    The public ssh key of the user.

    StorageProfileResponse

    OsDisk Pulumi.AzureNative.NetworkCloud.Inputs.OsDiskResponse
    The disk to use with this virtual machine.
    VolumeAttachments List<string>
    The resource IDs of volumes that are requested to be attached to the virtual machine.
    OsDisk OsDiskResponse
    The disk to use with this virtual machine.
    VolumeAttachments []string
    The resource IDs of volumes that are requested to be attached to the virtual machine.
    osDisk OsDiskResponse
    The disk to use with this virtual machine.
    volumeAttachments List<String>
    The resource IDs of volumes that are requested to be attached to the virtual machine.
    osDisk OsDiskResponse
    The disk to use with this virtual machine.
    volumeAttachments string[]
    The resource IDs of volumes that are requested to be attached to the virtual machine.
    os_disk OsDiskResponse
    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.
    osDisk Property Map
    The disk to use with this virtual machine.
    volumeAttachments List<String>
    The resource IDs of volumes that are requested to be attached to the virtual machine.

    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.

    VirtualMachinePlacementHintResponse

    HintType string
    The specification of whether this hint supports affinity or anti-affinity with the referenced resources.
    ResourceId 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.
    SchedulingExecution 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.
    HintType string
    The specification of whether this hint supports affinity or anti-affinity with the referenced resources.
    ResourceId 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.
    SchedulingExecution 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.
    hintType String
    The specification of whether this hint supports affinity or anti-affinity with the referenced resources.
    resourceId 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.
    schedulingExecution 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.
    hintType string
    The specification of whether this hint supports affinity or anti-affinity with the referenced resources.
    resourceId 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.
    schedulingExecution 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.
    hintType String
    The specification of whether this hint supports affinity or anti-affinity with the referenced resources.
    resourceId 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.
    schedulingExecution 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-v1 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v1 logo
    These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
    Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi