BicepFunction Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides access to standard Bicep functions.
public static class BicepFunction
type BicepFunction = class
Public Class BicepFunction
- Inheritance
-
BicepFunction
Methods
AsString(BicepValue<Object>) |
Converts the specified value to a string. Strings are returned as-is.
Other types are converted to their equivalent JSON representation.
This represents the |
Concat(BicepValue<String>[]) |
Combines multiple string values |
CreateGuid(BicepValue<String>[]) |
Creates a value in the format of a globally unique identifier based on
the values provided as parameters. This represents the |
GetDeployment() |
Returns information about the current deployment operation. This
represents the |
GetResourceGroup() |
Returns an object that represents the current resource group. This
represents the |
GetSubscription() |
Returns details about the subscription for the current deployment. This
represents the |
GetSubscriptionResourceId(BicepValue<String>[]) |
Returns the unique identifier for a resource deployed at the
subscription level. This represents the |
GetTenant() |
Returns the tenant of the user. This represents the |
GetUniqueString(BicepValue<String>[]) |
Creates a deterministic hash string based on the |
Interpolate(BicepInterpolatedStringHandler) |
Convert a formattable string with literal text, C# expressions, and Bicep expressions into an interpolated Bicep string. |
Interpolate(FormattableString) |
Convert a formattable string with literal text, C# expressions, and Bicep expressions into an interpolated Bicep string. |
ParseJson(BicepValue<Object>) |
Converts a valid JSON string into a JSON data type. This represents
the |
Take(BicepValue<String>, BicepValue<Int32>) |
Returns a string with the specified number of characters from the start
of the string. This represents the |
ToLower(BicepValue<Object>) |
Converts the specified string to lower case. This represents the
|
ToUpper(BicepValue<Object>) |
Converts the specified string to upper case. This represents the
|
Applies to
Azure SDK for .NET