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

meraki.devices.ApplianceVmxAuthenticationToken

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

    import * as pulumi from "@pulumi/pulumi";
    import * as meraki from "@pulumi/meraki";
    
    const example = new meraki.devices.ApplianceVmxAuthenticationToken("example", {serial: "string"});
    export const merakiDevicesApplianceVmxAuthenticationTokenExample = example;
    
    import pulumi
    import pulumi_meraki as meraki
    
    example = meraki.devices.ApplianceVmxAuthenticationToken("example", serial="string")
    pulumi.export("merakiDevicesApplianceVmxAuthenticationTokenExample", example)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-meraki/sdk/go/meraki/devices"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := devices.NewApplianceVmxAuthenticationToken(ctx, "example", &devices.ApplianceVmxAuthenticationTokenArgs{
    			Serial: pulumi.String("string"),
    		})
    		if err != nil {
    			return err
    		}
    		ctx.Export("merakiDevicesApplianceVmxAuthenticationTokenExample", example)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Meraki = Pulumi.Meraki;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Meraki.Devices.ApplianceVmxAuthenticationToken("example", new()
        {
            Serial = "string",
        });
    
        return new Dictionary<string, object?>
        {
            ["merakiDevicesApplianceVmxAuthenticationTokenExample"] = example,
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.meraki.devices.ApplianceVmxAuthenticationToken;
    import com.pulumi.meraki.devices.ApplianceVmxAuthenticationTokenArgs;
    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 ApplianceVmxAuthenticationToken("example", ApplianceVmxAuthenticationTokenArgs.builder()
                .serial("string")
                .build());
    
            ctx.export("merakiDevicesApplianceVmxAuthenticationTokenExample", example);
        }
    }
    
    resources:
      example:
        type: meraki:devices:ApplianceVmxAuthenticationToken
        properties:
          serial: string
    outputs:
      merakiDevicesApplianceVmxAuthenticationTokenExample: ${example}
    

    Create ApplianceVmxAuthenticationToken Resource

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

    Constructor syntax

    new ApplianceVmxAuthenticationToken(name: string, args: ApplianceVmxAuthenticationTokenArgs, opts?: CustomResourceOptions);
    @overload
    def ApplianceVmxAuthenticationToken(resource_name: str,
                                        args: ApplianceVmxAuthenticationTokenArgs,
                                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def ApplianceVmxAuthenticationToken(resource_name: str,
                                        opts: Optional[ResourceOptions] = None,
                                        serial: Optional[str] = None)
    func NewApplianceVmxAuthenticationToken(ctx *Context, name string, args ApplianceVmxAuthenticationTokenArgs, opts ...ResourceOption) (*ApplianceVmxAuthenticationToken, error)
    public ApplianceVmxAuthenticationToken(string name, ApplianceVmxAuthenticationTokenArgs args, CustomResourceOptions? opts = null)
    public ApplianceVmxAuthenticationToken(String name, ApplianceVmxAuthenticationTokenArgs args)
    public ApplianceVmxAuthenticationToken(String name, ApplianceVmxAuthenticationTokenArgs args, CustomResourceOptions options)
    
    type: meraki:devices:ApplianceVmxAuthenticationToken
    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 ApplianceVmxAuthenticationTokenArgs
    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 ApplianceVmxAuthenticationTokenArgs
    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 ApplianceVmxAuthenticationTokenArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ApplianceVmxAuthenticationTokenArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ApplianceVmxAuthenticationTokenArgs
    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 applianceVmxAuthenticationTokenResource = new Meraki.Devices.ApplianceVmxAuthenticationToken("applianceVmxAuthenticationTokenResource", new()
    {
        Serial = "string",
    });
    
    example, err := devices.NewApplianceVmxAuthenticationToken(ctx, "applianceVmxAuthenticationTokenResource", &devices.ApplianceVmxAuthenticationTokenArgs{
    	Serial: pulumi.String("string"),
    })
    
    var applianceVmxAuthenticationTokenResource = new ApplianceVmxAuthenticationToken("applianceVmxAuthenticationTokenResource", ApplianceVmxAuthenticationTokenArgs.builder()
        .serial("string")
        .build());
    
    appliance_vmx_authentication_token_resource = meraki.devices.ApplianceVmxAuthenticationToken("applianceVmxAuthenticationTokenResource", serial="string")
    
    const applianceVmxAuthenticationTokenResource = new meraki.devices.ApplianceVmxAuthenticationToken("applianceVmxAuthenticationTokenResource", {serial: "string"});
    
    type: meraki:devices:ApplianceVmxAuthenticationToken
    properties:
        serial: string
    

    ApplianceVmxAuthenticationToken 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 ApplianceVmxAuthenticationToken resource accepts the following input properties:

    Serial string
    serial path parameter.
    Serial string
    serial path parameter.
    serial String
    serial path parameter.
    serial string
    serial path parameter.
    serial str
    serial path parameter.
    serial String
    serial path parameter.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Item ApplianceVmxAuthenticationTokenItem
    Id string
    The provider-assigned unique ID for this managed resource.
    Item ApplianceVmxAuthenticationTokenItem
    id String
    The provider-assigned unique ID for this managed resource.
    item ApplianceVmxAuthenticationTokenItem
    id string
    The provider-assigned unique ID for this managed resource.
    item ApplianceVmxAuthenticationTokenItem
    id str
    The provider-assigned unique ID for this managed resource.
    item ApplianceVmxAuthenticationTokenItem
    id String
    The provider-assigned unique ID for this managed resource.
    item Property Map

    Look up Existing ApplianceVmxAuthenticationToken Resource

    Get an existing ApplianceVmxAuthenticationToken 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?: ApplianceVmxAuthenticationTokenState, opts?: CustomResourceOptions): ApplianceVmxAuthenticationToken
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            item: Optional[ApplianceVmxAuthenticationTokenItemArgs] = None,
            serial: Optional[str] = None) -> ApplianceVmxAuthenticationToken
    func GetApplianceVmxAuthenticationToken(ctx *Context, name string, id IDInput, state *ApplianceVmxAuthenticationTokenState, opts ...ResourceOption) (*ApplianceVmxAuthenticationToken, error)
    public static ApplianceVmxAuthenticationToken Get(string name, Input<string> id, ApplianceVmxAuthenticationTokenState? state, CustomResourceOptions? opts = null)
    public static ApplianceVmxAuthenticationToken get(String name, Output<String> id, ApplianceVmxAuthenticationTokenState 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 ApplianceVmxAuthenticationTokenItem
    Serial string
    serial path parameter.
    item ApplianceVmxAuthenticationTokenItem
    serial String
    serial path parameter.
    item ApplianceVmxAuthenticationTokenItem
    serial string
    serial path parameter.
    item Property Map
    serial String
    serial path parameter.

    Supporting Types

    ApplianceVmxAuthenticationTokenItem, ApplianceVmxAuthenticationTokenItemArgs

    ExpiresAt string
    The expiration time for the token, in ISO 8601 format
    Token string
    The newly generated authentication token for the vMX instance
    ExpiresAt string
    The expiration time for the token, in ISO 8601 format
    Token string
    The newly generated authentication token for the vMX instance
    expiresAt String
    The expiration time for the token, in ISO 8601 format
    token String
    The newly generated authentication token for the vMX instance
    expiresAt string
    The expiration time for the token, in ISO 8601 format
    token string
    The newly generated authentication token for the vMX instance
    expires_at str
    The expiration time for the token, in ISO 8601 format
    token str
    The newly generated authentication token for the vMX instance
    expiresAt String
    The expiration time for the token, in ISO 8601 format
    token String
    The newly generated authentication token for the vMX instance

    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