1. Packages
  2. Cisco Meraki
  3. API Docs
  4. networks
  5. getSmUsersSoftwares
Cisco Meraki v0.2.4 published on Friday, Jun 14, 2024 by Pulumi

meraki.networks.getSmUsersSoftwares

Explore with Pulumi AI

meraki logo
Cisco Meraki v0.2.4 published on Friday, Jun 14, 2024 by Pulumi

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as meraki from "@pulumi/meraki";
    
    const example = meraki.networks.getSmUsersSoftwares({
        networkId: "string",
        userId: "string",
    });
    export const merakiNetworksSmUsersSoftwaresExample = example.then(example => example.items);
    
    import pulumi
    import pulumi_meraki as meraki
    
    example = meraki.networks.get_sm_users_softwares(network_id="string",
        user_id="string")
    pulumi.export("merakiNetworksSmUsersSoftwaresExample", example.items)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-meraki/sdk/go/meraki/networks"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := networks.GetSmUsersSoftwares(ctx, &networks.GetSmUsersSoftwaresArgs{
    			NetworkId: "string",
    			UserId:    "string",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("merakiNetworksSmUsersSoftwaresExample", example.Items)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Meraki = Pulumi.Meraki;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Meraki.Networks.GetSmUsersSoftwares.Invoke(new()
        {
            NetworkId = "string",
            UserId = "string",
        });
    
        return new Dictionary<string, object?>
        {
            ["merakiNetworksSmUsersSoftwaresExample"] = example.Apply(getSmUsersSoftwaresResult => getSmUsersSoftwaresResult.Items),
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.meraki.networks.NetworksFunctions;
    import com.pulumi.meraki.networks.inputs.GetSmUsersSoftwaresArgs;
    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 = NetworksFunctions.getSmUsersSoftwares(GetSmUsersSoftwaresArgs.builder()
                .networkId("string")
                .userId("string")
                .build());
    
            ctx.export("merakiNetworksSmUsersSoftwaresExample", example.applyValue(getSmUsersSoftwaresResult -> getSmUsersSoftwaresResult.items()));
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: meraki:networks:getSmUsersSoftwares
          Arguments:
            networkId: string
            userId: string
    outputs:
      merakiNetworksSmUsersSoftwaresExample: ${example.items}
    

    Using getSmUsersSoftwares

    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 getSmUsersSoftwares(args: GetSmUsersSoftwaresArgs, opts?: InvokeOptions): Promise<GetSmUsersSoftwaresResult>
    function getSmUsersSoftwaresOutput(args: GetSmUsersSoftwaresOutputArgs, opts?: InvokeOptions): Output<GetSmUsersSoftwaresResult>
    def get_sm_users_softwares(network_id: Optional[str] = None,
                               user_id: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> GetSmUsersSoftwaresResult
    def get_sm_users_softwares_output(network_id: Optional[pulumi.Input[str]] = None,
                               user_id: Optional[pulumi.Input[str]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[GetSmUsersSoftwaresResult]
    func GetSmUsersSoftwares(ctx *Context, args *GetSmUsersSoftwaresArgs, opts ...InvokeOption) (*GetSmUsersSoftwaresResult, error)
    func GetSmUsersSoftwaresOutput(ctx *Context, args *GetSmUsersSoftwaresOutputArgs, opts ...InvokeOption) GetSmUsersSoftwaresResultOutput

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

    public static class GetSmUsersSoftwares 
    {
        public static Task<GetSmUsersSoftwaresResult> InvokeAsync(GetSmUsersSoftwaresArgs args, InvokeOptions? opts = null)
        public static Output<GetSmUsersSoftwaresResult> Invoke(GetSmUsersSoftwaresInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSmUsersSoftwaresResult> getSmUsersSoftwares(GetSmUsersSoftwaresArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: meraki:networks/getSmUsersSoftwares:getSmUsersSoftwares
      arguments:
        # arguments dictionary

    The following arguments are supported:

    NetworkId string
    networkId path parameter. Network ID
    UserId string
    userId path parameter. User ID
    NetworkId string
    networkId path parameter. Network ID
    UserId string
    userId path parameter. User ID
    networkId String
    networkId path parameter. Network ID
    userId String
    userId path parameter. User ID
    networkId string
    networkId path parameter. Network ID
    userId string
    userId path parameter. User ID
    network_id str
    networkId path parameter. Network ID
    user_id str
    userId path parameter. User ID
    networkId String
    networkId path parameter. Network ID
    userId String
    userId path parameter. User ID

    getSmUsersSoftwares Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Items List<GetSmUsersSoftwaresItem>
    Array of ResponseSmGetNetworkSmUserSoftwares
    NetworkId string
    networkId path parameter. Network ID
    UserId string
    userId path parameter. User ID
    Id string
    The provider-assigned unique ID for this managed resource.
    Items []GetSmUsersSoftwaresItem
    Array of ResponseSmGetNetworkSmUserSoftwares
    NetworkId string
    networkId path parameter. Network ID
    UserId string
    userId path parameter. User ID
    id String
    The provider-assigned unique ID for this managed resource.
    items List<GetSmUsersSoftwaresItem>
    Array of ResponseSmGetNetworkSmUserSoftwares
    networkId String
    networkId path parameter. Network ID
    userId String
    userId path parameter. User ID
    id string
    The provider-assigned unique ID for this managed resource.
    items GetSmUsersSoftwaresItem[]
    Array of ResponseSmGetNetworkSmUserSoftwares
    networkId string
    networkId path parameter. Network ID
    userId string
    userId path parameter. User ID
    id str
    The provider-assigned unique ID for this managed resource.
    items Sequence[GetSmUsersSoftwaresItem]
    Array of ResponseSmGetNetworkSmUserSoftwares
    network_id str
    networkId path parameter. Network ID
    user_id str
    userId path parameter. User ID
    id String
    The provider-assigned unique ID for this managed resource.
    items List<Property Map>
    Array of ResponseSmGetNetworkSmUserSoftwares
    networkId String
    networkId path parameter. Network ID
    userId String
    userId path parameter. User ID

    Supporting Types

    GetSmUsersSoftwaresItem

    AppId string
    The Meraki managed application Id for this record on a particular device.
    BundleSize int
    The size of the software bundle.
    CreatedAt string
    When the Meraki record for the software was created.
    DeviceId string
    The Meraki managed device Id.
    DynamicSize int
    The size of the data stored in the application.
    Id string
    The Meraki software Id.
    Identifier string
    Software bundle identifier.
    InstalledAt string
    When the Software was installed on the device.
    IosRedemptionCode bool
    A boolean indicating whether or not an iOS redemption code was used.
    IsManaged bool
    A boolean indicating whether or not the software is managed by Meraki.
    ItunesId string
    The itunes numerical identifier.
    LicenseKey string
    The license key associated with this software installation.
    Name string
    The name of the software.
    Path string
    The path on the device where the software record is located.
    RedemptionCode int
    The redemption code used for this software.
    ShortVersion string
    Short version notation for the software.
    Status string
    The management status of the software.
    ToInstall bool
    A boolean indicating this software record should be installed on the associated device.
    ToUninstall bool
    A boolean indicating this software record should be uninstalled on the associated device.
    UninstalledAt string
    When the record was uninstalled from the device.
    UpdatedAt string
    When the record was last updated by Meraki.
    Vendor string
    The vendor of the software.
    Version string
    Full version notation for the software.
    AppId string
    The Meraki managed application Id for this record on a particular device.
    BundleSize int
    The size of the software bundle.
    CreatedAt string
    When the Meraki record for the software was created.
    DeviceId string
    The Meraki managed device Id.
    DynamicSize int
    The size of the data stored in the application.
    Id string
    The Meraki software Id.
    Identifier string
    Software bundle identifier.
    InstalledAt string
    When the Software was installed on the device.
    IosRedemptionCode bool
    A boolean indicating whether or not an iOS redemption code was used.
    IsManaged bool
    A boolean indicating whether or not the software is managed by Meraki.
    ItunesId string
    The itunes numerical identifier.
    LicenseKey string
    The license key associated with this software installation.
    Name string
    The name of the software.
    Path string
    The path on the device where the software record is located.
    RedemptionCode int
    The redemption code used for this software.
    ShortVersion string
    Short version notation for the software.
    Status string
    The management status of the software.
    ToInstall bool
    A boolean indicating this software record should be installed on the associated device.
    ToUninstall bool
    A boolean indicating this software record should be uninstalled on the associated device.
    UninstalledAt string
    When the record was uninstalled from the device.
    UpdatedAt string
    When the record was last updated by Meraki.
    Vendor string
    The vendor of the software.
    Version string
    Full version notation for the software.
    appId String
    The Meraki managed application Id for this record on a particular device.
    bundleSize Integer
    The size of the software bundle.
    createdAt String
    When the Meraki record for the software was created.
    deviceId String
    The Meraki managed device Id.
    dynamicSize Integer
    The size of the data stored in the application.
    id String
    The Meraki software Id.
    identifier String
    Software bundle identifier.
    installedAt String
    When the Software was installed on the device.
    iosRedemptionCode Boolean
    A boolean indicating whether or not an iOS redemption code was used.
    isManaged Boolean
    A boolean indicating whether or not the software is managed by Meraki.
    itunesId String
    The itunes numerical identifier.
    licenseKey String
    The license key associated with this software installation.
    name String
    The name of the software.
    path String
    The path on the device where the software record is located.
    redemptionCode Integer
    The redemption code used for this software.
    shortVersion String
    Short version notation for the software.
    status String
    The management status of the software.
    toInstall Boolean
    A boolean indicating this software record should be installed on the associated device.
    toUninstall Boolean
    A boolean indicating this software record should be uninstalled on the associated device.
    uninstalledAt String
    When the record was uninstalled from the device.
    updatedAt String
    When the record was last updated by Meraki.
    vendor String
    The vendor of the software.
    version String
    Full version notation for the software.
    appId string
    The Meraki managed application Id for this record on a particular device.
    bundleSize number
    The size of the software bundle.
    createdAt string
    When the Meraki record for the software was created.
    deviceId string
    The Meraki managed device Id.
    dynamicSize number
    The size of the data stored in the application.
    id string
    The Meraki software Id.
    identifier string
    Software bundle identifier.
    installedAt string
    When the Software was installed on the device.
    iosRedemptionCode boolean
    A boolean indicating whether or not an iOS redemption code was used.
    isManaged boolean
    A boolean indicating whether or not the software is managed by Meraki.
    itunesId string
    The itunes numerical identifier.
    licenseKey string
    The license key associated with this software installation.
    name string
    The name of the software.
    path string
    The path on the device where the software record is located.
    redemptionCode number
    The redemption code used for this software.
    shortVersion string
    Short version notation for the software.
    status string
    The management status of the software.
    toInstall boolean
    A boolean indicating this software record should be installed on the associated device.
    toUninstall boolean
    A boolean indicating this software record should be uninstalled on the associated device.
    uninstalledAt string
    When the record was uninstalled from the device.
    updatedAt string
    When the record was last updated by Meraki.
    vendor string
    The vendor of the software.
    version string
    Full version notation for the software.
    app_id str
    The Meraki managed application Id for this record on a particular device.
    bundle_size int
    The size of the software bundle.
    created_at str
    When the Meraki record for the software was created.
    device_id str
    The Meraki managed device Id.
    dynamic_size int
    The size of the data stored in the application.
    id str
    The Meraki software Id.
    identifier str
    Software bundle identifier.
    installed_at str
    When the Software was installed on the device.
    ios_redemption_code bool
    A boolean indicating whether or not an iOS redemption code was used.
    is_managed bool
    A boolean indicating whether or not the software is managed by Meraki.
    itunes_id str
    The itunes numerical identifier.
    license_key str
    The license key associated with this software installation.
    name str
    The name of the software.
    path str
    The path on the device where the software record is located.
    redemption_code int
    The redemption code used for this software.
    short_version str
    Short version notation for the software.
    status str
    The management status of the software.
    to_install bool
    A boolean indicating this software record should be installed on the associated device.
    to_uninstall bool
    A boolean indicating this software record should be uninstalled on the associated device.
    uninstalled_at str
    When the record was uninstalled from the device.
    updated_at str
    When the record was last updated by Meraki.
    vendor str
    The vendor of the software.
    version str
    Full version notation for the software.
    appId String
    The Meraki managed application Id for this record on a particular device.
    bundleSize Number
    The size of the software bundle.
    createdAt String
    When the Meraki record for the software was created.
    deviceId String
    The Meraki managed device Id.
    dynamicSize Number
    The size of the data stored in the application.
    id String
    The Meraki software Id.
    identifier String
    Software bundle identifier.
    installedAt String
    When the Software was installed on the device.
    iosRedemptionCode Boolean
    A boolean indicating whether or not an iOS redemption code was used.
    isManaged Boolean
    A boolean indicating whether or not the software is managed by Meraki.
    itunesId String
    The itunes numerical identifier.
    licenseKey String
    The license key associated with this software installation.
    name String
    The name of the software.
    path String
    The path on the device where the software record is located.
    redemptionCode Number
    The redemption code used for this software.
    shortVersion String
    Short version notation for the software.
    status String
    The management status of the software.
    toInstall Boolean
    A boolean indicating this software record should be installed on the associated device.
    toUninstall Boolean
    A boolean indicating this software record should be uninstalled on the associated device.
    uninstalledAt String
    When the record was uninstalled from the device.
    updatedAt String
    When the record was last updated by Meraki.
    vendor String
    The vendor of the software.
    version String
    Full version notation for the software.

    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.2.4 published on Friday, Jun 14, 2024 by Pulumi