meraki.organizations.LicensesAssignSeats
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
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={
"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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The LicensesAssignSeats resource accepts the following input properties:
- Organization
Id string - organizationId path parameter. Organization ID
- Parameters
Licenses
Assign Seats Parameters
- Organization
Id string - organizationId path parameter. Organization ID
- Parameters
Licenses
Assign Seats Parameters Args
- organization
Id String - organizationId path parameter. Organization ID
- parameters
Licenses
Assign Seats Parameters
- organization
Id string - organizationId path parameter. Organization ID
- parameters
Licenses
Assign Seats Parameters
- organization_
id str - organizationId path parameter. Organization ID
- parameters
Licenses
Assign Seats 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 LicensesAssignSeats resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Item
Licenses
Assign Seats Item
- Id string
- The provider-assigned unique ID for this managed resource.
- Item
Licenses
Assign Seats Item
- id String
- The provider-assigned unique ID for this managed resource.
- item
Licenses
Assign Seats Item
- id string
- The provider-assigned unique ID for this managed resource.
- item
Licenses
Assign Seats Item
- id str
- The provider-assigned unique ID for this managed resource.
- item
Licenses
Assign Seats Item
- 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.
- Item
Licenses
Assign Seats Item - Organization
Id string - organizationId path parameter. Organization ID
- Parameters
Licenses
Assign Seats Parameters
- Item
Licenses
Assign Seats Item Args - Organization
Id string - organizationId path parameter. Organization ID
- Parameters
Licenses
Assign Seats Parameters Args
- item
Licenses
Assign Seats Item - organization
Id String - organizationId path parameter. Organization ID
- parameters
Licenses
Assign Seats Parameters
- item
Licenses
Assign Seats Item - organization
Id string - organizationId path parameter. Organization ID
- parameters
Licenses
Assign Seats Parameters
- item
Licenses
Assign Seats Item Args - organization_
id str - organizationId path parameter. Organization ID
- parameters
Licenses
Assign Seats Parameters Args
- item Property Map
- organization
Id String - organizationId path parameter. Organization ID
- parameters Property Map
Supporting Types
LicensesAssignSeatsItem, LicensesAssignSeatsItemArgs
- Resulting
Licenses List<LicensesAssign Seats Item Resulting License> - Resulting licenses from the move
- Resulting
Licenses []LicensesAssign Seats Item Resulting License - Resulting licenses from the move
- resulting
Licenses List<LicensesAssign Seats Item Resulting License> - Resulting licenses from the move
- resulting
Licenses LicensesAssign Seats Item Resulting License[] - Resulting licenses from the move
- resulting_
licenses Sequence[LicensesAssign Seats Item Resulting License] - Resulting licenses from the move
- resulting
Licenses List<Property Map> - Resulting licenses from the move
LicensesAssignSeatsItemResultingLicense, LicensesAssignSeatsItemResultingLicenseArgs
- Activation
Date string - The date the license started burning
- Claim
Date string - The date the license was claimed into the organization
- Device
Serial string - Serial number of the device the license is assigned to
- Duration
In intDays - The duration of the individual license
- Expiration
Date string - The date the license will expire
- Head
License stringId - The id of the head license this license is queued behind. If there is no head license, it returns nil.
- Id string
- License ID
- License
Key string - License key
- License
Type string - License type
- Network
Id string - ID of the network the license is assigned to
- Order
Number string - Order number
- Permanently
Queued List<LicensesLicenses Assign Seats Item Resulting License Permanently Queued License> - 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 string
- The state of the license. All queued licenses have a status of recentlyQueued.
- Total
Duration intIn Days - The duration of the license plus all permanently queued licenses associated with it
- Activation
Date string - The date the license started burning
- Claim
Date string - The date the license was claimed into the organization
- Device
Serial string - Serial number of the device the license is assigned to
- Duration
In intDays - The duration of the individual license
- Expiration
Date string - The date the license will expire
- Head
License stringId - The id of the head license this license is queued behind. If there is no head license, it returns nil.
- Id string
- License ID
- License
Key string - License key
- License
Type string - License type
- Network
Id string - ID of the network the license is assigned to
- Order
Number string - Order number
- Permanently
Queued []LicensesLicenses Assign Seats Item Resulting License Permanently Queued License - 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 string
- The state of the license. All queued licenses have a status of recentlyQueued.
- Total
Duration intIn Days - The duration of the license plus all permanently queued licenses associated with it
- activation
Date String - The date the license started burning
- claim
Date String - The date the license was claimed into the organization
- device
Serial String - Serial number of the device the license is assigned to
- duration
In IntegerDays - The duration of the individual license
- expiration
Date String - The date the license will expire
- head
License StringId - The id of the head license this license is queued behind. If there is no head license, it returns nil.
- id String
- License ID
- license
Key String - License key
- license
Type String - License type
- network
Id String - ID of the network the license is assigned to
- order
Number String - Order number
- permanently
Queued List<LicensesLicenses Assign Seats Item Resulting License Permanently Queued License> - 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 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.
- total
Duration IntegerIn Days - The duration of the license plus all permanently queued licenses associated with it
- activation
Date string - The date the license started burning
- claim
Date string - The date the license was claimed into the organization
- device
Serial string - Serial number of the device the license is assigned to
- duration
In numberDays - The duration of the individual license
- expiration
Date string - The date the license will expire
- head
License stringId - The id of the head license this license is queued behind. If there is no head license, it returns nil.
- id string
- License ID
- license
Key string - License key
- license
Type string - License type
- network
Id string - ID of the network the license is assigned to
- order
Number string - Order number
- permanently
Queued LicensesLicenses Assign Seats Item Resulting License Permanently Queued License[] - 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 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.
- total
Duration numberIn Days - 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_ intdays - The duration of the individual license
- expiration_
date str - The date the license will expire
- head_
license_ strid - 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_ Sequence[Licenseslicenses Assign Seats Item Resulting License Permanently Queued License] - 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_ intin_ days - The duration of the license plus all permanently queued licenses associated with it
- activation
Date String - The date the license started burning
- claim
Date String - The date the license was claimed into the organization
- device
Serial String - Serial number of the device the license is assigned to
- duration
In NumberDays - The duration of the individual license
- expiration
Date String - The date the license will expire
- head
License StringId - The id of the head license this license is queued behind. If there is no head license, it returns nil.
- id String
- License ID
- license
Key String - License key
- license
Type String - License type
- network
Id String - ID of the network the license is assigned to
- order
Number String - Order number
- permanently
Queued List<Property Map>Licenses - 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 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.
- total
Duration NumberIn Days - The duration of the license plus all permanently queued licenses associated with it
LicensesAssignSeatsItemResultingLicensePermanentlyQueuedLicense, LicensesAssignSeatsItemResultingLicensePermanentlyQueuedLicenseArgs
- Duration
In intDays - The duration of the individual license
- Id string
- Permanently queued license ID
- License
Key string - License key
- License
Type string - License type
- Order
Number string - Order number
- Duration
In intDays - The duration of the individual license
- Id string
- Permanently queued license ID
- License
Key string - License key
- License
Type string - License type
- Order
Number string - Order number
- duration
In IntegerDays - The duration of the individual license
- id String
- Permanently queued license ID
- license
Key String - License key
- license
Type String - License type
- order
Number String - Order number
- duration
In numberDays - The duration of the individual license
- id string
- Permanently queued license ID
- license
Key string - License key
- license
Type string - License type
- order
Number string - Order number
- duration_
in_ intdays - 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
- duration
In NumberDays - The duration of the individual license
- id String
- Permanently queued license ID
- license
Key String - License key
- license
Type String - License type
- order
Number String - Order number
LicensesAssignSeatsParameters, LicensesAssignSeatsParametersArgs
- 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
Package Details
- Repository
- meraki pulumi/pulumi-meraki
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
meraki
Terraform Provider.