/// /// Allocates an Elastic IP address that can be associated with an Amazon EC2 // instance. By using an Elastic IP address, you can keep the public IP address // constant even when you restart the associated instance. /// /// <returns>The response object for the allocated addr...
Amazon EC2 Instance Connect Amazon ECR Amazon ECR Public Amazon ECS Amazon EFS Amazon EKS Elastic Beanstalk Elastic Load Balancing — Version 1 Elastic Load Balancing — Version 2 Elastic Transcoder ElastiCache MediaStore Amazon EMR Amazon EMR auf EKS EventBridge EventBridge Rohre Firewall Manager AWS ...
System.out.printf("Successfully associated Elastic IP address %s "+"with instance %s", associate_response.getAssociationId(), instance_id); } 开发者ID:awsdocs,项目名称:aws-doc-sdk-examples,代码行数:38,代码来源:AllocateAddress.java 示例3: allocateAddress importcom.amazonaws.services.ec2.model.Al...
All MethodsInstance MethodsConcrete Methods Modifier and TypeMethod and Description AllocateAddressRequest clone() Creates a shallow clone of this object for all fields except the handler context. boolean equals(Object obj) String getAddress() The Elastic IP address to recover or an IPv4 addre...
ExportVerifiedAccessInstanceClientConfiguration GetAllowedImagesSettings GetAssociatedEnclaveCertificateIamRoles GetAssociatedIpv6PoolCidrs GetAwsNetworkPerformanceData GetCapacityReservationUsage GetCoipPoolUsage GetConsoleOutput GetConsoleScreenshot GetDeclarativePoliciesReportSummary GetDefaultCreditSpecification GetEbsDefaul...
aws ec2 allocate-hosts \ --instance-type m5.large \ --availability-zone eu-west-1a \ --auto-placement on \ --host-recovery on \ --quantity 1 Output: { "HostIds": [ "h-07879acf49EXAMPLE" ] } Example 3: To allocate a Dedicated Host with tags The following allocate-hosts example...
aws ec2 allocate-hosts \ --instance-typem5.large\ --availability-zoneeu-west-1a\ --quantity1 出力: {"HostIds": [ "h-07879acf49EXAMPLE" ] } 例2: 自動配置とホスト復旧を有効にして Dedicated Host を割り当てるには 次のallocate-hosts例では、自動配置とホスト復旧を有効にして、アeu-...