public static GetItems ( string path ) : IEnumerable |
||
path | string | Path at which to query the metadata; may be relative or absolute. |
return | IEnumerable |
public static IEnumerable<string> GetItems(string path)
{
return GetItems(path, DEFAULT_RETRIES, false);
}
private IEnumerable <string> GetItems(string key) { if (null == _availableKeys) { _availableKeys = EC2InstanceMetadata.GetItems(_path); } if (_availableKeys.Contains(key)) { return(EC2InstanceMetadata.GetItems(_path + key)); } else { return(new List <string>()); } }