Skip to main content

ParameterStorageNewParameter

Properties

NameTypeDescriptionNotes
OwnerIdStringThe UUID of the parameter owner.[required]
NameStringThe human-readable name for the parameter.[required]
TypeStringThe type of the parameter. This cannot be changed after being set. Please see the types document for more information.[required]
PublicFields[SystemCollectionsHashtable]https://learn.microsoft.com/en-us/dotnet/api/system.collections.hashtable?view=net-9.0The content must be a JSON object containing the public fields that can be stored with this parameter.[optional]
PrivateFieldsStringMust be a JWE AES256 encrypted blob. The content of the blob must be a JSON object containing the private fields that can be stored with this parameter.[optional]
DescriptionStringDescribe the parameter[optional]

Examples

  • Prepare the resource
$ParameterStorageNewParameter = Initialize-V2025ParameterStorageNewParameter  -OwnerId c0b4568a4fe7458c434ee77d1fbt156b `
-Name Credentials for server. `
-Type 1.1 `
-PublicFields {"username": "username"} `
-PrivateFields ZW5jcnlwdGVkIHBhc3N3b3JkIGhlcmUu `
-Description Credentials for server.
  • Convert the resource to JSON
$ParameterStorageNewParameter | ConvertTo-JSON

[Back to top]