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

meraki.administered.getLicensingSubscriptionSubscriptionsComplianceStatuses

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.administered.getLicensingSubscriptionSubscriptionsComplianceStatuses({
        organizationIds: ["string"],
        subscriptionIds: ["string"],
    });
    export const merakiAdministeredLicensingSubscriptionSubscriptionsComplianceStatusesExample = example.then(example => example.items);
    
    import pulumi
    import pulumi_meraki as meraki
    
    example = meraki.administered.get_licensing_subscription_subscriptions_compliance_statuses(organization_ids=["string"],
        subscription_ids=["string"])
    pulumi.export("merakiAdministeredLicensingSubscriptionSubscriptionsComplianceStatusesExample", example.items)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-meraki/sdk/go/meraki/administered"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := administered.GetLicensingSubscriptionSubscriptionsComplianceStatuses(ctx, &administered.GetLicensingSubscriptionSubscriptionsComplianceStatusesArgs{
    			OrganizationIds: []string{
    				"string",
    			},
    			SubscriptionIds: []string{
    				"string",
    			},
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("merakiAdministeredLicensingSubscriptionSubscriptionsComplianceStatusesExample", example.Items)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Meraki = Pulumi.Meraki;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Meraki.Administered.GetLicensingSubscriptionSubscriptionsComplianceStatuses.Invoke(new()
        {
            OrganizationIds = new[]
            {
                "string",
            },
            SubscriptionIds = new[]
            {
                "string",
            },
        });
    
        return new Dictionary<string, object?>
        {
            ["merakiAdministeredLicensingSubscriptionSubscriptionsComplianceStatusesExample"] = example.Apply(getLicensingSubscriptionSubscriptionsComplianceStatusesResult => getLicensingSubscriptionSubscriptionsComplianceStatusesResult.Items),
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.meraki.administered.AdministeredFunctions;
    import com.pulumi.meraki.administered.inputs.GetLicensingSubscriptionSubscriptionsComplianceStatusesArgs;
    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 = AdministeredFunctions.getLicensingSubscriptionSubscriptionsComplianceStatuses(GetLicensingSubscriptionSubscriptionsComplianceStatusesArgs.builder()
                .organizationIds("string")
                .subscriptionIds("string")
                .build());
    
            ctx.export("merakiAdministeredLicensingSubscriptionSubscriptionsComplianceStatusesExample", example.applyValue(getLicensingSubscriptionSubscriptionsComplianceStatusesResult -> getLicensingSubscriptionSubscriptionsComplianceStatusesResult.items()));
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: meraki:administered:getLicensingSubscriptionSubscriptionsComplianceStatuses
          Arguments:
            organizationIds:
              - string
            subscriptionIds:
              - string
    outputs:
      merakiAdministeredLicensingSubscriptionSubscriptionsComplianceStatusesExample: ${example.items}
    

    Using getLicensingSubscriptionSubscriptionsComplianceStatuses

    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 getLicensingSubscriptionSubscriptionsComplianceStatuses(args: GetLicensingSubscriptionSubscriptionsComplianceStatusesArgs, opts?: InvokeOptions): Promise<GetLicensingSubscriptionSubscriptionsComplianceStatusesResult>
    function getLicensingSubscriptionSubscriptionsComplianceStatusesOutput(args: GetLicensingSubscriptionSubscriptionsComplianceStatusesOutputArgs, opts?: InvokeOptions): Output<GetLicensingSubscriptionSubscriptionsComplianceStatusesResult>
    def get_licensing_subscription_subscriptions_compliance_statuses(organization_ids: Optional[Sequence[str]] = None,
                                                                     subscription_ids: Optional[Sequence[str]] = None,
                                                                     opts: Optional[InvokeOptions] = None) -> GetLicensingSubscriptionSubscriptionsComplianceStatusesResult
    def get_licensing_subscription_subscriptions_compliance_statuses_output(organization_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                                                                     subscription_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                                                                     opts: Optional[InvokeOptions] = None) -> Output[GetLicensingSubscriptionSubscriptionsComplianceStatusesResult]
    func GetLicensingSubscriptionSubscriptionsComplianceStatuses(ctx *Context, args *GetLicensingSubscriptionSubscriptionsComplianceStatusesArgs, opts ...InvokeOption) (*GetLicensingSubscriptionSubscriptionsComplianceStatusesResult, error)
    func GetLicensingSubscriptionSubscriptionsComplianceStatusesOutput(ctx *Context, args *GetLicensingSubscriptionSubscriptionsComplianceStatusesOutputArgs, opts ...InvokeOption) GetLicensingSubscriptionSubscriptionsComplianceStatusesResultOutput

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

    public static class GetLicensingSubscriptionSubscriptionsComplianceStatuses 
    {
        public static Task<GetLicensingSubscriptionSubscriptionsComplianceStatusesResult> InvokeAsync(GetLicensingSubscriptionSubscriptionsComplianceStatusesArgs args, InvokeOptions? opts = null)
        public static Output<GetLicensingSubscriptionSubscriptionsComplianceStatusesResult> Invoke(GetLicensingSubscriptionSubscriptionsComplianceStatusesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetLicensingSubscriptionSubscriptionsComplianceStatusesResult> getLicensingSubscriptionSubscriptionsComplianceStatuses(GetLicensingSubscriptionSubscriptionsComplianceStatusesArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: meraki:administered/getLicensingSubscriptionSubscriptionsComplianceStatuses:getLicensingSubscriptionSubscriptionsComplianceStatuses
      arguments:
        # arguments dictionary

    The following arguments are supported:

    OrganizationIds List<string>
    organizationIds query parameter. Organizations to get subscription compliance information for
    SubscriptionIds List<string>
    subscriptionIds query parameter. Subscription ids
    OrganizationIds []string
    organizationIds query parameter. Organizations to get subscription compliance information for
    SubscriptionIds []string
    subscriptionIds query parameter. Subscription ids
    organizationIds List<String>
    organizationIds query parameter. Organizations to get subscription compliance information for
    subscriptionIds List<String>
    subscriptionIds query parameter. Subscription ids
    organizationIds string[]
    organizationIds query parameter. Organizations to get subscription compliance information for
    subscriptionIds string[]
    subscriptionIds query parameter. Subscription ids
    organization_ids Sequence[str]
    organizationIds query parameter. Organizations to get subscription compliance information for
    subscription_ids Sequence[str]
    subscriptionIds query parameter. Subscription ids
    organizationIds List<String>
    organizationIds query parameter. Organizations to get subscription compliance information for
    subscriptionIds List<String>
    subscriptionIds query parameter. Subscription ids

    getLicensingSubscriptionSubscriptionsComplianceStatuses Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Items List<GetLicensingSubscriptionSubscriptionsComplianceStatusesItem>
    Array of ResponseLicensingGetAdministeredLicensingSubscriptionSubscriptionsComplianceStatuses
    OrganizationIds List<string>
    organizationIds query parameter. Organizations to get subscription compliance information for
    SubscriptionIds List<string>
    subscriptionIds query parameter. Subscription ids
    Id string
    The provider-assigned unique ID for this managed resource.
    Items []GetLicensingSubscriptionSubscriptionsComplianceStatusesItem
    Array of ResponseLicensingGetAdministeredLicensingSubscriptionSubscriptionsComplianceStatuses
    OrganizationIds []string
    organizationIds query parameter. Organizations to get subscription compliance information for
    SubscriptionIds []string
    subscriptionIds query parameter. Subscription ids
    id String
    The provider-assigned unique ID for this managed resource.
    items List<GetLicensingSubscriptionSubscriptionsComplianceStatusesItem>
    Array of ResponseLicensingGetAdministeredLicensingSubscriptionSubscriptionsComplianceStatuses
    organizationIds List<String>
    organizationIds query parameter. Organizations to get subscription compliance information for
    subscriptionIds List<String>
    subscriptionIds query parameter. Subscription ids
    id string
    The provider-assigned unique ID for this managed resource.
    items GetLicensingSubscriptionSubscriptionsComplianceStatusesItem[]
    Array of ResponseLicensingGetAdministeredLicensingSubscriptionSubscriptionsComplianceStatuses
    organizationIds string[]
    organizationIds query parameter. Organizations to get subscription compliance information for
    subscriptionIds string[]
    subscriptionIds query parameter. Subscription ids
    id str
    The provider-assigned unique ID for this managed resource.
    items Sequence[GetLicensingSubscriptionSubscriptionsComplianceStatusesItem]
    Array of ResponseLicensingGetAdministeredLicensingSubscriptionSubscriptionsComplianceStatuses
    organization_ids Sequence[str]
    organizationIds query parameter. Organizations to get subscription compliance information for
    subscription_ids Sequence[str]
    subscriptionIds query parameter. Subscription ids
    id String
    The provider-assigned unique ID for this managed resource.
    items List<Property Map>
    Array of ResponseLicensingGetAdministeredLicensingSubscriptionSubscriptionsComplianceStatuses
    organizationIds List<String>
    organizationIds query parameter. Organizations to get subscription compliance information for
    subscriptionIds List<String>
    subscriptionIds query parameter. Subscription ids

    Supporting Types

    GetLicensingSubscriptionSubscriptionsComplianceStatusesItem

    subscription Property Map
    Subscription details
    violations Property Map
    Violations

    GetLicensingSubscriptionSubscriptionsComplianceStatusesItemSubscription

    Id string
    Subscription's ID
    Name string
    Friendly name to identify the subscription
    Status string
    One of the following: "inactive" | "active" | "outofcompliance" | "expired" | "canceled"
    Id string
    Subscription's ID
    Name string
    Friendly name to identify the subscription
    Status string
    One of the following: "inactive" | "active" | "outofcompliance" | "expired" | "canceled"
    id String
    Subscription's ID
    name String
    Friendly name to identify the subscription
    status String
    One of the following: "inactive" | "active" | "outofcompliance" | "expired" | "canceled"
    id string
    Subscription's ID
    name string
    Friendly name to identify the subscription
    status string
    One of the following: "inactive" | "active" | "outofcompliance" | "expired" | "canceled"
    id str
    Subscription's ID
    name str
    Friendly name to identify the subscription
    status str
    One of the following: "inactive" | "active" | "outofcompliance" | "expired" | "canceled"
    id String
    Subscription's ID
    name String
    Friendly name to identify the subscription
    status String
    One of the following: "inactive" | "active" | "outofcompliance" | "expired" | "canceled"

    GetLicensingSubscriptionSubscriptionsComplianceStatusesItemViolations

    byProductClasses List<Property Map>
    List of violations by product class that are not compliance

    GetLicensingSubscriptionSubscriptionsComplianceStatusesItemViolationsByProductClass

    GracePeriodEndsAt string
    End date of the grace period in ISO 8601 format
    Missing GetLicensingSubscriptionSubscriptionsComplianceStatusesItemViolationsByProductClassMissing
    Missing entitlements details
    ProductClass string
    Name of the product class
    GracePeriodEndsAt string
    End date of the grace period in ISO 8601 format
    Missing GetLicensingSubscriptionSubscriptionsComplianceStatusesItemViolationsByProductClassMissing
    Missing entitlements details
    ProductClass string
    Name of the product class
    gracePeriodEndsAt String
    End date of the grace period in ISO 8601 format
    missing GetLicensingSubscriptionSubscriptionsComplianceStatusesItemViolationsByProductClassMissing
    Missing entitlements details
    productClass String
    Name of the product class
    gracePeriodEndsAt string
    End date of the grace period in ISO 8601 format
    missing GetLicensingSubscriptionSubscriptionsComplianceStatusesItemViolationsByProductClassMissing
    Missing entitlements details
    productClass string
    Name of the product class
    grace_period_ends_at str
    End date of the grace period in ISO 8601 format
    missing GetLicensingSubscriptionSubscriptionsComplianceStatusesItemViolationsByProductClassMissing
    Missing entitlements details
    product_class str
    Name of the product class
    gracePeriodEndsAt String
    End date of the grace period in ISO 8601 format
    missing Property Map
    Missing entitlements details
    productClass String
    Name of the product class

    GetLicensingSubscriptionSubscriptionsComplianceStatusesItemViolationsByProductClassMissing

    entitlements List<Property Map>
    List of missing entitlements

    GetLicensingSubscriptionSubscriptionsComplianceStatusesItemViolationsByProductClassMissingEntitlement

    Quantity int
    Number required
    Sku string
    SKU of the required product
    Quantity int
    Number required
    Sku string
    SKU of the required product
    quantity Integer
    Number required
    sku String
    SKU of the required product
    quantity number
    Number required
    sku string
    SKU of the required product
    quantity int
    Number required
    sku str
    SKU of the required product
    quantity Number
    Number required
    sku String
    SKU of the required product

    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