meraki.organizations.InventoryOnboardingCloudMonitoringImports
Explore with Pulumi AI
~>Warning: This resource does not represent a real-world entity in Meraki Dashboard, therefore changing or deleting this resource on its own has no immediate effect. Instead, it is a task part of a Meraki Dashboard workflow. It is executed in Meraki without any additional verification. It does not check if it was executed before or if a similar configuration or action already existed previously.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as meraki from "@pulumi/meraki";
const example = new meraki.organizations.InventoryOnboardingCloudMonitoringImports("example", {
organizationId: "string",
parameters: {
devices: [{
deviceId: "161b2602-a713-4aac-b1eb-d9b55205353d",
networkId: "1338481",
udi: "PID:C9200L-24P-4G SN:JAE25220R2K",
}],
},
});
export const merakiOrganizationsInventoryOnboardingCloudMonitoringImportsExample = example;
import pulumi
import pulumi_meraki as meraki
example = meraki.organizations.InventoryOnboardingCloudMonitoringImports("example",
organization_id="string",
parameters={
"devices": [{
"device_id": "161b2602-a713-4aac-b1eb-d9b55205353d",
"network_id": "1338481",
"udi": "PID:C9200L-24P-4G SN:JAE25220R2K",
}],
})
pulumi.export("merakiOrganizationsInventoryOnboardingCloudMonitoringImportsExample", example)
package main
import (
"github.com/pulumi/pulumi-meraki/sdk/go/meraki/organizations"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := organizations.NewInventoryOnboardingCloudMonitoringImports(ctx, "example", &organizations.InventoryOnboardingCloudMonitoringImportsArgs{
OrganizationId: pulumi.String("string"),
Parameters: &organizations.InventoryOnboardingCloudMonitoringImportsParametersArgs{
Devices: organizations.InventoryOnboardingCloudMonitoringImportsParametersDeviceArray{
&organizations.InventoryOnboardingCloudMonitoringImportsParametersDeviceArgs{
DeviceId: pulumi.String("161b2602-a713-4aac-b1eb-d9b55205353d"),
NetworkId: pulumi.String("1338481"),
Udi: pulumi.String("PID:C9200L-24P-4G SN:JAE25220R2K"),
},
},
},
})
if err != nil {
return err
}
ctx.Export("merakiOrganizationsInventoryOnboardingCloudMonitoringImportsExample", example)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Meraki = Pulumi.Meraki;
return await Deployment.RunAsync(() =>
{
var example = new Meraki.Organizations.InventoryOnboardingCloudMonitoringImports("example", new()
{
OrganizationId = "string",
Parameters = new Meraki.Organizations.Inputs.InventoryOnboardingCloudMonitoringImportsParametersArgs
{
Devices = new[]
{
new Meraki.Organizations.Inputs.InventoryOnboardingCloudMonitoringImportsParametersDeviceArgs
{
DeviceId = "161b2602-a713-4aac-b1eb-d9b55205353d",
NetworkId = "1338481",
Udi = "PID:C9200L-24P-4G SN:JAE25220R2K",
},
},
},
});
return new Dictionary<string, object?>
{
["merakiOrganizationsInventoryOnboardingCloudMonitoringImportsExample"] = example,
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.meraki.organizations.InventoryOnboardingCloudMonitoringImports;
import com.pulumi.meraki.organizations.InventoryOnboardingCloudMonitoringImportsArgs;
import com.pulumi.meraki.organizations.inputs.InventoryOnboardingCloudMonitoringImportsParametersArgs;
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 example = new InventoryOnboardingCloudMonitoringImports("example", InventoryOnboardingCloudMonitoringImportsArgs.builder()
.organizationId("string")
.parameters(InventoryOnboardingCloudMonitoringImportsParametersArgs.builder()
.devices(InventoryOnboardingCloudMonitoringImportsParametersDeviceArgs.builder()
.deviceId("161b2602-a713-4aac-b1eb-d9b55205353d")
.networkId("1338481")
.udi("PID:C9200L-24P-4G SN:JAE25220R2K")
.build())
.build())
.build());
ctx.export("merakiOrganizationsInventoryOnboardingCloudMonitoringImportsExample", example);
}
}
resources:
example:
type: meraki:organizations:InventoryOnboardingCloudMonitoringImports
properties:
organizationId: string
parameters:
devices:
- deviceId: 161b2602-a713-4aac-b1eb-d9b55205353d
networkId: '1338481'
udi: PID:C9200L-24P-4G SN:JAE25220R2K
outputs:
merakiOrganizationsInventoryOnboardingCloudMonitoringImportsExample: ${example}
Create InventoryOnboardingCloudMonitoringImports Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new InventoryOnboardingCloudMonitoringImports(name: string, args: InventoryOnboardingCloudMonitoringImportsArgs, opts?: CustomResourceOptions);
@overload
def InventoryOnboardingCloudMonitoringImports(resource_name: str,
args: InventoryOnboardingCloudMonitoringImportsArgs,
opts: Optional[ResourceOptions] = None)
@overload
def InventoryOnboardingCloudMonitoringImports(resource_name: str,
opts: Optional[ResourceOptions] = None,
organization_id: Optional[str] = None,
parameters: Optional[InventoryOnboardingCloudMonitoringImportsParametersArgs] = None)
func NewInventoryOnboardingCloudMonitoringImports(ctx *Context, name string, args InventoryOnboardingCloudMonitoringImportsArgs, opts ...ResourceOption) (*InventoryOnboardingCloudMonitoringImports, error)
public InventoryOnboardingCloudMonitoringImports(string name, InventoryOnboardingCloudMonitoringImportsArgs args, CustomResourceOptions? opts = null)
public InventoryOnboardingCloudMonitoringImports(String name, InventoryOnboardingCloudMonitoringImportsArgs args)
public InventoryOnboardingCloudMonitoringImports(String name, InventoryOnboardingCloudMonitoringImportsArgs args, CustomResourceOptions options)
type: meraki:organizations:InventoryOnboardingCloudMonitoringImports
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 InventoryOnboardingCloudMonitoringImportsArgs
- 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 InventoryOnboardingCloudMonitoringImportsArgs
- 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 InventoryOnboardingCloudMonitoringImportsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args InventoryOnboardingCloudMonitoringImportsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args InventoryOnboardingCloudMonitoringImportsArgs
- 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 inventoryOnboardingCloudMonitoringImportsResource = new Meraki.Organizations.InventoryOnboardingCloudMonitoringImports("inventoryOnboardingCloudMonitoringImportsResource", new()
{
OrganizationId = "string",
Parameters = new Meraki.Organizations.Inputs.InventoryOnboardingCloudMonitoringImportsParametersArgs
{
Devices = new[]
{
new Meraki.Organizations.Inputs.InventoryOnboardingCloudMonitoringImportsParametersDeviceArgs
{
DeviceId = "string",
NetworkId = "string",
Udi = "string",
},
},
Items = new[]
{
new Meraki.Organizations.Inputs.InventoryOnboardingCloudMonitoringImportsParametersItemArgs
{
Items = new[]
{
new Meraki.Organizations.Inputs.InventoryOnboardingCloudMonitoringImportsParametersItemItemArgs
{
ImportId = "string",
Message = "string",
Status = "string",
},
},
},
},
},
});
example, err := organizations.NewInventoryOnboardingCloudMonitoringImports(ctx, "inventoryOnboardingCloudMonitoringImportsResource", &organizations.InventoryOnboardingCloudMonitoringImportsArgs{
OrganizationId: pulumi.String("string"),
Parameters: &organizations.InventoryOnboardingCloudMonitoringImportsParametersArgs{
Devices: organizations.InventoryOnboardingCloudMonitoringImportsParametersDeviceArray{
&organizations.InventoryOnboardingCloudMonitoringImportsParametersDeviceArgs{
DeviceId: pulumi.String("string"),
NetworkId: pulumi.String("string"),
Udi: pulumi.String("string"),
},
},
Items: organizations.InventoryOnboardingCloudMonitoringImportsParametersItemArray{
&organizations.InventoryOnboardingCloudMonitoringImportsParametersItemArgs{
Items: organizations.InventoryOnboardingCloudMonitoringImportsParametersItemItemArray{
&organizations.InventoryOnboardingCloudMonitoringImportsParametersItemItemArgs{
ImportId: pulumi.String("string"),
Message: pulumi.String("string"),
Status: pulumi.String("string"),
},
},
},
},
},
})
var inventoryOnboardingCloudMonitoringImportsResource = new InventoryOnboardingCloudMonitoringImports("inventoryOnboardingCloudMonitoringImportsResource", InventoryOnboardingCloudMonitoringImportsArgs.builder()
.organizationId("string")
.parameters(InventoryOnboardingCloudMonitoringImportsParametersArgs.builder()
.devices(InventoryOnboardingCloudMonitoringImportsParametersDeviceArgs.builder()
.deviceId("string")
.networkId("string")
.udi("string")
.build())
.items(InventoryOnboardingCloudMonitoringImportsParametersItemArgs.builder()
.items(InventoryOnboardingCloudMonitoringImportsParametersItemItemArgs.builder()
.importId("string")
.message("string")
.status("string")
.build())
.build())
.build())
.build());
inventory_onboarding_cloud_monitoring_imports_resource = meraki.organizations.InventoryOnboardingCloudMonitoringImports("inventoryOnboardingCloudMonitoringImportsResource",
organization_id="string",
parameters={
"devices": [{
"device_id": "string",
"network_id": "string",
"udi": "string",
}],
"items": [{
"items": [{
"import_id": "string",
"message": "string",
"status": "string",
}],
}],
})
const inventoryOnboardingCloudMonitoringImportsResource = new meraki.organizations.InventoryOnboardingCloudMonitoringImports("inventoryOnboardingCloudMonitoringImportsResource", {
organizationId: "string",
parameters: {
devices: [{
deviceId: "string",
networkId: "string",
udi: "string",
}],
items: [{
items: [{
importId: "string",
message: "string",
status: "string",
}],
}],
},
});
type: meraki:organizations:InventoryOnboardingCloudMonitoringImports
properties:
organizationId: string
parameters:
devices:
- deviceId: string
networkId: string
udi: string
items:
- items:
- importId: string
message: string
status: string
InventoryOnboardingCloudMonitoringImports 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 InventoryOnboardingCloudMonitoringImports resource accepts the following input properties:
- Organization
Id string - organizationId path parameter. Organization ID
- Parameters
Inventory
Onboarding Cloud Monitoring Imports Parameters
- Organization
Id string - organizationId path parameter. Organization ID
- Parameters
Inventory
Onboarding Cloud Monitoring Imports Parameters Args
- organization
Id String - organizationId path parameter. Organization ID
- parameters
Inventory
Onboarding Cloud Monitoring Imports Parameters
- organization
Id string - organizationId path parameter. Organization ID
- parameters
Inventory
Onboarding Cloud Monitoring Imports Parameters
- organization_
id str - organizationId path parameter. Organization ID
- parameters
Inventory
Onboarding Cloud Monitoring Imports Parameters Args
- organization
Id String - organizationId path parameter. Organization ID
- parameters Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the InventoryOnboardingCloudMonitoringImports 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 InventoryOnboardingCloudMonitoringImports Resource
Get an existing InventoryOnboardingCloudMonitoringImports 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?: InventoryOnboardingCloudMonitoringImportsState, opts?: CustomResourceOptions): InventoryOnboardingCloudMonitoringImports
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
organization_id: Optional[str] = None,
parameters: Optional[InventoryOnboardingCloudMonitoringImportsParametersArgs] = None) -> InventoryOnboardingCloudMonitoringImports
func GetInventoryOnboardingCloudMonitoringImports(ctx *Context, name string, id IDInput, state *InventoryOnboardingCloudMonitoringImportsState, opts ...ResourceOption) (*InventoryOnboardingCloudMonitoringImports, error)
public static InventoryOnboardingCloudMonitoringImports Get(string name, Input<string> id, InventoryOnboardingCloudMonitoringImportsState? state, CustomResourceOptions? opts = null)
public static InventoryOnboardingCloudMonitoringImports get(String name, Output<String> id, InventoryOnboardingCloudMonitoringImportsState 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.
- Organization
Id string - organizationId path parameter. Organization ID
- Parameters
Inventory
Onboarding Cloud Monitoring Imports Parameters
- Organization
Id string - organizationId path parameter. Organization ID
- Parameters
Inventory
Onboarding Cloud Monitoring Imports Parameters Args
- organization
Id String - organizationId path parameter. Organization ID
- parameters
Inventory
Onboarding Cloud Monitoring Imports Parameters
- organization
Id string - organizationId path parameter. Organization ID
- parameters
Inventory
Onboarding Cloud Monitoring Imports Parameters
- organization_
id str - organizationId path parameter. Organization ID
- parameters
Inventory
Onboarding Cloud Monitoring Imports Parameters Args
- organization
Id String - organizationId path parameter. Organization ID
- parameters Property Map
Supporting Types
InventoryOnboardingCloudMonitoringImportsParameters, InventoryOnboardingCloudMonitoringImportsParametersArgs
- Devices
List<Inventory
Onboarding Cloud Monitoring Imports Parameters Device> - A set of device imports to commit
- Items
List<Inventory
Onboarding Cloud Monitoring Imports Parameters Item>
- Devices
[]Inventory
Onboarding Cloud Monitoring Imports Parameters Device - A set of device imports to commit
- Items
[]Inventory
Onboarding Cloud Monitoring Imports Parameters Item
- devices
List<Inventory
Onboarding Cloud Monitoring Imports Parameters Device> - A set of device imports to commit
- items
List<Inventory
Onboarding Cloud Monitoring Imports Parameters Item>
- devices
Inventory
Onboarding Cloud Monitoring Imports Parameters Device[] - A set of device imports to commit
- items
Inventory
Onboarding Cloud Monitoring Imports Parameters Item[]
- devices List<Property Map>
- A set of device imports to commit
- items List<Property Map>
InventoryOnboardingCloudMonitoringImportsParametersDevice, InventoryOnboardingCloudMonitoringImportsParametersDeviceArgs
- device_
id str - Import ID from the Import operation
- network_
id str - Network Id
- udi str
- Device UDI certificate
InventoryOnboardingCloudMonitoringImportsParametersItem, InventoryOnboardingCloudMonitoringImportsParametersItemArgs
- Items
List<Inventory
Onboarding Cloud Monitoring Imports Parameters Item Item> - Array of ResponseOrganizationsCreateOrganizationInventoryOnboardingCloudMonitoringImport
- Items
[]Inventory
Onboarding Cloud Monitoring Imports Parameters Item Item - Array of ResponseOrganizationsCreateOrganizationInventoryOnboardingCloudMonitoringImport
- items
List<Inventory
Onboarding Cloud Monitoring Imports Parameters Item Item> - Array of ResponseOrganizationsCreateOrganizationInventoryOnboardingCloudMonitoringImport
- items
Inventory
Onboarding Cloud Monitoring Imports Parameters Item Item[] - Array of ResponseOrganizationsCreateOrganizationInventoryOnboardingCloudMonitoringImport
- items
Sequence[Inventory
Onboarding Cloud Monitoring Imports Parameters Item Item] - Array of ResponseOrganizationsCreateOrganizationInventoryOnboardingCloudMonitoringImport
- items List<Property Map>
- Array of ResponseOrganizationsCreateOrganizationInventoryOnboardingCloudMonitoringImport
InventoryOnboardingCloudMonitoringImportsParametersItemItem, InventoryOnboardingCloudMonitoringImportsParametersItemItemArgs
Import
$ pulumi import meraki:organizations/inventoryOnboardingCloudMonitoringImports:InventoryOnboardingCloudMonitoringImports example "organization_id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- meraki pulumi/pulumi-meraki
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
meraki
Terraform Provider.