meraki.organizations.InventoryRelease
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.InventoryRelease("example", {
organizationId: "string",
parameters: {
serials: ["Q234-ABCD-5678"],
},
});
export const merakiOrganizationsInventoryReleaseExample = example;
import pulumi
import pulumi_meraki as meraki
example = meraki.organizations.InventoryRelease("example",
organization_id="string",
parameters={
"serials": ["Q234-ABCD-5678"],
})
pulumi.export("merakiOrganizationsInventoryReleaseExample", 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.NewInventoryRelease(ctx, "example", &organizations.InventoryReleaseArgs{
OrganizationId: pulumi.String("string"),
Parameters: &organizations.InventoryReleaseParametersArgs{
Serials: pulumi.StringArray{
pulumi.String("Q234-ABCD-5678"),
},
},
})
if err != nil {
return err
}
ctx.Export("merakiOrganizationsInventoryReleaseExample", 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.InventoryRelease("example", new()
{
OrganizationId = "string",
Parameters = new Meraki.Organizations.Inputs.InventoryReleaseParametersArgs
{
Serials = new[]
{
"Q234-ABCD-5678",
},
},
});
return new Dictionary<string, object?>
{
["merakiOrganizationsInventoryReleaseExample"] = example,
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.meraki.organizations.InventoryRelease;
import com.pulumi.meraki.organizations.InventoryReleaseArgs;
import com.pulumi.meraki.organizations.inputs.InventoryReleaseParametersArgs;
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 InventoryRelease("example", InventoryReleaseArgs.builder()
.organizationId("string")
.parameters(InventoryReleaseParametersArgs.builder()
.serials("Q234-ABCD-5678")
.build())
.build());
ctx.export("merakiOrganizationsInventoryReleaseExample", example);
}
}
resources:
example:
type: meraki:organizations:InventoryRelease
properties:
organizationId: string
parameters:
serials:
- Q234-ABCD-5678
outputs:
merakiOrganizationsInventoryReleaseExample: ${example}
Create InventoryRelease Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new InventoryRelease(name: string, args: InventoryReleaseArgs, opts?: CustomResourceOptions);
@overload
def InventoryRelease(resource_name: str,
args: InventoryReleaseArgs,
opts: Optional[ResourceOptions] = None)
@overload
def InventoryRelease(resource_name: str,
opts: Optional[ResourceOptions] = None,
organization_id: Optional[str] = None,
parameters: Optional[InventoryReleaseParametersArgs] = None)
func NewInventoryRelease(ctx *Context, name string, args InventoryReleaseArgs, opts ...ResourceOption) (*InventoryRelease, error)
public InventoryRelease(string name, InventoryReleaseArgs args, CustomResourceOptions? opts = null)
public InventoryRelease(String name, InventoryReleaseArgs args)
public InventoryRelease(String name, InventoryReleaseArgs args, CustomResourceOptions options)
type: meraki:organizations:InventoryRelease
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 InventoryReleaseArgs
- 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 InventoryReleaseArgs
- 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 InventoryReleaseArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args InventoryReleaseArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args InventoryReleaseArgs
- 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 inventoryReleaseResource = new Meraki.Organizations.InventoryRelease("inventoryReleaseResource", new()
{
OrganizationId = "string",
Parameters = new Meraki.Organizations.Inputs.InventoryReleaseParametersArgs
{
Serials = new[]
{
"string",
},
},
});
example, err := organizations.NewInventoryRelease(ctx, "inventoryReleaseResource", &organizations.InventoryReleaseArgs{
OrganizationId: pulumi.String("string"),
Parameters: &organizations.InventoryReleaseParametersArgs{
Serials: pulumi.StringArray{
pulumi.String("string"),
},
},
})
var inventoryReleaseResource = new InventoryRelease("inventoryReleaseResource", InventoryReleaseArgs.builder()
.organizationId("string")
.parameters(InventoryReleaseParametersArgs.builder()
.serials("string")
.build())
.build());
inventory_release_resource = meraki.organizations.InventoryRelease("inventoryReleaseResource",
organization_id="string",
parameters=meraki.organizations.InventoryReleaseParametersArgs(
serials=["string"],
))
const inventoryReleaseResource = new meraki.organizations.InventoryRelease("inventoryReleaseResource", {
organizationId: "string",
parameters: {
serials: ["string"],
},
});
type: meraki:organizations:InventoryRelease
properties:
organizationId: string
parameters:
serials:
- string
InventoryRelease Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The InventoryRelease resource accepts the following input properties:
- Organization
Id string - organizationId path parameter. Organization ID
- Parameters
Inventory
Release Parameters
- Organization
Id string - organizationId path parameter. Organization ID
- Parameters
Inventory
Release Parameters Args
- organization
Id String - organizationId path parameter. Organization ID
- parameters
Inventory
Release Parameters
- organization
Id string - organizationId path parameter. Organization ID
- parameters
Inventory
Release Parameters
- organization_
id str - organizationId path parameter. Organization ID
- parameters
Inventory
Release 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 InventoryRelease resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Item
Inventory
Release Item
- Id string
- The provider-assigned unique ID for this managed resource.
- Item
Inventory
Release Item
- id String
- The provider-assigned unique ID for this managed resource.
- item
Inventory
Release Item
- id string
- The provider-assigned unique ID for this managed resource.
- item
Inventory
Release Item
- id str
- The provider-assigned unique ID for this managed resource.
- item
Inventory
Release Item
- id String
- The provider-assigned unique ID for this managed resource.
- item Property Map
Look up Existing InventoryRelease Resource
Get an existing InventoryRelease 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?: InventoryReleaseState, opts?: CustomResourceOptions): InventoryRelease
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
item: Optional[InventoryReleaseItemArgs] = None,
organization_id: Optional[str] = None,
parameters: Optional[InventoryReleaseParametersArgs] = None) -> InventoryRelease
func GetInventoryRelease(ctx *Context, name string, id IDInput, state *InventoryReleaseState, opts ...ResourceOption) (*InventoryRelease, error)
public static InventoryRelease Get(string name, Input<string> id, InventoryReleaseState? state, CustomResourceOptions? opts = null)
public static InventoryRelease get(String name, Output<String> id, InventoryReleaseState 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.
- Item
Inventory
Release Item - Organization
Id string - organizationId path parameter. Organization ID
- Parameters
Inventory
Release Parameters
- Item
Inventory
Release Item Args - Organization
Id string - organizationId path parameter. Organization ID
- Parameters
Inventory
Release Parameters Args
- item
Inventory
Release Item - organization
Id String - organizationId path parameter. Organization ID
- parameters
Inventory
Release Parameters
- item
Inventory
Release Item - organization
Id string - organizationId path parameter. Organization ID
- parameters
Inventory
Release Parameters
- item
Inventory
Release Item Args - organization_
id str - organizationId path parameter. Organization ID
- parameters
Inventory
Release Parameters Args
- item Property Map
- organization
Id String - organizationId path parameter. Organization ID
- parameters Property Map
Supporting Types
InventoryReleaseItem, InventoryReleaseItemArgs
- Serials List<string>
- Serials of the devices that were released
- Serials []string
- Serials of the devices that were released
- serials List<String>
- Serials of the devices that were released
- serials string[]
- Serials of the devices that were released
- serials Sequence[str]
- Serials of the devices that were released
- serials List<String>
- Serials of the devices that were released
InventoryReleaseParameters, InventoryReleaseParametersArgs
- Serials List<string>
- Serials of the devices that should be released
- Serials []string
- Serials of the devices that should be released
- serials List<String>
- Serials of the devices that should be released
- serials string[]
- Serials of the devices that should be released
- serials Sequence[str]
- Serials of the devices that should be released
- serials List<String>
- Serials of the devices that should be released
Package Details
- Repository
- meraki pulumi/pulumi-meraki
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
meraki
Terraform Provider.