junipermist.org.Inventory
Explore with Pulumi AI
This resource manages the Org Inventory.
It can be used to claim, unclaim, assign, unassign, reassign devices.
->Removing a device from the devices list or inventory map will NOT release it unless unclaim_when_destroyed is set to true
!> The devices attribute (List) is deprecated and is replaced by the inventory attribute (Map) as it can generate “inconsistent result after apply” errors. If this happens, it is required to force a refresh of the state to synchronise the new list.
The devices attribute will generate inconsistent result after apply when a device other than the last one is removed from the list or when a device is added somewhere other than the end of the list
Create Inventory Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Inventory(name: string, args: InventoryArgs, opts?: CustomResourceOptions);@overload
def Inventory(resource_name: str,
              args: InventoryArgs,
              opts: Optional[ResourceOptions] = None)
@overload
def Inventory(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              org_id: Optional[str] = None,
              devices: Optional[Sequence[InventoryDeviceArgs]] = None,
              inventory: Optional[Mapping[str, InventoryInventoryArgs]] = None)func NewInventory(ctx *Context, name string, args InventoryArgs, opts ...ResourceOption) (*Inventory, error)public Inventory(string name, InventoryArgs args, CustomResourceOptions? opts = null)
public Inventory(String name, InventoryArgs args)
public Inventory(String name, InventoryArgs args, CustomResourceOptions options)
type: junipermist:org:Inventory
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 InventoryArgs
- 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 InventoryArgs
- 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 InventoryArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args InventoryArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args InventoryArgs
- 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 inventoryResource = new JuniperMist.Org.Inventory("inventoryResource", new()
{
    OrgId = "string",
    InventoryDetails = 
    {
        { "string", new JuniperMist.Org.Inputs.InventoryInventoryArgs
        {
            ClaimCode = "string",
            DeviceprofileId = "string",
            Hostname = "string",
            Id = "string",
            Mac = "string",
            Model = "string",
            OrgId = "string",
            Serial = "string",
            SiteId = "string",
            Type = "string",
            UnclaimWhenDestroyed = false,
            VcMac = "string",
        } },
    },
});
example, err := org.NewInventory(ctx, "inventoryResource", &org.InventoryArgs{
	OrgId: pulumi.String("string"),
	Inventory: org.InventoryInventoryMap{
		"string": &org.InventoryInventoryArgs{
			ClaimCode:            pulumi.String("string"),
			DeviceprofileId:      pulumi.String("string"),
			Hostname:             pulumi.String("string"),
			Id:                   pulumi.String("string"),
			Mac:                  pulumi.String("string"),
			Model:                pulumi.String("string"),
			OrgId:                pulumi.String("string"),
			Serial:               pulumi.String("string"),
			SiteId:               pulumi.String("string"),
			Type:                 pulumi.String("string"),
			UnclaimWhenDestroyed: pulumi.Bool(false),
			VcMac:                pulumi.String("string"),
		},
	},
})
var inventoryResource = new Inventory("inventoryResource", InventoryArgs.builder()
    .orgId("string")
    .inventory(Map.of("string", Map.ofEntries(
        Map.entry("claimCode", "string"),
        Map.entry("deviceprofileId", "string"),
        Map.entry("hostname", "string"),
        Map.entry("id", "string"),
        Map.entry("mac", "string"),
        Map.entry("model", "string"),
        Map.entry("orgId", "string"),
        Map.entry("serial", "string"),
        Map.entry("siteId", "string"),
        Map.entry("type", "string"),
        Map.entry("unclaimWhenDestroyed", false),
        Map.entry("vcMac", "string")
    )))
    .build());
inventory_resource = junipermist.org.Inventory("inventoryResource",
    org_id="string",
    inventory={
        "string": {
            "claim_code": "string",
            "deviceprofile_id": "string",
            "hostname": "string",
            "id": "string",
            "mac": "string",
            "model": "string",
            "org_id": "string",
            "serial": "string",
            "site_id": "string",
            "type": "string",
            "unclaim_when_destroyed": False,
            "vc_mac": "string",
        },
    })
