1. Packages
  2. Azure Native v1
  3. API Docs
  4. scvmm
  5. InventoryItem
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.scvmm.InventoryItem

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

    Defines the inventory item. API Version: 2020-06-05-preview.

    Example Usage

    CreateInventoryItem

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var inventoryItem = new AzureNative.ScVmm.InventoryItem("inventoryItem", new()
        {
            InventoryItemName = "12345678-1234-1234-1234-123456789abc",
            InventoryType = "Cloud",
            ResourceGroupName = "testrg",
            VmmServerName = "ContosoVMMServer",
        });
    
    });
    
    package main
    
    import (
    	scvmm "github.com/pulumi/pulumi-azure-native-sdk/scvmm"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := scvmm.NewInventoryItem(ctx, "inventoryItem", &scvmm.InventoryItemArgs{
    			InventoryItemName: pulumi.String("12345678-1234-1234-1234-123456789abc"),
    			InventoryType:     pulumi.String("Cloud"),
    			ResourceGroupName: pulumi.String("testrg"),
    			VmmServerName:     pulumi.String("ContosoVMMServer"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.scvmm.InventoryItem;
    import com.pulumi.azurenative.scvmm.InventoryItemArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var inventoryItem = new InventoryItem("inventoryItem", InventoryItemArgs.builder()        
                .inventoryItemName("12345678-1234-1234-1234-123456789abc")
                .inventoryType("Cloud")
                .resourceGroupName("testrg")
                .vmmServerName("ContosoVMMServer")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    inventory_item = azure_native.scvmm.InventoryItem("inventoryItem",
        inventory_item_name="12345678-1234-1234-1234-123456789abc",
        inventory_type="Cloud",
        resource_group_name="testrg",
        vmm_server_name="ContosoVMMServer")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const inventoryItem = new azure_native.scvmm.InventoryItem("inventoryItem", {
        inventoryItemName: "12345678-1234-1234-1234-123456789abc",
        inventoryType: "Cloud",
        resourceGroupName: "testrg",
        vmmServerName: "ContosoVMMServer",
    });
    
    resources:
      inventoryItem:
        type: azure-native:scvmm:InventoryItem
        properties:
          inventoryItemName: 12345678-1234-1234-1234-123456789abc
          inventoryType: Cloud
          resourceGroupName: testrg
          vmmServerName: ContosoVMMServer
    

    Create InventoryItem Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new InventoryItem(name: string, args: InventoryItemArgs, opts?: CustomResourceOptions);
    @overload
    def InventoryItem(resource_name: str,
                      args: InventoryItemArgs,
                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def InventoryItem(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      inventory_type: Optional[Union[str, InventoryType]] = None,
                      resource_group_name: Optional[str] = None,
                      vmm_server_name: Optional[str] = None,
                      inventory_item_name: Optional[str] = None,
                      kind: Optional[str] = None)
    func NewInventoryItem(ctx *Context, name string, args InventoryItemArgs, opts ...ResourceOption) (*InventoryItem, error)
    public InventoryItem(string name, InventoryItemArgs args, CustomResourceOptions? opts = null)
    public InventoryItem(String name, InventoryItemArgs args)
    public InventoryItem(String name, InventoryItemArgs args, CustomResourceOptions options)
    
    type: azure-native:scvmm:InventoryItem
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args InventoryItemArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args InventoryItemArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args InventoryItemArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args InventoryItemArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args InventoryItemArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var azure_nativeInventoryItemResource = new AzureNative.Scvmm.InventoryItem("azure-nativeInventoryItemResource", new()
    {
        InventoryType = "string",
        ResourceGroupName = "string",
        VmmServerName = "string",
        InventoryItemName = "string",
        Kind = "string",
    });
    
    example, err := scvmm.NewInventoryItem(ctx, "azure-nativeInventoryItemResource", &scvmm.InventoryItemArgs{
    	InventoryType:     "string",
    	ResourceGroupName: "string",
    	VmmServerName:     "string",
    	InventoryItemName: "string",
    	Kind:              "string",
    })
    
    var azure_nativeInventoryItemResource = new InventoryItem("azure-nativeInventoryItemResource", InventoryItemArgs.builder()
        .inventoryType("string")
        .resourceGroupName("string")
        .vmmServerName("string")
        .inventoryItemName("string")
        .kind("string")
        .build());
    
    azure_native_inventory_item_resource = azure_native.scvmm.InventoryItem("azure-nativeInventoryItemResource",
        inventory_type=string,
        resource_group_name=string,
        vmm_server_name=string,
        inventory_item_name=string,
        kind=string)
    
    const azure_nativeInventoryItemResource = new azure_native.scvmm.InventoryItem("azure-nativeInventoryItemResource", {
        inventoryType: "string",
        resourceGroupName: "string",
        vmmServerName: "string",
        inventoryItemName: "string",
        kind: "string",
    });
    
    type: azure-native:scvmm:InventoryItem
    properties:
        inventoryItemName: string
        inventoryType: string
        kind: string
        resourceGroupName: string
        vmmServerName: string
    

    InventoryItem Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The InventoryItem resource accepts the following input properties:

    InventoryType string | Pulumi.AzureNative.ScVmm.InventoryType
    They inventory type.
    ResourceGroupName string
    The name of the resource group.
    VmmServerName string
    Name of the VMMServer.
    InventoryItemName string
    Name of the inventoryItem.
    Kind string
    Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.
    InventoryType string | InventoryType
    They inventory type.
    ResourceGroupName string
    The name of the resource group.
    VmmServerName string
    Name of the VMMServer.
    InventoryItemName string
    Name of the inventoryItem.
    Kind string
    Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.
    inventoryType String | InventoryType
    They inventory type.
    resourceGroupName String
    The name of the resource group.
    vmmServerName String
    Name of the VMMServer.
    inventoryItemName String
    Name of the inventoryItem.
    kind String
    Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.
    inventoryType string | InventoryType
    They inventory type.
    resourceGroupName string
    The name of the resource group.
    vmmServerName string
    Name of the VMMServer.
    inventoryItemName string
    Name of the inventoryItem.
    kind string
    Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.
    inventory_type str | InventoryType
    They inventory type.
    resource_group_name str
    The name of the resource group.
    vmm_server_name str
    Name of the VMMServer.
    inventory_item_name str
    Name of the inventoryItem.
    kind str
    Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.
    inventoryType String | "Cloud" | "VirtualNetwork" | "VirtualMachineTemplate" | "VirtualMachine"
    They inventory type.
    resourceGroupName String
    The name of the resource group.
    vmmServerName String
    Name of the VMMServer.
    inventoryItemName String
    Name of the inventoryItem.
    kind String
    Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    ManagedResourceId string
    Gets the tracked resource id corresponding to the inventory resource.
    Name string
    The name of the resource
    ProvisioningState string
    Gets the provisioning state.
    SystemData Pulumi.AzureNative.ScVmm.Outputs.SystemDataResponse
    The system data.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Uuid string
    Gets the UUID (which is assigned by VMM) for the inventory item.
    Id string
    The provider-assigned unique ID for this managed resource.
    ManagedResourceId string
    Gets the tracked resource id corresponding to the inventory resource.
    Name string
    The name of the resource
    ProvisioningState string
    Gets the provisioning state.
    SystemData SystemDataResponse
    The system data.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Uuid string
    Gets the UUID (which is assigned by VMM) for the inventory item.
    id String
    The provider-assigned unique ID for this managed resource.
    managedResourceId String
    Gets the tracked resource id corresponding to the inventory resource.
    name String
    The name of the resource
    provisioningState String
    Gets the provisioning state.
    systemData SystemDataResponse
    The system data.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    uuid String
    Gets the UUID (which is assigned by VMM) for the inventory item.
    id string
    The provider-assigned unique ID for this managed resource.
    managedResourceId string
    Gets the tracked resource id corresponding to the inventory resource.
    name string
    The name of the resource
    provisioningState string
    Gets the provisioning state.
    systemData SystemDataResponse
    The system data.
    type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    uuid string
    Gets the UUID (which is assigned by VMM) for the inventory item.
    id str
    The provider-assigned unique ID for this managed resource.
    managed_resource_id str
    Gets the tracked resource id corresponding to the inventory resource.
    name str
    The name of the resource
    provisioning_state str
    Gets the provisioning state.
    system_data SystemDataResponse
    The system data.
    type str
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    uuid str
    Gets the UUID (which is assigned by VMM) for the inventory item.
    id String
    The provider-assigned unique ID for this managed resource.
    managedResourceId String
    Gets the tracked resource id corresponding to the inventory resource.
    name String
    The name of the resource
    provisioningState String
    Gets the provisioning state.
    systemData Property Map
    The system data.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    uuid String
    Gets the UUID (which is assigned by VMM) for the inventory item.

    Supporting Types

    InventoryType, InventoryTypeArgs

    Cloud
    Cloud
    VirtualNetwork
    VirtualNetwork
    VirtualMachineTemplate
    VirtualMachineTemplate
    VirtualMachine
    VirtualMachine
    InventoryTypeCloud
    Cloud
    InventoryTypeVirtualNetwork
    VirtualNetwork
    InventoryTypeVirtualMachineTemplate
    VirtualMachineTemplate
    InventoryTypeVirtualMachine
    VirtualMachine
    Cloud
    Cloud
    VirtualNetwork
    VirtualNetwork
    VirtualMachineTemplate
    VirtualMachineTemplate
    VirtualMachine
    VirtualMachine
    Cloud
    Cloud
    VirtualNetwork
    VirtualNetwork
    VirtualMachineTemplate
    VirtualMachineTemplate
    VirtualMachine
    VirtualMachine
    CLOUD
    Cloud
    VIRTUAL_NETWORK
    VirtualNetwork
    VIRTUAL_MACHINE_TEMPLATE
    VirtualMachineTemplate
    VIRTUAL_MACHINE
    VirtualMachine
    "Cloud"
    Cloud
    "VirtualNetwork"
    VirtualNetwork
    "VirtualMachineTemplate"
    VirtualMachineTemplate
    "VirtualMachine"
    VirtualMachine

    SystemDataResponse, SystemDataResponseArgs

    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.
    createdAt string
    The timestamp of resource creation (UTC).
    createdBy string
    The identity that created the resource.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource last modification (UTC)
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    The type of identity that last modified the resource.
    created_at str
    The timestamp of resource creation (UTC).
    created_by str
    The identity that created the resource.
    created_by_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource last modification (UTC)
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.

    Import

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

    $ pulumi import azure-native:scvmm:InventoryItem 12345678-1234-1234-1234-123456789abc /subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer/InventoryItems/12345678-1234-1234-1234-123456789abc 
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    azure-native-v1 pulumi/pulumi-azure-native
    License
    Apache-2.0
    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