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

meraki.organizations.getLicensesOverview

Explore with Pulumi AI

meraki logo
Cisco Meraki v0.3.2 published on Tuesday, Sep 24, 2024 by Pulumi

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as meraki from "@pulumi/meraki";
    
    const example = meraki.organizations.getLicensesOverview({
        organizationId: "string",
    });
    export const merakiOrganizationsLicensesOverviewExample = example.then(example => example.item);
    
    import pulumi
    import pulumi_meraki as meraki
    
    example = meraki.organizations.get_licenses_overview(organization_id="string")
    pulumi.export("merakiOrganizationsLicensesOverviewExample", example.item)
    
    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.GetLicensesOverview(ctx, &organizations.GetLicensesOverviewArgs{
    			OrganizationId: "string",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("merakiOrganizationsLicensesOverviewExample", example.Item)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Meraki = Pulumi.Meraki;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Meraki.Organizations.GetLicensesOverview.Invoke(new()
        {
            OrganizationId = "string",
        });
    
        return new Dictionary<string, object?>
        {
            ["merakiOrganizationsLicensesOverviewExample"] = example.Apply(getLicensesOverviewResult => getLicensesOverviewResult.Item),
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.meraki.organizations.OrganizationsFunctions;
    import com.pulumi.meraki.organizations.inputs.GetLicensesOverviewArgs;
    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) {
            final var example = OrganizationsFunctions.getLicensesOverview(GetLicensesOverviewArgs.builder()
                .organizationId("string")
                .build());
    
            ctx.export("merakiOrganizationsLicensesOverviewExample", example.applyValue(getLicensesOverviewResult -> getLicensesOverviewResult.item()));
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: meraki:organizations:getLicensesOverview
          Arguments:
            organizationId: string
    outputs:
      merakiOrganizationsLicensesOverviewExample: ${example.item}
    

    Using getLicensesOverview

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getLicensesOverview(args: GetLicensesOverviewArgs, opts?: InvokeOptions): Promise<GetLicensesOverviewResult>
    function getLicensesOverviewOutput(args: GetLicensesOverviewOutputArgs, opts?: InvokeOptions): Output<GetLicensesOverviewResult>
    def get_licenses_overview(organization_id: Optional[str] = None,
                              opts: Optional[InvokeOptions] = None) -> GetLicensesOverviewResult
    def get_licenses_overview_output(organization_id: Optional[pulumi.Input[str]] = None,
                              opts: Optional[InvokeOptions] = None) -> Output[GetLicensesOverviewResult]
    func GetLicensesOverview(ctx *Context, args *GetLicensesOverviewArgs, opts ...InvokeOption) (*GetLicensesOverviewResult, error)
    func GetLicensesOverviewOutput(ctx *Context, args *GetLicensesOverviewOutputArgs, opts ...InvokeOption) GetLicensesOverviewResultOutput

    > Note: This function is named GetLicensesOverview in the Go SDK.

    public static class GetLicensesOverview 
    {
        public static Task<GetLicensesOverviewResult> InvokeAsync(GetLicensesOverviewArgs args, InvokeOptions? opts = null)
        public static Output<GetLicensesOverviewResult> Invoke(GetLicensesOverviewInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetLicensesOverviewResult> getLicensesOverview(GetLicensesOverviewArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: meraki:organizations/getLicensesOverview:getLicensesOverview
      arguments:
        # arguments dictionary

    The following arguments are supported:

    OrganizationId string
    organizationId path parameter. Organization ID
    OrganizationId string
    organizationId path parameter. Organization ID
    organizationId String
    organizationId path parameter. Organization ID
    organizationId string
    organizationId path parameter. Organization ID
    organization_id str
    organizationId path parameter. Organization ID
    organizationId String
    organizationId path parameter. Organization ID

    getLicensesOverview Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Item GetLicensesOverviewItem
    OrganizationId string
    organizationId path parameter. Organization ID
    Id string
    The provider-assigned unique ID for this managed resource.
    Item GetLicensesOverviewItem
    OrganizationId string
    organizationId path parameter. Organization ID
    id String
    The provider-assigned unique ID for this managed resource.
    item GetLicensesOverviewItem
    organizationId String
    organizationId path parameter. Organization ID
    id string
    The provider-assigned unique ID for this managed resource.
    item GetLicensesOverviewItem
    organizationId string
    organizationId path parameter. Organization ID
    id str
    The provider-assigned unique ID for this managed resource.
    item GetLicensesOverviewItem
    organization_id str
    organizationId path parameter. Organization ID
    id String
    The provider-assigned unique ID for this managed resource.
    item Property Map
    organizationId String
    organizationId path parameter. Organization ID

    Supporting Types

    GetLicensesOverviewItem

    ExpirationDate string
    License expiration date (Co-termination licensing only)
    LicenseCount int
    Total number of licenses (Per-device licensing only)
    LicenseTypes List<GetLicensesOverviewItemLicenseType>
    Data by license type (Per-device licensing only)
    LicensedDeviceCounts string
    License counts (Co-termination licensing only)
    States GetLicensesOverviewItemStates
    Aggregated data for licenses by state (Per-device licensing only)
    Status string
    License status (Co-termination licensing only)
    SystemsManager GetLicensesOverviewItemSystemsManager
    Aggregated data for Systems Manager licenses (Per-device licensing only)
    ExpirationDate string
    License expiration date (Co-termination licensing only)
    LicenseCount int
    Total number of licenses (Per-device licensing only)
    LicenseTypes []GetLicensesOverviewItemLicenseType
    Data by license type (Per-device licensing only)
    LicensedDeviceCounts string
    License counts (Co-termination licensing only)
    States GetLicensesOverviewItemStates
    Aggregated data for licenses by state (Per-device licensing only)
    Status string
    License status (Co-termination licensing only)
    SystemsManager GetLicensesOverviewItemSystemsManager
    Aggregated data for Systems Manager licenses (Per-device licensing only)
    expirationDate String
    License expiration date (Co-termination licensing only)
    licenseCount Integer
    Total number of licenses (Per-device licensing only)
    licenseTypes List<GetLicensesOverviewItemLicenseType>
    Data by license type (Per-device licensing only)
    licensedDeviceCounts String
    License counts (Co-termination licensing only)
    states GetLicensesOverviewItemStates
    Aggregated data for licenses by state (Per-device licensing only)
    status String
    License status (Co-termination licensing only)
    systemsManager GetLicensesOverviewItemSystemsManager
    Aggregated data for Systems Manager licenses (Per-device licensing only)
    expirationDate string
    License expiration date (Co-termination licensing only)
    licenseCount number
    Total number of licenses (Per-device licensing only)
    licenseTypes GetLicensesOverviewItemLicenseType[]
    Data by license type (Per-device licensing only)
    licensedDeviceCounts string
    License counts (Co-termination licensing only)
    states GetLicensesOverviewItemStates
    Aggregated data for licenses by state (Per-device licensing only)
    status string
    License status (Co-termination licensing only)
    systemsManager GetLicensesOverviewItemSystemsManager
    Aggregated data for Systems Manager licenses (Per-device licensing only)
    expiration_date str
    License expiration date (Co-termination licensing only)
    license_count int
    Total number of licenses (Per-device licensing only)
    license_types Sequence[GetLicensesOverviewItemLicenseType]
    Data by license type (Per-device licensing only)
    licensed_device_counts str
    License counts (Co-termination licensing only)
    states GetLicensesOverviewItemStates
    Aggregated data for licenses by state (Per-device licensing only)
    status str
    License status (Co-termination licensing only)
    systems_manager GetLicensesOverviewItemSystemsManager
    Aggregated data for Systems Manager licenses (Per-device licensing only)
    expirationDate String
    License expiration date (Co-termination licensing only)
    licenseCount Number
    Total number of licenses (Per-device licensing only)
    licenseTypes List<Property Map>
    Data by license type (Per-device licensing only)
    licensedDeviceCounts String
    License counts (Co-termination licensing only)
    states Property Map
    Aggregated data for licenses by state (Per-device licensing only)
    status String
    License status (Co-termination licensing only)
    systemsManager Property Map
    Aggregated data for Systems Manager licenses (Per-device licensing only)

    GetLicensesOverviewItemLicenseType

    Counts GetLicensesOverviewItemLicenseTypeCounts
    Aggregated count data for the license type
    LicenseType string
    License type
    Counts GetLicensesOverviewItemLicenseTypeCounts
    Aggregated count data for the license type
    LicenseType string
    License type
    counts GetLicensesOverviewItemLicenseTypeCounts
    Aggregated count data for the license type
    licenseType String
    License type
    counts GetLicensesOverviewItemLicenseTypeCounts
    Aggregated count data for the license type
    licenseType string
    License type
    counts GetLicensesOverviewItemLicenseTypeCounts
    Aggregated count data for the license type
    license_type str
    License type
    counts Property Map
    Aggregated count data for the license type
    licenseType String
    License type

    GetLicensesOverviewItemLicenseTypeCounts

    Unassigned int
    The number of unassigned licenses
    Unassigned int
    The number of unassigned licenses
    unassigned Integer
    The number of unassigned licenses
    unassigned number
    The number of unassigned licenses
    unassigned int
    The number of unassigned licenses
    unassigned Number
    The number of unassigned licenses

    GetLicensesOverviewItemStates

    active Property Map
    Data for active licenses
    expired Property Map
    Data for expired licenses
    expiring Property Map
    Data for expiring licenses
    recentlyQueued Property Map
    Data for recently queued licenses
    unused Property Map
    Data for unused licenses
    unusedActive Property Map
    Data for unused, active licenses

    GetLicensesOverviewItemStatesActive

    Count int
    The number of active licenses
    Count int
    The number of active licenses
    count Integer
    The number of active licenses
    count number
    The number of active licenses
    count int
    The number of active licenses
    count Number
    The number of active licenses

    GetLicensesOverviewItemStatesExpired

    Count int
    The number of expired licenses
    Count int
    The number of expired licenses
    count Integer
    The number of expired licenses
    count number
    The number of expired licenses
    count int
    The number of expired licenses
    count Number
    The number of expired licenses

    GetLicensesOverviewItemStatesExpiring

    Count int
    The number of expiring licenses
    Critical GetLicensesOverviewItemStatesExpiringCritical
    Data for the critical threshold
    Warning GetLicensesOverviewItemStatesExpiringWarning
    Data for the warning threshold
    Count int
    The number of expiring licenses
    Critical GetLicensesOverviewItemStatesExpiringCritical
    Data for the critical threshold
    Warning GetLicensesOverviewItemStatesExpiringWarning
    Data for the warning threshold
    count Integer
    The number of expiring licenses
    critical GetLicensesOverviewItemStatesExpiringCritical
    Data for the critical threshold
    warning GetLicensesOverviewItemStatesExpiringWarning
    Data for the warning threshold
    count number
    The number of expiring licenses
    critical GetLicensesOverviewItemStatesExpiringCritical
    Data for the critical threshold
    warning GetLicensesOverviewItemStatesExpiringWarning
    Data for the warning threshold
    count int
    The number of expiring licenses
    critical GetLicensesOverviewItemStatesExpiringCritical
    Data for the critical threshold
    warning GetLicensesOverviewItemStatesExpiringWarning
    Data for the warning threshold
    count Number
    The number of expiring licenses
    critical Property Map
    Data for the critical threshold
    warning Property Map
    Data for the warning threshold

    GetLicensesOverviewItemStatesExpiringCritical

    ExpiringCount int
    The number of licenses that will expire in this window
    ThresholdInDays int
    The number of days from now denoting the critical threshold for an expiring license
    ExpiringCount int
    The number of licenses that will expire in this window
    ThresholdInDays int
    The number of days from now denoting the critical threshold for an expiring license
    expiringCount Integer
    The number of licenses that will expire in this window
    thresholdInDays Integer
    The number of days from now denoting the critical threshold for an expiring license
    expiringCount number
    The number of licenses that will expire in this window
    thresholdInDays number
    The number of days from now denoting the critical threshold for an expiring license
    expiring_count int
    The number of licenses that will expire in this window
    threshold_in_days int
    The number of days from now denoting the critical threshold for an expiring license
    expiringCount Number
    The number of licenses that will expire in this window
    thresholdInDays Number
    The number of days from now denoting the critical threshold for an expiring license

    GetLicensesOverviewItemStatesExpiringWarning

    ExpiringCount int
    The number of licenses that will expire in this window
    ThresholdInDays int
    The number of days from now denoting the warning threshold for an expiring license
    ExpiringCount int
    The number of licenses that will expire in this window
    ThresholdInDays int
    The number of days from now denoting the warning threshold for an expiring license
    expiringCount Integer
    The number of licenses that will expire in this window
    thresholdInDays Integer
    The number of days from now denoting the warning threshold for an expiring license
    expiringCount number
    The number of licenses that will expire in this window
    thresholdInDays number
    The number of days from now denoting the warning threshold for an expiring license
    expiring_count int
    The number of licenses that will expire in this window
    threshold_in_days int
    The number of days from now denoting the warning threshold for an expiring license
    expiringCount Number
    The number of licenses that will expire in this window
    thresholdInDays Number
    The number of days from now denoting the warning threshold for an expiring license

    GetLicensesOverviewItemStatesRecentlyQueued

    Count int
    The number of recently queued licenses
    Count int
    The number of recently queued licenses
    count Integer
    The number of recently queued licenses
    count number
    The number of recently queued licenses
    count int
    The number of recently queued licenses
    count Number
    The number of recently queued licenses

    GetLicensesOverviewItemStatesUnused

    Count int
    The number of unused licenses
    SoonestActivation GetLicensesOverviewItemStatesUnusedSoonestActivation
    Information about the soonest forthcoming license activation
    Count int
    The number of unused licenses
    SoonestActivation GetLicensesOverviewItemStatesUnusedSoonestActivation
    Information about the soonest forthcoming license activation
    count Integer
    The number of unused licenses
    soonestActivation GetLicensesOverviewItemStatesUnusedSoonestActivation
    Information about the soonest forthcoming license activation
    count number
    The number of unused licenses
    soonestActivation GetLicensesOverviewItemStatesUnusedSoonestActivation
    Information about the soonest forthcoming license activation
    count int
    The number of unused licenses
    soonest_activation GetLicensesOverviewItemStatesUnusedSoonestActivation
    Information about the soonest forthcoming license activation
    count Number
    The number of unused licenses
    soonestActivation Property Map
    Information about the soonest forthcoming license activation

    GetLicensesOverviewItemStatesUnusedActive

    Count int
    The number of unused, active licenses
    OldestActivation GetLicensesOverviewItemStatesUnusedActiveOldestActivation
    Information about the oldest historical license activation
    Count int
    The number of unused, active licenses
    OldestActivation GetLicensesOverviewItemStatesUnusedActiveOldestActivation
    Information about the oldest historical license activation
    count Integer
    The number of unused, active licenses
    oldestActivation GetLicensesOverviewItemStatesUnusedActiveOldestActivation
    Information about the oldest historical license activation
    count number
    The number of unused, active licenses
    oldestActivation GetLicensesOverviewItemStatesUnusedActiveOldestActivation
    Information about the oldest historical license activation
    count int
    The number of unused, active licenses
    oldest_activation GetLicensesOverviewItemStatesUnusedActiveOldestActivation
    Information about the oldest historical license activation
    count Number
    The number of unused, active licenses
    oldestActivation Property Map
    Information about the oldest historical license activation

    GetLicensesOverviewItemStatesUnusedActiveOldestActivation

    ActivationDate string
    The oldest license activation date
    ActiveCount int
    The number of licenses that activated on this date
    ActivationDate string
    The oldest license activation date
    ActiveCount int
    The number of licenses that activated on this date
    activationDate String
    The oldest license activation date
    activeCount Integer
    The number of licenses that activated on this date
    activationDate string
    The oldest license activation date
    activeCount number
    The number of licenses that activated on this date
    activation_date str
    The oldest license activation date
    active_count int
    The number of licenses that activated on this date
    activationDate String
    The oldest license activation date
    activeCount Number
    The number of licenses that activated on this date

    GetLicensesOverviewItemStatesUnusedSoonestActivation

    ActivationDate string
    The soonest license activation date
    ToActivateCount int
    The number of licenses that will activate on this date
    ActivationDate string
    The soonest license activation date
    ToActivateCount int
    The number of licenses that will activate on this date
    activationDate String
    The soonest license activation date
    toActivateCount Integer
    The number of licenses that will activate on this date
    activationDate string
    The soonest license activation date
    toActivateCount number
    The number of licenses that will activate on this date
    activation_date str
    The soonest license activation date
    to_activate_count int
    The number of licenses that will activate on this date
    activationDate String
    The soonest license activation date
    toActivateCount Number
    The number of licenses that will activate on this date

    GetLicensesOverviewItemSystemsManager

    Counts GetLicensesOverviewItemSystemsManagerCounts
    Aggregated license count data for Systems Manager
    Counts GetLicensesOverviewItemSystemsManagerCounts
    Aggregated license count data for Systems Manager
    counts GetLicensesOverviewItemSystemsManagerCounts
    Aggregated license count data for Systems Manager
    counts GetLicensesOverviewItemSystemsManagerCounts
    Aggregated license count data for Systems Manager
    counts GetLicensesOverviewItemSystemsManagerCounts
    Aggregated license count data for Systems Manager
    counts Property Map
    Aggregated license count data for Systems Manager

    GetLicensesOverviewItemSystemsManagerCounts

    ActiveSeats int
    The number of Systems Manager seats in use
    OrgwideEnrolledDevices int
    The total number of enrolled Systems Manager devices
    TotalSeats int
    The total number of Systems Manager seats
    UnassignedSeats int
    The number of unused Systems Manager seats
    ActiveSeats int
    The number of Systems Manager seats in use
    OrgwideEnrolledDevices int
    The total number of enrolled Systems Manager devices
    TotalSeats int
    The total number of Systems Manager seats
    UnassignedSeats int
    The number of unused Systems Manager seats
    activeSeats Integer
    The number of Systems Manager seats in use
    orgwideEnrolledDevices Integer
    The total number of enrolled Systems Manager devices
    totalSeats Integer
    The total number of Systems Manager seats
    unassignedSeats Integer
    The number of unused Systems Manager seats
    activeSeats number
    The number of Systems Manager seats in use
    orgwideEnrolledDevices number
    The total number of enrolled Systems Manager devices
    totalSeats number
    The total number of Systems Manager seats
    unassignedSeats number
    The number of unused Systems Manager seats
    active_seats int
    The number of Systems Manager seats in use
    orgwide_enrolled_devices int
    The total number of enrolled Systems Manager devices
    total_seats int
    The total number of Systems Manager seats
    unassigned_seats int
    The number of unused Systems Manager seats
    activeSeats Number
    The number of Systems Manager seats in use
    orgwideEnrolledDevices Number
    The total number of enrolled Systems Manager devices
    totalSeats Number
    The total number of Systems Manager seats
    unassignedSeats Number
    The number of unused Systems Manager seats

    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