C# 클래스 Amazon.Util.AWSPublicIpAddressRanges

This class can be used to discover the public address ranges for AWS. The information is retrieved from the publicly accessible https://ip-ranges.amazonaws.com/ip-ranges.json file.
The information in this file is generated from our internal system-of-record and is authoritative. You can expect it to change several times per week and should poll accordingly.
파일 보기 프로젝트 열기: aws/aws-sdk-net 1 사용 예제들

공개 메소드들

메소드 설명
AddressRangesByRegion ( string regionIdentifier ) : IEnumerable

Filtered collection of public IP ranges for the given region (us-east-1 etc) or GLOBAL.

AddressRangesByServiceKey ( string serviceKey ) : IEnumerable

Filtered collection of public IP ranges for the given service key

Load ( ) : AWSPublicIpAddressRanges

Downloads the most recent copy of the endpoint address file and parses it to a collection of address range objects.

비공개 메소드들

메소드 설명
AWSPublicIpAddressRanges ( ) : System
Parse ( string fileContent ) : AWSPublicIpAddressRanges
ParseRange ( JsonData ranges, AWSPublicIpAddressRange addressFormat ) : IEnumerable

메소드 상세

AddressRangesByRegion() 공개 메소드

Filtered collection of public IP ranges for the given region (us-east-1 etc) or GLOBAL.
public AddressRangesByRegion ( string regionIdentifier ) : IEnumerable
regionIdentifier string
리턴 IEnumerable

AddressRangesByServiceKey() 공개 메소드

Filtered collection of public IP ranges for the given service key
public AddressRangesByServiceKey ( string serviceKey ) : IEnumerable
serviceKey string
리턴 IEnumerable

Load() 공개 정적인 메소드

Downloads the most recent copy of the endpoint address file and parses it to a collection of address range objects.
public static Load ( ) : AWSPublicIpAddressRanges
리턴 AWSPublicIpAddressRanges