const inventoryResource = new junipermist.org.Inventory("inventoryResource", {
    orgId: "string",
    inventory: {
        string: {
            claimCode: "string",
            deviceprofileId: "string",
            hostname: "string",
            id: "string",
            mac: "string",
            model: "string",
            orgId: "string",
            serial: "string",
            siteId: "string",
            type: "string",
            unclaimWhenDestroyed: false,
            vcMac: "string",
        },
    },
});
type: junipermist:org:Inventory
properties:
    inventory:
        string:
            claimCode: string
            deviceprofileId: string
            hostname: string
            id: string
            mac: string
            model: string
            orgId: string
            serial: string
            siteId: string
            type: string
            unclaimWhenDestroyed: false
            vcMac: string
    orgId: string
Inventory 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 Inventory resource accepts the following input properties:
- OrgId string
- Devices
List<Pulumi.Juniper Mist. Org. Inputs. Inventory Device> 
- DEPRECATED The devicesattribute has been deprecated in version v0.2.0 of the Juniper-Mist Provider. It has been replaced with theinventorymap and may be removed in future versions. Please update your configurations to use theinventoryattribute. List of devices to manage. Exactly one ofclaim_codeormacfield must be set
- InventoryDetails Dictionary<string, Pulumi.Juniper Mist. Org. Inputs. Inventory Inventory Args> 
- Property key can be the device Claim Code or the device MAC Address: * Claim Code: used to claim the device to the Mist
Organization and manage it. Format is [0-9A-Z]{15}(e.g01234ABCDE56789) * MAC Address: used to manage a device already in the Mist Organization (claimed or adopted devices). Format is[0-9a-f]{12}(e.g5684dae9ac8b) >
- OrgId string
- Devices
[]InventoryDevice Args 
- DEPRECATED The devicesattribute has been deprecated in version v0.2.0 of the Juniper-Mist Provider. It has been replaced with theinventorymap and may be removed in future versions. Please update your configurations to use theinventoryattribute. List of devices to manage. Exactly one ofclaim_codeormacfield must be set
- Inventory
map[string]InventoryInventory Args 
- Property key can be the device Claim Code or the device MAC Address: * Claim Code: used to claim the device to the Mist
Organization and manage it. Format is [0-9A-Z]{15}(e.g01234ABCDE56789) * MAC Address: used to manage a device already in the Mist Organization (claimed or adopted devices). Format is[0-9a-f]{12}(e.g5684dae9ac8b) >
- orgId String
- devices
List<InventoryDevice> 
- DEPRECATED The devicesattribute has been deprecated in version v0.2.0 of the Juniper-Mist Provider. It has been replaced with theinventorymap and may be removed in future versions. Please update your configurations to use theinventoryattribute. List of devices to manage. Exactly one ofclaim_codeormacfield must be set
- inventory
Map<String,InventoryInventory Args> 
- Property key can be the device Claim Code or the device MAC Address: * Claim Code: used to claim the device to the Mist
Organization and manage it. Format is [0-9A-Z]{15}(e.g01234ABCDE56789) * MAC Address: used to manage a device already in the Mist Organization (claimed or adopted devices). Format is[0-9a-f]{12}(e.g5684dae9ac8b) >
- orgId string
- devices
InventoryDevice[] 
- DEPRECATED The devicesattribute has been deprecated in version v0.2.0 of the Juniper-Mist Provider. It has been replaced with theinventorymap and may be removed in future versions. Please update your configurations to use theinventoryattribute. List of devices to manage. Exactly one ofclaim_codeormacfield must be set
- inventory
{[key: string]: InventoryInventory Args} 
- Property key can be the device Claim Code or the device MAC Address: * Claim Code: used to claim the device to the Mist
Organization and manage it. Format is [0-9A-Z]{15}(e.g01234ABCDE56789) * MAC Address: used to manage a device already in the Mist Organization (claimed or adopted devices). Format is[0-9a-f]{12}(e.g5684dae9ac8b) >
- org_id str
- devices
Sequence[InventoryDevice Args] 
- DEPRECATED The devicesattribute has been deprecated in version v0.2.0 of the Juniper-Mist Provider. It has been replaced with theinventorymap and may be removed in future versions. Please update your configurations to use theinventoryattribute. List of devices to manage. Exactly one ofclaim_codeormacfield must be set
- inventory
Mapping[str, InventoryInventory Args] 
- Property key can be the device Claim Code or the device MAC Address: * Claim Code: used to claim the device to the Mist
Organization and manage it. Format is [0-9A-Z]{15}(e.g01234ABCDE56789) * MAC Address: used to manage a device already in the Mist Organization (claimed or adopted devices). Format is[0-9a-f]{12}(e.g5684dae9ac8b) >
- orgId String
- devices List<Property Map>
- DEPRECATED The devicesattribute has been deprecated in version v0.2.0 of the Juniper-Mist Provider. It has been replaced with theinventorymap and may be removed in future versions. Please update your configurations to use theinventoryattribute. List of devices to manage. Exactly one ofclaim_codeormacfield must be set
- inventory Map<Property Map>
- Property key can be the device Claim Code or the device MAC Address: * Claim Code: used to claim the device to the Mist
Organization and manage it. Format is [0-9A-Z]{15}(e.g01234ABCDE56789) * MAC Address: used to manage a device already in the Mist Organization (claimed or adopted devices). Format is[0-9a-f]{12}(e.g5684dae9ac8b) >
Outputs
All input properties are implicitly available as output properties. Additionally, the Inventory resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing Inventory Resource
Get an existing Inventory resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: InventoryState, opts?: CustomResourceOptions): Inventory@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        devices: Optional[Sequence[InventoryDeviceArgs]] = None,
        inventory: Optional[Mapping[str, InventoryInventoryArgs]] = None,
        org_id: Optional[str] = None) -> Inventoryfunc GetInventory(ctx *Context, name string, id IDInput, state *InventoryState, opts ...ResourceOption) (*Inventory, error)public static Inventory Get(string name, Input<string> id, InventoryState? state, CustomResourceOptions? opts = null)public static Inventory get(String name, Output<String> id, InventoryState state, CustomResourceOptions options)resources:  _:    type: junipermist:org:Inventory    get:      id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Devices
