nerdexam
Nutanix

NCP-MCA · Question #25

What is the correct syntax for using a macro within a Calm blueprint?

The correct answer is A. @@{calm.object}(@@. A macro is a placeholder for a value that is resolved at runtime. Macros can be used to reference various Calm objects, such as variables, secrets, credentials, tasks, and services. The correct syntax for using a macro within a Calm blueprint is @@{calm.object}(@@, where…

Configure Cloud Integration

Question

What is the correct syntax for using a macro within a Calm blueprint?

Options

  • A@@{calm.object}(@@
  • B%calm.object%
  • C{{calm.object}}
  • D$calm.object$

How the community answered

(25 responses)
  • A
    92% (23)
  • B
    4% (1)
  • D
    4% (1)

Explanation

A macro is a placeholder for a value that is resolved at runtime. Macros can be used to reference various Calm objects, such as variables, secrets, credentials, tasks, and services. The correct syntax for using a macro within a Calm blueprint is @@{calm.object}(@@, where calm.object is the name of the object to be referenced. For example, @@{username}(@@ would resolve to the value of the username variable at runtime. The other options are incorrect syntaxes for macros and would not be resolved by Calm.

Topics

#Calm macros#Blueprint syntax#macro notation

Community Discussion

No community discussion yet for this question.

Full NCP-MCA Practice