meraki.organizations.LicensesRenewSeats
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.LicensesRenewSeats;
import com.pulumi.meraki.organizations.LicensesRenewSeatsArgs;
import com.pulumi.meraki.organizations.inputs.LicensesRenewSeatsParametersArgs;
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 LicensesRenewSeats("example", LicensesRenewSeatsArgs.builder()
.organizationId("string")
.parameters(LicensesRenewSeatsParametersArgs.builder()
.license_id_to_renew("123")
.unused_license_id("1234")
.build())
.build());
ctx.export("merakiOrganizationsLicensesRenewSeatsExample", example);
}
}
resources:
example:
type: meraki:organizations:LicensesRenewSeats
properties:
organizationId: string
parameters:
license_id_to_renew: '123'
unused_license_id: '1234'
outputs:
merakiOrganizationsLicensesRenewSeatsExample: ${example}
Create LicensesRenewSeats Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new LicensesRenewSeats(name: string, args: LicensesRenewSeatsArgs, opts?: CustomResourceOptions);
@overload
def LicensesRenewSeats(resource_name: str,
args: LicensesRenewSeatsArgs,
opts: Optional[ResourceOptions] = None)
@overload
def LicensesRenewSeats(resource_name: str,
opts: Optional[ResourceOptions] = None,
organization_id: Optional[str] = None,
parameters: Optional[LicensesRenewSeatsParametersArgs] = None)
func NewLicensesRenewSeats(ctx *Context, name string, args LicensesRenewSeatsArgs, opts ...ResourceOption) (*LicensesRenewSeats, error)
public LicensesRenewSeats(string name, LicensesRenewSeatsArgs args, CustomResourceOptions? opts = null)
public LicensesRenewSeats(String name, LicensesRenewSeatsArgs args)
public LicensesRenewSeats(String name, LicensesRenewSeatsArgs args, CustomResourceOptions options)
type: meraki:organizations:LicensesRenewSeats
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 LicensesRenewSeatsArgs
- 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 LicensesRenewSeatsArgs
- 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 LicensesRenewSeatsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args LicensesRenewSeatsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args LicensesRenewSeatsArgs
- 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 licensesRenewSeatsResource = new Meraki.Organizations.LicensesRenewSeats("licensesRenewSeatsResource", new()
{
OrganizationId = "string",
Parameters = new Meraki.Organizations.Inputs.LicensesRenewSeatsParametersArgs
{
LicenseIdToRenew = "string",
UnusedLicenseId = "string",
},
});
example, err := organizations.NewLicensesRenewSeats(ctx, "licensesRenewSeatsResource", &organizations.LicensesRenewSeatsArgs{
OrganizationId: pulumi.String("string"),
Parameters: &organizations.LicensesRenewSeatsParametersArgs{
LicenseIdToRenew: pulumi.String("string"),
UnusedLicenseId: pulumi.String("string"),
},
})
var licensesRenewSeatsResource = new LicensesRenewSeats("licensesRenewSeatsResource", LicensesRenewSeatsArgs.builder()
.organizationId("string")
.parameters(LicensesRenewSeatsParametersArgs.builder()
.licenseIdToRenew("string")
.unusedLicenseId("string")
.build())
.build());
licenses_renew_seats_resource = meraki.organizations.LicensesRenewSeats("licensesRenewSeatsResource",
organization_id="string",
parameters={
"license_id_to_renew": "string",
"unused_license_id": "string",
})
const licensesRenewSeatsResource = new meraki.organizations.LicensesRenewSeats("licensesRenewSeatsResource", {
organizationId: "string",
parameters: {
licenseIdToRenew: "string",
unusedLicenseId: "string",
},
});
type: meraki:organizations:LicensesRenewSeats
properties:
organizationId: string
parameters:
licenseIdToRenew: string
unusedLicenseId: string
LicensesRenewSeats 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 LicensesRenewSeats resource accepts the following input properties:
- Organization
Id string - organizationId path parameter. Organization ID
- Parameters
Licenses
Renew Seats Parameters
- Organization
Id string - organizationId path parameter. Organization ID
- Parameters
Licenses
Renew Seats Parameters Args
- organization
Id String - organizationId path parameter. Organization ID
- parameters
Licenses
Renew Seats Parameters
- organization
Id string - organizationId path parameter. Organization ID
- parameters
Licenses
Renew Seats Parameters
- organization_
id str - organizationId path parameter. Organization ID
- parameters
Licenses
Renew 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 LicensesRenewSeats resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Item
Licenses
Renew Seats Item
- Id string
- The provider-assigned unique ID for this managed resource.
- Item
Licenses
Renew Seats Item
- id String
- The provider-assigned unique ID for this managed resource.
- item
Licenses
Renew Seats Item
- id string
- The provider-assigned unique ID for this managed resource.
- item
Licenses
Renew Seats Item
- id str
- The provider-assigned unique ID for this managed resource.
- item
Licenses
Renew Seats Item
- id String
- The provider-assigned unique ID for this managed resource.
- item Property Map
Look up Existing LicensesRenewSeats Resource
Get an existing LicensesRenewSeats 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?: LicensesRenewSeatsState, opts?: CustomResourceOptions): LicensesRenewSeats
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
item: Optional[LicensesRenewSeatsItemArgs] = None,
organization_id: Optional[str] = None,
parameters: Optional[LicensesRenewSeatsParametersArgs] = None) -> LicensesRenewSeats
func GetLicensesRenewSeats(ctx *Context, name string, id IDInput, state *LicensesRenewSeatsState, opts ...ResourceOption) (*LicensesRenewSeats, error)
public static LicensesRenewSeats Get(string name, Input<string> id, LicensesRenewSeatsState? state, CustomResourceOptions? opts = null)
public static LicensesRenewSeats get(String name, Output<String> id, LicensesRenewSeatsState 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
Renew Seats Item - Organization
Id string - organizationId path parameter. Organization ID
- Parameters
Licenses
Renew Seats Parameters
- Item
Licenses
Renew Seats Item Args - Organization
Id string - organizationId path parameter. Organization ID
- Parameters
Licenses
Renew Seats Parameters Args
- item
Licenses
Renew Seats Item - organization
Id String - organizationId path parameter. Organization ID
- parameters
Licenses
Renew Seats Parameters
- item
Licenses
Renew Seats Item - organization
Id string - organizationId path parameter. Organization ID
- parameters
Licenses
Renew Seats Parameters
- item
Licenses
Renew Seats Item Args - organization_
id str - organizationId path parameter. Organization ID
- parameters
Licenses
Renew Seats Parameters Args
- item Property Map
- organization
Id String - organizationId path parameter. Organization ID
- parameters Property Map
Supporting Types
LicensesRenewSeatsItem, LicensesRenewSeatsItemArgs
- Resulting
Licenses List<LicensesRenew Seats Item Resulting License> - Resulting licenses from the move
- Resulting
Licenses []LicensesRenew Seats Item Resulting License - Resulting licenses from the move
- resulting
Licenses List<LicensesRenew Seats Item Resulting License> - Resulting licenses from the move
- resulting
Licenses LicensesRenew Seats Item Resulting License[] - Resulting licenses from the move
- resulting_
licenses Sequence[LicensesRenew Seats Item Resulting License] - Resulting licenses from the move
- resulting
Licenses List<Property Map> - Resulting licenses from the move
LicensesRenewSeatsItemResultingLicense, LicensesRenewSeatsItemResultingLicenseArgs
- 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 Renew 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 Renew 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 Renew 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 Renew 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 Renew 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
LicensesRenewSeatsItemResultingLicensePermanentlyQueuedLicense, LicensesRenewSeatsItemResultingLicensePermanentlyQueuedLicenseArgs
- 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
LicensesRenewSeatsParameters, LicensesRenewSeatsParametersArgs
- License
Id stringTo Renew - The ID of the SM license to renew. This license must already be assigned to an SM network
- Unused
License stringId - The SM license to use to renew the seats on 'licenseIdToRenew'. This license must have at least as many seats available as there are seats on 'licenseIdToRenew'
- License
Id stringTo Renew - The ID of the SM license to renew. This license must already be assigned to an SM network
- Unused
License stringId - The SM license to use to renew the seats on 'licenseIdToRenew'. This license must have at least as many seats available as there are seats on 'licenseIdToRenew'
- license
Id StringTo Renew - The ID of the SM license to renew. This license must already be assigned to an SM network
- unused
License StringId - The SM license to use to renew the seats on 'licenseIdToRenew'. This license must have at least as many seats available as there are seats on 'licenseIdToRenew'
- license
Id stringTo Renew - The ID of the SM license to renew. This license must already be assigned to an SM network
- unused
License stringId - The SM license to use to renew the seats on 'licenseIdToRenew'. This license must have at least as many seats available as there are seats on 'licenseIdToRenew'
- license_
id_ strto_ renew - The ID of the SM license to renew. This license must already be assigned to an SM network
- unused_
license_ strid - The SM license to use to renew the seats on 'licenseIdToRenew'. This license must have at least as many seats available as there are seats on 'licenseIdToRenew'
- license
Id StringTo Renew - The ID of the SM license to renew. This license must already be assigned to an SM network
- unused
License StringId - The SM license to use to renew the seats on 'licenseIdToRenew'. This license must have at least as many seats available as there are seats on 'licenseIdToRenew'
Package Details
- Repository
- meraki pulumi/pulumi-meraki
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
meraki
Terraform Provider.