Fastly Inc > Net-Fastly-1.02 > Net::Fastly::Version

Download:
Net-Fastly-1.02.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Source  

NAME ^

Net::Fastly::Version - a representation of a version of a service

ACCESSORS ^

service_id

The id of the service this belongs to.

name

The name of this version.

active

Whether this version is active or not.

locked

Whether this version is locked or not.

staging

Whether this version is in staging or not.

testing

Whether this version is in testing or not.

deployed

Whether this version is deployed or not.

comment

a free form comment field

METHODS ^

service

Get the service object for this version

settings

Get the settings object for this version

activate

Activate this version. This will cause it to be deployed.

deactivate

Deactivate this version.

clone

Clone this version - creates a new version which can then be modified and deployed.

generated_vcl

Get the VCL object representing the VCL file generated by the system.

upload_vcl <name> <content>

Upload a raw VCL file to be used by the system.

vcl

The uploaded vcl for this version

validate

Validate the current setup.

syntax highlighting: