< Back

Create-EdgeKvmEntry

Sun Jan 19, 2020 6:01 pm

NAME Create-EdgeKvmEntry



SYNOPSIS

Create a named entry in an existing key-value map in Apigee Edge.





SYNTAX

Create-EdgeKvmEntry [-Name] <String> [-Entry] <String> [-Value] <String> [[-Environment] <String>] [[-Proxy]

<String>] [[-Org] <String>] [<CommonParameters>]





DESCRIPTION

Create a named entry in an existing key-value map in Apigee Edge.

The KVM must exist, and the entry must not exist. This works only on CPS-enabled organizations.





PARAMETERS

-Name <String>

Required. The name of the key-value map, in which the entry exists.



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Entry <String>

Required. The name (or key) of the value to create.



Required? true

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Value <String>

Required. A string value to use for the entry.



Required? true

Position? 3

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Environment <String>

Optional. A string, the name of the environment with which the key-value map is

associated. KVMs can be associated to an organization, an environment, or an API Proxy.

If you specify neither Environment nor Proxy, the Name will be resolved in the list of

organization-wide Key-Value Maps.



Required? false

Position? 4

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Proxy <String>

Optional. A string, the API Proxy within Apigee Edge with which the key-value map is

associated. KVMs can be associated to an organization, an environment, or an API Proxy.

If you specify neither Environment nor Proxy, the Name will be resolved in the list of

organization-wide Key-Value Maps.



Required? false

Position? 5

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Org <String>

Optional. The Apigee Edge organization. The default is to use the value from Set-EdgeConnection.



Required? false

Position? 6

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Create-EdgeKvmEntry -Name kvm101 -Environment test -Entry newkey1 -Value 'newly created value'













-------------------------- EXAMPLE 2 --------------------------



PS C:\\>Create-EdgeKvmEntry -Name kvm102 -Proxy api1 -Entry key1 -Value 'value for proxy-specific KVM'















RELATED LINKS

Delete-EdgeKvmEntry

Update-EdgeKvmEntry