List<Pulumi.Juniper Mist. Org. Inputs. Inventory Device> 
- DEPRECATED The devicesattribute has been deprecated in version v0.2.0 of the Juniper-Mist Provider. It has been replaced with theinventorymap and may be removed in future versions. Please update your configurations to use theinventoryattribute. List of devices to manage. Exactly one ofclaim_codeormacfield must be set
- InventoryDetails Dictionary<string, Pulumi.Juniper Mist. Org. Inputs. Inventory Inventory Args> 
- Property key can be the device Claim Code or the device MAC Address: * Claim Code: used to claim the device to the Mist
Organization and manage it. Format is [0-9A-Z]{15}(e.g01234ABCDE56789) * MAC Address: used to manage a device already in the Mist Organization (claimed or adopted devices). Format is[0-9a-f]{12}(e.g5684dae9ac8b) >
- OrgId string
- Devices
[]InventoryDevice Args 
- DEPRECATED The devicesattribute has been deprecated in version v0.2.0 of the Juniper-Mist Provider. It has been replaced with theinventorymap and may be removed in future versions. Please update your configurations to use theinventoryattribute. List of devices to manage. Exactly one ofclaim_codeormacfield must be set
- Inventory
map[string]InventoryInventory Args 
- Property key can be the device Claim Code or the device MAC Address: * Claim Code: used to claim the device to the Mist
Organization and manage it. Format is [0-9A-Z]{15}(e.g01234ABCDE56789) * MAC Address: used to manage a device already in the Mist Organization (claimed or adopted devices). Format is[0-9a-f]{12}(e.g5684dae9ac8b) >
- OrgId string
- devices
List<InventoryDevice> 
- DEPRECATED The devicesattribute has been deprecated in version v0.2.0 of the Juniper-Mist Provider. It has been replaced with theinventorymap and may be removed in future versions. Please update your configurations to use theinventoryattribute. List of devices to manage. Exactly one ofclaim_codeormacfield must be set
- inventory
Map<String,InventoryInventory Args> 
- Property key can be the device Claim Code or the device MAC Address: * Claim Code: used to claim the device to the Mist
Organization and manage it. Format is [0-9A-Z]{15}(e.g01234ABCDE56789) * MAC Address: used to manage a device already in the Mist Organization (claimed or adopted devices). Format is[0-9a-f]{12}(e.g5684dae9ac8b) >
- orgId String
- devices
InventoryDevice[] 
- DEPRECATED The devicesattribute has been deprecated in version v0.2.0 of the Juniper-Mist Provider. It has been replaced with theinventorymap and may be removed in future versions. Please update your configurations to use theinventoryattribute. List of devices to manage. Exactly one ofclaim_codeormacfield must be set
- inventory
{[key: string]: InventoryInventory Args} 
- Property key can be the device Claim Code or the device MAC Address: * Claim Code: used to claim the device to the Mist
Organization and manage it. Format is [0-9A-Z]{15}(e.g01234ABCDE56789) * MAC Address: used to manage a device already in the Mist Organization (claimed or adopted devices). Format is[0-9a-f]{12}(e.g5684dae9ac8b) >
- orgId string
- devices
Sequence[InventoryDevice Args] 
- DEPRECATED The devicesattribute has been deprecated in version v0.2.0 of the Juniper-Mist Provider. It has been replaced with theinventorymap and may be removed in future versions. Please update your configurations to use theinventoryattribute. List of devices to manage. Exactly one ofclaim_codeormacfield must be set
- inventory
Mapping[str, InventoryInventory Args] 
- Property key can be the device Claim Code or the device MAC Address: * Claim Code: used to claim the device to the Mist
Organization and manage it. Format is [0-9A-Z]{15}(e.g01234ABCDE56789) * MAC Address: used to manage a device already in the Mist Organization (claimed or adopted devices). Format is[0-9a-f]{12}(e.g5684dae9ac8b) >
- org_id str
- devices List<Property Map>
- DEPRECATED The devicesattribute has been deprecated in version v0.2.0 of the Juniper-Mist Provider. It has been replaced with theinventorymap and may be removed in future versions. Please update your configurations to use theinventoryattribute. List of devices to manage. Exactly one ofclaim_codeormacfield must be set
- inventory Map<Property Map>
- Property key can be the device Claim Code or the device MAC Address: * Claim Code: used to claim the device to the Mist
Organization and manage it. Format is [0-9A-Z]{15}(e.g01234ABCDE56789) * MAC Address: used to manage a device already in the Mist Organization (claimed or adopted devices). Format is[0-9a-f]{12}(e.g5684dae9ac8b) >
- orgId String
Supporting Types
InventoryDevice, InventoryDeviceArgs    
- ClaimCode string
- used to claim the device to the Mist Organization and manage it. Format is [0-9A-Z]{15}(e.g01234ABCDE56789)
- DeviceprofileId string
- deviceprofile id if assigned, null if not assigned
- Hostname string
- hostname reported by the device
- Id string
- device id
- Mac string
- used to managed a device already in the Mist Organization (claimed or adopted devices). Format is [0-9a-f]{12}(e.g5684dae9ac8b)
- Model string
- device model
- OrgId string
- Serial string
- device serial
- SiteId string
- Site ID. Used to assign device to a Site
- Type string
- enum: ap,gateway,switch
- UnclaimWhen boolDestroyed 
- Unclaim the device from the Mist Organization when removed from the provider inventory. Default is false
- VcMac string
- if type==switchand device part of a Virtual Chassis, MAC Address of the Virtual Chassis. iftype==gatewayand device part of a Cluster, MAC Address of the Cluster
- ClaimCode string
- used to claim the device to the Mist Organization and manage it. Format is [0-9A-Z]{15}(e.g01234ABCDE56789)
- DeviceprofileId string
- deviceprofile id if assigned, null if not assigned
- Hostname string
- hostname reported by the device
- Id string
- device id
- Mac string
- used to managed a device already in the Mist Organization (claimed or adopted devices). Format is [0-9a-f]{12}(e.g5684dae9ac8b)
- Model string
- device model
- OrgId string
- Serial string
- device serial
- SiteId string
- Site ID. Used to assign device to a Site
- Type string
- enum: ap,gateway,switch
- UnclaimWhen boolDestroyed 
- Unclaim the device from the Mist Organization when removed from the provider inventory. Default is false
- VcMac string
- if type==switchand device part of a Virtual Chassis, MAC Address of the Virtual Chassis. iftype==gatewayand device part of a Cluster, MAC Address of the Cluster
- claimCode String
- used to claim the device to the Mist Organization and manage it. Format is [0-9A-Z]{15}(e.g01234ABCDE56789)
- deviceprofileId String
- deviceprofile id if assigned, null if not assigned
- hostname String
- hostname reported by the device
- id String
- device id
- mac String
- used to managed a device already in the Mist Organization (claimed or adopted devices). Format is [0-9a-f]{12}(e.g5684dae9ac8b)
- model String
- device model
- orgId String
- serial String
- device serial
- siteId String
- Site ID. Used to assign device to a Site
- type String
- enum: ap,gateway,switch
- unclaimWhen BooleanDestroyed 
- Unclaim the device from the Mist Organization when removed from the provider inventory. Default is false
- vcMac String
- if type==switchand device part of a Virtual Chassis, MAC Address of the Virtual Chassis. iftype==gatewayand device part of a Cluster, MAC Address of the Cluster
- claimCode string
- used to claim the device to the Mist Organization and manage it. Format is [0-9A-Z]{15}(e.g01234ABCDE56789)
- deviceprofileId string
- deviceprofile id if assigned, null if not assigned
- hostname string
- hostname reported by the device
- id string
- device id
- mac string
- used to managed a device already in the Mist Organization (claimed or adopted devices). Format is [0-9a-f]{12}(e.g5684dae9ac8b)
- model string
- device model
- orgId string
- serial string
- device serial
- siteId string
- Site ID. Used to assign device to a Site
- type string
- enum: ap,gateway,switch
- unclaimWhen booleanDestroyed 
- Unclaim the device from the Mist Organization when removed from the provider inventory. Default is false
- vcMac string
- if type==switchand device part of a Virtual Chassis, MAC Address of the Virtual Chassis. iftype==gatewayand device part of a Cluster, MAC Address of the Cluster
- claim_code str
- used to claim the device to the Mist Organization and manage it. Format is [0-9A-Z]{15}(e.g01234ABCDE56789)
- deviceprofile_id str
- deviceprofile id if assigned, null if not assigned
- hostname str
- hostname reported by the device
- id str
- device id
- mac str
- used to managed a device already in the Mist Organization (claimed or adopted devices). Format is [0-9a-f]{12}(e.g5684dae9ac8b)
- model str
- device model
- org_id str
- serial str
- device serial
- site_id str
- Site ID. Used to assign device to a Site
- type str
- enum: ap,gateway,switch
- unclaim_when_ booldestroyed 
- Unclaim the device from the Mist Organization when removed from the provider inventory. Default is false
- vc_mac str
- if type==switchand device part of a Virtual Chassis, MAC Address of the Virtual Chassis. iftype==gatewayand device part of a Cluster, MAC Address of the Cluster
- claimCode String
- used to claim the device to the Mist Organization and manage it. Format is [0-9A-Z]{15}(e.g01234ABCDE56789)
- deviceprofileId String
- deviceprofile id if assigned, null if not assigned
- hostname String
- hostname reported by the device
- id String
- device id
- mac String
- used to managed a device already in the Mist Organization (claimed or adopted devices). Format is [0-9a-f]{12}(e.g5684dae9ac8b)
- model String
- device model
- orgId String
- serial String
- device serial
- siteId String
- Site ID. Used to assign device to a Site
- type String
- enum: ap,gateway,switch
- unclaimWhen BooleanDestroyed 
- Unclaim the device from the Mist Organization when removed from the provider inventory. Default is false
- vcMac String
- if type==switchand device part of a Virtual Chassis, MAC Address of the Virtual Chassis. iftype==gatewayand device part of a Cluster, MAC Address of the Cluster
InventoryInventory, InventoryInventoryArgs    
- ClaimCode string
- device claim code
- DeviceprofileId string
- deviceprofile id if assigned, null if not assigned
- Hostname string
- hostname reported by the device
- Id string
- device id
- Mac string
- device MAC address
- Model string
- device model
- OrgId string
- Serial string
- device serial
- SiteId string
- Site ID. Used to assign device to a Site
- Type string
- enum: ap,gateway,switch
- UnclaimWhen boolDestroyed 
- Unclaim the device from the Mist Organization when removed from the provider inventory. Default is false
- VcMac string
- if type==switchand device part of a Virtual Chassis, MAC Address of the Virtual Chassis. iftype==gatewayand device part of a Cluster, MAC Address of the Cluster
- ClaimCode string
- device claim code
- DeviceprofileId string
- deviceprofile id if assigned, null if not assigned
- Hostname string
- hostname reported by the device
- Id string
- device id
- Mac string
- device MAC address
- Model string
- device model
- OrgId string
- Serial string
- device serial
- SiteId string
- Site ID. Used to assign device to a Site
- Type string
- enum: ap,gateway,switch
- UnclaimWhen boolDestroyed 
- Unclaim the device from the Mist Organization when removed from the provider inventory. Default is false
- VcMac string
- if type==switchand device part of a Virtual Chassis, MAC Address of the Virtual Chassis. iftype==gatewayand device part of a Cluster, MAC Address of the Cluster
- claimCode String
- device claim code
- deviceprofileId String
- deviceprofile id if assigned, null if not assigned
- hostname String
- hostname reported by the device
- id String
- device id
- mac String
- device MAC address
- model String
- device model
- orgId String
- serial String
- device serial
- siteId String
- Site ID. Used to assign device to a Site
- type String
- enum: ap,gateway,switch
- unclaimWhen BooleanDestroyed 
- Unclaim the device from the Mist Organization when removed from the provider inventory. Default is false
- vcMac String
- if type==switchand device part of a Virtual Chassis, MAC Address of the Virtual Chassis. iftype==gatewayand device part of a Cluster, MAC Address of the Cluster
- claimCode string
- device claim code
- deviceprofileId string
- deviceprofile id if assigned, null if not assigned
- hostname string
- hostname reported by the device
- id string
- device id
- mac string
- device MAC address
- model string
- device model
- orgId string
- serial string
- device serial
- siteId string
- Site ID. Used to assign device to a Site
- type string
- enum: ap,gateway,switch
- unclaimWhen booleanDestroyed 
- Unclaim the device from the Mist Organization when removed from the provider inventory. Default is false
- vcMac string
- if type==switchand device part of a Virtual Chassis, MAC Address of the Virtual Chassis. iftype==gatewayand device part of a Cluster, MAC Address of the Cluster
- claim_code str
- device claim code
- deviceprofile_id str
- deviceprofile id if assigned, null if not assigned
- hostname str
- hostname reported by the device
- id str
- device id
- mac str
- device MAC address
- model str
- device model
- org_id str
- serial str
- device serial
- site_id str
- Site ID. Used to assign device to a Site
- type str
- enum: ap,gateway,switch
- unclaim_when_ booldestroyed 
- Unclaim the device from the Mist Organization when removed from the provider inventory. Default is false
- vc_mac str
- if type==switchand device part of a Virtual Chassis, MAC Address of the Virtual Chassis. iftype==gatewayand device part of a Cluster, MAC Address of the Cluster
- claimCode String
- device claim code
- deviceprofileId String
- deviceprofile id if assigned, null if not assigned
- hostname String
- hostname reported by the device
- id String
- device id
- mac String
- device MAC address
- model String
- device model
- orgId String
- serial String
- device serial
- siteId String
- Site ID. Used to assign device to a Site
- type String
- enum: ap,gateway,switch
- unclaimWhen BooleanDestroyed 
- Unclaim the device from the Mist Organization when removed from the provider inventory. Default is false
- vcMac String
- if type==switchand device part of a Virtual Chassis, MAC Address of the Virtual Chassis. iftype==gatewayand device part of a Cluster, MAC Address of the Cluster
Import
Using pulumi import, import mist_org_inventory with:
Org Inventory can be imported by specifying the org_id
$ pulumi import junipermist:org/inventory:Inventory inventory_one 17b46405-3a6d-4715-8bb4-6bb6d06f316a
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- junipermist pulumi/pulumi-junipermist
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the mistTerraform Provider.
