azure-native-v2.scvmm.InventoryItem
Explore with Pulumi AI
Defines the inventory item. Azure REST API version: 2022-05-21-preview. Prior API version in Azure Native 1.x: 2020-06-05-preview.
Other available API versions: 2023-04-01-preview, 2023-10-07, 2024-06-01.
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
This property is required. string - The unique name of the resource.
- args
This property is required. InventoryItemArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
This property is required. str - The unique name of the resource.
- args
This property is required. 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
This property is required. string - The unique name of the resource.
- args
This property is required. InventoryItemArgs - The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. InventoryItemArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name
This property is required. String - The unique name of the resource.
- args
This property is required. 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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The InventoryItem resource accepts the following input properties:
- Inventory
Type This property is required. string | Pulumi.Azure Native. Sc Vmm. Inventory Type - They inventory type.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group.
- Vmm
Server Name This property is required. Changes to this property will trigger replacement.
- Name of the VMMServer.
- Inventory
Item Name Changes to this property will trigger replacement.
- 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 This property is required. string | InventoryType - They inventory type.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group.
- Vmm
Server Name This property is required. Changes to this property will trigger replacement.
- Name of the VMMServer.
- Inventory
Item Name Changes to this property will trigger replacement.
- 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 This property is required. String | InventoryType - They inventory type.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group.
- vmm
Server Name This property is required. Changes to this property will trigger replacement.
- Name of the VMMServer.
- inventory
Item Name Changes to this property will trigger replacement.
- 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 This property is required. string | InventoryType - They inventory type.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group.
- vmm
Server Name This property is required. Changes to this property will trigger replacement.
- Name of the VMMServer.
- inventory
Item Name Changes to this property will trigger replacement.
- 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 This property is required. str | InventoryType - They inventory type.
- resource_
group_ name This property is required. Changes to this property will trigger replacement.
- The name of the resource group.
- vmm_
server_ name This property is required. Changes to this property will trigger replacement.
- Name of the VMMServer.
- inventory_
item_ name Changes to this property will trigger replacement.
- 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.
- inventory
Type This property is required. String | "Cloud" | "VirtualNetwork" | "Virtual Machine Template" | "Virtual Machine" - They inventory type.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group.
- vmm
Server Name This property is required. Changes to this property will trigger replacement.
- Name of the VMMServer.
- inventory
Item Name Changes to this property will trigger replacement.
- 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.
- Managed
Resource stringId - Gets the tracked resource id corresponding to the inventory resource.
- Name string
- The name of the resource
- Provisioning
State string - Gets the provisioning state.
- System
Data Pulumi.Azure Native. Sc Vmm. 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"
- 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.
- Managed
Resource stringId - Gets the tracked resource id corresponding to the inventory resource.
- Name string
- The name of the resource
- Provisioning
State string - Gets the provisioning state.
- 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"
- 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.
- managed
Resource StringId - Gets the tracked resource id corresponding to the inventory resource.
- name String
- The name of the resource
- provisioning
State String - Gets the provisioning state.
- 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"
- 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.
- managed
Resource stringId - Gets the tracked resource id corresponding to the inventory resource.
- name string
- The name of the resource
- provisioning
State string - Gets the provisioning state.
- 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"
- 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_ strid - 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 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"
- 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.
- managed
Resource StringId - Gets the tracked resource id corresponding to the inventory resource.
- name String
- The name of the resource
- provisioning
State String - Gets the provisioning state.
- 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"
- uuid String
- Gets the UUID (which is assigned by VMM) for the inventory item.
Supporting Types
InventoryType, InventoryTypeArgs
- Cloud
- Cloud
- Virtual
Network - VirtualNetwork
- Virtual
Machine Template - VirtualMachineTemplate
- Virtual
Machine - VirtualMachine
- Inventory
Type Cloud - Cloud
- Inventory
Type Virtual Network - VirtualNetwork
- Inventory
Type Virtual Machine Template - VirtualMachineTemplate
- Inventory
Type Virtual Machine - VirtualMachine
- Cloud
- Cloud
- Virtual
Network - VirtualNetwork
- Virtual
Machine Template - VirtualMachineTemplate
- Virtual
Machine - VirtualMachine
- Cloud
- Cloud
- Virtual
Network - VirtualNetwork
- Virtual
Machine Template - VirtualMachineTemplate
- Virtual
Machine - VirtualMachine
- CLOUD
- Cloud
- VIRTUAL_NETWORK
- VirtualNetwork
- VIRTUAL_MACHINE_TEMPLATE
- VirtualMachineTemplate
- VIRTUAL_MACHINE
- VirtualMachine
- "Cloud"
- Cloud
- "Virtual
Network" - VirtualNetwork
- "Virtual
Machine Template" - VirtualMachineTemplate
- "Virtual
Machine" - VirtualMachine
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:scvmm:InventoryItem 12345678-1234-1234-1234-123456789abc /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/vmmServers/{vmmServerName}/inventoryItems/{inventoryItemName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v2 pulumi/pulumi-azure-native
- License
- Apache-2.0