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

meraki.organizations.LicensesAssignSeats

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

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.meraki.organizations.LicensesAssignSeats;
    import com.pulumi.meraki.organizations.LicensesAssignSeatsArgs;
    import com.pulumi.meraki.organizations.inputs.LicensesAssignSeatsParametersArgs;
    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 LicensesAssignSeats("example", LicensesAssignSeatsArgs.builder()
                .organizationId("string")
                .parameters(LicensesAssignSeatsParametersArgs.builder()
                    .license_id("1234")
                    .network_id("N_24329156")
                    .seat_count(20)
                    .build())
                .build());
    
            ctx.export("merakiOrganizationsLicensesAssignSeatsExample", example);
        }
    }
    
    resources:
      example:
        type: meraki:organizations:LicensesAssignSeats
        properties:
          organizationId: string
          parameters:
            license_id: '1234'
            network_id: N_24329156
            seat_count: 20
    outputs:
      merakiOrganizationsLicensesAssignSeatsExample: ${example}
    

    Create LicensesAssignSeats Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new LicensesAssignSeats(name: string, args: LicensesAssignSeatsArgs, opts?: CustomResourceOptions);
    @overload
    def LicensesAssignSeats(resource_name: str,
                            args: LicensesAssignSeatsArgs,
                            opts: Optional[ResourceOptions] = None)
    
    @overload
    def LicensesAssignSeats(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            organization_id: Optional[str] = None,
                            parameters: Optional[LicensesAssignSeatsParametersArgs] = None)
    func NewLicensesAssignSeats(ctx *Context, name string, args LicensesAssignSeatsArgs, opts ...ResourceOption) (*LicensesAssignSeats, error)
    public LicensesAssignSeats(string name, LicensesAssignSeatsArgs args, CustomResourceOptions? opts = null)
    public LicensesAssignSeats(String name, LicensesAssignSeatsArgs args)
    public LicensesAssignSeats(String name, LicensesAssignSeatsArgs args, CustomResourceOptions options)
    
    type: meraki:organizations:LicensesAssignSeats
    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 LicensesAssignSeatsArgs
    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 LicensesAssignSeatsArgs
    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 LicensesAssignSeatsArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args LicensesAssignSeatsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args LicensesAssignSeatsArgs
    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 licensesAssignSeatsResource = new Meraki.Organizations.LicensesAssignSeats("licensesAssignSeatsResource", new()
    {
        OrganizationId = "string",
        Parameters = new Meraki.Organizations.Inputs.LicensesAssignSeatsParametersArgs
        {
            LicenseId = "string",
            NetworkId = "string",
            SeatCount = 0,
        },
    });
    
    example, err := organizations.NewLicensesAssignSeats(ctx, "licensesAssignSeatsResource", &organizations.LicensesAssignSeatsArgs{
    	OrganizationId: pulumi.String("string"),
    	Parameters: &organizations.LicensesAssignSeatsParametersArgs{
    		LicenseId: pulumi.String("string"),
    		NetworkId: pulumi.String("string"),
    		SeatCount: pulumi.Int(0),
    	},
    })
    
    var licensesAssignSeatsResource = new LicensesAssignSeats("licensesAssignSeatsResource", LicensesAssignSeatsArgs.builder()
        .organizationId("string")
        .parameters(LicensesAssignSeatsParametersArgs.builder()
            .licenseId("string")
            .networkId("string")
            .seatCount(0)
            .build())
        .build());
    
    licenses_assign_seats_resource = meraki.organizations.LicensesAssignSeats("licensesAssignSeatsResource",
        organization_id="string",
        parameters=meraki.organizations.LicensesAssignSeatsParametersArgs(
            license_id="string",
            network_id="string",
            seat_count=0,
        ))
    
    const licensesAssignSeatsResource = new meraki.organizations.LicensesAssignSeats("licensesAssignSeatsResource", {
        organizationId: "string",
        parameters: {
            licenseId: "string",
            networkId: "string",
            seatCount: 0,
        },
    });
    
    type: meraki:organizations:LicensesAssignSeats
    properties:
        organizationId: string
        parameters:
            licenseId: string
            networkId: string
            seatCount: 0
    

    LicensesAssignSeats 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 LicensesAssignSeats resource accepts the following input properties:

    OrganizationId string
    organizationId path parameter. Organization ID
    Parameters LicensesAssignSeatsParameters
    OrganizationId string
    organizationId path parameter. Organization ID
    Parameters LicensesAssignSeatsParametersArgs
    organizationId String
    organizationId path parameter. Organization ID
    parameters LicensesAssignSeatsParameters
    organizationId string
    organizationId path parameter. Organization ID
    parameters LicensesAssignSeatsParameters
    organization_id str
    organizationId path parameter. Organization ID
    parameters LicensesAssignSeatsParametersArgs
    organizationId String
    organizationId path parameter. Organization ID
    parameters Property Map

    Outputs

    All input properties are implicitly available as output properties. Additionally, the LicensesAssignSeats resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Item LicensesAssignSeatsItem
    Id string
    The provider-assigned unique ID for this managed resource.
    Item LicensesAssignSeatsItem
    id String
    The provider-assigned unique ID for this managed resource.
    item LicensesAssignSeatsItem
    id string
    The provider-assigned unique ID for this managed resource.
    item LicensesAssignSeatsItem
    id str
    The provider-assigned unique ID for this managed resource.
    item LicensesAssignSeatsItem
    id String
    The provider-assigned unique ID for this managed resource.
    item Property Map

    Look up Existing LicensesAssignSeats Resource

    Get an existing LicensesAssignSeats 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?: LicensesAssignSeatsState, opts?: CustomResourceOptions): LicensesAssignSeats
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            item: Optional[LicensesAssignSeatsItemArgs] = None,
            organization_id: Optional[str] = None,
            parameters: Optional[LicensesAssignSeatsParametersArgs] = None) -> LicensesAssignSeats
    func GetLicensesAssignSeats(ctx *Context, name string, id IDInput, state *LicensesAssignSeatsState, opts ...ResourceOption) (*LicensesAssignSeats, error)
    public static LicensesAssignSeats Get(string name, Input<string> id, LicensesAssignSeatsState? state, CustomResourceOptions? opts = null)
    public static LicensesAssignSeats get(String name, Output<String> id, LicensesAssignSeatsState 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:
    Item LicensesAssignSeatsItem
    OrganizationId string
    organizationId path parameter. Organization ID
    Parameters LicensesAssignSeatsParameters
    item LicensesAssignSeatsItem
    organizationId String
    organizationId path parameter. Organization ID
    parameters LicensesAssignSeatsParameters
    item LicensesAssignSeatsItem
    organizationId string
    organizationId path parameter. Organization ID
    parameters LicensesAssignSeatsParameters
    item Property Map
    organizationId String
    organizationId path parameter. Organization ID
    parameters Property Map

    Supporting Types

    LicensesAssignSeatsItem, LicensesAssignSeatsItemArgs

    resultingLicenses List<Property Map>
    Resulting licenses from the move

    LicensesAssignSeatsItemResultingLicense, LicensesAssignSeatsItemResultingLicenseArgs

    ActivationDate string
    The date the license started burning
    ClaimDate string
    The date the license was claimed into the organization
    DeviceSerial string
    Serial number of the device the license is assigned to
    DurationInDays int
    The duration of the individual license
    ExpirationDate string
    The date the license will expire
    HeadLicenseId string
    The id of the head license this license is queued behind. If there is no head license, it returns nil.
    Id string
    License ID
    LicenseKey string
    License key
    LicenseType string
    License type
    NetworkId string
    ID of the network the license is assigned to
    OrderNumber string
    Order number
    PermanentlyQueuedLicenses List<LicensesAssignSeatsItemResultingLicensePermanentlyQueuedLicense>
    DEPRECATED List of permanently queued licenses attached to the license. Instead, use /organizations/{organizationId}/licenses?deviceSerial= to retrieved queued licenses for a given device.
    SeatCount int
    The number of seats of the license. Only applicable to SM licenses.
    State string
    The state of the license. All queued licenses have a status of recentlyQueued.
    TotalDurationInDays int
    The duration of the license plus all permanently queued licenses associated with it
    ActivationDate string
    The date the license started burning
    ClaimDate string
    The date the license was claimed into the organization
    DeviceSerial string
    Serial number of the device the license is assigned to
    DurationInDays int
    The duration of the individual license
    ExpirationDate string
    The date the license will expire
    HeadLicenseId string
    The id of the head license this license is queued behind. If there is no head license, it returns nil.
    Id string
    License ID
    LicenseKey string
    License key
    LicenseType string
    License type
    NetworkId string
    ID of the network the license is assigned to
    OrderNumber string
    Order number
    PermanentlyQueuedLicenses []LicensesAssignSeatsItemResultingLicensePermanentlyQueuedLicense
    DEPRECATED List of permanently queued licenses attached to the license. Instead, use /organizations/{organizationId}/licenses?deviceSerial= to retrieved queued licenses for a given device.
    SeatCount int
    The number of seats of the license. Only applicable to SM licenses.
    State string
    The state of the license. All queued licenses have a status of recentlyQueued.
    TotalDurationInDays int
    The duration of the license plus all permanently queued licenses associated with it
    activationDate String
    The date the license started burning
    claimDate String
    The date the license was claimed into the organization
    deviceSerial String
    Serial number of the device the license is assigned to
    durationInDays Integer
    The duration of the individual license
    expirationDate String
    The date the license will expire
    headLicenseId String
    The id of the head license this license is queued behind. If there is no head license, it returns nil.
    id String
    License ID
    licenseKey String
    License key
    licenseType String
    License type
    networkId String
    ID of the network the license is assigned to
    orderNumber String
    Order number
    permanentlyQueuedLicenses List<LicensesAssignSeatsItemResultingLicensePermanentlyQueuedLicense>
    DEPRECATED List of permanently queued licenses attached to the license. Instead, use /organizations/{organizationId}/licenses?deviceSerial= to retrieved queued licenses for a given device.
    seatCount Integer
    The number of seats of the license. Only applicable to SM licenses.
    state String
    The state of the license. All queued licenses have a status of recentlyQueued.
    totalDurationInDays Integer
    The duration of the license plus all permanently queued licenses associated with it
    activationDate string
    The date the license started burning
    claimDate string
    The date the license was claimed into the organization
    deviceSerial string
    Serial number of the device the license is assigned to
    durationInDays number
    The duration of the individual license
    expirationDate string
    The date the license will expire
    headLicenseId string
    The id of the head license this license is queued behind. If there is no head license, it returns nil.
    id string
    License ID
    licenseKey string
    License key
    licenseType string
    License type
    networkId string
    ID of the network the license is assigned to
    orderNumber string
    Order number
    permanentlyQueuedLicenses LicensesAssignSeatsItemResultingLicensePermanentlyQueuedLicense[]
    DEPRECATED List of permanently queued licenses attached to the license. Instead, use /organizations/{organizationId}/licenses?deviceSerial= to retrieved queued licenses for a given device.
    seatCount number
    The number of seats of the license. Only applicable to SM licenses.
    state string
    The state of the license. All queued licenses have a status of recentlyQueued.
    totalDurationInDays number
    The duration of the license plus all permanently queued licenses associated with it
    activation_date str
    The date the license started burning
    claim_date str
    The date the license was claimed into the organization
    device_serial str
    Serial number of the device the license is assigned to
    duration_in_days int
    The duration of the individual license
    expiration_date str
    The date the license will expire
    head_license_id str
    The id of the head license this license is queued behind. If there is no head license, it returns nil.
    id str
    License ID
    license_key str
    License key
    license_type str
    License type
    network_id str
    ID of the network the license is assigned to
    order_number str
    Order number
    permanently_queued_licenses Sequence[LicensesAssignSeatsItemResultingLicensePermanentlyQueuedLicense]
    DEPRECATED List of permanently queued licenses attached to the license. Instead, use /organizations/{organizationId}/licenses?deviceSerial= to retrieved queued licenses for a given device.
    seat_count int
    The number of seats of the license. Only applicable to SM licenses.
    state str
    The state of the license. All queued licenses have a status of recentlyQueued.
    total_duration_in_days int
    The duration of the license plus all permanently queued licenses associated with it
    activationDate String
    The date the license started burning
    claimDate String
    The date the license was claimed into the organization
    deviceSerial String
    Serial number of the device the license is assigned to
    durationInDays Number
    The duration of the individual license
    expirationDate String
    The date the license will expire
    headLicenseId String
    The id of the head license this license is queued behind. If there is no head license, it returns nil.
    id String
    License ID
    licenseKey String
    License key
    licenseType String
    License type
    networkId String
    ID of the network the license is assigned to
    orderNumber String
    Order number
    permanentlyQueuedLicenses List<Property Map>
    DEPRECATED List of permanently queued licenses attached to the license. Instead, use /organizations/{organizationId}/licenses?deviceSerial= to retrieved queued licenses for a given device.
    seatCount Number
    The number of seats of the license. Only applicable to SM licenses.
    state String
    The state of the license. All queued licenses have a status of recentlyQueued.
    totalDurationInDays Number
    The duration of the license plus all permanently queued licenses associated with it

    LicensesAssignSeatsItemResultingLicensePermanentlyQueuedLicense, LicensesAssignSeatsItemResultingLicensePermanentlyQueuedLicenseArgs

    DurationInDays int
    The duration of the individual license
    Id string
    Permanently queued license ID
    LicenseKey string
    License key
    LicenseType string
    License type
    OrderNumber string
    Order number
    DurationInDays int
    The duration of the individual license
    Id string
    Permanently queued license ID
    LicenseKey string
    License key
    LicenseType string
    License type
    OrderNumber string
    Order number
    durationInDays Integer
    The duration of the individual license
    id String
    Permanently queued license ID
    licenseKey String
    License key
    licenseType String
    License type
    orderNumber String
    Order number
    durationInDays number
    The duration of the individual license
    id string
    Permanently queued license ID
    licenseKey string
    License key
    licenseType string
    License type
    orderNumber string
    Order number
    duration_in_days int
    The duration of the individual license
    id str
    Permanently queued license ID
    license_key str
    License key
    license_type str
    License type
    order_number str
    Order number
    durationInDays Number
    The duration of the individual license
    id String
    Permanently queued license ID
    licenseKey String
    License key
    licenseType String
    License type
    orderNumber String
    Order number

    LicensesAssignSeatsParameters, LicensesAssignSeatsParametersArgs

    LicenseId string
    The ID of the SM license to assign seats from
    NetworkId string
    The ID of the SM network to assign the seats to
    SeatCount int
    The number of seats to assign to the SM network. Must be less than or equal to the total number of seats of the license
    LicenseId string
    The ID of the SM license to assign seats from
    NetworkId string
    The ID of the SM network to assign the seats to
    SeatCount int
    The number of seats to assign to the SM network. Must be less than or equal to the total number of seats of the license
    licenseId String
    The ID of the SM license to assign seats from
    networkId String
    The ID of the SM network to assign the seats to
    seatCount Integer
    The number of seats to assign to the SM network. Must be less than or equal to the total number of seats of the license
    licenseId string
    The ID of the SM license to assign seats from
    networkId string
    The ID of the SM network to assign the seats to
    seatCount number
    The number of seats to assign to the SM network. Must be less than or equal to the total number of seats of the license
    license_id str
    The ID of the SM license to assign seats from
    network_id str
    The ID of the SM network to assign the seats to
    seat_count int
    The number of seats to assign to the SM network. Must be less than or equal to the total number of seats of the license
    licenseId String
    The ID of the SM license to assign seats from
    networkId String
    The ID of the SM network to assign the seats to
    seatCount Number
    The number of seats to assign to the SM network. Must be less than or equal to the total number of seats of the license

    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