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

meraki.networks.SmDevicesInstallApps

Explore with Pulumi AI

meraki logo
Cisco Meraki v0.2.4 published on Friday, Jun 14, 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.networks.SmDevicesInstallApps;
    import com.pulumi.meraki.networks.SmDevicesInstallAppsArgs;
    import com.pulumi.meraki.networks.inputs.SmDevicesInstallAppsParametersArgs;
    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 SmDevicesInstallApps("example", SmDevicesInstallAppsArgs.builder()
                .deviceId("string")
                .networkId("string")
                .parameters(SmDevicesInstallAppsParametersArgs.builder()
                    .app_ids(                
                        "1284392014819",
                        "2983092129865")
                    .force(false)
                    .build())
                .build());
    
            ctx.export("merakiNetworksSmDevicesInstallAppsExample", example);
        }
    }
    
    resources:
      example:
        type: meraki:networks:SmDevicesInstallApps
        properties:
          deviceId: string
          networkId: string
          parameters:
            app_ids:
              - '1284392014819'
              - '2983092129865'
            force: false
    outputs:
      merakiNetworksSmDevicesInstallAppsExample: ${example}
    

    Create SmDevicesInstallApps Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new SmDevicesInstallApps(name: string, args: SmDevicesInstallAppsArgs, opts?: CustomResourceOptions);
    @overload
    def SmDevicesInstallApps(resource_name: str,
                             args: SmDevicesInstallAppsArgs,
                             opts: Optional[ResourceOptions] = None)
    
    @overload
    def SmDevicesInstallApps(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             device_id: Optional[str] = None,
                             network_id: Optional[str] = None,
                             parameters: Optional[SmDevicesInstallAppsParametersArgs] = None)
    func NewSmDevicesInstallApps(ctx *Context, name string, args SmDevicesInstallAppsArgs, opts ...ResourceOption) (*SmDevicesInstallApps, error)
    public SmDevicesInstallApps(string name, SmDevicesInstallAppsArgs args, CustomResourceOptions? opts = null)
    public SmDevicesInstallApps(String name, SmDevicesInstallAppsArgs args)
    public SmDevicesInstallApps(String name, SmDevicesInstallAppsArgs args, CustomResourceOptions options)
    
    type: meraki:networks:SmDevicesInstallApps
    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 SmDevicesInstallAppsArgs
    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 SmDevicesInstallAppsArgs
    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 SmDevicesInstallAppsArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SmDevicesInstallAppsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SmDevicesInstallAppsArgs
    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 smDevicesInstallAppsResource = new Meraki.Networks.SmDevicesInstallApps("smDevicesInstallAppsResource", new()
    {
        DeviceId = "string",
        NetworkId = "string",
        Parameters = new Meraki.Networks.Inputs.SmDevicesInstallAppsParametersArgs
        {
            AppIds = new[]
            {
                "string",
            },
            Force = false,
        },
    });
    
    example, err := networks.NewSmDevicesInstallApps(ctx, "smDevicesInstallAppsResource", &networks.SmDevicesInstallAppsArgs{
    	DeviceId:  pulumi.String("string"),
    	NetworkId: pulumi.String("string"),
    	Parameters: &networks.SmDevicesInstallAppsParametersArgs{
    		AppIds: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		Force: pulumi.Bool(false),
    	},
    })
    
    var smDevicesInstallAppsResource = new SmDevicesInstallApps("smDevicesInstallAppsResource", SmDevicesInstallAppsArgs.builder()
        .deviceId("string")
        .networkId("string")
        .parameters(SmDevicesInstallAppsParametersArgs.builder()
            .appIds("string")
            .force(false)
            .build())
        .build());
    
    sm_devices_install_apps_resource = meraki.networks.SmDevicesInstallApps("smDevicesInstallAppsResource",
        device_id="string",
        network_id="string",
        parameters=meraki.networks.SmDevicesInstallAppsParametersArgs(
            app_ids=["string"],
            force=False,
        ))
    
    const smDevicesInstallAppsResource = new meraki.networks.SmDevicesInstallApps("smDevicesInstallAppsResource", {
        deviceId: "string",
        networkId: "string",
        parameters: {
            appIds: ["string"],
            force: false,
        },
    });
    
    type: meraki:networks:SmDevicesInstallApps
    properties:
        deviceId: string
        networkId: string
        parameters:
            appIds:
                - string
            force: false
    

    SmDevicesInstallApps Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The SmDevicesInstallApps resource accepts the following input properties:

    DeviceId string
    deviceId path parameter. Device ID
    NetworkId string
    networkId path parameter. Network ID
    Parameters SmDevicesInstallAppsParameters
    DeviceId string
    deviceId path parameter. Device ID
    NetworkId string
    networkId path parameter. Network ID
    Parameters SmDevicesInstallAppsParametersArgs
    deviceId String
    deviceId path parameter. Device ID
    networkId String
    networkId path parameter. Network ID
    parameters SmDevicesInstallAppsParameters
    deviceId string
    deviceId path parameter. Device ID
    networkId string
    networkId path parameter. Network ID
    parameters SmDevicesInstallAppsParameters
    device_id str
    deviceId path parameter. Device ID
    network_id str
    networkId path parameter. Network ID
    parameters SmDevicesInstallAppsParametersArgs
    deviceId String
    deviceId path parameter. Device ID
    networkId String
    networkId path parameter. Network ID
    parameters Property Map

    Outputs

    All input properties are implicitly available as output properties. Additionally, the SmDevicesInstallApps resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing SmDevicesInstallApps Resource

    Get an existing SmDevicesInstallApps 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?: SmDevicesInstallAppsState, opts?: CustomResourceOptions): SmDevicesInstallApps
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            device_id: Optional[str] = None,
            network_id: Optional[str] = None,
            parameters: Optional[SmDevicesInstallAppsParametersArgs] = None) -> SmDevicesInstallApps
    func GetSmDevicesInstallApps(ctx *Context, name string, id IDInput, state *SmDevicesInstallAppsState, opts ...ResourceOption) (*SmDevicesInstallApps, error)
    public static SmDevicesInstallApps Get(string name, Input<string> id, SmDevicesInstallAppsState? state, CustomResourceOptions? opts = null)
    public static SmDevicesInstallApps get(String name, Output<String> id, SmDevicesInstallAppsState 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:
    DeviceId string
    deviceId path parameter. Device ID
    NetworkId string
    networkId path parameter. Network ID
    Parameters SmDevicesInstallAppsParameters
    DeviceId string
    deviceId path parameter. Device ID
    NetworkId string
    networkId path parameter. Network ID
    Parameters SmDevicesInstallAppsParametersArgs
    deviceId String
    deviceId path parameter. Device ID
    networkId String
    networkId path parameter. Network ID
    parameters SmDevicesInstallAppsParameters
    deviceId string
    deviceId path parameter. Device ID
    networkId string
    networkId path parameter. Network ID
    parameters SmDevicesInstallAppsParameters
    device_id str
    deviceId path parameter. Device ID
    network_id str
    networkId path parameter. Network ID
    parameters SmDevicesInstallAppsParametersArgs
    deviceId String
    deviceId path parameter. Device ID
    networkId String
    networkId path parameter. Network ID
    parameters Property Map

    Supporting Types

    SmDevicesInstallAppsParameters, SmDevicesInstallAppsParametersArgs

    AppIds List<string>
    ids of applications to be installed
    Force bool
    By default, installation of an app which is believed to already be present on the device will be skipped. If you'd like to force the installation of the app, set this parameter to true.
    AppIds []string
    ids of applications to be installed
    Force bool
    By default, installation of an app which is believed to already be present on the device will be skipped. If you'd like to force the installation of the app, set this parameter to true.
    appIds List<String>
    ids of applications to be installed
    force Boolean
    By default, installation of an app which is believed to already be present on the device will be skipped. If you'd like to force the installation of the app, set this parameter to true.
    appIds string[]
    ids of applications to be installed
    force boolean
    By default, installation of an app which is believed to already be present on the device will be skipped. If you'd like to force the installation of the app, set this parameter to true.
    app_ids Sequence[str]
    ids of applications to be installed
    force bool
    By default, installation of an app which is believed to already be present on the device will be skipped. If you'd like to force the installation of the app, set this parameter to true.
    appIds List<String>
    ids of applications to be installed
    force Boolean
    By default, installation of an app which is believed to already be present on the device will be skipped. If you'd like to force the installation of the app, set this parameter to true.

    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