New-AzStorageActionTaskPreviewKeyValuePropertiesObject
Create an in-memory object for StorageTaskPreviewKeyValueProperties.
Syntax
Default (Default)
New-AzStorageActionTaskPreviewKeyValuePropertiesObject
[-Key <String>]
[-Value <String>]
[<CommonParameters>]
Description
Create an in-memory object for StorageTaskPreviewKeyValueProperties.
Examples
Example 1: Create key and value property
New-AzStorageActionTaskPreviewKeyValuePropertiesObject -Key "Creation-Time" -Value "Wed, 07 Jun 2023 05:23:29 GMT"
Key Value
--- -----
Creation-Time Wed, 07 Jun 2023 05:23:29 GMT
This command create a key-value property object.
Parameters
-Key
Represents the key property of the pair.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-Value
Represents the value property of the pair.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.