1. Packages
  2. Meraki Provider
  3. API Docs
  4. organizations
  5. InventoryOnboardingCloudMonitoringImports
Cisco Meraki v0.3.2 published on Tuesday, Sep 24, 2024 by Pulumi

meraki.organizations.InventoryOnboardingCloudMonitoringImports

Explore with Pulumi AI

meraki logo
Cisco Meraki v0.3.2 published on Tuesday, Sep 24, 2024 by Pulumi

    ~>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:

    OrganizationId string
    organizationId path parameter. Organization ID
    Parameters InventoryOnboardingCloudMonitoringImportsParameters
    OrganizationId string
    organizationId path parameter. Organization ID
    Parameters InventoryOnboardingCloudMonitoringImportsParametersArgs
    organizationId String
    organizationId path parameter. Organization ID
    parameters InventoryOnboardingCloudMonitoringImportsParameters
    organizationId string
    organizationId path parameter. Organization ID
    parameters InventoryOnboardingCloudMonitoringImportsParameters
    organizationId 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.
    The following state arguments are supported:
    OrganizationId string
    organizationId path parameter. Organization ID
    Parameters InventoryOnboardingCloudMonitoringImportsParameters
    OrganizationId string
    organizationId path parameter. Organization ID
    Parameters InventoryOnboardingCloudMonitoringImportsParametersArgs
    organizationId String
    organizationId path parameter. Organization ID
    parameters InventoryOnboardingCloudMonitoringImportsParameters
    organizationId string
    organizationId path parameter. Organization ID
    parameters InventoryOnboardingCloudMonitoringImportsParameters
    organizationId String
    organizationId path parameter. Organization ID
    parameters Property Map

    Supporting Types

    InventoryOnboardingCloudMonitoringImportsParameters, InventoryOnboardingCloudMonitoringImportsParametersArgs

    devices List<Property Map>
    A set of device imports to commit
    items List<Property Map>

    InventoryOnboardingCloudMonitoringImportsParametersDevice, InventoryOnboardingCloudMonitoringImportsParametersDeviceArgs

    DeviceId string
    Import ID from the Import operation
    NetworkId string
    Network Id
    Udi string
    Device UDI certificate
    DeviceId string
    Import ID from the Import operation
    NetworkId string
    Network Id
    Udi string
    Device UDI certificate
    deviceId String
    Import ID from the Import operation
    networkId String
    Network Id
    udi String
    Device UDI certificate
    deviceId string
    Import ID from the Import operation
    networkId string
    Network Id
    udi string
    Device UDI certificate
    device_id str
    Import ID from the Import operation
    network_id str
    Network Id
    udi str
    Device UDI certificate
    deviceId String
    Import ID from the Import operation
    networkId String
    Network Id
    udi String
    Device UDI certificate

    InventoryOnboardingCloudMonitoringImportsParametersItem, InventoryOnboardingCloudMonitoringImportsParametersItemArgs

    Items List<InventoryOnboardingCloudMonitoringImportsParametersItemItem>
    Array of ResponseOrganizationsCreateOrganizationInventoryOnboardingCloudMonitoringImport
    Items []InventoryOnboardingCloudMonitoringImportsParametersItemItem
    Array of ResponseOrganizationsCreateOrganizationInventoryOnboardingCloudMonitoringImport
    items List<InventoryOnboardingCloudMonitoringImportsParametersItemItem>
    Array of ResponseOrganizationsCreateOrganizationInventoryOnboardingCloudMonitoringImport
    items InventoryOnboardingCloudMonitoringImportsParametersItemItem[]
    Array of ResponseOrganizationsCreateOrganizationInventoryOnboardingCloudMonitoringImport
    items Sequence[InventoryOnboardingCloudMonitoringImportsParametersItemItem]
    Array of ResponseOrganizationsCreateOrganizationInventoryOnboardingCloudMonitoringImport
    items List<Property Map>
    Array of ResponseOrganizationsCreateOrganizationInventoryOnboardingCloudMonitoringImport

    InventoryOnboardingCloudMonitoringImportsParametersItemItem, InventoryOnboardingCloudMonitoringImportsParametersItemItemArgs

    ImportId string
    Unique id associated with the import of the device
    Message string
    Response method
    Status string
    Cloud monitor import status
    ImportId string
    Unique id associated with the import of the device
    Message string
    Response method
    Status string
    Cloud monitor import status
    importId String
    Unique id associated with the import of the device
    message String
    Response method
    status String
    Cloud monitor import status
    importId string
    Unique id associated with the import of the device
    message string
    Response method
    status string
    Cloud monitor import status
    import_id str
    Unique id associated with the import of the device
    message str
    Response method
    status str
    Cloud monitor import status
    importId String
    Unique id associated with the import of the device
    message String
    Response method
    status String
    Cloud monitor import status

    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.
    meraki logo
    Cisco Meraki v0.3.2 published on Tuesday, Sep 24, 2024 by Pulumi