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
WARNING The
devices
attribute (list) is deprecated and is replaced by theinventory
attribute (map) as it can generate “inconsistent result after apply” errors. If this happen, is 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
- 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",
Devices = new[]
{
new JuniperMist.Org.Inputs.InventoryDeviceArgs
{
ClaimCode = "string",
DeviceprofileId = "string",
Hostname = "string",
Id = "string",
Mac = "string",
Model = "string",
OrgId = "string",
Serial = "string",
SiteId = "string",
Type = "string",
UnclaimWhenDestroyed = false,
VcMac = "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"),
Devices: org.InventoryDeviceArray{
&org.InventoryDeviceArgs{
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"),
},
},
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")
.devices(InventoryDeviceArgs.builder()
.claimCode("string")
.deviceprofileId("string")
.hostname("string")
.id("string")
.mac("string")
.model("string")
.orgId("string")
.serial("string")
.siteId("string")
.type("string")
.unclaimWhenDestroyed(false)
.vcMac("string")
.build())
.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",
devices=[{
"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",
}],
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",
devices: [{
claimCode: "string",
deviceprofileId: "string",
hostname: "string",
id: "string",
mac: "string",
model: "string",
orgId: "string",
serial: "string",
siteId: "string",
type: "string",
unclaimWhenDestroyed: false,
vcMac: "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:
devices:
- claimCode: string
deviceprofileId: string
hostname: string
id: string
mac: string
model: string
orgId: string
serial: string
siteId: string
type: string
unclaimWhenDestroyed: false
vcMac: 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
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:
- Org
Id string - Devices
List<Pulumi.
Juniper Mist. Org. Inputs. Inventory Device> - DEPRECATED List of devices to manage. Exactly one of
claim_code
ormac
field must be set - Inventory
Details 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 managed a device already in the Mist Organization (claimed or adopted devices). Format is[0-9a-f]{12}
(e.g5684dae9ac8b
) >
- Org
Id string - Devices
[]Inventory
Device Args - DEPRECATED List of devices to manage. Exactly one of
claim_code
ormac
field must be set - Inventory
map[string]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 managed a device already in the Mist Organization (claimed or adopted devices). Format is[0-9a-f]{12}
(e.g5684dae9ac8b
) >
- org
Id String - devices
List<Inventory
Device> - DEPRECATED List of devices to manage. Exactly one of
claim_code
ormac
field must be set - inventory
Map<String,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 managed a device already in the Mist Organization (claimed or adopted devices). Format is[0-9a-f]{12}
(e.g5684dae9ac8b
) >
- org
Id string - devices
Inventory
Device[] - DEPRECATED List of devices to manage. Exactly one of
claim_code
ormac
field must be set - inventory
{[key: string]: 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 managed a device already in the Mist Organization (claimed or adopted devices). Format is[0-9a-f]{12}
(e.g5684dae9ac8b
) >
- org_
id str - devices
Sequence[Inventory
Device Args] - DEPRECATED List of devices to manage. Exactly one of
claim_code
ormac
field must be set - inventory
Mapping[str, 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 managed a device already in the Mist Organization (claimed or adopted devices). Format is[0-9a-f]{12}
(e.g5684dae9ac8b
) >
- org
Id String - devices List<Property Map>
- DEPRECATED List of devices to manage. Exactly one of
claim_code
ormac
field 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 managed 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) -> Inventory
func 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)
Resource lookup is not supported in YAML
- 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 List of devices to manage. Exactly one of
claim_code
ormac
field must be set - Inventory
Details 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 managed a device already in the Mist Organization (claimed or adopted devices). Format is[0-9a-f]{12}
(e.g5684dae9ac8b
) > - Org
Id string
- Devices
[]Inventory
Device Args - DEPRECATED List of devices to manage. Exactly one of
claim_code
ormac
field must be set - Inventory
map[string]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 managed a device already in the Mist Organization (claimed or adopted devices). Format is[0-9a-f]{12}
(e.g5684dae9ac8b
) > - Org
Id string
- devices
List<Inventory
Device> - DEPRECATED List of devices to manage. Exactly one of
claim_code
ormac
field must be set - inventory
Map<String,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 managed a device already in the Mist Organization (claimed or adopted devices). Format is[0-9a-f]{12}
(e.g5684dae9ac8b
) > - org
Id String
- devices
Inventory
Device[] - DEPRECATED List of devices to manage. Exactly one of
claim_code
ormac
field must be set - inventory
{[key: string]: 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 managed a device already in the Mist Organization (claimed or adopted devices). Format is[0-9a-f]{12}
(e.g5684dae9ac8b
) > - org
Id string
- devices
Sequence[Inventory
Device Args] - DEPRECATED List of devices to manage. Exactly one of
claim_code
ormac
field must be set - inventory
Mapping[str, 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 managed 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 List of devices to manage. Exactly one of
claim_code
ormac
field 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 managed a device already in the Mist Organization (claimed or adopted devices). Format is[0-9a-f]{12}
(e.g5684dae9ac8b
) > - org
Id String
Supporting Types
InventoryDevice, InventoryDeviceArgs
- Claim
Code string - used to claim the device to the Mist Organization and manage it. Format is
[0-9A-Z]{15}
(e.g01234ABCDE56789
) - Deviceprofile
Id 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
- Org
Id string - Serial string
- device serial
- Site
Id string - Site ID. Used to assign device to a Site
- Type string
- 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 string - if
type
==switch
and device part of a Virtual Chassis, MAC Address of the Virtual Chassis. iftype
==gateway
and device part of a Clust, MAC Address of the Cluster
- Claim
Code string - used to claim the device to the Mist Organization and manage it. Format is
[0-9A-Z]{15}
(e.g01234ABCDE56789
) - Deviceprofile
Id 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
- Org
Id string - Serial string
- device serial
- Site
Id string - Site ID. Used to assign device to a Site
- Type string
- 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 string - if
type
==switch
and device part of a Virtual Chassis, MAC Address of the Virtual Chassis. iftype
==gateway
and device part of a Clust, MAC Address of the Cluster
- claim
Code String - used to claim the device to the Mist Organization and manage it. Format is
[0-9A-Z]{15}
(e.g01234ABCDE56789
) - deviceprofile
Id 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
- org
Id String - serial String
- device serial
- site
Id String - Site ID. Used to assign device to a Site
- type String
- enum:
ap
,gateway
,switch
- unclaim
When BooleanDestroyed - Unclaim the device from the Mist Organization when removed from the provider inventory. Default is
false
- vc
Mac String - if
type
==switch
and device part of a Virtual Chassis, MAC Address of the Virtual Chassis. iftype
==gateway
and device part of a Clust, MAC Address of the Cluster
- claim
Code string - used to claim the device to the Mist Organization and manage it. Format is
[0-9A-Z]{15}
(e.g01234ABCDE56789
) - deviceprofile
Id 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
- org
Id string - serial string
- device serial
- site
Id string - Site ID. Used to assign device to a Site
- type string
- enum:
ap
,gateway
,switch
- unclaim
When booleanDestroyed - Unclaim the device from the Mist Organization when removed from the provider inventory. Default is
false
- vc
Mac string - if
type
==switch
and device part of a Virtual Chassis, MAC Address of the Virtual Chassis. iftype
==gateway
and device part of a Clust, 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
==switch
and device part of a Virtual Chassis, MAC Address of the Virtual Chassis. iftype
==gateway
and device part of a Clust, MAC Address of the Cluster
- claim
Code String - used to claim the device to the Mist Organization and manage it. Format is
[0-9A-Z]{15}
(e.g01234ABCDE56789
) - deviceprofile
Id 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
- org
Id String - serial String
- device serial
- site
Id String - Site ID. Used to assign device to a Site
- type String
- enum:
ap
,gateway
,switch
- unclaim
When BooleanDestroyed - Unclaim the device from the Mist Organization when removed from the provider inventory. Default is
false
- vc
Mac String - if
type
==switch
and device part of a Virtual Chassis, MAC Address of the Virtual Chassis. iftype
==gateway
and device part of a Clust, MAC Address of the Cluster
InventoryInventory, InventoryInventoryArgs
- Claim
Code string - device claim code
- Deviceprofile
Id 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
- Org
Id string - Serial string
- device serial
- Site
Id string - Site ID. Used to assign device to a Site
- Type string
- 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 string - if
type
==switch
and device part of a Virtual Chassis, MAC Address of the Virtual Chassis. iftype
==gateway
and device part of a Clust, MAC Address of the Cluster
- Claim
Code string - device claim code
- Deviceprofile
Id 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
- Org
Id string - Serial string
- device serial
- Site
Id string - Site ID. Used to assign device to a Site
- Type string
- 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 string - if
type
==switch
and device part of a Virtual Chassis, MAC Address of the Virtual Chassis. iftype
==gateway
and device part of a Clust, MAC Address of the Cluster
- claim
Code String - device claim code
- deviceprofile
Id 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
- org
Id String - serial String
- device serial
- site
Id String - Site ID. Used to assign device to a Site
- type String
- enum:
ap
,gateway
,switch
- unclaim
When BooleanDestroyed - Unclaim the device from the Mist Organization when removed from the provider inventory. Default is
false
- vc
Mac String - if
type
==switch
and device part of a Virtual Chassis, MAC Address of the Virtual Chassis. iftype
==gateway
and device part of a Clust, MAC Address of the Cluster
- claim
Code string - device claim code
- deviceprofile
Id 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
- org
Id string - serial string
- device serial
- site
Id string - Site ID. Used to assign device to a Site
- type string
- enum:
ap
,gateway
,switch
- unclaim
When booleanDestroyed - Unclaim the device from the Mist Organization when removed from the provider inventory. Default is
false
- vc
Mac string - if
type
==switch
and device part of a Virtual Chassis, MAC Address of the Virtual Chassis. iftype
==gateway
and device part of a Clust, 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
==switch
and device part of a Virtual Chassis, MAC Address of the Virtual Chassis. iftype
==gateway
and device part of a Clust, MAC Address of the Cluster
- claim
Code String - device claim code
- deviceprofile
Id 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
- org
Id String - serial String
- device serial
- site
Id String - Site ID. Used to assign device to a Site
- type String
- enum:
ap
,gateway
,switch
- unclaim
When BooleanDestroyed - Unclaim the device from the Mist Organization when removed from the provider inventory. Default is
false
- vc
Mac String - if
type
==switch
and device part of a Virtual Chassis, MAC Address of the Virtual Chassis. iftype
==gateway
and device part of a Clust, 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
mist
Terraform Provider.