{"modulePath":"github.com/aziontech/azion-cli","version":"v0.0.0-20261201162454-059d9f209f85","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package functioninstance\n\n## Variables\n\n```go\nvar (\n\tErrorIsActiveFlag         = errors.New(\"Invalid --active flag provided. The value must be 'true' or 'false'. Run the command 'azion create function-instance --help' to display more information and try again\")\n\tErrorCreate               = errors.New(\"Failed to create the Function Instance: %s. Check your settings and try again. If the error persists, contact Azion support\")\n\tErrorArgsFlag             = errors.New(\"Failed to read the args file. Verify if the file name and its path are correct and the file's content has a valid JSON format. Run the command again using the --help flag to display more information and try again\")\n\tErrorParseArgs            = errors.New(\"Failed to parse JSON args. Verify if the file's content has a valid JSON format. Run the command again using the --help flag to display more information and try again\")\n\tErrorConvertFunctionID    = errors.New(\"Invalid --function-id flag provided. The value must be an integer. Run the command 'azion create function-instance --help' to display more information and try again\")\n\tErrorConvertApplicationId = errors.New(\"Invalid --application-id flag provided. The value must be an integer. Run the command 'azion create function-instance --help' to display more information and try again\")\n)\n```\nUsed only by the v4 command tree.\n\n```go\nvar (\n\tUsage                 = \"function-instance\"\n\tShortDescription      = \"Creates a new Function Instance\"\n\tLongDescription       = \"Creates a Function Instance based on given attributes\"\n\tFlagName              = \"The Function Instance's name\"\n\tFlagIsActive          = \"Whether the Function Instance is active or not\"\n\tFlagFile              = \"Path to a JSON file containing the attributes that will be updated; you can use - for reading from stdin\"\n\tOutputSuccess         = \"Created Function Instance with ID %d\"\n\tHelpFlag              = \"Displays more information about the create function-instance command\"\n\tAskInputName          = \"Enter the new Function Instance's name:\"\n\tAskInputApplicationID = \"Enter the Application's ID this Function Instance will be associated with:\"\n\tAskInputFunctionID    = \"Enter the Function's ID:\"\n\tFlagApplicationID     = \"Unique identifier of the Application\"\n\tFlagFunctionID        = \"Unique identifier of the Function\"\n\tFlagArgs              = \"The Function Instance's arguments\"\n)\n```\nUsed only by the v4 command tree.\n\n","path":"github.com/aziontech/azion-cli/messages/create/function_instance","name":"functioninstance","synopsis":"","isRedistributable":true}
