wam object-type
wam object-type(1) BIG-IP TMSH Manual wam object-type(1)
NAME
object-type - Configures object types for WebAccelerator.
MODULE
wam
SYNTAX
Configure the object-type component within the wam module using the syntax shown in the following sections.
CREATE/MODIFY
create object-type [name]
modify object-type [name]
options:
app-service [[string] | none]
code [ [number] | generate]
compression [disabled | policy-controlled]
description [string]
extensions [add | delete | modify | replace-all-with] {
[document extension]
...
}
mime-types [add | delete | modify | replace-all-with] {
[MIME type]
...
}
symmetric-compression [ disabled | enabled ]
edit object-type [ [ [name] | [glob] | [regex] ] ... ]
options:
all-properties
non-default-properties
DISPLAY
list object-type [ [ [name] | [glob] | [regex] ] ... ]
show running-config object-type [ [ [name] | [glob] | [regex] ] ... ]
options:
all-properties
non-default-properties
group
partition
predefined
DELETE
delete object-type [name ...]
DESCRIPTION
You can use the object-type component to manage recognized types of objects. These object types are used to classify
documents processed by WebAccelerator. A document can be classified by its file extension or MIME type.
EXAMPLES
create object-type documents.abcd extensions add { abc abcd } mime-types add { text/abcd text/x-abcd } description ABCD
Creates a WebAccelerator object type named documents.abcd that includes all documents with extensions .abc or .abcd, and
MIME types text/abcd or text/x-abcd.
delete object-type documents.abcd
Deletes the pool named documents.abcd.
list object-type documents.abcd
Displays properties of the object-type named documents.abcd.
OPTIONS
app-service
Specifies the name of the application service to which the object belongs. The default value is none. Note: If the
strict-updates option is enabled on the application service that owns the object, you cannot modify or delete the
object. Only the application service can modify or delete the object.
code Specifies the numeric non-zero code of the object type, which is used troubleshooting and performance reporting. Each
object type must have unique code. If not supplied, it will be generated by the system. Use keyword generate to have
the system generate a new unique code.
compression
Specifies if this object type supports compression and when it can be enabled. The default value is disabled.
Valid values are:
disabled
Never compresses the response. If you use this option, be aware that it overrides any compression setting
configured for the assembly rule that the WebAccelerator system matches to the specified object type. You should
use this option only if you want the WebAccelerator system to ignore assembly rules for the specified object
type.
policy-controlled
Specifies that compression is controlled by WebAccelerator policy. The compression setting is specified in the
assembly rule that the WebAccelerator system matched for this object type. In most cases, you should use this
option.
description
Specifies the object type description.
extensions
Specifies the extension the WebAccelerator system should find in the file name or Content-Disposition header of the
response, in order to match to the specified object type.
group
Displays the group portion of the name.
mime-types
Specifies the MIME-types that the WebAccelerator system should find in the Content-Type header of the response, in
order to match to the specified object type.
name Specifies a unique name for the component. This option is required for the commands create, delete, and modify.
The name of the object type must be in form group.type where group is used to organize object type based on
common usage pattern. for example, documents, binary, pages. The type is used to uniquely identify the object
type within a group.
partition
Displays the administrative partition within which the object type resides.
regex
Displays the items that match the regular expression. The regular expression must be preceded by an at sign
(@[regular expression]) to indicate that the identifier is a regular expression. See help regex for a description
of regular expression syntax.
symmetric-compression
Specifies whether this object type will be compressed on the WAN link in a symmetric multibox deployment.
SEE ALSO
create, delete, edit, list, modify, show, tmsh
COPYRIGHT
No part of this program may be reproduced or transmitted in any form or by any means, electronic or mechanical, including
photocopying, recording, or information storage and retrieval systems, for any purpose other than the purchaser's personal
use, without the express written permission of F5 Networks, Inc.
F5 Networks and BIG-IP (c) Copyright 2010-2013. All rights reserved.
BIG-IP 2017-11-17 wam object-type(1)