« blib/lib/Paws/Lightsail/ContainerService.pm
↑ Summary
blib/lib/Paws/Lightsail/ContainerServiceDeploymentRequest.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::Lightsail::ContainerServiceDeployment; | ||
| 3 | use Moose; | ||
| 4 | has Containers => (is => 'ro', isa => 'Paws::Lightsail::ContainerMap', request_name => 'containers', traits => ['NameInRequest']); | ||
| 5 | has CreatedAt => (is => 'ro', isa => 'Str', request_name => 'createdAt', traits => ['NameInRequest']); | ||
| 6 | has PublicEndpoint => (is => 'ro', isa => 'Paws::Lightsail::ContainerServiceEndpoint', request_name => 'publicEndpoint', traits => ['NameInRequest']); | ||
| 7 | has State => (is => 'ro', isa => 'Str', request_name => 'state', traits => ['NameInRequest']); | ||
| 8 | has Version => (is => 'ro', isa => 'Int', request_name => 'version', traits => ['NameInRequest']); | ||
| 9 | |||
| 10 | 1; | ||
| 11 | |||
| 12 | ### main pod documentation begin ### | ||
| 13 | |||
| 14 | =head1 NAME | ||
| 15 | |||
| 16 | Paws::Lightsail::ContainerServiceDeployment | ||
| 17 | |||
| 18 | =head1 USAGE | ||
| 19 | |||
| 20 | This class represents one of two things: | ||
| 21 | |||
| 22 | =head3 Arguments in a call to a service | ||
| 23 | |||
| 24 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 25 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 26 | |||
| 27 | As an example, if Att1 is expected to be a Paws::Lightsail::ContainerServiceDeployment object: | ||
| 28 | |||
| 29 | $service_obj->Method(Att1 => { Containers => $value, ..., Version => $value }); | ||
| 30 | |||
| 31 | =head3 Results returned from an API call | ||
| 32 | |||
| 33 | Use accessors for each attribute. If Att1 is expected to be an Paws::Lightsail::ContainerServiceDeployment object: | ||
| 34 | |||
| 35 | $result = $service_obj->Method(...); | ||
| 36 | $result->Att1->Containers | ||
| 37 | |||
| 38 | =head1 DESCRIPTION | ||
| 39 | |||
| 40 | Describes a container deployment configuration of an Amazon Lightsail | ||
| 41 | container service. | ||
| 42 | |||
| 43 | A deployment specifies the settings, such as the ports and launch | ||
| 44 | command, of containers that are deployed to your container service. | ||
| 45 | |||
| 46 | =head1 ATTRIBUTES | ||
| 47 | |||
| 48 | |||
| 49 | =head2 Containers => L<Paws::Lightsail::ContainerMap> | ||
| 50 | |||
| 51 | An object that describes the configuration for the containers of the | ||
| 52 | deployment. | ||
| 53 | |||
| 54 | |||
| 55 | =head2 CreatedAt => Str | ||
| 56 | |||
| 57 | The timestamp when the deployment was created. | ||
| 58 | |||
| 59 | |||
| 60 | =head2 PublicEndpoint => L<Paws::Lightsail::ContainerServiceEndpoint> | ||
| 61 | |||
| 62 | An object that describes the endpoint of the deployment. | ||
| 63 | |||
| 64 | |||
| 65 | =head2 State => Str | ||
| 66 | |||
| 67 | The state of the deployment. | ||
| 68 | |||
| 69 | A deployment can be in one of the following states: | ||
| 70 | |||
| 71 | =over | ||
| 72 | |||
| 73 | =item * | ||
| 74 | |||
| 75 | C<Activating> - The deployment is being created. | ||
| 76 | |||
| 77 | =item * | ||
| 78 | |||
| 79 | C<Active> - The deployment was successfully created, and it's currently | ||
| 80 | running on the container service. The container service can have only | ||
| 81 | one deployment in an active state at a time. | ||
| 82 | |||
| 83 | =item * | ||
| 84 | |||
| 85 | C<Inactive> - The deployment was previously successfully created, but | ||
| 86 | it is not currently running on the container service. | ||
| 87 | |||
| 88 | =item * | ||
| 89 | |||
| 90 | C<Failed> - The deployment failed. Use the C<GetContainerLog> action to | ||
| 91 | view the log events for the containers in the deployment to try to | ||
| 92 | determine the reason for the failure. | ||
| 93 | |||
| 94 | =back | ||
| 95 | |||
| 96 | |||
| 97 | |||
| 98 | =head2 Version => Int | ||
| 99 | |||
| 100 | The version number of the deployment. | ||
| 101 | |||
| 102 | |||
| 103 | |||
| 104 | =head1 SEE ALSO | ||
| 105 | |||
| 106 | This class forms part of L<Paws>, describing an object used in L<Paws::Lightsail> | ||
| 107 | |||
| 108 | =head1 BUGS and CONTRIBUTIONS | ||
| 109 | |||
| 110 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 111 | |||
| 112 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 113 | |||
| 114 | =cut | ||
| 115 |