< Back
Create-EdgeCache
Post
NAME Create-EdgeCache
SYNOPSIS
Create a named cache in Apigee Edge.
SYNTAX
Create-EdgeCache [-Name] <String> [-Environment] <String> [[-Expiry] <String>] [[-Description] <String>]
[-Distributed] [[-OtherAttributes] <Hashtable>] [[-Org] <String>] [<CommonParameters>]
DESCRIPTION
Create a named cache in Apigee Edge.
PARAMETERS
-Name <String>
The name of the cache to create. It must be unique for the environment.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Environment <String>
A string, the name of the environment for this cache.
Required? true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Expiry <String>
The default expiry for items placed into the cache. This can be an integer, which
is interpreted as seconds. For example 86400 is one day. Or, it can be a string,
such as 600s, 45m, 10h, or 4d, which is intepreted as the intended number of
seconds, minutes, hours, or days. Defaults to 86400.
Required? false
Position? 3
Default value 86400
Accept pipeline input? false
Accept wildcard characters? false
-Description <String>
A string, describing the purpose of the cache to be created.
Required? false
Position? 4
Default value a general purpose cache
Accept pipeline input? false
Accept wildcard characters? false
-Distributed [<SwitchParameter>]
Whether the cache will be distributed. Defaults to false.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-OtherAttributes <Hashtable>
Optional. A hashtable specifying other attributes for the cache.
Required? false
Position? 5
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Org <String>
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-EdgeCache -Name cache103 -Environment test -Expiry 30m -Distributed
RELATED LINKS
SYNOPSIS
Create a named cache in Apigee Edge.
SYNTAX
Create-EdgeCache [-Name] <String> [-Environment] <String> [[-Expiry] <String>] [[-Description] <String>]
[-Distributed] [[-OtherAttributes] <Hashtable>] [[-Org] <String>] [<CommonParameters>]
DESCRIPTION
Create a named cache in Apigee Edge.
PARAMETERS
-Name <String>
The name of the cache to create. It must be unique for the environment.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Environment <String>
A string, the name of the environment for this cache.
Required? true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Expiry <String>
The default expiry for items placed into the cache. This can be an integer, which
is interpreted as seconds. For example 86400 is one day. Or, it can be a string,
such as 600s, 45m, 10h, or 4d, which is intepreted as the intended number of
seconds, minutes, hours, or days. Defaults to 86400.
Required? false
Position? 3
Default value 86400
Accept pipeline input? false
Accept wildcard characters? false
-Description <String>
A string, describing the purpose of the cache to be created.
Required? false
Position? 4
Default value a general purpose cache
Accept pipeline input? false
Accept wildcard characters? false
-Distributed [<SwitchParameter>]
Whether the cache will be distributed. Defaults to false.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-OtherAttributes <Hashtable>
Optional. A hashtable specifying other attributes for the cache.
Required? false
Position? 5
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Org <String>
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-EdgeCache -Name cache103 -Environment test -Expiry 30m -Distributed
RELATED LINKS