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

meraki.organizations.LicensesRenewSeats

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

    OrganizationId string
    organizationId path parameter. Organization ID
    Parameters LicensesRenewSeatsParameters
    OrganizationId string
    organizationId path parameter. Organization ID
    Parameters LicensesRenewSeatsParametersArgs
    organizationId String
    organizationId path parameter. Organization ID
    parameters LicensesRenewSeatsParameters
    organizationId string
    organizationId path parameter. Organization ID
    parameters LicensesRenewSeatsParameters
    organization_id str
    organizationId path parameter. Organization ID
    parameters LicensesRenewSeatsParametersArgs
    organizationId 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 LicensesRenewSeatsItem
    Id string
    The provider-assigned unique ID for this managed resource.
    Item LicensesRenewSeatsItem
    id String
    The provider-assigned unique ID for this managed resource.
    item LicensesRenewSeatsItem
    id string
    The provider-assigned unique ID for this managed resource.
    item LicensesRenewSeatsItem
    id str
    The provider-assigned unique ID for this managed resource.
    item LicensesRenewSeatsItem
    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.
    The following state arguments are supported:
    Item LicensesRenewSeatsItem
    OrganizationId string
    organizationId path parameter. Organization ID
    Parameters LicensesRenewSeatsParameters
    item LicensesRenewSeatsItem
    organizationId String
    organizationId path parameter. Organization ID
    parameters LicensesRenewSeatsParameters
    item LicensesRenewSeatsItem
    organizationId string
    organizationId path parameter. Organization ID
    parameters LicensesRenewSeatsParameters
    item Property Map
    organizationId String
    organizationId path parameter. Organization ID
    parameters Property Map

    Supporting Types

    LicensesRenewSeatsItem, LicensesRenewSeatsItemArgs

    resultingLicenses List<Property Map>
    Resulting licenses from the move

    LicensesRenewSeatsItemResultingLicense, LicensesRenewSeatsItemResultingLicenseArgs

    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<LicensesRenewSeatsItemResultingLicensePermanentlyQueuedLicense>
    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 []LicensesRenewSeatsItemResultingLicensePermanentlyQueuedLicense
    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<LicensesRenewSeatsItemResultingLicensePermanentlyQueuedLicense>
    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 LicensesRenewSeatsItemResultingLicensePermanentlyQueuedLicense[]
    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[LicensesRenewSeatsItemResultingLicensePermanentlyQueuedLicense]
    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

    LicensesRenewSeatsItemResultingLicensePermanentlyQueuedLicense, LicensesRenewSeatsItemResultingLicensePermanentlyQueuedLicenseArgs

    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

    LicensesRenewSeatsParameters, LicensesRenewSeatsParametersArgs

    LicenseIdToRenew string
    The ID of the SM license to renew. This license must already be assigned to an SM network
    UnusedLicenseId string
    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'
    LicenseIdToRenew string
    The ID of the SM license to renew. This license must already be assigned to an SM network
    UnusedLicenseId string
    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'
    licenseIdToRenew String
    The ID of the SM license to renew. This license must already be assigned to an SM network
    unusedLicenseId String
    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'
    licenseIdToRenew string
    The ID of the SM license to renew. This license must already be assigned to an SM network
    unusedLicenseId string
    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_to_renew str
    The ID of the SM license to renew. This license must already be assigned to an SM network
    unused_license_id str
    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'
    licenseIdToRenew String
    The ID of the SM license to renew. This license must already be assigned to an SM network
    unusedLicenseId String
    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.
    meraki logo
    Cisco Meraki v0.3.2 published on Tuesday, Sep 24, 2024 by Pulumi